SwarmRSI: Recursive Self-Improvement through Evolving Scientific Agent Swarm
Organizations: Huawei Technologies Co., Ltd. · Leiden University · University of Groningen
Abstract
Recursive self-improvement (RSI) in scientific research aims to improve agents' research capabilities through their own experimental experience. Scientific agent swarms can combine evidence and implementations from different research directions to guide their agents' subsequent experiments. However, poor experimental results can leave unclear whether to revise a hypothesis or its implementation, while overall program scores can hide components useful to other agents. To address these challenges, we introduce SwarmRSI, a framework that evolves scientific agent swarms for recursive self-improvement. We devise Feedback-Guided Swarm Mutation to refine hypotheses and their implementations using experimental feedback from other agents. We also propose Complementary Swarm Recombination to reuse retained hypotheses and complementary program components across agents, allowing partial results to support new research. Recursive Swarm Evolution integrates both mechanisms into a feedback loop, using new experimental evidence to guide subsequent research. Experiments on OpenProblems, NatureBench and MLE-Bench Lite demonstrate SwarmRSI's state-of-the-art (SOTA) performance. Further evaluations show that accumulated research experience improves performance on held-out tasks. Biologists also reproduce its programs for follow-up biological analyses.
Figures & tables
| Method | Backbone | Denoise | Label | Batch | SVG | Decomp | Visual | Avg |
| Human Expert | Task-specific | 28.0 | 85.0 | 71.0 | 66.0 | 49.0 | 44.0 | 57.2 |
| Biomni | Claude 4 Sonnet | 16.0 | 89.0 | 82.0 | 16.0 | 53.0 | 35.0 | 48.5 |
| ChatGPT | GPT-5 | 3.0 | 81.0 | 83.0 | 60.0 | 74.0 | 38.0 | 56.5 |
| AIDE † | DeepSeek-V4-Pro | 27.4 | 70.6 | 78.0 | 72.8 | 46.1 | 39.8 | 55.8 |
| TusoAI † | DeepSeek-V4-Pro | 31.5 | 58.7 | 79.5 | 79.0 | 84.1 | 69.8 | 67.1 |
| DeepSeek-V4-Pro | 33.6 | 74.2 | 82.5 | 83.9 | 86.0 | 84.8 | 74.2 |
| Method | Backbone | Above Median | Bronze | Silver | Gold | Any-Medal |
| MLEvolve | DeepSeek-V4-Pro † | 81.8 | 9.1 | 27.3 | 36.4 | 72.7 |
| Gemini 3.1 Pro Preview | – | – | – | – | 80.3 | |
| Arbor | DeepSeek-V4-Pro † | 86.4 | 4.5 | 31.8 | 40.9 | 77.3 |
| GPT-5.5 | 95.5 | 0.0 | 9.1 | 77.3 | 86.4 | |
| ML-Master 2.0 | DeepSeek-V3.2-Speciale | 84.9 | 13.6 | 31.8 | 30.3 | 75.8 |
| Famou-Agent 2.0 | Gemini 3 Pro Preview | 93.9 | 12.1 | 18.2 | 50.0 | 80.3 |
| Variant | Match | Surpass | Mean |
| SwarmRSI | 44.4 | 15.6 | 12.8 |
| Feedback-Guided Swarm Mutation | |||
| w/o H-mutation | 34.4 | 8.9 | 7.2 |
| w/o P-mutation | 31.1 | 6.7 | 5.4 |
| Complementary Swarm Recombination | |||
| w/o recombination | 37.8 | 7.8 | 7.6 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
| Discount factor | 0.9 |
| Exploration weight | 0.5 |
| Request-pressure weight | 0.25 |
| Request-pressure saturation | 4 |
| Eligible-wait threshold | 8 |
| Tokens per cost unit | 1,000 |
| Variant | 95% CI | |
| w/o H-mutation | 5.6 | [1.2, 10.2] |
| w/o P-mutation | 7.4 | [3.0, 11.9] |
| w/o recombination | 5.2 | [2.5, 7.9] |
| w/o shared graph | 4.7 | [0.3, 9.3] |
| w/o H/P selection | 8.2 | [4.2, 12.4] |
| Method | Seed | Denoise | Label | Batch | SVG | Decomp | Visual | Avg |
| SwarmRSI (DeepSeek) | 1 | 34.1 | 74.6 | 83.1 | 84.7 | 85.6 | 85.2 | 74.55 |
| 2 | 33.5 | 73.5 | 82.8 | 83.8 | 86.6 | 84.6 | 74.13 | |
| 3 | 33.3 | 74.4 | 81.6 | 83.1 | 85.8 | 84.7 | 73.82 | |
| SwarmRSI (Gemini) | 1 | 40.2 | 81.5 | 79.0 | 86.6 | 82.7 | 85.5 | 75.92 |
| 2 | 40.2 | 80.7 | 78.1 | 88.8 | 84.0 | 86.1 | 76.32 | |
| 3 | 40.3 | 80.0 | 79.4 | 88.1 | 83.6 | 87.5 | 76.48 |
| Method | Denoise | Label | Batch | SVG | Decomp | Visual | Avg |
| SwarmRSI (DeepSeek) | 1.03 | 1.46 | 1.97 | 1.99 | 1.31 | 0.80 | 0.91 |
| SwarmRSI (Gemini) | 0.14 | 1.86 | 1.65 | 2.79 | 1.65 | 2.55 | 0.72 |
| AIDE (DeepSeek) | 2.62 | 1.27 | 1.38 | 3.80 | 1.60 | 1.23 | 0.63 |
| TusoAI (DeepSeek) | 4.74 | 2.63 | 1.62 | 2.73 | 1.00 | 0.29 | 1.03 |
| Task | Method | Scored/records | Best |
| 00917 | SwarmRSI | 18/18 | 0.1807 |
| Arbor | 3/4 | -0.2007 | |
| AIDE | 49/50 | -0.4742 | |
| 00639 | SwarmRSI | 19/21 | 0.0644 |
| Arbor | 2/3 | 0.0434 | |
| AIDE | 8/28 | 0.0552 |
| Candidate | Recorded change | |
| 4 | Retained hypothesis. Outputs unchanged from 3 | |
| 8 | Hypothesis mutation produces a new program base | |
| 9 | Rebase: target predictor uses source training and checkpoint rules | |
| 11 | Crossover: source 5 supplies a second instance predictor | |
| 15 | Rebase: target predictor implemented without fallback |
| Stage | Reuse hit | Other hit | Reuse share |
| Early | 32.0 | 25.8 | 40.5 |
| Middle | 18.2 | 16.8 | 41.1 |
| Late | 18.1 | 15.0 | 42.6 |
| Variant | Match | Surpass | Mean | [95% CI] | Tokens |
| Cold start | 41.7 | 33.3 | 12.01 | – | 12.17 |
| Gen 1 | 58.3 | 41.7 | 16.15 | 4.14 [1.82, 6.49] | 11.86 |
| Gen 2 | 86.1 | 44.4 | 20.16 | 8.15 [5.67, 10.59] | 11.52 |
| Gen 3 | 86.1 | 58.3 | 21.89 | 9.88 [6.88, 13.06] | 10.94 |
| Source | Cells | MHC-II | Interferon |
| B1 | 59 | 0.354 | 0.115 |
| B2 | 46 | 0.126 | 0.166 |
| B3 | 98 | 0.375 | 0.136 |
| B4 | 221 | 0.100 | 0.162 |
| B5 | 75 | 0.377 | 0.391 |
| B6 | 126 | 1.495 | 0.636 |
| Source | Program | Cells | RNA PCA | Reproduced output | Recorded output |
| B7 | MHC-II | 71 | 0.650 | 0.768 | 0.766 |
| B8 | MHC-II | 57 | 0.396 | 0.685 | 0.686 |
| B9 | MHC-II | 332 | 0.331 | 0.326 | 0.313 |
| B10 | MHC-II | 373 | 0.356 | 0.351 | 0.347 |
| B7 | Antimicrobial | 71 | 0.311 | ||
| B8 | Antimicrobial | 57 | 0.689 | 0.593 | 0.612 |
AI Agents for Scientific Discovery
AI agents for scientific discovery use language models, tools, and experiments to generate, test, and refine scientific knowledge.
See all 288 papers