Skip to content
AI.info

Research

Generalized Agent Iteration: One Formal Framework for Iterative Policy Improvement and Recursive Self-Improvement

Overview Research area: Reinforcement learning theory, formal frameworks for agent self-modification, and the theory of recursive self-improvement (RSI) in AI. Technical level: Intermediate. The paper

Generalized Agent Iteration: One Formal Framework for Iterative Policy Improvement and Recursive Self-Improvement
arXiv
2609.13406
Published
2026-09-15
Authors
Hongyao Tang, Yi Ma, Pengyi Li, Yifu Yuan

AI summary

Overview

Research area: Reinforcement learning theory, formal frameworks for agent self-modification, and the theory of recursive self-improvement (RSI) in AI.

Technical level: Intermediate. The paper assumes familiarity with Markov decision processes, value functions, and the standard evaluation/improvement loop of reinforcement learning, but its argument is conceptual rather than mathematical in a heavy sense.

Scope: The paper proposes a single formal framework — Generalized Agent Iteration (GAI) — that treats classical iterative policy improvement and recursive self-improvement as two settings of the same two-parameter learning paradigm.

What This Paper Is About

Classical reinforcement learning has a well-understood cycle called Generalized Policy Iteration (GPI), in which a policy is evaluated and then improved, over and over, until it converges. That cycle assumes the improvement rule and the reward signal both live outside the agent. Modern self-improving AI systems violate that assumption — they rewrite their own improvement routines, and sometimes even the standards they are judged by — yet no shared formal framework exists to describe them or compare them.

This paper supplies that missing framework. It defines an "agent" as a configuration of modifiable components inside a larger system, models learning as an alternating cycle of agent evaluation and agent improvement, and introduces two binary design choices ("dials") that together sort every system — from textbook value iteration to the Gödel machine to closed-system RSI proposals — onto one map.

Key Contributions

  1. A unified formal framework (GAI). The paper defines a self-improving system as a five-component tuple — policy (π), action critic (V), modifier (m), modification critic (U), and evaluation base (ρ) — and defines GAI as the alternating cycle of agent evaluation and agent improvement. GPI and RSI become two instances of this single definition rather than separate phenomena.

  2. The "two dials" as formal coordinates. Dial 1 asks whether the improvement mechanism (m) lies inside the agent. Dial 2 asks whether the standard that improvement is measured against (ρ) remains grounded in something outside the agent. These two settings generalize GPI and classify any self-improving system.

  3. A polarity classification of self-improvement. Dial 2 yields three named polarities — Anchored, Goal Drift, and Fully Self-Referential — with associated consequences for whether a system can be said to be making real progress toward its goal.

  4. A catalogue of four defects of RSI. Each defect is tied to a specific condition of classical GPI that the system violates, and each is marked as structural (follows from the definitions) or observed (exhibited by a cited real system).

Main Findings

  • GPI and RSI differ by exactly two choices, not by kind. Both alternate evaluation and improvement on an agent. GPI fixes the modifier outside the agent and grounds the evaluation base in the environment reward; RSI moves the modifier inside the agent. This reframes "recursive self-improvement" from a distinct phenomenon into a neighboring case of classical policy iteration.

  • The critical variable is the evaluation base, not the self-modification. What separates a well-behaved self-improver from a drifting one is whether the standard being optimized against stays external and unrewritable. Self-modification alone is not the danger; letting the standard move is.

  • Three polarities, ordered by how much anchoring survives. Anchored (ρ has external content and is not an agent component) — e.g. the Gödel machine, STOP, SICA. Goal Drift (ρ has external content but the agent may rewrite it) — e.g. the Red Queen Gödel Machine. Fully Self-Referential (ρ is empty or depends on the critic itself) — currently represented only by position papers such as Socratic learning.

  • Four defects follow when the anchored end is left:

    • Search over candidate selves — once m ∈ Ag, the improvement step becomes an unbounded search over configurations with no general procedure for finding the argmax; GPI's guarantee that improvement is cheap and monotone is lost. Observed empirically: in one cited benchmark, 58.33% of settings improved on the first valid attempt, but 78.26% of searches continuing past their best score ended worse than that best score.
    • Self-evaluation — when U is an agent component, the thing being evaluated and the instrument doing the evaluating coincide, and the reported value is itself editable.
    • Ungrounded base — the self-consistency conditions on (m, U) refer to no external goal at all; they admit systems that serve the goal poorly or not at all, and they guarantee nothing about faithfulness. The paper's minimal example shows the same critic-and-base construction satisfying the conditions under all three placements of a coding agent's test suite, while only the held-out, fixed placement actually serves the goal.
    • Goal drift — there is precedent in prior formal work: an agent that can rewrite its own inputs can satisfy its criterion without the world's cooperation (the "delusion box"), and an agent that can rewrite its utility is only safe when its value function anticipates the rewrite.
  • Most real systems today sit at the anchored end. Fixed outer loops, PPO-style training, the Gödel-agent family, Darwin Gödel Machine, SICA, Polaris, and Hyperagents all keep the evaluation benchmark outside the agent. Only the scaffold (prompts, memory, tools, code) is modifiable, which bounds attainable improvement.

  • A learnable proxy is still anchored. Dial 2 asks where the standard sits, not how faithful it is to the goal — so an external judge or reward model counts as anchored regardless of its training data.

Methodology in Plain English

This is a conceptual and formal-modeling paper, not an empirical one; there are no experiments.

The authors begin with the observation that GPI's convergence guarantees rest on two assumptions: the improvement step is cheap and monotone, and both the objective and the evaluator sit outside the agent. They then ask what happens when each assumption is relaxed, and build a definition general enough to hold both the classical and relaxed cases.

