DoctorAgent-RL: A Multi-Agent Collaborative Reinforcement Learning System for Multi-Turn Clinical Dialogue

Zhen Lei(雷震), Yichun Feng, Jiawei Wang, Lu Zhou, Yixue LiarXiv 2025 · DOI

Abstract

Traditional medical AI systems often operate as passive "answer engines," relying on comprehensive initial patient descriptions that rarely occur in real-world clinical settings. We present DoctorAgent-RL, a multi-agent reinforcement learning (RL) framework that treats clinical consultation as a strategic, goal-oriented dialogue. By training a "Doctor Agent" to interact with a high-fidelity "Patient Agent" within a simulated environment, the system learns to actively probe for hidden symptoms. Our approach, evaluated on the newly introduced MTMedDialog dataset, demonstrates significant improvements in diagnostic accuracy and information acquisition efficiency, outperforming frontier models such as GPT-4o.

Introduction

The efficacy of a clinical diagnosis depends heavily on the quality of the medical interview. Most current Large Language Models (LLMs) struggle in this domain for two reasons: they are often optimized for single-turn interactions, and they lack the proactive reasoning required to navigate a differential diagnosis. When faced with incomplete information, these models may provide vague or incorrect advice. To bridge this gap, we propose a shift from static imitation of medical transcripts to dynamic, logic-driven reinforcement learning.

The DoctorAgent-RL Framework

We reformulate the clinical consultation process as a Markov Decision Process (MDP). The system architecture consists of three primary components:

  1. Doctor Agent: Initially trained via Supervised Fine-Tuning (SFT) on structured medical dialogues, the agent is subsequently refined using Group Relative Policy Optimization (GRPO). This RL phase encourages the agent to explore various questioning strategies to maximize diagnostic accuracy.
  2. Patient Agent: A high-fidelity simulator (based on Qwen2.5-7B) that manages a "hidden medical profile." It reveals symptoms progressively only when prompted by relevant medical inquiries, mimicking the behavior of a real patient.
  3. Consultation Evaluator: A reward-based judge that evaluates the Doctor Agent on diagnostic accuracy, information acquisition efficiency, and adherence to medical interview protocols.
The DoctorAgent-RL training pipeline: starting with Supervised Fine-Tuning (SFT) on structured dialogues, followed by a multi-agent reinforcement learning loop where the Doctor Agent interacts with a Patient Agent to generate trajectories for reward-based optimization.

MTMedDialog: A Multi-Turn Benchmark

To support this training paradigm, we introduced MTMedDialog, the first English multi-turn medical consultation dataset designed for dynamic interaction. Derived from established Chinese benchmarks (IMCS21, CHIP-MDCFNPC, and MedDG), it contains 8,086 training samples and 2,082 test samples across 8 major disease categories. Unlike static datasets, MTMedDialog provides full case profiles, allowing for realistic, multi-turn simulations where information is revealed dynamically based on the flow of conversation.

Experimental Results

DoctorAgent-RL demonstrates a superior ability to balance dialogue engagement with diagnostic quality.

Diagnostic Performance

On the MTMedDialog benchmark, DoctorAgent-RL achieved a diagnostic score of 58.9%, notably higher than GPT-4o (52.6%) and DeepSeek-V3 (48.2%). This performance was corroborated by a "human-in-the-loop" validation involving 20 real-world patients (ages 20–80), where the model achieved a 70% Exact Match Rate for diagnoses.

Efficiency and Engagement

A key finding is the model's efficiency. While some domain-specific models (e.g., BioMistral) engage in many turns, they often suffer from repetition and low accuracy. In contrast, DoctorAgent-RL learns to ask targeted questions, reaching high accuracy within a reasonable number of turns, effectively knowing when it has enough data to make a clinical call.

Comparative analysis of model performance on the MTMedDialog dataset. DoctorAgent-RL (star) achieves the highest quality score and engagement, outperforming both frontier and domain-specific models.

Discussion and Future Work

The success of DoctorAgent-RL highlights the importance of strategic reasoning over simple pattern imitation in medical AI. By learning the logic of the clinical interview, the model becomes a more effective diagnostic partner.

Future work will focus on expanding the dataset to include rare diseases and complex multi-morbidity cases. Additionally, we aim to integrate multimodal capabilities, allowing the Doctor Agent to process visual data such as medical imaging or physical exam photos, further narrowing the gap between AI-assisted consultation and real-world clinical practice.

Summary updated

BibTeX
@misc{lei2025doctoragent,
  author = {Zhen Lei(雷震) and Yichun Feng and Jiawei Wang and Lu Zhou and Yixue Li},
  title = {{DoctorAgent-RL: A Multi-Agent Collaborative Reinforcement Learning System for Multi-Turn Clinical Dialogue}},
  year = {2025},
  eprint = {2505.19630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.19630},
}
Figure