Automated Classification of Clinical EEG Reports as Normal or Pathological Using Natural Language Processing: A Multi-Centre Study
- 1University of Warsaw
Abstract
We evaluated automated classification of 6,829 de-identified free-text EEG reports from 33 Polish hospitals, independently rated by three experts. Three NLP models - fine-tuned PolBERT, a TF-IDF support vector classifier (SVC), and CatBoost - were assessed across seven binary and three-class tasks. Reference labels were derived from mean expert scores, majority voting or the Dawid-Skene (D-S) model, with different treatments of uncertain cases. Inter-rater agreement was moderate (Krippendorff's = 0.585) and below intrarater agreement (Cohen's {kappa} = 0.731 - 0.769); D-S skill rankings differed from unweighted intra-rater {kappa} rankings. PolBERT led on six of seven tasks (binary accuracy 0.876 - 0.952), although its advantage over CatBoost on three-class tasks was not significant. On Task 2A, all models exceeded all individual experts (0.762 - 0.774 vs 0.689 - 0.726). Binary accuracy held at two isolated hospitals; on Task 2A, SVC fell from 0.762 to 0.616, while PolBERT reached 0.797. Errors clustered in disputed reports (accuracy 0.663 - 0.771 in intermediate strata). Exploratory zero-shot Qwen3.8-27B achieved binary accuracy of 0.829 - 0.929, below supervised models, and agreed with experts similarly to their mutual agreement ({kappa} = 0.53 - 0.61 vs 0.47 - 0.63), but favoured pathological labels. Automated classification of Polish clinical EEG reports is feasible across centres, with performance comparable to individual experts. Model probabilities were well calibrated (ECE [≤] 0.035), supporting threshold-based triage. Accuracy depends on expert disagreement and the method used to construct reference labels; label aggregation should therefore be part of the task definition.
Related
- Development and validation of natural-language processing models for automated melanoma service-level monitoring.
- Predicting One-Year Psychiatric Rehospitalization Using Natural Language Processing and Machine Learning Methods Based on Clinical Texts
- EP15.22 Comparing Patient-Reported Outcomes and International Classifications of Functioning by Natural Language Processing of clinical notes in patients with glioma
- Machine Learning Classification of Bipolar Disorder Across Mood States Using Natural Language Processing and Speech Analysis: Observational Study
- Extracting Symptoms of Psychotic Disorders from Clinical Notes using Natural Language Processing.
BibTeX
@misc{skopupski2026automated,
title = {{Automated Classification of Clinical EEG Reports as Normal or Pathological Using Natural Language Processing: A Multi-Centre Study}},
author = {J. Skopupski and B. Ostaszewska and M. Dovgialo and P. Niedbalski and J. Zygierewicz and J. Rogala},
howpublished = {medRxiv},
year = {2026},
month = nov,
doi = {10.64898/2026.11.23.26368771},
url = {https://www.medrxiv.org/content/10.64898/2026.11.23.26368771v1},
note = {CC BY},
}
RIS
TY - UNPB
TI - Automated Classification of Clinical EEG Reports as Normal or Pathological Using Natural Language Processing: A Multi-Centre Study
AU - J. Skopupski
AU - B. Ostaszewska
AU - M. Dovgialo
AU - P. Niedbalski
AU - J. Zygierewicz
AU - J. Rogala
PY - 2026
DA - 2026/11/23
PB - medRxiv
DO - 10.64898/2026.11.23.26368771
UR - https://www.medrxiv.org/content/10.64898/2026.11.23.26368771v1
AB - We evaluated automated classification of 6,829 de-identified free-text EEG reports from 33 Polish hospitals, independently rated by three experts. Three NLP models - fine-tuned PolBERT, a TF-IDF support vector classifier (SVC), and CatBoost - were assessed across seven binary and three-class tasks. Reference labels were derived from mean expert scores, majority voting or the Dawid-Skene (D-S) model, with different treatments of uncertain cases. Inter-rater agreement was moderate (Krippendorff's = 0.585) and below intrarater agreement (Cohen's {kappa} = 0.731 - 0.769); D-S skill rankings differed from unweighted intra-rater {kappa} rankings. PolBERT led on six of seven tasks (binary accuracy 0.876 - 0.952), although its advantage over CatBoost on three-class tasks was not significant. On Task 2A, all models exceeded all individual experts (0.762 - 0.774 vs 0.689 - 0.726). Binary accuracy held at two isolated hospitals; on Task 2A, SVC fell from 0.762 to 0.616, while PolBERT reached 0.797. Errors clustered in disputed reports (accuracy 0.663 - 0.771 in intermediate strata). Exploratory zero-shot Qwen3.8-27B achieved binary accuracy of 0.829 - 0.929, below supervised models, and agreed with experts similarly to their mutual agreement ({kappa} = 0.53 - 0.61 vs 0.47 - 0.63), but favoured pathological labels. Automated classification of Polish clinical EEG reports is feasible across centres, with performance comparable to individual experts. Model probabilities were well calibrated (ECE [≤] 0.035), supporting threshold-based triage. Accuracy depends on expert disagreement and the method used to construct reference labels; label aggregation should therefore be part of the task definition.
ER -