Rahul Thapa
· 5 previous affiliations
- Stanford UniversitySince 2022
- PhD student · 2023–2028
- Master's degree, Computer Science · 2024–2026
- Researcher · 2022–2023
- PrentisSince 2026
- Research Advisor · Since 2026
- Researcher · 2025
- Together2024–2025
- Researcher · 2024–2025
- Villanova University2017–2021
- Undergrad student · 2017–2021
Research Overview
Rahul Thapa focuses on the development and evaluation of multi-modal foundation models within the healthcare domain. His work spans the creation of robust clinical benchmarks, the assessment of large language models for medical reasoning, and the design of specialized architectures for physiological data. Recently, his research emphasizes multimodal representation learning for sleep analysis and disease prediction.
Research Trajectory
Thapa’s early published work centers on evaluating and benchmarking foundation models in clinical settings, addressing the gap between general machine learning progress and healthcare-specific applications. In 2023, he co-developed EHRSHOT: An EHR Benchmark for Few-Shot Evaluation of Foundation Models, which provided a longitudinal dataset of de-identified structured electronic health records to facilitate the validation of shared pretrained models. This work contributed to the area of Learning from Limited Data in Specialized Medical Domains and advanced methods for Label Efficiency via Domain Specific Foundation Models. Concurrently, he participated in a critical review of clinical AI, The shaky foundations of large language models and foundation models for electronic health records, which highlighted a significant evaluation gap between technical benchmark success and real-world utility in patient care.
Continuing this focus on rigorous clinical evaluation, Thapa collaborated on the Evaluation of GPT-3.5 and GPT-4 for supporting real-world information needs in healthcare delivery. By testing these models against clinical questions previously handled by human informatics consult services, the research revealed that while the models generated safe responses, they frequently failed to align with expert-validated reports. This highlighted the limitations of general medical knowledge at the bedside, intersecting with the broader research direction of Specialized Clinical Reasoning in Large Language Models and the complexities involved in The Challenge of Subjective Ground Truth in Medicine.
Moving into 2024, Thapa’s focus expanded to the design of specialized architectures for continuous physiological signals. He introduced SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals, a foundation model trained on over 100,000 hours of physiological recordings. Utilizing a novel leave-one-out contrastive learning approach, the model learned representations across brain activity, heart rate, and respiration that improved performance on clinical tasks such as sleep staging and apnea detection compared to existing supervised models.
In 2025, his research broadened to encompass agentic frameworks and deeper evaluations of clinical reasoning. He contributed to MedCaseReasoning: Evaluating and learning diagnostic reasoning from clinical case reports, an open-access dataset designed to measure how well the thought processes of language models align with clinician-authored rationales. By fine-tuning models on expert reasoning traces, the work demonstrated improvements in diagnostic accuracy, advancing the area of Sequential Clinical Diagnosis with Interactive Language Agents. He also collaborated on MedAlign: A Clinician-Generated Dataset for Instruction Following with Electronic Medical Records, a benchmark that exposed the high error rates of current language models when processing complex, long-context healthcare instructions. Beyond strictly clinical domains, Thapa participated in the development of OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoning, a training-free system that equips language models with external tools via a hierarchical planner-executor architecture to tackle complex reasoning tasks.
Most recently, in 2026, Thapa extended his earlier work on physiological foundation models. He led the development of A multimodal sleep foundation model for disease prediction, which scaled the SleepFM architecture to learn from over 585,000 hours of multimodal sleep data. This scaled model demonstrated the capacity to predict over 130 diseases, including mortality and dementia, illustrating the potential of comprehensive sleep signals for proactive health monitoring and long-term risk assessment.
Current Directions
The most recent papers in the evidence indicate a dual focus on scaling multimodal foundation models for physiological data and improving the reasoning capabilities of clinical language models. Recent work investigates how large-scale datasets of continuous physiological signals, particularly multimodal sleep recordings, can be leveraged to predict a wide array of diseases and long-term health outcomes. Concurrently, Thapa is exploring agentic frameworks and specialized datasets designed to evaluate and enhance how language models process complex electronic health records, utilize external tools, and align their outputs with expert diagnostic reasoning.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake