Knowledge Tree Driven Contextualized Instruction Tuning of Foundation Models for Epilepsy Drug Recommendation

Duy Khoa Pham, Deval Mehta, Yiwen Jiang, Daniel Thom, Richard Shek-kwan Chang, Mohammad Nazem-Zadeh, Emma Foster, Timothy Fazio, Sarah Holper, Karin Verspoor, Jiahe Liu, Duong Nhu, Sarah Barnard, Terence J. O'Brien, Zhibin Chen, Jacqueline French, Patrick Kwan, Zongyuan GeMICCAI 2025

Abstract

Epilepsy affects over 50 million people worldwide, with antiseizure medications (ASMs) as the primary treatment for seizure control. However, ASM selection remains a “trial and error” process due to the lack of reliable predictors of effectiveness and tolerability. While machine learning approaches have been explored, existing models are limited to predicting outcomes only for ASMs encountered during training and have not leveraged recent biomedical foundation models for this task. This work investigates ASM outcome prediction using only patient MRI scans and reports. Specifically, we leverage biomedical vision-language foundation models and introduce a novel contextualized instruction-tuning framework that integrates expert-built knowledge trees of MRI entities to enhance their performance. Additionally, by training only on the four most commonly prescribed ASMs, our framework enables generalization to predicting outcomes and effectiveness for unseen ASMs not present during training. We evaluate our instruction-tuning framework on two retrospective epilepsy patient datasets, achieving an average AUC of 71.39 and 63.03 in predicting outcomes for four primary ASMs and three completely unseen ASMs, respectively. Our approach improves the AUC by 5.53 and 3.51 compared to standard report-based instruction tuning for seen and unseen ASMs, respectively. Our code, MRI knowledge tree, prompting templates, and TREE-TUNE generated instruction–answer tuning dataset are available at the link.
BibTeX
@inproceedings{pham2025knowledge,
  author = {Duy Khoa Pham and Deval Mehta and Yiwen Jiang and Daniel Thom and Richard Shek-kwan Chang and Mohammad Nazem-Zadeh and Emma Foster and Timothy Fazio and Sarah Holper and Karin Verspoor and Jiahe Liu and Duong Nhu and Sarah Barnard and Terence J. O'Brien and Zhibin Chen and Jacqueline French and Patrick Kwan and Zongyuan Ge},
  title = {{Knowledge Tree Driven Contextualized Instruction Tuning of Foundation Models for Epilepsy Drug Recommendation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  url = {https://openreview.net/forum?id=OKSIDBpLVp},
}

Loading related content...

Figure