Abstracts

Developing an LLM-driven phenotyping and treatment outcome model for children with epilepsy in Uganda

Abstract number : 2.285
Submission category : 4. Clinical Epilepsy / 4D. Prognosis
Year : 2025
Submission ID : 1021
Source : www.aesnet.org
Presentation date : 12/7/2025 12:00:00 AM
Published date :

Authors :
Presenting Author: Rajarshi Mazumder, MD – DGSOM, UCLA

kartik Sharma, – School of Engineering, UCLA
Mehmet Yigit Turali, MS – School of Engineering, UCLA
Juliana Kayaga, MBChB, MMed – Makerere University, Uganda
Philomena Anzoa, MBChB – Makerere University, Uganda
Lina Zhang, MS – School of Engineering, UCLA
Tonmoy Monsoor, MS, PhD – Department of Electrical and Computer Engineering, University of California Los Angeles
Jessica Pasqua, MD – DGSOM, UCLA
Vwani Roychowdhury, PhD – Department of Electrical and Computer Engineering, University of California Los Angeles
Richard Idro, MBChB, MMed, PhD – Makerere University, Uganda

Rationale:

In many resource-constrained regions people with epilepsy face critical barriers to treatment due to limited access to trained neurologists. Primary care providers on the frontlines often report a lack of knowledge regarding the use of anti-seizure drugs. Artificial intelligence models trained on locally relevant data could serve as clinical decision aids. Here, we evaluate the performance of a large language model (LLM)-based pipeline to convert narrative medical history from clinical notes of neurologists from a resource-limited setting into structured data suitable for predicting treatment response to anti-seizure drugs.



Methods:

334 children with epilepsy (age < 18 years), who were longitudinally followed at Uganda’s National Referral Pediatric Neurology clinic were included in the study. Narrative clinical notes documented seizure history, medication changes, and treatment responses. Using a prompt-engineered LLM, we extracted structured clinical features such as seizure type (e.g., focal vs generalized), chronicity, medications and counts, and seizure outcomes (categorized as decreased, increased or seizure freedom at 6-month follow-up). The LLM extracted structured features were used to train a CatBoost classifier to predict seizure outcome at a 6-month follow-up using stratified 5-fold cross validation.



Results:

The prediction model achieved strong generalization with a mean F1 score of 87% (variance 0.001) and precision of 88% across five folds (Figure 1). Performance remained consistent across metrics with minimal variance, demonstrating the pipeline’s robustness and low sensitivity to data partitioning. Feature importance analysis identified the following clinical factors as the most influential predictors of seizure outcomes: number of medications, age of seizure onset, and treatment change.



Conclusions: This work highlights the potential of combining LLMs with interpretable machine learning to model seizure-related outcomes from data-scarce environments in low- and middle-income regions. Beyond prediction, this framework lays the foundation for developing a clinical decision support tool that could be used by non-specialist primary care providers to recommend anti-seizure drugs based on individual clinical profiles.

Funding: 1) Rajarshi Mazumder was supported by NIH Fogarty International Center grant-K01TW012178
2) The study was funded by the UCLA Global Health Seed Grant

Clinical Epilepsy