ParetoRSI-Gym: Can AI Agents Improve Language Models Across Multiple Domains?

Haojin Wang, Yangzhen Wu, Zeyi Chen, Jian Xie, Jiaying Ye, Lili Meng, Shuyun Tang, Shangding Gu, Dawn SongarXiv 2026

TL;DR

PARETORSI-GYM is a new benchmark designed to evaluate how well AI agents can autonomously improve language models across five diverse domains (math, code, science, medicine, and finance) simultaneously. The study reveals that while top-tier agents can achieve a ~9.2% relative improvement in model performance, they struggle to maintain a "Pareto frontier"—often sacrificing gains in one domain to boost another or regressing in later rounds of self-improvement.

What Problem Does This Paper Address?

The ultimate goal of AI research is Recursive Self-Improvement (RSI): building systems that can design, train, and evaluate their own successors. While we’ve seen progress in agents that can code or solve math problems, real-world model "post-training" (the process of fine-tuning a base model into a capable assistant) is far more complex.

Existing RSI benchmarks are often too narrow, focusing on a single task or providing a static, pre-cleaned pool of data. In reality, an engineer must balance trade-offs across multiple domains—improving medical knowledge shouldn't break the model's ability to write Python. Furthermore, data curation is a dynamic process of searching the web and the HuggingFace Hub for the right examples. PARETORSI-GYM introduces these "messy" real-world constraints to see if AI agents can handle the multi-objective balancing act required for true self-improvement.

Comparison of PARETORSI-GYM with existing benchmarks, highlighting its multi-domain and generalization-focused design.

Methods

The authors developed a "Gym" environment where an agent (the "curator") is tasked with improving a base model over five rounds. The workflow follows a loop:

  1. Plan: The agent reviews previous scores and sets a "budget" for data collection.
  2. Collect: The agent searches, selects, and pulls raw data directly from the HuggingFace Hub.
  3. Commit: The agent justifies why specific data entries should be added to the training pool.
  4. Train: The system performs LoRA (Low-Rank Adaptation) fine-tuning based on the agent's chosen hyperparameters.
  5. Score: The model is tested on "proxy" benchmarks. The agent receives the scores and full evaluation traces (the model's actual wrong answers) to help it "rewrite its principles" for the next round.
Overview of the PARETORSI-GYM loop, from planning and data collection to training and final generalization checks.

Crucially, the agent is never shown the "Generalization" benchmarks. These are held-out sets used only for the final evaluation to ensure the agent hasn't just "reward-hacked" the proxy scores by finding data that overlaps with the test questions.

Datasets

The agents pull data dynamically from the HuggingFace Hub, but their success is measured across five specific domains using a mix of established benchmarks:

Domain Proxy Evaluation (Agent sees) Generalization Evaluation (Held-out)
Math MATH500 ID MATH500 OOD
Science GPQA ID GPQA OOD
Medical MedBullets ID MedBullets OOD
Finance SuperGPQA Finance ID SuperGPQA Finance OOD
Code MBPP+ HumanEval+
Detailed breakdown of the proxy and generalization benchmarks used for each of the five domains.

Key Insights and Ideas

  • The "Harness" is as Important as the Brain: The researchers found that the "harness"—the set of tools, prompts, and infrastructure provided to the agent—significantly impacts performance. Even using the same backbone model, different agent frameworks produced results ranging from +4.3 to +0.2 absolute points.
  • The Pareto Struggle: Agents often find it easy to improve one domain but struggle to advance the "Pareto frontier" (improving all domains at once). In many cases, a single round would improve every domain, but subsequent rounds would "give back" those gains as the agent over-explored or over-fitted.
  • Persistent "Tastes": Agents tend to have unique, static data selection strategies. Two runs of the same agent overlapped significantly in the datasets they chose, regardless of which base model they were trying to improve. This suggests current agents don't yet "adapt" their curation strategy to the specific weaknesses of the model they are training.
  • The "Conciseness" Trap: In a fascinating failure case, agents initially failed to improve math scores because they filtered for short answers to save their "token budget." However, the models actually needed longer, "Chain-of-Thought" reasoning traces to learn effectively.

Key Results

  • Top Performer: Claude Code with Opus-5 was the strongest system, achieving a 9.2% relative gain (+2.3 absolute points) across all domains and models.
  • Massive Local Gains: The largest single-domain improvement was in medicine for the Ministral-3-3B model, which saw a 63% relative gain.
  • Regression is Common: In 7 out of 9 experimental setups, the agent's final round was not its best round. Agents often "peaked" early and then degraded the model by continuing to curate data without a robust way to maintain previous gains.
  • Proxy vs. Generalization: As shown in Figure 2, gains on proxy benchmarks generally translated to generalization benchmarks, proving that agents were curating genuine capabilities rather than just memorizing test answers.
Figure 2: Proxy gains generalize to held-out benchmarks. We present the trend of the proxy gains and the generalization gains of model during training process on Qwen3-4B-Base with Codex and GPT-5.6 Sol. Proxy gains during training directly translate to generalization gains on the held-out benchmarks, indicating that the agent system is capable of curating post-training data for healthy post-training performance.

Limitations and Future Work

  • Model Scale: The study focused on smaller models (3B to 7B parameters). Future work is needed to see if these agentic curation strategies scale to frontier-class models.
  • Language and Diversity: The benchmark is currently limited to English text and five specific domains.
  • Human Superiority: A human-in-the-loop baseline still outperformed the agents in most scenarios, particularly in math and finance, indicating that autonomous data curation is still far from matching human engineering intuition.
  • Static Strategies: The fact that agents don't adapt their "data taste" to the target model suggests a need for more "model-aware" curation agents.

Summary updated

Abstract

Recursive self-improvement (RSI) requires an agentic system to design, train, and evaluate its own successor. Data-driven post-training is a central part of that loop, yet existing evaluations measure it on a single benchmark, where an agent selects from a static pool or distills a stronger model to push one score up in one run. Real post-training is multi-domain, and a gain in one domain has to be weighed against a regression in another. We propose ParetoRSI-Gym, in which an agent searches for data, curates it, trains, reads back per-domain results, and repeats, with everything but the data held fixed: the initial LLM, the five domains (math, code, finance, medicine, science), the toolset, and the SFT pipeline. Generalization benchmarks in each domain separate capability gains from overfitting to the scores the agent optimizes against. Across three agent systems, three base models, five rounds and multiple seeds, the strongest system, Claude Code with Opus-5, raises the generalization scores of its proxy-best checkpoint by 9.2% relative to the starting model (+2.3 absolute points), averaged with equal weight over three base models and five domains, with a single-domain relative gain of up to 63% (medicine on Ministral-3-3B). Further analysis shows that the harness matters as much as the model it drives, and that each agent keeps a unique data selection strategy. We see our work as a step towards evaluation of RSI systems in real-world machine learning engineering.
BibTeX
@misc{wang2026paretorsi,
  author = {Haojin Wang and Yangzhen Wu and Zeyi Chen and Jian Xie and Jiaying Ye and Lili Meng and Shuyun Tang and Shangding Gu and Dawn Song},
  title = {{ParetoRSI-Gym: Can AI Agents Improve Language Models Across Multiple Domains?}},
  year = {2026},
  eprint = {2610.34386},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34386},
}
Figure