MaD-RSI: Model-as-Data for Recursive Self-Improvement of Agent Harnesses
Yu Cui, Hong He, Ruiqing Yue, Sicheng Pan, Zhuoyu Sun, Yifei Liu, Ting Li, Wenzhuo Zhu, Baohan Huang, Haibin Zhang, Cong Zuo
Abstract
Recursive self-improvement (RSI) of agent harnesses has emerged as an effective approach to enhancing the capabilities of large language model (LLM) agents. By searching the harness space for a specific LLM on a given dataset, RSI can discover a harness tailored to the capabilities and behavioral characteristics of that model. However, such optimization often creates a strong coupling between the learned harness and its target LLM, limiting generalization across models and requiring substantial computational resources to adapt to new LLMs. Moreover, existing RSI methods typically optimize a harness using feedback from a single model and evaluate its generalization to other models only after training. This paradigm treats model differences primarily as a criterion for evaluating generalization rather than as valuable evidence for optimization. In this paper, we introduce a new perspective that treats models as data and places the harness at the center of optimization. Building on this perspective, we propose MaD-RSI, a framework that directly optimizes a shared harness across multiple heterogeneous LLMs by incorporating their diverse failure trajectories into the training process. Rather than assessing model differences only after optimization, MaD-RSI leverages these differences as training evidence to guide the self-improvement of a shared harness. Furthermore, we introduce a new evaluation framework with two complementary metrics designed to assess the effectiveness of harness optimization across models. Experiments across multiple datasets and LLMs demonstrate that MaD-RSI improves generalization over existing approaches while reducing training costs.
Create a lesson
Related papers
Fin-RSI: A Unified Library of Financial Skills, Checks, and Self-Improvement for LLM Agents
Shared title terminologycs.AIWanghao Ye, Shwai He, Sihan Chen et al.
Improving the Improver: Semantic PID Control for Medical Agent Self-Improvement
Shared title terminologycs.AIDexia Chen, YiLong Hu, Wenqi Zhong et al.
Diversity over Scale: Recursive Self-Improvement with Ensembles of Small Open-Weight Models
Shared title terminologycs.AINavapat Nananukul, Mayank Kejriwal
FinEvo: Recursive Self-Improvement for Long-Horizon Financial Modeling
Shared title terminologycs.AIChengjun Pan, Shichun Liu, Zekai Zhou et al.
Recursive Self-Improvement on a Budget: Scoring Code Edits Before They Run
Shared title terminologycs.AIErfan Darzi, Sree Bhargavi Balija, Sheng He
Self-Improving Agents with World Model Predictive Paths
Shared title terminologycs.AIHaori Lu, Tianyu Gao, Yaoyao Liu et al.