Explainable Artificial Intelligence for Seizure Frequency Extraction from Unstructured Clinical Notes

Seizure frequency is often embedded in unstructured clinical notes, limiting efficient extraction for epilepsy research and care. We developed a locally deployed, prompt-engineered ensemble of Qwen3:30B, DeepSeek-R1:32B, and GPT-OSS:20B to classify seizure frequency. Each model also returned its own supporting sentences and rationale. The workflow applied sequential seizure freedom and numeric extraction prompts, standardized monthly frequencies, and combined model outputs by majority vote with a predefined fallback. Of 1000 annotated notes from one institution, 200 were used for prompt development, and 800 were held out; 95 ambiguous notes were excluded, leaving 705 for evaluation across eight classes. The ensemble achieved 88.2% categorical accuracy and a macro F1 score of 0.90, compared with 85.2% accuracy and 0.87 macro F1 for the strongest individual model. The workflow combines local processing with outputs that support source-based review, without supervised fine-tuning. Explanation faithfulness and clinical benefit were not evaluated. External and prospective validation is needed before clinical deployment.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2026-11-30
DOI
https://doi.org/10.3390/a19121056
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Explainable Artificial Intelligence for Seizure Frequency Extraction from Unstructured Clinical Notes

Vandana Venkatesh, Zulfi Haneef, Samer G. Salman, Jerlin Joseph et al.
Algorithms
Machine Learning in Healthcare
article

Explainable Artificial Intelligence for Seizure Frequency Extraction from Unstructured Clinical Notes

Vandana Venkatesh, Zulfi Haneef, Samer G. Salman, Jerlin Joseph, Adithya Nair
article en

Abstract

Seizure frequency is often embedded in unstructured clinical notes, limiting efficient extraction for epilepsy research and care. We developed a locally deployed, prompt-engineered ensemble of Qwen3:30B, DeepSeek-R1:32B, and GPT-OSS:20B to classify seizure frequency. Each model also returned its own supporting sentences and rationale. The workflow applied sequential seizure freedom and numeric extraction prompts, standardized monthly frequencies, and combined model outputs by majority vote with a predefined fallback. Of 1000 annotated notes from one institution, 200 were used for prompt development, and 800 were held out; 95 ambiguous notes were excluded, leaving 705 for evaluation across eight classes. The ensemble achieved 88.2% categorical accuracy and a macro F1 score of 0.90, compared with 85.2% accuracy and 0.87 macro F1 for the strongest individual model. The workflow combines local processing with outputs that support source-based review, without supervised fine-tuning. Explanation faithfulness and clinical benefit were not evaluated. External and prospective validation is needed before clinical deployment.

AlgorithmsVol. 19(12)
Michael E. DeBakey VA Medical Center (US), Baylor College of Medicine (US), Baylor School (US)
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
Explainable Artificial Intelligence for Seizure Frequency Extraction from Unstructured Clinical Notes — Vandana Venkatesh, Zulfi Haneef, et al. · Algorithms (2026) | TGRS Research Map | TGRS