ResidencyRL is a reinforcement learning method designed to train clinical AI agents by simulating the full sequence of a patient encounter. Rather than relying on static medical benchmarks, the researchers developed a system that allows an AI to practice multi-turn dialogues, diagnostic reasoning, and management planning in a simulated environment, mirroring the way human physicians develop expertise during residency.
Training Through Simulated Practice
The ResidencyRL agent, initialized from a Gemini 3.5 Flash model, learns by interacting with LLM-driven patient simulators. These simulators are programmed to exhibit diverse behaviors, including complex, adversarial, or uncooperative traits, which force the agent to navigate uncertainty. The training process covers three types of environments: routine telehealth consultations, targeted history-taking to uncover hidden information, and safety-focused scenarios. Throughout these encounters, the agent performs up to 60 dialogue turns and 8 tool calls, such as documenting diagnoses or management plans. An automated rater evaluates these interactions based on diagnostic accuracy, management quality, communication, documentation, and safety, providing a reward signal that guides the agent’s improvement via Group Relative Policy Optimization.
Performance and Generalization
In held-out evaluations, the ResidencyRL-trained agent showed significant improvements over the base model. Under adversarial conditions, diagnostic accuracy increased from 81.0% to 88.0%, and the rate of missed safety-critical red flags dropped by 31%. These gains were validated by 97 board-certified clinicians in blinded side-by-side comparisons, where the trained agent was preferred in 87.6% of cases. The agent’s competencies also transferred to unseen benchmarks, including the AMIE multi-visit benchmark, AgentClinic, and CRAFT-MD, as well as specialist oncology cases not encountered during training.
Clinical Reasoning and Safety
The research indicates that the ResidencyRL approach effectively mitigates "premature closure"—a common diagnostic error where a clinician stops gathering information too early. By training the agent to handle long-horizon, multi-turn interactions, the system encourages more thorough information gathering and more appropriate management planning. The evidence suggests that sequential decision-making in clinical settings can be optimized through simulation, providing a structured way to improve AI performance across the entire arc of a patient visit.
Limitations and Future Outlook
While the results show consistent improvements across multiple clinical dimensions, the authors note that prospective validation with real-world clinical workflows is necessary. The current findings are based on simulated environments, and further research is required to establish whether these competencies translate directly to patient-level efficacy and safety in actual clinical practice.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!