[Paper Review] TWIN-GPT: Digital Twins for Clinical Trials via Large Language Model
TWIN-GPT leverages a fine-tuned large language model to create personalized digital twins for patients, enabling improved virtual clinical trial predictions and high-fidelity, privacy-protecting synthetic EHR data.
Clinical trials are indispensable for medical research and the development of new treatments. However, clinical trials often involve thousands of participants and can span several years to complete, with a high probability of failure during the process. Recently, there has been a burgeoning interest in virtual clinical trials, which simulate real-world scenarios and hold the potential to significantly enhance patient safety, expedite development, reduce costs, and contribute to the broader scientific knowledge in healthcare. Existing research often focuses on leveraging electronic health records (EHRs) to support clinical trial outcome prediction. Yet, trained with limited clinical trial outcome data, existing approaches frequently struggle to perform accurate predictions. Some research has attempted to generate EHRs to augment model development but has fallen short in personalizing the generation for individual patient profiles. Recently, the emergence of large language models has illuminated new possibilities, as their embedded comprehensive clinical knowledge has proven beneficial in addressing medical issues. In this paper, we propose a large language model-based digital twin creation approach, called TWIN-GPT. TWIN-GPT can establish cross-dataset associations of medical information given limited data, generating unique personalized digital twins for different patients, thereby preserving individual patient characteristics. Comprehensive experiments show that using digital twins created by TWIN-GPT can boost the clinical trial outcome prediction, exceeding various previous prediction approaches.
Motivation & Objective
- Motivate improved clinical trial outcome prediction under data scarcity and patient heterogeneity.
- Address data gap and data inconsistency in EHR-based predictions by leveraging world knowledge in LLMs.
- Develop personalized digital twins that reflect individual patient trajectories over trial timelines.
- Ensure privacy protection by generating virtual patient data rather than using real records.
Proposed method
- Fine-tune a pre-trained LLM (ChatGPT) on clinical trial data to generate personalized patient digital twins.
- Represent patient visits as multi-hot event vectors across treatment, medication, and adverse events.
- Use K-nearest neighbors to inform twin generation and enable in-context learning for individual trajectories.
- Train with two alternating fine-tuning tasks to learn patient data relationships across time points and events.
- Generate personalized and counterfactual digital twins to simulate alternative treatment scenarios.
- Evaluate fidelity with dimension-wise probabilities, counterfactual similarity, and AUROC for severe outcomes.
Experimental results
Research questions
- RQ1Can LLMs create accurate, personalized digital twins for individual patients to improve trial outcome prediction?
- RQ2Do LLM-generated twins address data gaps and inconsistencies in EHRs while preserving privacy?
- RQ3How well do synthetic twins reproduce real-world event distributions and support counterfactual analyses in clinical trials?
- RQ4What is the impact of digital twins on adverse event and severe outcome prediction compared to baselines?
Key findings
- TWIN-GPT achieves higher fidelity in adverse event distributions than several baselines (relative to real data).
- The model enables counterfactual twin generation to estimate personalized treatment effects.
- Evaluation includes dimension-wise probability alignment and Pearson correlation-based fidelity for synthetic vs. real data.
- Severe outcome prediction is assessed using AUROC with synthetic vs. real data for training and testing.
- Privacy risk evaluation covers presence disclosure, attribute disclosure, and NNAA-based overfitting risk.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.