A Novel LLM-Driven Pipeline for Digital Twin Generation Using Clinical Notes to Inform Medical Recommendations
CSEF · 2026 Medicine & Physiology (Track 2) (Senior Division)
Overview
Clinical decision-making relies heavily on patient documentation, rich in temporal detail, context, and clinician reasoning, contained in electronic health records, yet much of this information remains underutilized due to its unstructured format. This study presents a digital twins pipeline that leverages large language models (LLMs) and embedding-based similarity search to transform raw clinical notes into accurate and structured patient representations to inform data-driven recommendations. Our central hypothesis is that digital twins identified from standardized summaries, extracted clinical timelines, and vector embeddings of prior patient trajectories can generate clinical recommendations that approximate those of trained medical professionals. The pipeline first uses LLMs to clean and standardize historical notes before extracting structured longitudinal timelines capturing events and outcomes. These extractions are embedded using a text-embedding model to produce vectorized representations of patients' clinical trajectories. For a new patient, notes are processed identically and compared to historical embeddings via cosine similarity to identify the most clinically analogous cases, whose trajectories and outcomes inform recommendations. Validation is conducted using the publicly available large-scale MIMIC-IV dataset and corroboration with trained medical professionals. Ultimately, the developed pipeline efficiently delivers clinical recommendations largely in alignment with clinical decisions made by physicians and trained medical professionals, revealing the potential for LLM-driven systems to assist in streamlining clinical decisions and, consequently, to reduce cost and improve quality of care.
Competition history
- CSEF 2026
Related projects
CSEF · 2026
OncoTwin: A Multi-Modal, Treatment-Based Digital Twin for Cancer Recurrence Risk Prediction and Biomarker Discovery
ISEF · 2018
Using Deep Learning to Identify Critical Documents for Clinical Decision Support Systems
ISEF · 2020
MedBrain: A Novel Deep Learning Tool for Holistic Patient Data Interpretation and Clinical Event Prediction
ISEF · 2023
BioRx: An Integrative NLP Approach to Early Survival and Recurrence Prediction and Novel Biomarker Discovery in Unstructured Text-Based Clinical Narratives for Diabetes Patients
ISEF · 2026
OncoTwin: A Multi-Modal, Treatment-Based Digital Twin for Cancer Recurrence Risk Prediction and Biomarker Discovery
ISEF · 2020
Weakly Supervised LSTM RNNs for Longitudinal Breast Cancer Recurrence Prediction via Unstructured Clinical Narratives
ISEF · 2025
OncoNote: Enabling the Discovery of a Novel Digital Biomarker for Early Pan-Cancer Survival and Recurrence Prediction via Free-Text Clinical Narratives
ISEF · 2025
A Novel Genomic Framework for Personalized Medicine: Optimizing LMTX for Tau Proteins in Alzheimer's
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects