Making multi-clinician emergency EEG reports machine-readable through local LLM-based semantic normalization
Introduction Emergency EEG reports contain multidimensional clinical information but are often recorded as heterogeneous free text. We developed a self-hosted open-weight LLM pipeline to normalize Italian emergency EEG narratives into eight closed-set descriptors. Methods Gold labels were coded from the report text by experienced EEG operators; the task was narrative normalization rather than reinterpretation of the tracing. Calibration compared eight Qwen model-prompt configurations on 100 reports. The configuration served under the mutable Ollama tag qwen3.6:latest with five operator-curated examples ranked first on the original June present-only mean macro-F1 criterion (0.778) and was frozen for deployment on 280 additional high-confidence linked reports. Results Deployment exact-match accuracy was 83.7% (1,109/1,325; report-clustered bootstrap 95% CI 81.5%-86.0%) on answered pairs and 49.5% (1,109/2,240; 47.8%–51.3%) under strict all-pairs scoring, which counted every empty output as incorrect. Of 915 unanswered pairs, an unvalidated keyword proxy classified 844 as unmentioned. After default coding, accuracy was 83.2% (1,863/2,240), compared with 78.8% for the field-specific majority baseline and 58.1% for the keyword baseline. In September calibration repetitions of the same recorded Qwen3.6-35B-A3B Q4_K_M model artifact, five-shot mean macro-F1 was 0.642; retained server logs report Ollama 0.30.2 in June and 0.34.0 in September. Errors among answered pairs were associated with longer reports after clustered modeling. Discussion These findings support the feasibility of narrative normalization while highlighting the importance of coding conventions, evaluation denominators, and model artifact identification.
Authors
- Andrea Mannini (ORCID: https://orcid.org/0000-0003-0760-052X)
- Maenia Scarpino (ORCID: https://orcid.org/0000-0002-9930-501X)
- Antonello Grippo (ORCID: https://orcid.org/0000-0002-9997-8564)
- Peiman Nazerian (ORCID: https://orcid.org/0000-0003-1072-9148)
- Maria Chiara Carrozza (ORCID: https://orcid.org/0000-0002-7630-0865)
- Benedetta Piccardi (ORCID: https://orcid.org/0000-0003-2363-9686)
- Andrea Nencioni (ORCID: https://orcid.org/0009-0001-3219-0879)
- Piergiuseppe Liuzzi (ORCID: https://orcid.org/0000-0002-6067-474X)
- Ester Marra (ORCID: https://orcid.org/0009-0002-2035-0078)
- Emma Giardi
Institutions
- Azienda Ospedaliero-Universitaria Careggi (IT)
- University of Milano-Bicocca (IT)
Publication Details
- Journal
- Frontiers in Artificial Intelligence
- Published
- 2026-11-24
- DOI
- https://doi.org/10.3389/frai.2026.1971487
- Primary Topic
- Machine Learning in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- European Commission
- Ministero della Salute
- HORIZON EUROPE Framework Programme