Skip to content

Menu

WorksPubMed

Reproducible synthetic clinical letters for seizure frequency information extraction.

A preview from PubMed. Valency holds this work's metadata and abstract, not its full text.

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 normalised 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 generalised 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 generalisability to paediatric notes or other clinical domains.

Paper details

Source

Source
PubMed
First available
Oct 1, 2026
Identifier
pubmed:42822573

Pick where to look, or just type