Frontiers in Artificial Intelligence

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

Piergiuseppe Liuzzi, Maenia Scarpino, Ester Marra, Benedetta Piccardi, Peiman Nazerian, Emma Giardi, Andrea Nencioni, Maria Chiara Carrozza,

Key points

From the paper's conclusion
  • We developed a self-hosted open-weight LLM pipeline to normalize Italian emergency EEG narratives into eight closed-set descriptors.

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.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

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