Automated Classification of Clinical EEG Reports as Normal or Pathological Using Natural Language Processing: A Multi-Centre Study
Listed in
This article is not in any list yet, why not save it to one of your lists.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 intra-rater 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.