R164 · Agent architecture › Self-improvement and learning loops

GUARD: self-improving harnesses that only keep edits that don't break things

Read the original

Authors Elvis Saravia (shared)

agent-harnessagent-memoryevalsbenchmarksharness-config

Source: Zhang, Kang, Ming, Chen, Yu, Zhuang and Lee (Google Cloud), GUARD: Stabilizing Recursive Self-Improvement with Regret Guidance, arXiv 2611.23476, 2026-11-17. Surfaced by Elvis Saravia on 2026-11-19.

The problem

An agent is a frozen model plus an editable harness: prompts, skills, tool rules and memory. Recursive self-improvement (RSI) lets the agent rewrite that harness from experience, with no weight updates. Without an external grader this tends to backfire in three ways:

The root cause, per the authors, is that reflection and a single scalar score mix up two different things: what an edit newly broke and what was never solved. GUARD separates them.

How it works

During adaptation GUARD runs a four-stage loop. At test time the loop is switched off and one frozen harness runs each task in a single pass.

  1. Self-review via a pre-execution checklist. Before the solver acts, a reviewer reads only the task prompt, tool declarations and schema, and writes a fixed checklist of atomic yes/no predicates. Two classes: execution-verifiable ones (clean sandbox run, valid IDs and columns, idempotent mutations), checked deterministically on a throwaway sandbox copy; and semantic ones (every constraint, recipient, format and safety rule honoured, no superseded rules applied), graded one by one from the prompt, output and tool trace. Writing the checklist up front exploits the gap between generating a long answer and verifying one small claim.

  2. Analyze: paired regret. Compare the two most recent incumbent harnesses on the same tasks. Criteria that went from passing to failing are "hurt" and ranked first; criteria the agent already handles are pinned so later edits cannot drop them.

  3. Propose: group-relative candidates. Generate several candidate edits in parallel and score them on the same tasks, standardizing within the group (the GRPO idea, without a learned critic), so batch difficulty cancels out. The best and worst candidates are contrasted to steer the next proposal.

  4. Gate: Soft-HURT. Promote an edit only when its gains outweigh its regressions beyond a noise floor, scoping specialized fixes so they don't over-trigger. The authors prove non-regression on the gated buffer for their self-review objective.

Results reported

Tradeoffs

Failure modes to watch

Review checklist for self-improving harnesses

Cited in field guides

Connections

See R164 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.