Back to Feed
Agents / Benchmarks & Evals

Recursive Self-Improving AI Agent Architecture

Original: Meta$^n$: Recursive Self-Improvement through Emergent Depth

Listen to the summary

Uses a voice available on your device

Audio options
On this page 5 sections
Related concepts 2 concepts

Key Takeaways

  • Meta n achieves a score of 0.331 on the ARC-AGI-2 benchmark, significantly outperforming prior agents like OpenEvolve (0.003) and Gödel Agent (0.054).
  • Recursion is a primary driver of performance, contributing a 0.131 gain to the validation score on CO-Bench.
  • The system utilizes a consolidation mode to manage potential regressions, ensuring that deeper layers do not degrade performance on individual tasks.
  • The effectiveness of the system depends on the available headroom above the base solver and the diversity of failure modes indexed in its archive.

Summary & Methodology Analysis

The Meta n framework addresses the limitations of standard self-improving agents, which typically fail to iterate beyond a shallow meta-depth. The architecture applies a universal meta-operation, denoted as omega, to the system's own output products. This operation processes the existing solver stack, its execution traces, and the associated code library to produce a new Python pre-process for strategic context, along with a refined library of reusable helper functions. A wrapper, M d, then integrates these new layers into the existing solver stack to extend the system's capabilities through recursive depth.

Interactive System Flowchart

Click diagram to expand and zoom

Illustrative Implementation

A short sketch of the paper's core idea, not the authors' own code.

# Illustrative sketch (not from the paper)
import torch

def Omega(solver_stack, traces, code_lib):
    """Generate preprocessing snippet and helper functions."""
    preproc = "# auto-generated context\n"
    helpers = {"apply_layer": lambda x: x}
    return preproc, helpers

def M_d(prev_stack, new_code):
    """Wrap previous stack with new layer code."""
    return [new_code] + prev_stack

archive = []  # evolutionary archive of candidate solver chains

def evaluate(chain, task):
    """Placeholder evaluation returning a random score."""
    return torch.rand(1).item()

def consolidate(chain, scores):
    """Ensure monotonicity: keep only if no regression across tasks."""
    return all(earlier <= later for earlier, later in zip(scores, scores[1:]))

# Simplified main loop over generations
for generation in range(3):
    # select current best chain (or empty if none)
    best = max(archive, key=lambda c: sum(evaluate(c, t) for t in range(5)), default=[])
    # apply Ω to produce a new layer
    preproc, helpers = Omega(best, traces=None, code_lib=None)
    new_layer = {"preprocess": preproc, "helpers": helpers}
    new_chain = M_d(best, new_layer)
    # evaluate new chain on a set of tasks
    task_scores = [evaluate(new_chain, t) for t in range(5)]
    if consolidate(new_chain, task_scores):
        archive.append(new_chain)

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the core contribution of Meta n?

Meta n provides a recursive architecture that allows agents to improve their own underlying processes and code libraries, overcoming the depth limits of previous agent systems.

Q2. How does Meta n compare to existing agent systems?

It significantly outperforms prior systems like OpenEvolve and Gödel Agent, being the only system to solve any tasks on the ARC-AGI-2 held-out split.

Q3. What happens if recursion is disabled?

Performance drops significantly, with the archive-best CO-Bench validation score falling from 0.845 to 0.714.

Q4. What hardware or backbones does the system support?

The paper reports results on two backbones: Gemma 4 31B-IT and GPT-5.2.

Q5. What are the limitations regarding deeper layers?

Deep layers can interfere with shallower guidance, leading to per-task regressions where a deeper layer overrides previously successful strategies.

Q6. How does the system handle task regressions?

It uses a consolidation mode to ensure per-task monotonicity by preventing deeper layers from regressing scores on individual tasks.

Q7. What determines the value of the meta-operation omega?

Its value scales with the headroom above the seed solver and the diversity of failure modes indexed by the archive.

Q8. Which benchmarks were used to validate the system?

The system was tested on CO-Bench, which contains 36 NP-hard problems, and ARC-AGI-2, which contains 120 tasks.

Q9. Does the paper specify the exact number of layers used?

The paper does not specify the exact number of layers, but notes that it uses an evolutionary archive to search over layer depths.

Flag an issue

What is wrong with this summary?

What is wrong?