Toward Better Assessment of LLMs' Performance in Clinical Error Detection

Yifan Zhang, Rahmatollah Beheshti
8/17/2026
cs.CLcs.AIcs.LG

Official code: healthylaife/paired-clinical-eval (0 stars, Jupyter Notebook, MIT, last commit 2026-08-03).

Abstract

Automated detection of errors in clinical documentation is a promising application of large language models (LLMs), yet decisions to deploy such models rest on benchmarks that evaluate each clinical note in isolation. Error-detection benchmarks are typically constructed by injecting errors into notes, such that each erroneous note has a natural counterpart.

Show full abstract

Aggregate discriminative metrics (e.g., balanced accuracy or F1) do not exploit this structure. We show that this omission is consequential. In particular, evaluating 15 diverse LLMs on 4 standardized clinical error-detection test sets across 3 languages, we find that 13 of 15 models fall below the level of random pairwise discrimination, even while achieving F1 scores that standard practice would read as moderate. We also observe that the underlying bias patterns differ across languages: the same model can default to "no error" on one language and over-flag errors on another. To diagnose where discrimination breaks down, we further introduce a procedure to score the evidence models cite in their outputs. We find that while models consistently locate error-relevant content, they fail to produce the corresponding correct verdict on the clean counterpart. Finally, we show that F1 and pairwise accuracy are driven in opposite directions by the same underlying bias, so that ranking models by F1 may systematically promote the weakest discriminators. For safety-critical clinical NLP applications, we advocate for supplementing aggregate metrics with paired evaluations in benchmark reporting. Code and analysis scripts are available at https://github.com/healthylaife/paired-clinical-eval.

View on arXivView PDF

Code Implementations(1)

MIT

[MLHC'26] Toward Better Assessment of LLMs’ Performance in Clinical Error Detection

00Jupyter Notebook, PythonAug 3, 20264 months agoMIT

Similar Papers

Cite this paper

@article{zhang2026toward,
  title  = {Toward Better Assessment of LLMs' Performance in Clinical Error Detection},
  author = {Yifan Zhang and Rahmatollah Beheshti},
  year   = {2026},
  eprint = {2608.16643},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.16643v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.16643.svg)](https://codeofpaper.com/paper/2608.16643)

Discussion