A self-hosted open-weight large language model pipeline successfully normalized unstructured Italian emergency electroencephalogram narratives into standardized clinical categories, achieving an exact-match accuracy of 83.7 percent on answered descriptor pairs. Researchers developed the system to convert heterogeneous free-text emergency reports into eight predefined, closed-set descriptors without reinterpreting the underlying electrophysiological tracings.
Emergency electroencephalogram records frequently contain rich, multidimensional diagnostic details that remain difficult to process computationally because clinicians write them in variable free-text formats. To establish a reliable evaluation benchmark, experienced electroencephalogram operators extracted and coded gold-standard labels directly from the textual records, restricting the pipeline strictly to narrative normalization rather than secondary diagnostic assessment.
The study authors calibrated eight distinct model and prompt configurations using an initial development set of 100 emergency reports. A configuration deployed under the mutable Ollama tag qwen3.6:latest, supplemented with five operator-curated demonstration examples, achieved the highest performance during initial June testing with a present-only mean macro-F1 score of 0.778, leading investigators to freeze this setup for subsequent testing.
When evaluated on 280 additional high-confidence linked emergency reports, the frozen configuration achieved an exact-match accuracy of 83.7 percent across 1,325 answered pairs, corresponding to 1,109 correct classifications with a report-clustered bootstrap 95 percent confidence interval spanning 81.5 percent to 86.0 percent. Under a strict all-pairs scoring protocol that treated every omitted output as an incorrect prediction, accuracy dropped to 49.5 percent across all 2,240 evaluation pairs.
The evaluation revealed 915 unanswered descriptor pairs in the deployment cohort, prompting researchers to apply an unvalidated keyword proxy that designated 844 of those instances as unmentioned. Incorporating this default coding rule raised overall exact-match accuracy to 83.2 percent across all 2,240 pairs, outperforming both a field-specific majority baseline of 78.8 percent and a pure keyword baseline of 58.1 percent.
Subsequent reproducibility tests highlighted significant sensitivity to execution environments. When repeating calibrations in September using the identical recorded Qwen3.6-35B-A3B Q4_K_M model artifact, the five-shot mean macro-F1 score dropped to 0.642, a discrepancy coinciding with an underlying software update from Ollama version 0.30.2 logged in June to version 0.34.0 logged in September.
Clustered statistical modeling revealed that normalization errors among answered descriptor pairs correlated significantly with longer clinical narratives. The authors concluded that while local open-weight pipelines offer a feasible approach to standardizing emergency medical narratives, clinical natural language processing workflows must maintain rigorous coding conventions, clear evaluation denominators, and immutable model artifact tracking.
The peer-reviewed paper was submitted on 18 August 2026 and accepted on 26 October 2026, with Liuzzi serving as the corresponding author.
Subject of Research: Local language model normalization of emergency EEG free-text narratives
Article Title: Making multi-clinician emergency EEG reports machine-readable through local LLM-based semantic normalization
Article References: Liuzzi, P., Scarpino, M., Marra, E., Piccardi, B., Nazerian, P., Giardi, E., Nencioni, A., Carrozza, M. C., Grippo, A., & Mannini, A. (2026). Making multi-clinician emergency EEG reports machine-readable through local LLM-based semantic normalization. Frontiers in Artificial Intelligence, 9, 1971487. https://doi.org/10.3389/frai.2026.1971487
Image Credits: AI Generated
DOI: 10.3389/frai.2026.1971487
Keywords: Emergency EEG, Narrative normalization, Clinical natural language processing, Large language models, Machine-readable clinical reports, Open-weight models, Semantic normalization, Multi-clinician reporting, Italian clinical narratives, Closed-set descriptors, Prompt calibration, Qwen model, Ollama, Exact-match accuracy, Macro-F1 score, Software reproducibility
News Source: Denise Maddox. (November 24, 2026). Local Open-Weight Language Models Standardize Emergency EEG Narratives Into Structured Clinical Descriptors. Scienmag.



