Skip to content
Open access

Development of a Framework for Evaluating Large Language Model Safety and Reliability: a Proof-of-Concept Evaluation

Sep 2026 · Journal of medical systems · Vol 50 · 0 citations · 39 references
Medicine

TL;DR

In this single-centre proof-of-concept, aggregate accuracy was insufficient for safety characterisation: models with indistinguishable mean accuracy carried different catastrophic-failure tiers and reproducibility profiles.

Abstract

Large language models (LLMs) are entering clinical decision support faster than methodology can characterise their safety. Aggregate accuracy treats all errors as interchangeable and cannot support safe deployment under Software as a Medical Device (SaMD) and EU AI Act frameworks. To develop and demonstrate a framework for evaluating large language model safety and reliability using catastrophic-failure frequency and response reproducibility, incorporating a pre-specified error taxonomy, difficulty-stratified analysis, and two-layer response consistency. The framework was applied to 54 diagnostically challenging emergency cases from non-public institutional records. Six LLMs were accessed via application programming interfaces (APIs) (text-only, zero-shot, defaults; August–December 2025) and queried three times each, producing 972 physician-scored responses. Aggregate scores concealed heterogeneity: anchoring-bias failure (score ≤ 3) varied nearly four-fold (6.9%–26.4%) and rare-disease recognition six-fold (6.1%–37.9%); catastrophic (dangerous-recommendation, score ≤ 2) rates were two-tiered (1.5% for the safest two vs. 6.0% for the rest; p < 0.001), though within-tier ranks were inseparable (2–12 per model). Despite a middle-tier mean, GPT-5.1 was least reproducible (within-case SD 2.69) and fell within the higher catastrophic-failure tier; across models, 31 of 34 dangerous combinations were stochastic, not systematic—a failure mode hidden by aggregate metrics. Open-source DeepSeek R1 was statistically equivalent to Gemini 3 Pro within a 1.5-point margin by two one-sided tests (TOST: Δ − 0.09; 90% CI − 0.47 to 0.30; p < 0.001). In this single-centre proof-of-concept, aggregate accuracy was insufficient for safety characterisation: models with indistinguishable mean accuracy carried different catastrophic-failure tiers and reproducibility profiles. Error-type and response-consistency profiling may inform model selection, ensemble design, and conformity assessment.

Read PDF

Similar papers

#software testing Preprint Sep 2026

A Large-Scale Empirical Study of Quality Assurance Practices and Gaps in AI Agents

A large-scale empirical study of quality assurance (QA) practices in 157 open-source LLM-based agent projects with at least 100 GitHub stars highlights the need to move beyond feature-level testing toward systematic end-to-end validation that ensures agent workflows remain within intended boundaries when interacting wi...

Wu-Yang Dai, Moses Openja, Jiho Shin et al. · 0 citations
#machine learning Preprint Sep 2026

SafeLLM4SE: Statistical Evaluation and Reporting for LLM-based Software Engineering Systems

Large language models (LLMs) are increasingly used for software engineering tasks, yet their stochastic behavior challenges the validity, reproducibility, and comparability of their evaluations. Conventional practices such as reporting a single output, an average score, best-of-N, or pass@k performance can obscure vari...

Francisco Ortin · 0 citations
Open access Oct 2026

INTERPRETATION AND VERIFICATION OF LARGE LANGUAGE MODEL DECISIONS: TAXONOMY OF METHODS, TRUST METRICS,AND EVALUATION PROTOCOLS

A five-level taxonomy of large language model interpretation methods is proposed, covering the range from the analysis of individual neuron activations to behavioral testing at the level of complete textual outputs, and it is demonstrated that proper probability calibration is a necessary prerequisite for the practical...

A. Orlovskyi, G. Kyselov · 0 citations
#natural language process... Preprint Sep 2026

SAFARI: An Industrial Benchmark for LLM-Assisted Hazard Analysis and Risk Assessment

Large language models (LLMs) are increasingly considered for safety-critical engineering, yet their reliability in regulated functional-safety workflows remains underexplored. We introduce SAFARI (Safety-Aware Functional Automotive Risk Inference), the first industrial benchmark for LLM-assisted automotive Hazard Analy...

Chen-Xi Wu, Zi-Mu Wang, Hai-Yang Zhang et al. · 0 citations
Open access Sep 2026

A practical risk framework for large language model use in life science research

It is argued that effective prompt design is itself a primary risk management strategy, reducing the probability and severity of characteristic failures before verification is required, and introduced a structured framework for matching downstream verification effort to risk across dimensions of output verifiability, r...

Thomas J. Sharpton, Edward W. Davis Ii, Alexandra Alexiev · 0 citations
Book Open access Oct 2026

When Safety Claims Fail Silently: A Modelling Approach to AI Assurance

Problem. The rapid deployment of large language models (LLMs) into safety-critical roles, including mental health support, education, and professional guidance, has created a gap between the safety claims AI developers publish and the behaviors their systems exhibit in practice. Current documentation practices, primari...

Kalvin Thuan-phong Khuu · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.