arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.21646

The Self-Improvement Problem

Brian B. Moser, Stanislav Frolov, Tobias C. Nauen, Federico Raue, Andreas Dengel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

With the rise of large language models, agentic systems are becoming increasingly autonomous, as they write code, call tools, revise prompts, and propose modifications to their own components. This autonomy raises a fundamental question for safe self-improvement: can an automated gate like a reward model or an automated reviewer reliably decide whether a proposed update should be accepted? The difficulty is structural. The gate must be a terminating, computable procedure, while the property we ultimately care about, namely whether an update is a genuine semantic improvement, depends on potentially unbounded program behavior. We formalize this mismatch by modeling agents as programs and defining improvement in terms of a semantic score that need not be computable. We study two evaluation abstractions. The first is a certifier that approves or rejects an update. The second is a search procedure that, given access to a proposal generator, attempts to output some improving candidate if one exists. We show that, in the fully general setting, no terminating procedure can simultaneously guarantee reliability (never accepting a non-improvement) and non-conservatism (never missing an available improvement): self-referential constructions can force any such gate or searcher to fail. Randomized gates with bounded error face the same limit. We then identify a standard decidable regime used in practice (bounded evaluation and a finite proposal budget) under which exhaustive simulation yields a terminating search procedure with the desired guarantees. We also show the limit of this recovery: a chain of accepted updates can raise the bounded score in every round while the true score falls. Our results draw a boundary between unbounded, universal settings where correctness guarantees collapse and bounded settings where they can be recovered by design.

1 Introduction

Many modern “agentic” pipelines follow the same pattern: an agent proposes a self-update (a code patch, prompt rewrite, new checkpoint, tool policy, etc.), and an automated gate decides whether to apply it (Lu et al., 2024; Yamada et al., 2025). The gate may be a reward model, a regression test suite, or an automated reviewer that must terminate and output accept/reject. The intended notion of improvement, however, is semantic: whether the updated agent is genuinely better depends on unbounded program behavior, long-horizon interactions, and open-ended tool use (Wang et al., 2023). This mismatch creates a concrete failure mode that is now routine in practice: once the proposal mechanism can anticipate or condition on the gate, it can “optimize the gate” rather than the intended objective. In other words, the proposer can exploit the evaluator as a predictable part of the environment.

This paper formalizes that failure mode and proves a sharp boundary: in a fully general setting, no terminating gate or search procedure can be both reliable and non-conservative. The core obstruction is not statistical; it is structural. If candidates can depend (directly or indirectly) on the gate's decision, then self-reference yields diagonal constructions in which any total computable gate must fail, either by accepting a non-improvement or by rejecting (or missing) an available improvement.

We model an “agent” as an executable artifact (e.g., checkpoint + code) encoded by a program index p∈Np \in \mathbb{N}, with behavior given by the partial function φp\varphi_p. A proposed update is another program index qq. The gate is a total computable procedure that must halt with a decision: either a certifier V(p,q)∈{0,1}V(p, q) \in \{0,1\} that approves/rejects a given candidate, or a searcher S(p,e)S(p, e) that, given access to a proposal enumerator EeE_e, attempts to output some improving proposal. We measure “true” performance via a semantic score functional JJ, which may be uncomputable.

Our first theorem shows that even for an extremely simple semantic score J (halting-and-output-1 on a fixed input), there is no total computable certifier that accepts exactly the strict improvements. The proof builds a self-referential candidate whose behavior flips depending on whether it is accepted, using Kleene's recursion theorem (Kleene, 1952). This captures, in the starkest possible form, the modern evaluator-hacking phenomenon: the proposal mechanism can construct candidates that are “good if rejected” and “bad if accepted.”

A natural response is to replace certification by search: rather than deciding each candidate, we ask for a total searcher that returns some improvement whenever the proposal mechanism contains one. Our second theorem shows that this does not help in full generality. Even if the searcher is given the code of the proposal enumerator, self-reference allows the enumerator to propose a candidate whose behavior depends on the searcher's output, forcing any proposal-respecting total searcher to violate soundness or weak completeness.

However, these negative results rely on unbounded behavior and universal quantification over proposal mechanisms. We then formalize a standard regime used in practice (bounded evaluation and a finite proposal budget) and show that the guarantees can be recovered relative to the bounded proxy. In that regime, exhaustive simulation yields a terminating searcher that is sound and weakly complete for the bounded score. This draws a clean line between (i) an unbounded universal regime where correctness guarantees collapse, and (ii) a bounded regime where they can be recovered by design.

Two further results sharpen this picture. First, randomness does not help. A gate that flips coins and errs with probability at most 1/3 can be converted into a deterministic sound and complete certifier, so it cannot exist either (Proposition 1). Second, the bounded regime has a blind spot of its own. We construct a chain of updates in which every step raises the bounded score and every step lowers the true score (Proposition 2). Guarantees relative to a proxy therefore do not control drift of the true objective across rounds.

Scope of the contribution. We want to be clear about what is new here and what is not. The proof ingredients are classical: diagonalization, the s-m-n theorem, and Kleene's recursion theorem (Kleene, 1952). We do not claim new computability-theoretic techniques. The contribution is the formalization. It gives a minimal model of verification-gated self-improvement in which reliability and progress guarantees can be stated exactly. It separates the impossibility in the unbounded setting from its recovery in the bounded setting. It turns the folklore claim that evaluator hacking is unavoidable once the proposer can model the gate into a theorem with explicit assumptions. The formalization also yields results beyond the single update step, namely the randomized-gate bound of Proposition 1 and the drift construction of Proposition 2.

In summary, we make three contributions:

• A minimal formalization of verification-gated self-improvement. We model agent updates as program transformations, proposal generation as a computable enumerator, and gating as a terminating procedure that must decide whether to apply an update.

• A sharp impossibility boundary driven by self-reference. In the fully general (unbounded) setting, we prove that no total computable procedure can simultaneously guarantee reliability (never accepting a non-improvement) and non-conservatism (never rejecting or missing an available improvement), for either certification (Theorem 1) or proposal-respecting search (Theorem 2). The impossibility extends to randomized gates with bounded error (Proposition 1).

• Decidability under standard restrictions. Under bounded evaluation and a known finite proposal budget, exhaustive checking yields a terminating searcher that is sound and weakly complete with respect to the bounded score (Theorem 3), clarifying exactly which design constraints restore

Figure

Figure 1: The structural impossibility of verification-gated self-improvement. The Proposal Mechanism (Enumerator EeE_{e}) generates a Candidate (q) whose behavior explicitly depends on the decision of the Gatekeeper (Searcher S). This self-referential loop forces any total computable gatekeeper to violate either soundness (by accepting a bad update) or completeness (by rejecting a valid improvement).

guarantees. We also show the limit of this recovery: repeated accepted updates can raise the bounded score while the true score falls (Proposition 2).

A Lean 4 formalization of Theorems 1–3 accompanies this paper, available at https://github.com/Brian-Moser/SelfImprovementProof.