NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

One Patient, Many Contexts: Scaling Medical AI Through Contextual Intelligence

Michelle M. Li, Ben Y. Reis, Adam Rodman, Tianxi Cai, Noa Dagan, Ran D. Balicer, Joseph Loscalzo, Isaac S. Kohane, Marinka ZitnikarXiv 2025 · DOI

Introduction

While medical foundation models (FMs) demonstrate remarkable performance on standardized benchmarks, such as medical licensing exams, they often struggle in the messy reality of clinical practice. This "benchmark-to-bedside" gap is frequently caused by a lack of contextual intelligence. Patients rarely present as textbook cases; they bring unique comorbidities, social barriers, and geographic constraints that general models may overlook.

The Problem: Contextual Collapse

Current AI approaches typically rely on two paradigms: zero-shot prompting of general models or fine-tuning on specialized datasets. However, these methods often lead to "contextual errors"—outputs that are medically plausible but dangerously incorrect for a specific situation. For instance, a model might recommend a follow-up appointment without considering a patient's lack of transportation. Fine-tuning for every possible clinical scenario is computationally expensive and data-hungry, making it difficult to scale across the infinite variety of medical contexts.

The Solution: Context-Switching

Researchers from Harvard Medical School and the Clalit Research Institute propose "context-switching" as a new paradigm. Rather than retraining models for every new environment, context-switching allows a model to dynamically adjust its reasoning at inference time based on the specific "Who, Where, and What" of a clinical encounter.

Evolution of medical AI paradigms from (a) zero-shot inference and (b) fine-tuning to (c) the proposed context-switching framework, which adapts to diverse clinical contexts at inference time.

Dimensions of Context

The framework defines context across three primary dimensions:

  • Specialty: Adjusting reasoning for specific fields like neurology or pulmonology.
  • Geography and Population: Incorporating local epidemiology, healthcare infrastructure, and social determinants of health.
  • Healthcare Role: Tailoring outputs for different users, such as surgeons, triage nurses, or patients.

Implementation Strategies

To realize this vision, the authors outline three pillars:

  1. Data Strategies: Capturing "context-specific signals" through prompt libraries and human-annotated reasoning traces that demonstrate how clinicians reach decisions.
  2. Model Architectures: Developing agentic systems that route tasks to specialized sub-agents and multimodal models that can switch their reliance between data types (e.g., prioritizing lab values when imaging is unavailable).
  3. Evaluation Frameworks: Moving beyond static accuracy to benchmarks that test model behavior across real-world variability.

Future Outlook

Transitioning to context-switching requires addressing challenges in data privacy, bias reinforcement, and "reward hacking." The authors advocate for "test-time scaling"—allocating more computation during inference for deeper reasoning—and the development of "executive agents" to manage complex, multi-step clinical workflows. By embracing contextual intelligence, AI can evolve from a rigid tool into a flexible, situational-aware clinical partner.

Summary updated

BibTeX
@misc{li2025one,
  author = {Michelle M. Li and Ben Y. Reis and Adam Rodman and Tianxi Cai and Noa Dagan and Ran D. Balicer and Joseph Loscalzo and Isaac S. Kohane and Marinka Zitnik},
  title = {{One Patient, Many Contexts: Scaling Medical AI Through Contextual Intelligence}},
  year = {2025},
  eprint = {2506.10157},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.10157},
}
Figure