Doctor-R1: Mastering Clinical Inquiry with Experiential Agentic Reinforcement Learning

Yunghwei Lai, Kaiming Liu, Ziyue Wang, Weizhi Ma, Yang Liu

Executive Summary

Doctor-R1 is a novel AI agent framework designed to master "dynamic clinical inquiry"—the crucial ability to ask strategic, empathetic questions to reach an accurate diagnosis. By combining a two-tiered reward system with a repository of high-quality past experiences, a compact 8-billion parameter model successfully outperformed much larger proprietary models, including GPT-4 and Claude 3 Sonnet, in complex medical consultation scenarios.

The Gap: Static Knowledge vs. Dynamic Inquiry

While Large Language Models (LLMs) have become remarkably adept at passing static medical exams like the USMLE, they frequently stumble in real-world clinical settings. In an actual outpatient clinic, doctors do not receive a neat, comprehensive paragraph of symptoms. Instead, they must engage in a dynamic inquiry process to uncover the necessary facts.

Static vs. Dynamic Clinical Capabilities

Existing models tend to ask generic, low-yield questions, miss critical "red-flag" symptoms, or lack the empathy required for sensitive patient interactions. The authors identify a significant gap between static medical knowledge (knowing the facts) and agentic clinical capability (knowing how to uncover the facts through strategic conversation).

Methods: Experiential Agentic Reinforcement Learning

To bridge this gap, the researchers introduced Doctor-R1, an agent trained using Experiential Agentic Reinforcement Learning. The framework is built on three innovative pillars:

  1. Multi-Agent Interactive Environment: The model trains in a closed-loop system, acting as the "Doctor Agent" while interacting with an "LLM-based Patient Agent" that simulates diverse clinical scenarios.
  2. Two-Tiered Reward Architecture: Instead of a single score, the model is evaluated on two distinct levels:
  3. Process Reward: A turn-by-turn evaluation of "soft skills" such as empathy, safety, and information gathering. Crucially, this includes a Hierarchical Veto System: if the model gives unsafe advice, it receives a massive penalty that cannot be offset by polite behavior.
  4. Outcome Reward: A final score based on the accuracy of the eventual diagnosis.
  5. Experience Repository: Acting as the agent's "memory," this repository allows the model to retrieve high-quality, high-reward trajectories from past consultations during both training and inference. A multi-stage pipeline filters for experiences that are relevant yet "novel" to prevent repetitive questioning.

The model was optimized using Group Relative Policy Optimization (GRPO), allowing the agent to learn by comparing a group of different responses to the same situation rather than relying on a complex critic model.

Datasets and Evaluation

  • Training: 100,000 simulated diagnostic dialogues curated from the KaMed dataset, annotated with Chain-of-Thought reasoning.
  • Dynamic Evaluation: Assessed using HealthBench (measuring accuracy, communication quality, and context awareness) and MAQuE (Medical Agent Questioning Evaluation, featuring 3,000 simulated patients).
  • Static Evaluation: MedQA and MMLU were used to ensure the model retained its foundational medical knowledge during reinforcement learning.

Key Insights

  • Inquiry Improves Decision-Making: Enhancing a model's questioning ability directly leads to better diagnoses. By asking high-yield questions early, the model narrows down the search space more effectively.
  • Safety Cannot Be Averaged: Standard RL often struggles with safety because models might "trade" a small safety risk for a high reward elsewhere. The Veto System ensures that fundamental clinical reliability remains non-negotiable.
  • Experience Over Scale: The 8B parameter Doctor-R1 outperformed 70B parameter specialized models and top-tier proprietary models. This suggests that for agentic tasks, specialized training and experiential memory are more potent than raw model size.
  • Scaling Patient Diversity: A strong positive correlation exists between the number of simulated patient agents used in training and the final performance of the doctor agent, highlighting the importance of clinical exposure.

Key Results

  • Superiority over SOTA: On HealthBench, Doctor-R1 achieved an average score of 36.29, surpassing GPT-4.1 (31.18) and the specialized Baichuan-M2-32B (33.16).
  • Empathy and Accuracy: On the MAQuE benchmark, it matched GPT-4.1 in diagnostic accuracy (60%) while significantly outperforming it in Empathy (93.80 vs. 75.20).
  • Knowledge Boost: The RL process actually improved the model's performance on static tests, scoring 83.50% on MedQA—a massive jump from its 63.50% base model score.
  • Human Preference: In pairwise evaluations by licensed physicians, Doctor-R1 was consistently preferred over other models for its clinical competence and information-gathering strategy.

Limitations and Future Work

  • Proxy Rewards: The "Consultation Evaluator" is an LLM. While validated against human experts, there is a risk of the agent learning to "hack" the evaluator's preferences rather than genuinely improving.
  • Simulation vs. Reality: Real-world patients may be more unpredictable, possess lower health literacy, or present with multiple conflicting conditions not fully captured in simulated training.
  • Deployment: This framework is a research prototype and is not intended for direct clinical use without further rigorous safety testing and human oversight.
  • Future Directions: The team plans to explore transferring this framework to even smaller models and integrating multi-modal inputs, such as medical imaging, into the inquiry process.

Summary updated

BibTeX
@inproceedings{lai2026doctor,
  author = {Yunghwei Lai and Kaiming Liu and Ziyue Wang and Weizhi Ma and Yang Liu},
  title = {{Doctor-R1: Mastering Clinical Inquiry with Experiential Agentic Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=vQGHTyL0Jw},
}
Figure