Recursa: Toward Recursively Self-Improving Foundation Model Systems
Organizations: Alibaba Research.
Abstract
Foundation models in changing environments can encounter unfamiliar domain knowledge that their original training did not cover. However, new domains rarely provide large amounts of expert-created training data or reliable supervisory signals for further training. We introduce Recursa, a foundation model system that adapts to new domains by learning from its own experience without human experts or a stronger teacher model. Recursa uses a knowledge repository to store what it learns: domain-specific skills and instructions on when to apply them, along with memories of past task experiences and reflections on what to improve. Recursa bootstraps the repository from domain materials and then refines it through recursive self-improvement. It uses parallel learners to execute tasks and synthesize local improvements, then validates and merges the improvements into the knowledge repository. On Harvey LAB's Firm Knowledge benchmark, Recursa raises the all-pass rate on held-out test tasks from 30.0% to 55.0% with DeepSeek-V4.1-Flash and from 35.0% to 46.0% with Qwen3.8-Flash.
Figures & tables
| Phase | Primary signals | Objective |
|---|---|---|
| Bootstrapping | Domain materials and self-practice tasks generated from them | Close the knowledge gap: summarize and map the materials and practice applying them, with parallel agents covering the materials. |
| Recursive self-improvement | Training tasks, execution traces, and available feedback | Close the behavior gap: refine the knowledge repository from task experience by decomposing learning across child learners, attempting tasks in parallel, and validating results. |
| Agent setup | Criteria pass | All-pass |
|---|---|---|
| Reference base agent (no study) | 58.2% | 21.6% |
| Reference agent after study (high study effort) | 70.1% | 31.0% |
| Our harness (persistent REPL), original rubrics | 78.9% | 35.2% |
| Our harness (persistent REPL), revised rubrics | 79.1% | 37.2% |
| Train (150) | Test (100) | |||
| Components | All-pass | Criteria | All-pass | Criteria |
| DeepSeek-V4.1-Flash | ||||
| No learning | 32.0 | 79.8 | 30.0 | 80.0 |
| Bootstrap | 34.7 | 80.6 | 33.0 | 78.9 |
| Learning, single learner | 34.7 | 75.3 | 43.0 | 78.8 |
| Learning, multi-learner | 48.7 | 86.3 | 55.0 | 84.1 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| All 250 tasks | Training (150 tasks) | Test (100 tasks) | ||||
| Components | Original | Revised | Original | Revised | Original | Revised |
| DeepSeek-V4.1-Flash, multi-learner | ||||||
| No learning | 30.0 / 79.7 | 31.2 / 79.9 | 30.0 / 79.6 | 32.0 / 79.8 | 30.0 / 79.9 | 30.0 / 80.0 |
| Bootstrap | 32.8 / 79.4 | 34.0 / 80.0 | 34.0 / 80.0 | 34.7 / 80.6 | 31.0 / 78.5 | 33.0 / 78.9 |
| (merged) | 48.8 / 83.7 | 50.0 / 84.2 | 50.7 / 84.9 | 51.3 / 85.2 | 46.0 / 81.9 | 48.0 / 82.8 |
| 48.8 / 84.9 | 51.2 / 85.4 | 45.3 / 85.6 | 48.7 / 86.3 | 54.0 / 83.9 | 55.0 / 84.1 | |
| Criterion | Original and revised criterion | Reason |
|---|---|---|
| Q005/C-006 Omits | The verified $1.42B acquisition 1032-00004 qualifies but was missing from the allowed set. | |
| Q011/C-014 Files | The task asks for a document showing the add-backs; the executed credit agreement lists the same final add-backs but was rejected. | |
| Q011/C-015 Files | The task asks for a document showing the add-backs; the executed credit agreement lists the same final add-backs but was rejected. | |
| Q016/C-010 Admits | The task excludes real-estate-secured financings; the Fairwater bridge is secured by first mortgages on 14 properties. | |
| Q016/C-013 Admits | Removing Fairwater leaves 11 financings and changes 2025 from 1/2 to 0/1. | |
| Q016/C-014 Admits | The allowed population admitted Fairwater, which the task excludes. |