Concretely, they define a system as a tuple of five components (policy, action critic, modifier, modification critic, evaluation base), where the "agent" is a designated subset of those components that may be modified. Learning is then defined as a two-step cycle: critics score the agent against the evaluation base, then the modifier proposes a new agent instance that the system adopts. They show that fixing the modifier outside the agent and grounding the base in world reward reproduces GPI exactly (with Bellman backup and greedy improvement as the canonical case), and that moving the modifier inside the agent yields RSI.

They then state a pair of self-consistency conditions — a Bellman-style equation pairing the modification critic U with the base ρ_U — which characterize what a well-behaved self-improver would have to look like, while explicitly noting these are descriptive conditions, not enforced updates and not end-to-end guarantees.

Finally, they use the two dials as coordinates to place roughly a dozen existing systems (from policy iteration through the Gödel machine, Darwin Gödel Machine, STOP, SICA, Polaris, Hyperagents, Red Queen Gödel Machine, and Socratic learning) on one table, and to derive the defect catalogue by asking which GPI condition each non-anchored dial setting breaks.

The running example throughout is a learning coding agent: π generates candidate solutions, V scores them against the current tests, m rewrites the agent's prompt or revision routine, U evaluates proposed changes, and the placement of the test suite plays the role of ρ.

Why This Matters

Impact on research. Prior formal work on self-improvement fixes one design — the Gödel machine is anchored and proof-gated by construction — rather than comparing designs. GAI turns those implicit design commitments into explicit coordinates, gives RSI a formal characterization that rests on the classical account rather than replacing it, and makes the classical convergence guarantees locatable as they fail, one condition at a time. It also supplies a shared vocabulary ("polarity," "anchored," "goal drift") for a literature where, as the authors note, labels like self-improving are currently used loosely for substantially different ambitions.

Real-world applications:

  • Designing safer self-improving pipelines. Teams building agentic research loops can ask the framework's Dial 2 question directly: is the benchmark, verifier, or reward model outside the set of things the agent is allowed to edit? If not, the system is on the goal-drift path by construction.
  • Auditing deployed agent scaffolds. For systems that rewrite their own prompts, memory, tools, or code, the framework gives a concrete checklist for what must remain frozen for the improvement claim to mean anything.
  • Benchmark and evaluation design. The paper's minimal example — the same test suite held out, placed in the repository, or replaced by the agent's own judgment — is directly usable as a test of whether an evaluation protocol actually constrains a self-improving system.
  • Regulatory and safety documentation. The four defects give named, structural categories of failure that can be cited when assessing whether a claimed self-improvement capability is bounded or open-ended.

Industry relevance. Current practice overwhelmingly sits at the anchored end, with model weights and evaluation benchmarks held fixed while only the harness is editable. The framework explains both why that is a sensible default and precisely what would change if a system were allowed to cross the line — which is directly relevant to anyone deciding how much self-modification to permit in a production agent, and to anyone evaluating vendor claims about self-improving systems.

Future Directions

  • Does the framework constrain design, or only describe it? The self-consistency conditions are explicitly characterization conditions rather than enforced updates. Whether they can be turned into design requirements — conditions a builder could enforce — is left open.

  • Can a system detect its own drift? The paper notes that whether a faithfulness monitor inside the system could detect the system's own divergence from an external goal remains an open question — and given that such a monitor would itself be an agent component, the framework's own logic suggests the difficulty is structural.

  • Filling the lower rows of the polarity table. Anchored RSI is well-populated with real systems; Goal Drift currently has essentially one instance (Red Queen Gödel Machine) and Fully Self-Referential RSI has only position papers. Whether the unanchored rows admit systems with any useful capability, or only failure modes, is unknown.

  • Extending to non-fixed worlds and goals. The framework deliberately holds the world and the goal fixed, since changes to them originate outside the system. Relaxing that assumption — for systems operating in non-stationary environments — is a natural next step for a formal account of agent iteration.

Target Audience

Researchers and graduate students in reinforcement learning theory, AI safety, and the theory of self-modifying and self-improving agents; engineers and architects designing agentic systems with self-modification capabilities who want a principled basis for deciding what must stay outside the edit set; and policy or evaluation specialists who need a structured vocabulary for assessing claims about recursive self-improvement. Readers without some RL background will need to pick up the GPI vocabulary (policy, value function, Bellman backup, greedy improvement) from the background section, but the framework's central idea is accessible without deep mathematics.

Authors’ abstract

When we speak of recursive self-improvement (RSI), are we speaking of a phenomenon, a mechanism, or a prospect? Towards autonomous and evolving intelligence, RSI is being claimed at many scales, while no single framework that formally describes these emerging instances exists. Its counterpart in the classical realm, iterative policy improvement, is characterized by generalized policy iteration (GPI), a framework of broad applicability with well-understood theoretical properties, but only where the update principle and the evaluation base lie outside the agent. In this paper, we propose Generalized Agent Iteration (GAI), a formal framework that describes iterative policy improvement and RSI as two cases of a single learning paradigm. GAI defines the agent as a configuration of modifiable components within a system and models the learning process as a cycle of agent evaluation and agent improvement. Two pivotal dials then distinguish the instances: whether the improving mechanism is part of the agent and whether the standard it is measured against is grounded outside it. The former dial delineates the boundary between GPI and RSI, and the latter determines a system's polarity as anchored, goal drift, or fully self-referential. Moreover, we use these coordinates to place existing systems on the same two axes and make the defects of recursive self-improvement statable one condition at a time. We see this paper as a first step toward exploring a formal characterization of RSI that rests on the classical account, makes existing systems comparable, and provides a principled basis for analyzing and designing new ones.

Read the original paper