The RSI Tax: When Recursive Self-Improvement Is Not Worth the Cost
Authors: Yitong Zhang, Ang Li, Yisen Wang (Peking University)
Summary (Overview)
- Core contribution: The paper introduces the concept of the RSI Tax—the token cost of the recursive self-improvement process itself—and evaluates whether performance gains from RSI justify this cost in end-to-end deployment on continual task streams.
- Key finding: A simple bounded-note baseline called Simple Reflection with Notes (SRN) matches or exceeds the observed accuracy of costly RSI methods (Meta-Harness, EvoSkill, RRSI) while achieving 65.6–71.0% mean total-token savings.
- Cost decomposition: The RSI Tax is decomposed into verification, exploration, and writing costs. Verification accounts for 74.8–93.6% of the aggregate RSI Tax for the three main RSI methods.
- Wasteful expenditure: A substantial share (23.7–63.6%) of the RSI Tax is associated with states or artifacts that are not used later in the evaluated task streams.
- Motivation: The results motivate RSI objectives that jointly optimize the RSI Tax and expected task-execution cost while ensuring continued capability growth.
Introduction and Theoretical Foundation
Background
Large language model (LLM) agents use tools for software development and other professional tasks. During continued use, an agent may encounter related tasks within the same repository or application. Retaining useful procedures and lessons from failures could reduce repeated exploration and improve later task performance.
Recursive Self-Improvement (RSI)
RSI uses task experience to update the state an agent carries into subsequent tasks, with fixed model weights. Two categories are distinguished:
- Memory/skill updates: Maintaining evolving sets of memories or skills (e.g., ReasoningBank, Dynamic Cheatsheet, EvoSkill, SkillOpt).
- Harness modifications: Modifying instructions, tool interfaces, and control code (e.g., GEPA, Meta-Harness, RRSI, HarnessPro).
The Core Problem
The self-improvement process has its own cost. On a task stream, each update incurs a cost before its value for later tasks is known. The paper defines this cost as the RSI Tax: the token cost of the self-improvement process, counted even when the agent ultimately retains its previous state.
The end-to-end cost is:
The two terms are coupled: an update can shorten later executions but can also add context or induce longer trajectories.
Methodology
Formal Setup
For an ordered task stream with fixed model parameters and state used for task :
Updates use completed-task history , restricted by state boundaries and support windows.
Evaluation Metrics
For a prefix of length :
Cost Accounting
RSI Tax Decomposition
The RSI Tax is divided into three categories:
| Category | Description |
|---|---|
| Verify | Evaluation of incumbent/candidate on completed support tasks |
| Explore | Gathering/analyzing experience for proposing updates (extra rollouts, trajectory judgment, embeddings) |
| Write | Creating/revising persistent state (harness code, skills, notes, memories) |
Methods Compared
Six methods evaluated on two backbone models (DeepSeek V4.1 Flash, GPT-6 Luna):
- Static — no adaptation
- ReasoningBank — retrieves strategies from completed trajectories
- EvoSkill — searches over reusable skill folders
- Meta-Harness — searches over controller code
- RRSI — regularizes harness changes
- SRN — simple bounded-note baseline (proposed)
Task Streams
- SWE-Chain-Evo: 7 selected 15-task chains (105 positions), learned state resets per chain
- Terminal-Bench 2.1: 89 heterogeneous tasks in fixed order, learned state retained throughout
The SRN Baseline
SRN maintains a bounded note (2,048 tokens) updated at every four-task boundary using failed tasks:
SRN performs no extra task sampling, candidate validation, or retrieval search.
Empirical Validation / Results
Accuracy and End-to-End Cost
Table 2: Accuracy (%) and total token cost (millions) across four settings
| Method | SWE-DeepSeek Acc./Total | SWE-GPT-6 Luna Acc./Total | Terminal-DeepSeek Acc./Total | Terminal-GPT-6 Luna Acc./Total |
|---|---|---|---|---|
| Static | 43.8 / 487.92 | 38.1 / 179.69 | 69.7 / 185.55 | 66.3 / 78.86 |
| ReasoningBank | 40.0 / 520.64 | 37.1 / 191.21 | 69.7 / 198.87 | 67.4 / 85.46 |
| Meta-Harness | 45.7 / 976.61 | 40.0 / 495.81 | 77.5 / 762.57 | 65.2 / 317.99 |
| EvoSkill | 41.0 / 1,166.51 | 40.0 / 612.39 | 71.9 / 898.72 | 68.5 / 358.85 |
| RRSI | 44.8 / 1,092.94 | 39.0 / 574.07 | 74.2 / 605.75 | 61.8 / 454.30 |
| SRN | 48.6 / 492.56 | 41.0 / 157.07 | 78.7 / 214.65 | 68.5 / 87.08 |
Key results:
- SRN achieves the highest accuracy in 3 of 4 settings and ties in the fourth.
- SRN uses the fewest total tokens in 3 of 4 settings (second-fewest in the fourth).
- Mean token reductions vs. Meta-Harness: 65.6%; vs. EvoSkill: 71.0%; vs. RRSI: 68.2%.
- SRN's update calls account for less than 0.4% of its total tokens.
RSI Tax Rates
Table 3: RSI Tax rate, (%)
| Method | SWE-DeepSeek | SWE-GPT-6 Luna | Terminal-DeepSeek | Terminal-GPT-6 Luna |
|---|---|---|---|---|
| ReasoningBank | 4.78 | 5.96 | 4.53 | 7.39 |
| Meta-Harness | 109.06 | 177.35 | 314.16 | 329.15 |
| EvoSkill | 144.35 | 213.21 | 393.10 | 358.57 |
| RRSI | 125.79 | 213.02 | 223.23 | 346.68 |
| SRN | 0.04 | 0.25 | 0.13 | 0.36 |
Critical finding: The RSI Tax exceeds task-execution cost for Meta-Harness, EvoSkill, and RRSI in all four settings. At a Tax rate of 100%, the RSI Tax equals task-execution cost.
Verification Dominance
- Verification accounts for:
- 74.8% of Meta-Harness's RSI Tax
- 78.1% of EvoSkill's RSI Tax
- 93.6% of RRSI's RSI Tax
- On the DeepSeek terminal stream, EvoSkill spends 497.45M tokens refreshing its old frontier vs. 182.26M on the 89 arriving tasks — re-evaluation alone costs more than serving the task stream.
Costs Without Subsequent Use
Share of RSI Tax associated with states/artifacts never used later:
| Method | Share of RSI Tax Not Used Later |
|---|---|
| Meta-Harness | 52.78% |
| EvoSkill | 37.91% |
| ReasoningBank | 63.57% |
| RRSI | 23.70% |
| SRN | 0% (all update cost associated with notes used later) |
Theoretical and Practical Implications
Design Implications for Update Policies
An efficient RSI update policy should:
- Jointly optimize: immediate update cost + expected task-execution cost + cost of subsequent RSI updates
- Choose selectively: whether to retain current state, update memory/skills, or generate/evaluate harness changes
- Balance investment: repeated reuse may justify larger initial investments, but this must be weighed against realized needs
Cost Reduction Targets
When verification dominates the RSI Tax:
- Support-task selection becomes a natural target for reducing update cost
- Frontier maintenance should be optimized (EvoSkill's re-evaluation costs more than task execution itself)
- Adaptive validation-task selection offers one approach
- Selective construction of skills and memories based on expected future utility
Methodological Contributions
- The RSI Tax framework provides a unified metric for comparing RSI methods.
- The decomposition (verify/explore/write) enables precise diagnosis of cost inefficiencies.
- The subsequent-use analysis reveals waste: much of the RSI Tax funds artifacts that never get used.
Key Insight
"The results show that the RSI Tax can exceed the cost of executing the task stream... improvements in the deployed agent need not justify the expense of the improvement process."
Conclusion
Main Takeaways
-
Competitive accuracy does not require a large RSI Tax. The simple SRN baseline achieves the best or tied-best accuracy with a tax rate below 0.4%, while three mainstream RSI methods incur tax rates of 109–393%.
-
Verification is the dominant cost driver. Repeated candidate evaluation on support tasks consumes more tokens than task execution itself for Meta-Harness, EvoSkill, and RRSI.
-
Much of the RSI Tax is wasted on unused artifacts. 23.7–63.6% of RSI expenditure funds states or artifacts never used in later tasks.
-
Omitting the RSI Tax can reverse cost comparisons. When measuring only task-execution cost, Meta-Harness appears cheaper than SRN on the DeepSeek terminal stream—but including the RSI Tax makes it 3.6× more expensive overall.
Future Directions
- Joint optimization objectives for RSI that balance capability growth, RSI Tax, and expected task-execution cost
- Controlled interventions to measure the effects of reducing each cost component
- Broader evaluation across more models, workloads, orderings, and repeated runs
- Adaptive update policies that forecast costs and select updates accordingly
Limitations
- Two backbone models and limited task chains may not generalize to all settings
- Cost attribution is descriptive: subsequent use does not establish accuracy benefit, and lack of use does not prove the associated calls can be removed without changing outcomes
Related papers
- Learning to Extrapolate in Depth with Looped Transformers
Looped transformers trained at depth K extrapolate to harder graph connectivity instances at test depths up to an exponential window, beyond which overthinking causes failures.
- VerifierBench: Benchmarking the Generation of Executable Verifiers for LLM Agents
VerifierBench shows LLM-generated verifiers reject invalid solutions reliably but accept valid ones poorly, with most failures from unjustified checks that self-testing fails to expose.
- Rectified Looped Transformer
Rectified Looped Transformer replaces direct feedback with a remaining-time interpolation schedule, achieving bounded state norms, polynomial perturbation growth, and consistent perplexity gains without extra parameters.