ResidencyRL: Reinforcement Learning in Simulated Clinical Environments
Abstract: In medical education, physicians convert academic knowledge into clinical expertise through residency: years of training across thousands of encounters, with diverse sources of feedback and progressively greater autonomy. Much of clinical reasoning relies on the patient encounter, a dialogue in which a clinician elicits history, refines diagnostic hypotheses, and decides management under uncertainty. While LLMs excel on static medical benchmarks, methods to optimize the full sequence of clinical decisions remain underdeveloped. We present ResidencyRL, a reinforcement learning (RL) method for training clinical AI agents through simulated multi-turn clinical encounters (up to 60 dialogue turns and 8 tool calls per trajectory). ResidencyRL pairs the policy agent with LLM simulators capable of complex, adversarial behaviors, training against a structured reward aligned to diagnostic accuracy, management quality, communication, documentation, and safety. On held-out evaluations, the ResidencyRL agent improves diagnostic accuracy by 7.0% under adversarial conditions (88.0% vs. 81.0%) and reduces missed red flag rates by 31%, demonstrating rigorous mitigation of premature closure. Blinded expert clinicians validated these gains, preferring the trained agent in 87.6% of side-by-side comparisons. The procedural competencies transfer to unseen benchmarks: the agent outperforms the base model across all six clinical axes of the AMIE multi-visit benchmark, and shows consistent directional improvements on AgentClinic and CRAFT-MD. Our findings demonstrate that sequential clinical decision-making can be effectively learned through multi-turn RL in simulation, yielding robust, generalizable capabilities, paving the way towards clinical mastery. Prospective validation with real-world workflows remains necessary to establish clinical utility.
Paper Prompts
Sign up for free to create and run prompts on this paper.
Top Community Prompts
Explain it Like I'm 14
1. What is the paper about?
This paper introduces ResidencyRL, a way to train medical AI by letting it practice conversations with simulated patients.
The researchers compare this idea to medical residency. Human doctors do not become skilled just by reading textbooks. They improve by seeing many patients, asking questions, making decisions, receiving feedback, and learning from mistakes. ResidencyRL tries to give an AI a similar kind of practice—inside a computer simulation.
The AI must complete an entire medical visit. It has to:
- Ask the patient useful questions.
- Notice important warning signs.
- Suggest possible diagnoses.
- Decide how urgent the problem is.
- Create a treatment and follow-up plan.
- Explain the plan clearly.
- Write proper medical notes.
2. What questions did the researchers ask?
The main research questions were:
- Can repeated practice in simulated patient conversations make a medical AI better at clinical reasoning?
- Can the AI learn to avoid dangerous mistakes, such as deciding on a diagnosis too quickly?
- Can the AI handle difficult patients who hide information, misunderstand their symptoms, resist advice, or try to make the doctor dismiss serious problems?
- Will skills learned in the simulation work on new cases that the AI did not see during training?
- Would real expert doctors prefer the trained AI over the original, untrained version?
A major concern in medicine is called premature closure. This happens when a doctor chooses the first explanation that seems reasonable and stops looking for other possibilities. For example, a patient may say they have indigestion, but their symptoms could actually be a heart attack. The researchers wanted to see whether training could help the AI keep asking questions and checking for danger.
3. How did the researchers train and test the AI?
Creating simulated patients
The researchers created about 57,000 medical scenarios. These included different:
- Ages and backgrounds.
- Personality types.
- Diseases and symptoms.
- Medication histories.
- Communication styles.
- Levels of medical knowledge.
Some patients were easy to understand, while others gave short answers, used unclear language, or did not mention important information unless asked directly.
For example, a patient with constipation might not volunteer that they drink a strong herbal product called kratom every day. The AI must specifically ask about herbal supplements before discovering that this could be the cause.
The scenarios were checked by another AI system to find medical inconsistencies, such as an impossible age or a treatment that does not make sense.
Letting the AI practice complete visits
The AI had conversations with an LLM-based patient simulator. An LLM is a computer program that can understand and produce human-like language.
Each simulated visit could include up to:
- 60 conversation turns, such as one question and one answer.
- 8 tool calls, meaning structured actions such as submitting a diagnosis or treatment plan.
The AI could use tools similar to parts of a real clinical system. It could submit:
- A primary diagnosis.
- A list of possible diagnoses.
- An urgency level.
- A management plan.
- A plain-language summary for the patient.
- A structured medical note.
Giving the AI scores and feedback
After each visit, an automatic evaluator graded the AI. It looked at six major areas:
| Area | What it means in simple terms |
|---|---|
| Diagnosis | Did the AI identify the likely illness? |
| Management | Did it recommend safe and suitable next steps? |
| Information gathering | Did it ask enough important questions? |
| Communication | Was it clear, respectful, and responsive to emotions? |
| Documentation | Did it write a complete and organized note? |
| Style | Did the conversation sound natural and avoid unnecessary repetition? |
The AI also received penalties for serious safety problems, such as missing an emergency warning sign or giving an unsafe recommendation.
What does “reinforcement learning” mean here?
Reinforcement learning, or RL, is a learning method based on rewards and penalties. It is similar to training a dog or learning a video game:
- A good action earns a positive score.
- A bad or dangerous action loses points.
- After many attempts, the learner becomes more likely to choose actions that lead to better results.
In this study, the AI practiced many patient visits. It gradually adjusted its behavior to earn higher scores across the whole conversation, rather than only trying to produce a good answer to one question.
The researchers used a specific RL method called Group Relative Policy Optimization (GRPO). In simple terms, the system compared several attempts by the AI and encouraged the behavior found in the better attempts.
Testing the trained AI
The researchers compared the trained AI with the original base model. They tested both systems on:
- New cases similar to the training cases.
- Difficult and adversarial cases.
- Cases from other medical evaluation systems.
- Oncology cases, even though oncology was not the main training specialty.
- Longer, multi-visit medical scenarios.
They also asked 97 expert clinicians to compare the two systems without telling them which one had been trained.
4. What did the researchers find?
The trained AI performed better than the original model in several important ways.
Better diagnosis
In difficult adversarial cases, diagnostic accuracy increased from:
- 81.0% for the base model
- 88.0% for ResidencyRL
This is an improvement of 7 percentage points.
Fewer missed warning signs
The trained AI reduced the rate of missed red flags by about 31%. A red flag is a clue that a patient may have a dangerous or urgent condition.
This suggests that the AI became less likely to stop after its first guess and more likely to investigate further.
Better treatment and management plans
The average management score increased from 3.98 to 4.52 on a 1-to-5 scale.
This means the trained AI was generally better at deciding:
- How urgent the situation was.
- Which tests or investigations might be needed.
- What treatment or advice was appropriate.
- When follow-up should happen.
- What warning signs the patient should watch for.
Better communication
The AI also improved at patient-centered communication. For example, its score for responding to patient emotions increased from 2.63 to 3.06.
This matters because a doctor needs more than medical knowledge. Patients may be frightened, confused, embarrassed, or doubtful. Good communication can help patients share important information and follow a care plan.
Skills transferred to new medical tasks
The improvements were not limited to the exact cases used during training.
On the AMIE multi-visit benchmark, the trained AI performed better across all six tested categories. Two especially large improvements were:
- Management reasoning: 80.1% to 88.4%
- Patient communication: 83.7% to 92.2%
The AI also showed improvements on oncology cases and other clinical evaluation systems. This suggests it learned general habits—such as asking more complete questions and checking safety—rather than simply memorizing particular cases.
Expert clinicians preferred the trained AI
In side-by-side comparisons, expert clinicians preferred the ResidencyRL version in 87.6% of cases.
The trained AI was especially preferred for:
- Gathering complete information: 90.7% win rate
- Choosing an appropriate management plan: 75.3% win rate
5. Why are these findings important?
Many medical AI systems are tested using short questions, such as “What is the most likely diagnosis?” Real medical care is more complicated. Doctors must make a series of connected decisions:
- Decide what to ask first.
- Notice what information is missing.
- Ask follow-up questions.
- Consider several possible causes.
- Check for emergencies.
- Choose a plan.
- Explain it to the patient.
- Record what happened.
ResidencyRL focuses on this entire sequence. The results suggest that AI can improve not only its medical knowledge, but also its process of thinking and communicating.
The study is also important because it deliberately includes challenging patients and safety problems. An AI that performs well only when patients are cooperative may not be reliable in real life.
6. What could this research lead to?
If the results hold up in further studies, simulated practice could become a useful way to train medical AI before it is used with real patients. It might help AI systems become:
- More careful when information is incomplete.
- Better at asking follow-up questions.
- Less likely to miss emergencies.
- More skilled at explaining medical information.
- More organized when recording clinical decisions.
It could also provide a safe “practice room” where researchers can test dangerous situations repeatedly without putting real people at risk.
However, the study has an important limitation: the patients were simulated. Even a very realistic computer patient may not behave exactly like a real person, and an automatic AI grader may not judge every medical decision perfectly. The system also did not truly observe what happened to patients after treatment.
Therefore, ResidencyRL is promising, but it is not proof that the AI is ready to replace doctors or independently treat patients. The researchers say that future studies must test it carefully in real clinical workflows, with trained medical professionals supervising it and strong safety protections in place.
Knowledge Gaps
Knowledge gaps, limitations, and open questions
The paper leaves the following issues unresolved:
- Real-world clinical effectiveness is not established: The agent has not been evaluated prospectively in routine clinical workflows with real patients, so its effects on diagnostic accuracy, treatment decisions, patient outcomes, clinician workload, and safety remain unknown.
- Simulation-to-reality transfer is uncertain: LLM-generated patients may not reproduce the variability, ambiguity, emotional dynamics, cultural context, nonverbal cues, and unpredictable behavior of real patients.
- Patient-simulator bias may inflate performance: The same or related LLM-based systems generate scenarios, simulate patients, and judge agent behavior, creating potential shared-model, prompt, or benchmark artifacts that could make results appear stronger than they are.
- Autorater validity remains insufficiently characterized: The paper does not fully report agreement between the Gemini-based reward judges and independent clinician ratings across individual rubric dimensions, rare safety events, and incorrect-but-plausible clinical decisions.
- Reward hacking is not ruled out: It remains unclear whether the agent learned genuine clinical reasoning or optimized superficial correlates of high reward, such as asking stereotyped safety questions, producing lengthy documentation, or matching the simulator’s expected wording.
- The causal contribution of each training component is unclear: The study does not appear to isolate the effects of long-horizon RL, adversarial scenarios, targeted history-taking scenarios, documentation tools, curriculum design, reward weighting, or scenario diversity through comprehensive ablation experiments.
- The impact of reward weighting is unresolved: The chosen emphasis on management and diagnosis over communication, intake, documentation, and style may produce undesirable trade-offs that are not quantified.
- Clinical outcome consequences are only proxied: The environment does not model physiological responses, treatment side effects, disease progression, adherence, or downstream outcomes, so management quality is judged against scenario rubrics rather than actual patient trajectories.
- Ground-truth diagnoses may be oversimplified: Many real cases have multiple coexisting conditions, uncertain diagnoses, evolving presentations, or no single definitive diagnosis; the extent to which the scenario generator represents these situations is unclear.
- Scenario generation may embed systematic biases: Sampling based primarily on United States demographic and telehealth-utilization distributions may limit applicability to other countries, healthcare systems, languages, socioeconomic groups, and populations with limited digital access.
- Representation of protected and underserved groups is not adequately validated: The paper does not report subgroup performance or safety analyses by age, sex, ethnicity, disability, socioeconomic status, health literacy, language, medical mistrust, or other patient characteristics.
- Behavioral persona assumptions may be problematic: Mapping Big Five personality traits and demographic attributes to symptom amplification, adherence, cooperativeness, or communication style could introduce stereotyping or clinically inappropriate associations.
- Language and multimodal limitations remain unexplored: The system is evaluated primarily through text-based English encounters and does not establish performance with interpreters, multilingual patients, speech, accents, images, physical examination findings, medical records, or other clinical modalities.
- The scope of clinical specialties is limited: Although oncology generalization is reported, the training and evaluation focus remains concentrated on primary care and telehealth; performance in emergency medicine, surgery, pediatrics, obstetrics, psychiatry, intensive care, and other high-risk specialties is unresolved.
- Longitudinal reliability is not demonstrated: Improvements on multi-visit benchmarks do not establish that the agent can maintain accurate patient state, detect disease progression, reconcile changing medications, or make safe decisions over extended real-world care trajectories.
- Robustness to distribution shift is incompletely tested: The evaluations do not establish resilience to new institutions, documentation conventions, prevalence rates, clinical guidelines, patient populations, languages, or previously unseen adversarial strategies.
- The adversarial scenarios may not reflect real attack distributions: The fixed prompt-defined adversarial taxonomy and behaviors may be predictable, and the agent’s robustness to naturally occurring manipulation, prompt injection, misinformation, coercion, or coordinated attacks remains unknown.
- Safety-event confidence intervals and rare-event power are unclear: A reported reduction in missed red flags may be based on too few cases to reliably estimate performance on rare but catastrophic events.
- Error severity is not fully analyzed: Aggregate diagnostic and rubric scores may conceal whether the remaining errors are minor documentation omissions or potentially fatal failures involving emergency escalation, medication contraindications, abuse, suicidality, or delayed care.
- Calibration and uncertainty communication are insufficiently evaluated: The paper does not establish whether confidence, differential rankings, urgency classifications, or recommendations are calibrated to actual error likelihood.
- The effect of tool-use constraints is unknown: The fixed documentation API may not represent real EHR interfaces, laboratory systems, imaging systems, referral processes, prescribing systems, or institutional decision-support tools.
- Efficiency and interaction burden are underexplored: The agent may improve completeness by asking more questions or generating longer notes, but the paper does not adequately quantify consultation length, token/tool cost, clinician time, patient burden, or the trade-off between thoroughness and efficiency.
- Human-evaluation generalizability is limited: The clinician preference study uses 97 blinded experts, but the paper does not establish how preferences vary by specialty, experience, practice setting, risk tolerance, or familiarity with AI-assisted care.
- Preference is not equivalent to clinical correctness: Side-by-side clinician preference may favor fluent or detailed responses even when those responses contain subtle diagnostic, management, or safety errors.
- Comparisons with baselines may be confounded: It is unclear whether the base model and competing systems received equivalent scaffolding, tool access, prompting, context, inference budgets, and evaluation conditions.
- The contribution of scale and model identity is not separated from the RL method: Because training uses a specific Gemini model and proprietary infrastructure, it remains unclear whether the gains arise from ResidencyRL itself or from model scale, hidden pretraining differences, or system-level engineering.
- Reproducibility is constrained: The paper does not provide sufficient detail to independently reproduce the full scenario corpus, simulator prompts, autorater prompts, filtering decisions, training compute, sampling procedures, hyperparameters, or model checkpoints.
- Data contamination and benchmark leakage are not excluded: The extent to which training scenarios, source datasets, evaluation cases, or related benchmark content may have appeared in model pretraining or scenario-generation prompts is not established.
- Stability across random seeds and training runs is unknown: The paper does not report whether the observed improvements are consistent across independent runs, model initializations, scenario samples, or reward-model variations.
- Negative transfer and unintended behaviors are insufficiently investigated: It remains unclear whether RL improves targeted competencies at the expense of creativity, bedside manner, diagnostic breadth, appropriate escalation, adherence to patient preferences, or performance on unrelated tasks.
- Human oversight requirements are undefined: The study does not specify when clinicians must review, override, or supervise the agent, nor does it quantify how much oversight is required to achieve acceptable safety.
- Accountability and governance remain open questions: Responsibility for errors, documentation ownership, informed consent, auditability, privacy, data retention, and regulatory classification are not addressed.
- Clinical guideline and institutional variation are not evaluated: Management recommendations may be judged against a single rubric or reference standard, leaving uncertainty about performance when guidelines conflict, evolve, or differ across institutions.
- Patient-centered outcomes are missing: The study does not measure patient trust, understanding, satisfaction, adherence, anxiety, perceived autonomy, accessibility, or willingness to follow the agent’s recommendations.
- The durability of learned competencies is unknown: No evidence is provided on whether improvements persist after training, under continued interaction with new patient behaviors, or after changes to prompts, tools, guidelines, or model versions.
Practical Applications
Immediate Applications
The paper’s results support near-term use primarily in training, evaluation, quality assurance, and workflow prototyping, rather than autonomous clinical care. The agent has only been validated in simulated environments and still requires prospective testing with real patients.
- AI-assisted residency and medical-student simulation training — Healthcare education; Immediate Application Deploy the simulated patient environment as a virtual standardized-patient platform for practicing history-taking, differential diagnosis, triage, management planning, communication, and SOAP-note documentation. Scenarios can be configured for routine, complex, or adversarial encounters, allowing learners to repeat difficult cases without consuming clinician or standardized-patient time. Potential tools/workflows: browser-based virtual OSCEs, automated encounter transcripts, competency dashboards, and feedback reports organized by diagnostic accuracy, red-flag detection, communication, and documentation. Dependencies: feedback validity depends on the quality of the LLM autorater and scenario ground truth; educator review remains necessary for high-stakes assessment.
- Targeted remediation for diagnostic errors — Medical education and clinical quality improvement; Immediate Application Use the four targeted history-taking domains—social/lifestyle factors, medication details, symptom characterization, and exposures—to generate personalized exercises for common weaknesses such as anchoring, incomplete medication review, or failure to ask about travel and substance use. Potential workflow: a learner completes a case, the system identifies omitted questions or missed diagnostic pivots, and subsequent cases are selected to rehearse that competency. Dependencies: remediation recommendations should be checked against specialty-specific curricula and validated assessment standards.
- Adversarial safety testing of clinical conversational AI — Healthcare software and AI assurance; Immediate Application The scenario-generation and red-team pipeline can be used to test symptom checkers, telehealth assistants, clinical documentation agents, and medical chatbots against concealed emergencies, minimized symptoms, prompt manipulation, unsafe prescribing requests, abuse or crisis situations, and inappropriate telehealth use. Potential outputs: safety regression suites, red-flag detection benchmarks, refusal and escalation tests, and release-gating reports for clinical AI products. Dependencies: adversarial scenarios must be reviewed by clinicians to avoid unrealistic or incomplete failure tests; simulated performance does not establish patient safety.
- Benchmarking sequential clinical reasoning rather than single-turn knowledge — Academia and industry evaluation; Immediate Application Researchers can adopt the paper’s long-horizon evaluation design—up to 60 dialogue turns and eight structured tool interactions—to measure whether a model gathers sufficient information, updates its differential, chooses appropriate urgency, and produces a coherent management plan. Potential tools: standardized multi-turn benchmark harnesses, trajectory-level scoring, and comparisons across diagnostic, management, communication, and documentation axes. Dependencies: automated LLM grading requires calibration against blinded expert judgments and monitoring for judge bias or reward hacking.
- Clinical documentation assistance under human review — Healthcare IT; Immediate Application The documentation API and SOAP-note outputs could support clinician-facing systems that draft encounter summaries, differentials, patient instructions, follow-up recommendations, and safety-netting language after a consultation. The system could also flag missing history elements or red flags before a note is finalized. Dependencies: outputs must remain drafts; integration requires privacy safeguards, EHR interoperability, audit logs, clinician sign-off, and compliance with applicable medical-device and data-protection requirements.
- Telehealth intake and routing support — Primary care and virtual care; Immediate Application A constrained version of the agent could collect structured histories, identify urgent symptoms, classify whether text-based care is appropriate, and route patients to emergency, urgent, or routine services. Its emphasis on hidden information and adversarially minimized symptoms is particularly relevant to remote encounters. Dependencies: it should not independently diagnose or prescribe; escalation thresholds must be conservative, locally governed, and evaluated prospectively for false negatives and inequitable performance.
- Creation of scalable standardized-patient cases — Medical schools, hospitals, and professional certification; Immediate Application The proposer–judge pipeline can generate diverse cases across demographics, communication styles, comorbidities, and difficulty levels. Institutions could use these cases for formative OSCE preparation, interview training, communication practice, and continuing professional development. Dependencies: generated cases require clinical validation, demographic-bias audits, deduplication, and controls against teaching incorrect or culturally inappropriate practices.
- Policy and procurement criteria for clinical AI — Healthcare governance and public policy; Immediate Application Health systems and regulators can use the paper’s framework to require vendors to report performance on complete encounter trajectories, not only medical question-answering. Procurement evaluations could include red-flag sensitivity, urgency calibration, documentation quality, patient-centered communication, and robustness to resistant or low-health-literacy patients. Dependencies: thresholds must be agreed upon by clinical societies and regulators, and results should be stratified by language, demographic group, specialty, and care setting.
- Training clinicians to recognize AI failure modes — Clinical practice and patient safety; Immediate Application The simulator can expose clinicians to examples of AI premature closure, incomplete questioning, unsafe management plans, and inappropriate confidence. This supports AI-literacy programs and establishes workflows for reviewing and correcting AI-generated recommendations. Dependencies: training must clearly distinguish simulation behavior from validated clinical performance and avoid creating unwarranted trust in the system.
Long-Term Applications
The paper points toward broader clinical and operational systems, but these uses require additional research, real-world validation, stronger causal outcome measures, and regulatory oversight.
- Clinician-supervised clinical copilot for end-to-end encounters — Healthcare delivery; Long-Term Application A mature version could participate throughout a consultation: review the chart, conduct preliminary history-taking, identify missing information, propose a ranked differential, suggest investigations and management options, generate documentation, and provide patient-facing explanations. The clinician would retain final authority. Dependencies: prospective trials must establish effects on diagnostic accuracy, time, workload, disparities, adverse events, and patient satisfaction. The system also needs reliable access to current guidelines, medications, labs, imaging, and EHR context.
- Longitudinal disease-management assistant — Chronic care and population health; Long-Term Application Extending the multi-visit capabilities described in the paper, the agent could monitor evolving symptoms, adherence, treatment response, and safety-netting requirements for conditions such as diabetes, hypertension, cancer survivorship, or gastrointestinal disease. It could prompt follow-up, identify deterioration, and prepare visit summaries for clinicians. Dependencies: requires validated patient-state memory, accurate integration with remote-monitoring data, strong privacy controls, and safeguards against inappropriate treatment changes based on incomplete information.
- Specialty-specific clinical agents — Oncology, emergency medicine, psychiatry, pediatrics, and other specialties; Long-Term Application The demonstrated transfer to unseen oncology cases suggests a pathway for specialty adaptation. Future agents could be trained with specialty-specific scenarios, guidelines, tools, and safety taxonomies—for example, chemotherapy toxicity triage, psychiatric crisis escalation, pediatric age-specific dosing, or emergency atypical-presentation detection. Dependencies: specialty deployment requires expert-curated data, separate validation for rare and high-risk conditions, and careful handling of cases where the simulator lacks physiological realism.
- Interactive clinical skills certification and credentialing — Academia and professional regulation; Long-Term Application Multi-turn simulated encounters could become part of formative or summative assessment for residents and practicing clinicians. Evaluation could cover not only the final diagnosis but also information gathering, communication, escalation, documentation, and management quality across many cases. Dependencies: certification use requires demonstrated reliability, fairness, test security, human governance, and evidence that simulation scores correlate with real-world clinical competence.
- Hospital-wide safety surveillance and AI quality management — Health-system operations; Long-Term Application Hospitals could continuously replay representative and adversarial cases against deployed models, using trajectory-level metrics to detect performance drift after model, guideline, or EHR changes. The system could function as a clinical-AI “continuous integration” pipeline. Dependencies: requires standardized safety metrics, versioned scenarios, secure infrastructure, incident-report integration, and clear procedures for disabling or revising unsafe systems.
- Evidence-grounded autonomous triage in low-resource settings — Global health and public-sector care; Long-Term Application After rigorous validation, a lightweight agent could support initial symptom assessment and referral decisions where clinician availability is limited, including multilingual or asynchronous telehealth services. Its ability to probe for hidden information could be valuable when patients provide brief or incomplete histories. Dependencies: requires local validation, language and cultural adaptation, offline or low-bandwidth operation, equitable performance, referral capacity, and explicit escalation pathways for emergencies.
- Simulation-based policy stress testing — Public health and health-system planning; Long-Term Application Policymakers could simulate how virtual patients with different health literacy, trust, socioeconomic circumstances, or communication styles respond to triage rules, screening recommendations, and access pathways. This could help identify policies likely to produce missed emergencies or unequal uptake. Dependencies: behavioral profiles must be empirically grounded rather than inferred solely from LLM prompts; simulated responses should be compared with real-world utilization and patient-engagement data.
- Closed-loop clinical decision optimization — Clinical operations and research; Long-Term Application The RL framework could eventually optimize sequences involving questions, tests, referrals, treatments, and follow-up while accounting for cost, patient burden, diagnostic risk, and resource availability. This would extend the current framework beyond dialogue and documentation toward decision policies with measurable downstream outcomes. Dependencies: the current simulator does not model physiological treatment effects. Safe deployment therefore requires calibrated patient-state models, real-world outcome data, causal evaluation, conservative action constraints, and human oversight.
- Integration with multimodal and physical-care systems — Medical devices, robotics, and ambient computing; Long-Term Application The approach could be extended to agents that combine conversation with wearable data, imaging, laboratory results, examination devices, or robotic assistance. Such systems might conduct an intake, request measurements, interpret results, and coordinate care actions across a heterogeneous tool space. Dependencies: multimodal data quality, sensor calibration, interoperability, cybersecurity, latency, and regulatory approval are essential. Errors in any connected device could propagate through the full decision trajectory.
- Patient-facing self-management and health-navigation products — Consumer health; Long-Term Application A heavily constrained version could help users prepare for appointments, organize medication and symptom histories, explain clinician instructions, identify questions to ask, and recognize when urgent care may be needed. The agent’s communication and patient-summary capabilities are directly relevant to these functions. Dependencies: consumer systems must avoid presenting speculative diagnoses as facts, protect sensitive health information, support accessibility and multiple languages, and use conservative emergency guidance with prominent human-care escalation.
Glossary
- Adversarial manipulation: Deliberate behavior intended to exploit weaknesses in an AI system or decision-making process. “which are further vulnerable to adversarial manipulation”
- Agentic reinforcement learning: Reinforcement learning in which a LLM interacts with an environment over multiple steps and takes actions autonomously. “This paradigm restores multi-turn optimization by situating the LLM in a temporally extended Partially Observable Markov Decision Process (POMDP)”
- Autorater: An automated evaluator, often based on a LLM, that scores system outputs according to specified criteria. “An LLM autorater processes the encounter transcript and tool calls, yielding a structured reward”
- Behavioral profile: A structured representation of a person’s characteristic patterns of communication or action. “we assign behavioral profiles grounded in personality psychology”
- Clinical coherence: The degree to which clinical information is internally consistent and medically plausible. “Scenarios further undergo LLM-as-judge clinical coherence verification.”
- Clinical differential diagnosis: A ranked set of possible diagnoses considered to explain a patient’s symptoms. “differential diagnosis submission, which accepts a ranked list with reasoning chains”
- Clinical utility: The practical value of a medical system for improving patient care or clinical decision-making. “Prospective validation with real-world workflows remains necessary to establish clinical utility.”
- Cosine similarity: A measure of similarity between vectors based on the cosine of the angle between them. “Pairs exceeding a cosine similarity threshold of $0.9$ are pruned”
- Critical safety flag: A binary indicator that identifies a potentially dangerous clinical behavior or omission. “complemented by safety-critical penalty flags”
- DDXPlus evidence corpus: A dataset of clinical findings and their validated associations with diseases, used to ground diagnostic scenarios. “Grounding generated scenarios in DDXPlus ensures clinical findings reflect validated associations rather than hallucinated artifacts.”
- Domain generalization: The ability of a model trained in one domain or environment to perform effectively in previously unseen domains. “These improvements generalize broadly”
- EHR-grounded world model: A simulated model of clinical reality constructed using information from electronic health records. “DiagAgent \citep{qiu2025evolving} trains within an EHR-grounded world model.”
- Experience replay: A reinforcement-learning technique that reuses previously collected trajectories or interactions during policy training. “Doctor-R1 \citep{lai2025doctorr1} introduces experience replay to ground policy learning in retrieved past trajectories”
- Foundation model: A large, generally pretrained model that can be adapted to many downstream tasks. “generalist foundation models with advanced medical reasoning abilities promise a new paradigm for medical AI”
- Group Relative Policy Optimization (GRPO): A reinforcement-learning algorithm that updates a policy using rewards compared across groups of sampled trajectories. “The policy agent is optimized via Group Relative Policy Optimization (GRPO)”
- Hallucinated artifact: An output or data element generated by a model that appears plausible but is unsupported or incorrect. “rather than hallucinated artifacts”
- Heterogeneous action space: An action space containing different types of actions, such as natural-language messages and structured tool calls. “a heterogeneous action space ($\mathcal{A}_{\text{lang} \cup \mathcal{A}_{\text{tool}$)”
- Hierarchical rubric: An evaluation framework organized into multiple levels of criteria and subcriteria. “Training is guided by a hierarchical rubric optimizing six clinical dimensions”
- Health literacy: The ability to obtain, understand, and use health information to make appropriate decisions. “systemic barriers such as health literacy and medical mistrust hinder effective communication”
- Information asymmetry: A situation in which one participant possesses information that another participant does not. “Information asymmetry distinguishes proactive information”
- In-domain evaluation: Evaluation performed on data or scenarios drawn from the same distribution as the training environment. “On held-out in-domain cases”
- Likert scale: An ordinal rating scale used to measure the degree or quality of a judgment, commonly from one to five. “management quality (3.98 to 4.52 on a 1--5 Likert scale)”
- Long-horizon reinforcement learning: Reinforcement learning over extended sequences of actions whose consequences and rewards may unfold over many steps. “Long-horizon multi-turn RL for sequential clinical reasoning”
- Markov Decision Process (MDP): A formal model of sequential decision-making in which the current state contains all information needed to predict future transitions and rewards. “These methods optimize a degenerate Markov Decision Process ()”
- Medical mistrust: Distrust of medical institutions, professionals, or health-care recommendations. “or higher medical mistrust”
- Multi-agent role decomposition: A method that divides a complex task among multiple specialized agents or roles. “SALUS \citep{gaosalus} applies per-step GRPO with multi-agent role decomposition”
- Online reinforcement learning: Reinforcement learning in which the policy learns from interactions generated in the current environment during training. “ResidencyRL is an online multi-turn RL method”
- Out-of-domain evaluation: Evaluation on tasks, domains, or distributions not encountered during training. “five out-of-domain evaluation frameworks”
- Partially Observable Markov Decision Process (POMDP): A sequential decision-making model in which the agent cannot directly observe the complete underlying state of the environment. “a temporally extended Partially Observable Markov Decision Process (POMDP)”
- Patient-centered communication: Clinical communication that incorporates the patient’s perspective, emotions, preferences, and participation in decision-making. “patient-centered communication”
- Premature closure: A diagnostic error in which a clinician stops considering alternatives after forming an initial diagnosis. “demonstrating rigorous mitigation of premature closure”
- Prompt injection: An adversarial input designed to manipulate a LLM into violating its intended instructions. “distinct from general-purpose prompt injection”
- Psychometric evaluation: The measurement and analysis of psychological or assessment-related properties such as reliability and consistency. “This analytic scoring approach is motivated by psychometric evaluation theory”
- Red teaming: The deliberate testing of a system using adversarial inputs or behaviors to uncover vulnerabilities. “This design adapts a broader paradigm of LLM-based redteaming”
- Reward shaping: The design or modification of reward signals to encourage desired behaviors during reinforcement learning. “training against a structured reward aligned to diagnostic accuracy, management quality, communication, documentation, and safety”
- Safety-netting: Providing instructions about warning signs, follow-up, and actions to take if a patient’s condition worsens. “follow-up and safety-netting adequacy”
- SOAP note: A standardized clinical documentation format consisting of Subjective, Objective, Assessment, and Plan sections. “clinical documentation following the SOAP note (Subjective, Objective, Assessment, and Plan) format”
- State-aware memory: A simulation mechanism that tracks relevant evolving information about an entity or environment across interactions. “state-aware memory \citep{liao2024automatic}”
- Structured output schema: A predefined format constraining an AI system’s response to expected fields or data types. “with structured output schema constraints”
- Tool calling: The process by which a LLM invokes external functions or APIs to perform structured actions. “Multi-turn simulation rollouts capture the agent's sequential clinical reasoning, natural language dialogue, and tool utilization”
- Trajectory: A sequence of states, observations, actions, and rewards generated during an interaction episode. “up to 60 dialogue turns and 8 tool calls per trajectory”
- Triage: The classification of a patient’s urgency and prioritization for appropriate care. “how to triage urgent presentations”
- Uncertainty calibration: The degree to which a system’s confidence corresponds to the actual likelihood that its prediction is correct. “clinical reasoning under uncertainty remains hard for humans and AI alike”
- World model: An internal or simulated representation of an environment’s states, dynamics, and possible outcomes. “trains within an EHR-grounded world model”
Collections
Sign up for free to add this paper to one or more collections.