Back

Automated Interpretation of EEG Reports Using a Large Language Model with Structured Confidence Outputs

Tian, W.; Bergner, S.; Moiseev, A.; Popowich, F.; Medvedev, G.; Richardson, M. P.; Rodionov, R.; Xi, P.; Doesburg, S. M.; Ribary, U.; Winston, J. S.; Vakorin, V. A.

2026-07-10 health informatics
10.64898/2026.07.07.26357190 medRxiv
Show abstract

Background: Free-text EEG reports typically lack structure, hindering scalable analysis. We evaluate a large language model (LLM) pipeline to extract structured diagnostic labels and confidence levels from these reports. Methods: We developed a hierarchical annotation schema to classify EEG reports for four specific abnormality types using a four-point confidence scale. To establish ground truth, two certified EEG technicians annotated a diverse dataset of reports authored by neurologists with distinct writing styles. We then implemented a grammar-constrained Mistral-7B pipeline, iteratively prompt-tuned on a development set to mirror these expert annotations. The pipeline's effectiveness was evaluated against the human expert benchmark using core agreement (diagnostic accuracy) and certainty-adjusted agreement (confidence alignment), with classical NLP models serving as a secondary baseline. Results: Mistral-7B significantly outperformed baselines, achieving 96% accuracy for overall abnormality detection, approaching the human benchmark of 98%. Crucially, the model successfully identified rare epileptiform abnormalities where traditional models failed and generalized robustly across distinct reporting styles. While diagnostic accuracy was high, a performance gap persisted in certainty-adjusted agreement, indicating that accurately modeling nuanced clinical confidence remains a challenge. Conclusion: LLMs can effectively automate the extraction of structured diagnostic information from EEG reports with near-human accuracy and strong generalization. While confidence calibration requires further refinement, the combination of accurate classification and explainability makes this pipeline a promising tool for standardizing clinical data at scale. Keywords: Routine Clinical Electroencephalography; Large Language Models; Clinical NLP; Confidence Assessment; Explainable AI; Neurophysiological Evaluation

Matching journals

The top 11 journals account for 50% of the predicted probability mass.

1
Journal of the American Medical Informatics Association
71 papers in training set
Top 0.3%
9.8%
2
npj Digital Medicine
118 papers in training set
Top 0.9%
6.7%
3
Scientific Reports
3612 papers in training set
Top 16%
5.5%
4
BMC Medical Informatics and Decision Making
43 papers in training set
Top 0.4%
4.8%
5
Artificial Intelligence in Medicine
17 papers in training set
Top 0.1%
4.3%
6
Communications Medicine
113 papers in training set
Top 0.6%
4.3%
7
Informatics in Medicine Unlocked
22 papers in training set
Top 0.2%
4.0%
8
IEEE Journal of Biomedical and Health Informatics
37 papers in training set
Top 0.3%
3.2%
9
Journal of Medical Internet Research
87 papers in training set
Top 1.0%
2.6%
10
JAMIA Open
42 papers in training set
Top 0.6%
2.6%
11
Frontiers in Neuroscience
256 papers in training set
Top 2%
2.4%
50% of probability mass above
12
PLOS ONE
5266 papers in training set
Top 46%
2.0%
13
eBioMedicine
183 papers in training set
Top 2%
1.9%
14
Biology Methods and Protocols
61 papers in training set
Top 0.8%
1.7%
15
PLOS Digital Health
106 papers in training set
Top 2%
1.7%
16
Scientific Data
209 papers in training set
Top 1%
1.7%
17
Computer Methods and Programs in Biomedicine
28 papers in training set
Top 0.5%
1.7%
18
Epilepsy & Behavior
12 papers in training set
Top 0.1%
1.7%
19
iScience
1154 papers in training set
Top 17%
1.7%
20
Annals of Neurology
64 papers in training set
Top 0.9%
1.7%
21
Journal of Neural Engineering
221 papers in training set
Top 1%
1.7%
22
Computers in Biology and Medicine
128 papers in training set
Top 3%
1.3%
23
Clinical Neurophysiology
56 papers in training set
Top 0.6%
1.3%
24
European Heart Journal - Digital Health
18 papers in training set
Top 0.8%
1.1%
25
PLOS Computational Biology
1863 papers in training set
Top 17%
1.1%
26
Journal of Biomedical Informatics
47 papers in training set
Top 1.0%
1.1%
27
Nature Machine Intelligence
70 papers in training set
Top 2%
1.1%
28
BMC Medical Research Methodology
47 papers in training set
Top 1.0%
1.1%
29
Epilepsia
56 papers in training set
Top 0.5%
1.0%
30
Nature Medicine
125 papers in training set
Top 3%
1.0%