A machine-assisted framework for systematic error analysis in clinical concept extraction

Error analysis is critical for evaluating and improving clinical natural language processing (NLP) models, yet no standardized framework exists to support systematic error analysis for clinical concept extraction. Here we present MedError, a machine-assisted, human-in-the-loop framework integrating a validated error taxonomy, large language model (LLM)-assisted classification, and a structured annotation workflow. MedError is developed from 1187 unique errors manually curated from 4227 clinical notes across three institutions, spanning 25 error types and 48 clinical concept categories. Here we show that MedError supports both single-site and federated multisite error analysis through three complementary evaluations. First, benchmarking of six proprietary and open-source LLMs shows that automated error classification alone is insufficient without human involvement. Second, MedError-derived error feedback improves NLP extraction performance by 34–62% over an unstructured baseline across 11 cognitive status concepts. Third, prospective external validation at two independent institutions demonstrates improved agreement with expert-adjudicated annotations by up to 30% (McNemar exact test, p = 0.035, φ = 0.38) and reduced annotation time by 26–33%, providing a systematic and practical framework for real-world clinical NLP deployment. MedError, a machine-assisted human-in-the-loop framework, improves the standardization, validity, and efficiency of clinical NLP error analysis, supporting more transparent and trustworthy model deployment.

Authors

Institutions

Publication Details

Journal
Nature Communications
Published
2026-08-26
DOI
https://doi.org/10.1038/s41467-026-77067-1
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A machine-assisted framework for systematic error analysis in clinical concept extraction

Andrew Wen, Qiuhao Lu, Sunyang Fu, Julia Wen et al.
Nature Communications
Topic Modeling
article

A machine-assisted framework for systematic error analysis in clinical concept extraction

Andrew Wen, Qiuhao Lu, Sunyang Fu, Julia Wen, Min Ji Kwak, Xiaoyang Ruan, Yanshan Wang, Fang Chen, Hanyun Yin, Hongfang Liu, Zhiyi Yue, Jaerong Ahn, Ming Huang, Taylor Harrison, Nahid Rianon, Jiang Jun, Ruihong Huang, Liwei Wang
article en

Abstract

Error analysis is critical for evaluating and improving clinical natural language processing (NLP) models, yet no standardized framework exists to support systematic error analysis for clinical concept extraction. Here we present MedError, a machine-assisted, human-in-the-loop framework integrating a validated error taxonomy, large language model (LLM)-assisted classification, and a structured annotation workflow. MedError is developed from 1187 unique errors manually curated from 4227 clinical notes across three institutions, spanning 25 error types and 48 clinical concept categories. Here we show that MedError supports both single-site and federated multisite error analysis through three complementary evaluations. First, benchmarking of six proprietary and open-source LLMs shows that automated error classification alone is insufficient without human involvement. Second, MedError-derived error feedback improves NLP extraction performance by 34–62% over an unstructured baseline across 11 cognitive status concepts. Third, prospective external validation at two independent institutions demonstrates improved agreement with expert-adjudicated annotations by up to 30% (McNemar exact test, p = 0.035, φ = 0.38) and reduced annotation time by 26–33%, providing a systematic and practical framework for real-world clinical NLP deployment. MedError, a machine-assisted human-in-the-loop framework, improves the standardization, validity, and efficiency of clinical NLP error analysis, supporting more transparent and trustworthy model deployment.

Nature Communications
Mayo Clinic (US), University of Pittsburgh (US), Mayo Clinic in Arizona (US), Mayo Clinic in Florida (US), The University of Texas Health Science Center (US), The University of Texas at Austin (US), Texas A&M University (US), The University of Texas Health Science Center at Houston (US)
Cancer Prevention and Research Institute of Texas, University of Texas Health Science Center at Houston, National Institutes of Health, U.S. Food and Drug Administration, National Institute on Aging, National Heart, Lung, and Blood Institute, National Human Genome Research Institute, National Institute of Biomedical Imaging and Bioengineering, U.S. National Library of Medicine, National Center for Advancing Translational Sciences
Quality Education
Openalex Percentile: Top 8%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.