Improving the Improver: Semantic PID Control for Medical Agent Self-Improvement
Organizations: DAMO Academy, Alibaba Group · Zhejiang University
Abstract
High-stakes vertical medical tasks, such as postoperative pathological staging and long-term survival prediction, demand multi-step clinical reasoning over heterogeneous evidence under weak supervision and high outcome uncertainty. While we first orchestrate CliAgent, a domain-tailored clinical agent workflow that systematically grounds predictions in multi-modal patient evidence, manually designed medical agents remain constrained by static, brittle rules. Moreover, existing recursive self-improvement (RSI) methods suffer from feedback ambiguity and severe development-set overfitting when evolving agents in high-noise medical domains. Focusing on improving the improver, we propose Semantic PID-RSI, an evidence-guided control-theoretic framework for medical agent self-improvement. Inspired by PID control, our improver evaluates candidate modification batches via three diagnostic roles: P isolates current clinical failure modes, I synthesizes longitudinal evidence from past trials, and D estimates response dynamics and regression risks (D-pre/D-post). Selected plans are compiled into behavior contracts for staged probing and independent adoption judging. Instantiated and validated on challenging oncology tasks (pT/pN staging and survival prognosis), evolving CliAgent with Semantic PID-RSI on a 3B-activated open-weight model achieves substantial gains (up to +6.27 C-index points), outperforming overfitting-prone RSI baselines and approaching the performance of frontier proprietary models (e.g., GPT-6 series) equipped with CliAgent.
Figures & tables
| Method | Development | Held-out test | ||||||
|---|---|---|---|---|---|---|---|---|
| pT AUC | pN AUC | C-index | Avg. | pT AUC | pN AUC | C-index | Avg. | |
| Small LLM + pure LLM mode | ||||||||
| Qwen3.6-35B-A3B | - | - | - | - | 78.76 | 65.79 | 63.07 | 69.21 |
| Qwen3.8-27B | - | - | - | - | 78.92 | 68.09 | 68.13 | 71.71 |
| Qwen3.8-Flash | - | - | - | - | 77.85 | 68.72 | 67.72 | 71.43 |
| DeepSeek-V4.1-Flash | - | - | - | - | 79.42 | 67.94 | 66.40 | 71.25 |
| Method | pT | pN |
|---|---|---|
| 69.18 | 57.39 | |
| PID-RSI | 75.19 | 66.17 |
| +6.01 | +8.78 |
| Role | w/o P | w/o I | w/o D | Full PID-RSI | |
|---|---|---|---|---|---|
| P | |||||
| I | |||||
| D | |||||
| C-index | 59.11 | 60.59 | 60.15 | 63.24 | 65.38 |
LLM Agent Self-Improvement
Large language model agent self-improvement studies how agents use experience and feedback to improve their behavior, tools, and workflows.
See all 307 papers