Google's rrsi framework enables self-improving AI agents through rigorous evaluation
Google Research has unveiled RRSI (Regularized Recursive Self-Improvement), a framework enabling AI agents to self-improve by rewriting their components without overfitting. The method uses Python, Docker benchmarks, and Vertex AI to evaluate edits to an agent’s harness, prompts, tools, and control flow. It includes a noise band, annealed edit budget, and deterministic critic to ensure edits are effective and efficient. RRSI measures S (reward) and C (token cost) and uses a selection algorithm to determine which edits to keep. A history tracker records each edit’s impact. Tested in a simulated environment, RRSI reduced token costs and avoided memorization, outperforming an unregularized search.
The RRSI process uses a selection algorithm evaluating candidates based on gain and cost, accepting only edits that improve performance without excessive token usage. A critic screens edits for leaks or memorization of task answers. Across multiple rounds, RRSI achieved a held-out score of 0.759, significantly outperforming an unregularized search. Its ability to avoid overfitting and reduce token costs highlights its potential for self-improving AI agents. The research underscores the importance of rigorous evaluation in AI development, ensuring improvements are effective and sustainable.