Smart Imitator: Learning from Imperfect Clinical Decisions

Dilruk Perera, Siqi Liu, Kay Choong See, Mengling FengJ. Am. Medical Informatics Assoc 2026

TL;DR

This paper introduces "Smart Imitator" (SI), a novel two-phase reinforcement learning (RL) framework designed to learn personalized treatment policies from imperfect clinical data. By first ranking clinician decisions and then learning a reward function, SI effectively navigates the complexities of real-world healthcare, outperforming existing methods in sepsis and diabetes treatment.

What Problem Does This Paper Address?

Traditional healthcare decision-making often relies on one-size-fits-all approaches that fail to account for individual patient differences, leading to suboptimal outcomes. While Reinforcement Learning (RL) offers a promising avenue for personalized treatment policies, its application in healthcare faces significant hurdles. These include:

  • Imperfect Clinician Data: Historical clinical data is often noisy, inconsistent, and may contain suboptimal decisions, making it difficult for RL agents to learn effectively.
  • Complex and Uncertain Environments: Healthcare involves dynamic patient states, intricate disease mechanisms, and delayed outcomes, making credit assignment (linking actions to results) challenging.
  • Limitations of Traditional RL: Standard RL methods often struggle with sparse rewards and the need for extensive expert knowledge to design reward functions.
  • Challenges with Imitation Learning (IL): Existing IL approaches often assume expert demonstrations are optimal, which is rarely true in healthcare, leading to the perpetuation of errors.

The authors aim to develop an intelligent agent that can learn and adapt treatment policies from this imperfect data, leading to more robust and generalizable clinical decision-making.

Methods

The core innovation of Smart Imitator (SI) lies in its two-phase learning process:

  • Phase 1: Policy Ranking in Imperfect Observational Data:
    • Adversarial Cooperative Imitation Learning (ACIL): This phase uses a novel approach to categorize clinician actions into optimal, suboptimal, and nonoptimal groups. This is achieved through a clinically guided nonoptimal sample selection schema that identifies immediate adverse effects.
  • Behavior Cloning (BC): BC is used to learn distinct policies for each category (optimal, suboptimal, nonoptimal). This allows the agent to learn from both good and bad examples, preventing over-reliance on potentially flawed data.
  • Dual Discriminator Approach: An adversarial discriminator (DA) and a cooperative discriminator (Dc) are employed to train an RL agent. DA distinguishes between generated and expert samples, while Dc ensures generated samples mirror the quality of expert data. This creates a dynamic training environment that helps the agent adapt and potentially surpass expert decisions.
  • Phase 2: IRL using Ranked Policies:
    • Inverse Reinforcement Learning (IRL): After ranking policies in Phase 1, this phase estimates a reward function that reflects clinical decision quality.
  • Ranked Trajectories: Trajectories generated by the optimal, suboptimal, and nonoptimal policies are used to train the reward function. The system enforces that trajectories from higher-ranked policies receive higher cumulative rewards.
  • Contrastive and Cross-Entropy Losses: A combined loss function is used to train the reward function, ensuring it can discriminate between differently ranked trajectories and accurately assign rewards.

This structured approach allows SI to learn from imperfect data, avoid perpetuating errors, and develop a more accurate understanding of optimal treatment strategies.

Datasets

The SI framework was validated on two real-world clinical datasets:

  • Sepsis Dataset: Consisting of 19,711 patient trajectories from the MIMIC-IV database, capturing data from 24 hours prior to 48 hours post-diagnosis.
  • Diabetes Dataset: Comprising 7,234 patient trajectories from Khoo Teck Puat Hospital, Singapore, covering patients with Type 2 Diabetes Mellitus (T2DM).

The paper also describes specific nonoptimal sample selection schemas developed for sepsis (Sepsis¹ and Sepsis²) and diabetes (Diabetes¹) to aid in the categorization of clinician decisions.

Key Insights and Ideas

  • Learning from Imperfection is Key: The most significant insight is that directly learning from and categorizing imperfect clinical data, rather than assuming optimality, is crucial for developing effective healthcare AI.
  • Ranking Decisions Matters: Moving beyond a simple "good" or "bad" classification of trajectories, SI's ability to rank decisions into optimal, suboptimal, and nonoptimal categories provides a more nuanced understanding of clinical practice.
  • Reward Function Recovery is Powerful: By learning a reward function that reflects clinical quality, SI can guide policy learning more effectively than traditional hand-engineered rewards, especially in scenarios with sparse or delayed outcomes.
  • Generalizability Across Disease Types: The framework's success in both acute (sepsis) and chronic (diabetes) conditions suggests its potential for broad applicability in personalized medicine.

Key Results

  • Sepsis: SI-S2 achieved a 19.6% reduction in estimated mortality rates compared to the best baseline (D3QN). SI-S1 and SI-S2 also demonstrated significantly higher CWPDIS scores, indicating better alignment with effective clinician actions.
  • Diabetes: SI-D reduced HbA1c-High rates by 12.2% compared to the best baseline (NFQ). SI-D also showed the highest CWPDIS, outperforming all baselines.
  • Alignment with Clinicians: The learned policies from SI generally aligned with clinician practices across different patient severity levels, while also suggesting data-driven improvements.
  • Negative Correlation with Adverse Outcomes: SI consistently demonstrated a negative correlation between expected returns and adverse outcomes (mortality for sepsis, HbA1c-High for diabetes), indicating its effectiveness in guiding treatments that improve patient survival and health metrics.

Limitations and Future Work

  • Sparse Data in High-Severity Cases: The authors acknowledge that sparse data in high-severity sepsis cases limited performance in critical scenarios.
  • Need for Prospective Validation: Future work should focus on validating SI through prospective clinical trials (e.g., SMARTs) to assess its real-time adaptability and effectiveness.
  • Broader Disease Application: Expanding SI's application to a wider range of diseases will enhance its generalizability.
  • Integration into Clinical Workflows: The ultimate goal is to integrate SI into clinical workflows as a collaborative tool to support personalized, evidence-based treatment strategies.

Summary updated

BibTeX
@article{perera2026smart,
  author = {Dilruk Perera and Siqi Liu and Kay Choong See and Mengling Feng},
  title = {{Smart Imitator: Learning from Imperfect Clinical Decisions}},
  journal = {J. Am. Medical Informatics Assoc.},
  year = {2026},
  doi = {10.1093/jamia/ocae320},
}
Figure