Automated Classification of Clinical EEG Reports as Normal or Pathological Using Natural Language Processing: A Multi-Centre Study
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 κ = 0.731 - 0.769); D-S skill rankings differed from unweighted intra-rater κ 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 (κ = 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.
Authors
- Jacek Rogala (ORCID: https://orcid.org/0000-0001-5298-920X)
- Paweł Niedbalski (ORCID: https://orcid.org/0009-0005-4483-321X)
- Marian Dovgialo (ORCID: https://orcid.org/0000-0002-8018-4342)
- Jarosław Żygierewicz (ORCID: https://orcid.org/0000-0002-7536-0735)
- Jan Skopupski
- Barbara Ostaszewska
Institutions
- University of Warsaw (PL)
Publication Details
- Journal
- medRxiv
- Published
- 2026-11-24
- DOI
- https://doi.org/10.64898/2026.11.23.26368771
- Primary Topic
- Machine Learning in Healthcare
- Type
- preprint
Funders
- European Commission
- Fundacja na rzecz Nauki Polskiej