Reproducible synthetic clinical letters for seizure frequency information extraction.
Yujian Gan, Stephen H Barlow, Ben Holgate, Joe Davies, James T Teo, Joel S Winston, Mark P Richardson
Department of Basic and Clinical Neuroscience, Institute of Psychiatry Psychology and Neuroscience, King's College London, 16 De Crespigny Park, London, SE5 8AB, United Kingdom; School of Electronics, Electrical Engineering and Computer Science, Queen's University Belfast, 16A Malone Road, Belfast, BT9 5BN, Northern Ireland, United Kingdom; Centre for Epilepsy, King's College Hospital NHS Foundation Trust, Denmark Hill, London, SE5 9RS, United Kingdom. · Department of Basic and Clinical Neuroscience, Institute of Psychiatry Psychology and Neuroscience, King's College London, 16 De Crespigny Park, London, SE5 8AB, United Kingdom; Centre for Epilepsy, King's College Hospital NHS Foundation Trust, Denmark Hill, London, SE5 9RS, United Kingdom.
Key points
From the paper's conclusion- Task-specific synthetic clinical letters with structured, evidence-grounded supervision enabled reproducible development of seizure-frequency extractors while reducing reliance on sensitive adult patient text. These findings support this approach for adult epilepsy clinic-letter extraction, but do not establish generalizability to paediatric notes or other clinical domains.
Abstract
OBJECTIVE: Seizure-frequency information is critical for epilepsy research and clinical decision-making, yet it is often documented in highly variable free-text neurology clinic letters that are difficult to share and annotate at scale. This study focused on adult epilepsy clinic letters from patients aged 18 years or older. We aimed to develop a reproducible and privacy-preserving framework for seizure-frequency information extraction by training models using fully synthetic, task-faithful clinical letters. METHODS: We designed a structured label scheme that captures common linguistic patterns of seizure burden, including explicit rates, numeric ranges, cluster-based descriptions, seizure-free durations, unknown frequency, and explicit no-seizure statements. A high-capacity teacher language model was used to generate NHS-style synthetic epilepsy follow-up letters paired with normalized labels, step-by-step rationales, and evidence spans. We fine-tuned multiple open-weight large language models (4-14B parameters) to extract seizure frequency from full letters using either direct numeric outputs or structured labels, optionally augmented with evidence-grounded explanations. Performance was evaluated on a clinician double-checked held-out set of real clinic letters using both fine-grained and pragmatic frequency groupings. RESULTS: Models trained purely on synthetic letters generalized to real-world letters, and structured label targets consistently outperformed direct numeric regression. With 15,000 synthetic training letters, representative models achieved micro-F1 up to 0.79 (fine-grained) and 0.85 (pragmatic) on the real test set, while a medically oriented 4B model reached 0.79 and 0.86, respectively. Evidence-grounded outputs supported rapid clinical verification and facilitated error analysis. CONCLUSION: Task-specific synthetic clinical letters with structured, evidence-grounded supervision enabled reproducible development of seizure-frequency extractors while reducing reliance on sensitive adult patient text. These findings support this approach for adult epilepsy clinic-letter extraction, but do not establish generalizability to paediatric notes or other clinical domains.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Modern generative large language models in epilepsy care: a scoping review of current applications, challenges, and future directions.Acta epileptologica · 2026
- Epilepsy domain adapted large language models enhance epileptogenic zone prediction from seizure semiologyCommunications Medicine · 2026
- Benchmarking freely accessible large language models for pediatric epilepsy care: a prospective mixed-methods study.Translational pediatrics · 2026
- Toward trustworthy diagnostic AI: debiasing and grounding large language models for seizure semiology interpretation.Frontiers in neurology · 2026
- Automated extraction of seizures and ictal-interictal continuum patterns from EEG reports to enable large-scale neurophysiology and neurocritical care research.International journal of medical informatics · 2026
- Video-Based Automated Seizure Classification Using Multimodal Large Language Models.Annals of clinical and translational neurology · 2026