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

Institutions

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

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Making multi-clinician emergency EEG reports machine-readable through local LLM-based semantic normalization

Andrea Mannini, Maenia Scarpino, Antonello Grippo, Peiman Nazerian et al.
3 links
Frontiers in Artificial Intelligence
Machine Learning in Healthcare
article

Making multi-clinician emergency EEG reports machine-readable through local LLM-based semantic normalization

Andrea Mannini, Maenia Scarpino, Antonello Grippo, Peiman Nazerian, Maria Chiara Carrozza, Benedetta Piccardi, Andrea Nencioni, Piergiuseppe Liuzzi, Ester Marra, Emma Giardi
article en

Abstract

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.

Frontiers in Artificial IntelligenceVol. 9
Azienda Ospedaliero-Universitaria Careggi (IT), University of Milano-Bicocca (IT)
European Commission, Ministero della Salute, HORIZON EUROPE Framework Programme
Good health and well-being
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon