Medical agents improve themselves with dual learning strategy

MedicalRSI: Medical Recursive Self-Improving Agents via Clinical Model-Harness Co-Evolution

Computation and LanguageArtificial Intelligence

Summary

Medical software that uses large language models often makes the same mistakes repeatedly because it doesn't learn from past errors after being deployed. The authors propose MedicalRSI, a system where the medical AI both solves problems and improves how it learns from its mistakes over time. This dual approach helps it adapt and fix errors more effectively, leading to better performance across different medical tasks and new situations. Their experiments show it improves more than previous techniques and can work with various medical data and AI models.

What this means in practice

  • For clinical ai developers: Build medical AI tools that continually improve by learning from their own errors across different clinical workflows and datasets.
  • For healthcare software engineers: Create adaptive medical assistants that evolve their problem-solving and self-correction methods as new types of errors emerge in real-world use.

Authors

Ziqing Wang, Hamid Palangi, Lili Zhao, Kaize Ding

Abstract

Medical agents built on large language models (LLMs) have advanced rapidly, yet most stay fixed once deployed and do not keep using their experience to improve later attempts. As a result, the same kind of error can recur across patients. To address this, existing self-improvement methods update an agent's weights or its medical harness from its own experience, but their improving strategy stays fixed and never learns which changes actually help, which caps how much the agent can improve. Recursive self-improvement (RSI) instead improves both the agent and its improving strategy. However, achieving RSI for medical agents is challenging, because clinical workflows rarely come with a reference harness, and a change that fixes early errors may not fix the problems the agent meets later. We propose MedicalRSI, an RSI framework built on Clinical Model-Harness Co-Evolution, in which one model plays two roles. The Solver is the medical agent itself, and the Improver is its learnable improving strategy, which writes a medical harness from the agent's failures. Each harness is rewarded by its gain over acting without it, and both roles are trained together, so the Improver keeps adapting to the problems the Solver has not yet solved. On multiple benchmarks and LLM backbones, MedicalRSI outperforms existing context-level and weight-level self-improvement methods and transfers well to unseen workflows, new LLMs and new databases, a step toward medical agents that keep improving.