Blind to What They Can Fix: A Detection Gap in Self-Improving Agents
Organizations: Artificial Intelligence and Machine Learning Lab, Technical University of Darmstadt, Germany · Hessian Center for Artificial Intelligence (hessian.AI), Germany · Department of Computer Science, Technical University of Darmstadt, Germany · German Research Center for Artificial Intelligence (DFKI), Germany ·
Abstract
AI agents can write programs that carry out a task without calling a model at every step, so the task runs fast and its logic stays open to inspection. Agents improve these programs by running them, studying their failures, and revising the code, a form of recursive self-improvement (RSI). We ask whether this process also yields runtime checks that can be trusted. In five task domains, with up to seven author models, agents bring their programs to high scores. Yet when the environment changes, the checks they were told to write stay silent on half or more of the resulting failures in four domains. These failures can be detected and repaired: a monitor built from records of normal runs catches most of them in three domains, and the same agents usually repair them once called. The checks do not examine the recorded relations that reveal the failures, and the strongest agent writes checks that catch most of them once told that its checks are the only thing that calls it back. An unreported failure stays unrepaired, which limits what self-improvement is worth in autonomous operation. Evaluations of self-improvement should measure not only scores but also whether a system notices its own failures.
Figures & tables
| Misses on failures (%) | Alarms on working units (%) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Programs with checks | Own checks | Own + ref. | Outcome | General | Own | Own + ref. | Outcome | General | ||
| Seaquest, Codex | 20 | 168 | 52 [32, 71] | 15 | 7 | 5 | 23 | 23 | 11 | 69 |
| blind changes only | 20 | 111 | 59 [35, 80] | 17 | 5 | 3 | 23 | 18 | 7 | 67 |
| new programs | 16 | 90 | 69 [37, 93] | 11 | 2 | 1 | 11 | 33 | 2 | 70 |
| new programs, informed | 16 | 84 | 6 [0, 21] | 18 | 1 | 4 | 12 | 16 | 5 | 66 |
| Kangaroo, Codex | 6 | 22 | 55 [13, 91] | 18 | 9 | 18 | 8 | 26 | 0 | 58 |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Author model | Own checks | General monitor | On request, all failures | ||
|---|---|---|---|---|---|---|
| Seaquest | Codex | 20 | 168 | 52 | 5 | 25 |
| Kangaroo | Codex | 6 | 22 | 55 | 18 | – |
| Service autoscaling | Codex | 4 | 25 | 64 | 0 | 0 |
| Claude Code | 2 | 12 | 83 | 0 | 5 | |
| Kimi-K2.6 | 4 | 24 | 38 | 0 | 47 | |
| Qwen3.8-27B | 2 | 11 | 91 | 9 | 15 |
| Domain (failing / working units) | Detector | Failing units | Working units | Unchanged episodes |
|---|---|---|---|---|
| Seaquest (295 / 705) | Program’s own checks (168 / 332) | 48 | 23 | 21 |
| General monitor | 97 | 73 | 3 | |
| its structural statistics alone | 94 | 71 | 3 | |
| its success count alone | 65 | 10 | 1 | |
| Monitor written on request by the author | 75 | 8 | 1 | |
| Kangaroo (34 / 56) | Program’s own checks (22 / 38) | 45 | 8 | 0 |
| Instructions | Own checks | General | Difference | Unchanged | Working | Progress | Without | ||
| Seaquest, 16 blind changes | |||||||||
| Standard | 16 | 90 | 69 [37, 93] | 1 | 68 [35, 93] | 6 | 11 / 70 | 0 | 69 |
| Informed | 16 | 84 | 6 [0, 21] | 4 | 2 [ 9, 19] | 10 | 12 / 66 | 16 | 70 |
| Informed, test tool | 15 | 83 | 17 [3, 40] | 5 | 12 [ 7, 38] | 11 | 11 / 60 | 15 | 72 |
| AppWorld, 12 blind changes | |||||||||
| Standard, Codex | 16 | 112 | 95 [84, 100] | 62 | 33 [0, 68] | 0 | 0 / 40 | – | – |
| Study | Registered prediction | Observed | Outcome |
|---|---|---|---|
| Detection (Q1) | |||
| Seaquest round 1 (C1) | General monitor misses 0.10, and fewer than the own checks of one format (CI upper 0) | 21/50 = 0.42 [0.28, 0.56] | failed |
| Seaquest round 2 (C1) | As round 1, monitor revised | 13/64 = 0.20 [0.10, 0.32] | failed |
| Seaquest round 3 (C1) | Monitor revised again; needs 20 failures | 11 failures | undetermined |
| Seaquest round 4 (C1) | Monitor revised again | 4/76 = 0.053; diff. 0.13 [ 0.36, 0.10] | failed |
| Seaquest round 5 (C1) | Same monitor as round 4 | 1/20 = 0.05; diff. 0.11 [ 0.30, 0.00] | failed |
| Study | Registered prediction | Observed | Outcome |
|---|---|---|---|
| Detection (Q1), continued | |||
| Craftax episodes (C1-C) | As Seaquest round 1; needs 20 failures | 15 failures; misses 0.27 [0, 0.53] | undetermined |
| Craftax episodes (C2-C) | As Seaquest C2 | 0.04 | held |
| Craftax (C, own checks) | Own checks miss 0.30 of failures | 0.10 | failed |
| Craftax 6000-step days (C1-C2) | As Seaquest round 1; needs 20 failures | 9 failures; misses 0 | undetermined |
| Craftax 6000-step days (C2-C2) | As Seaquest C2 | 0.68 [0.48, 0.84] | failed |
| Study | Registered prediction | Observed | Outcome |
|---|---|---|---|
| Cause and coverage (Q3) | |||
| Seaquest (D1) | Authors had stated 0.50 of the dependencies that broke (two raters) | 0.25 [0.20, 0.31]; 0.41 [0.36, 0.46] | held |
| Seaquest (D2) | Stated share on failing pairs at most 0.20 above non-failing pairs | 0.25 vs 0.15; 0.41 vs 0.24 | held |
| Autoscaling (mechanism M1) | The general monitor’s success-count floor alone misses 0.10 of failures | 0.00 to 0.05 for four authors; gemma 0.74 | held (4/5) |
| Autoscaling (mechanism M2) | Requested monitor misses more where the progress rule misses | gemma 0.24 vs 0.00; other groups 5 failures | held |
| Autoscaling and Kangaroo (mechanism M3) | Own checks miss more where the progress rule misses | Kangaroo +0.13 [ 0.33, 0.42]; other groups 5 failures | undetermined |
| Study | Registered prediction | Observed | Outcome |
|---|---|---|---|
| Deployment value (Q4) | |||
| Seaquest (E5, Q1) | As trigger, the general monitor gains 0.10 in value over own checks (CI lower 0) | +0.35 [0.25, 0.45] | held |
| Seaquest (E5, Q2) | General monitor within 0.05 of a call on the day of the change (whole CI) | 0.047 [ 0.094, 0.010] | failed |
| Seaquest (E5, Q3) | General monitor beats one scheduled call (CI lower 0) | +0.037 [ 0.009, 0.075] | failed |
| Seaquest (E5, mechanism) | General monitor above the requested monitor | +0.033 [ 0.025, 0.084] | undetermined |
| Autoscaling, Codex (E5, Q1) | As Seaquest Q1 | +0.28 [0.15, 0.36] | held |
| Change | What changes | Written by | Failing | Checks | Own | General | Outcome |
|---|---|---|---|---|---|---|---|
| controls_swap_y | Underwater, the up and down controls are exchanged. | developer | 40/40 | 20/20 | 8 | 0 | 0 |
| controls_swap_x | Underwater, the left and right controls are exchanged. | developer | 28/40 | 16/20 | 4 | 1 | 4 |
| lives_one | No spare lives: the life counter never exceeds one. | developer | 3/40 | 3/20 | 1 | 3 | 0 |
| dive_cost8 | Leaving the surface costs 8 units of oxygen. | developer | 3/40 | 3/20 | 3 | 0 | 0 |
| wrap_edges | The left and right screen edges are joined for the submarine. | developer | 2/40 | 1/20 | 1 | 0 | 0 |
| emissile_homing | Enemy missiles in flight move one pixel per step toward the submarine’s depth. | developer | 12/40 | 8/20 | 2 | 0 | 3 |
| Change | What changes | Written by | Failing |
|---|---|---|---|
| central_ascent_hatch | The submarine can ascend to the surface only within a central horizontal band. | blind session | 36/40 |
| launch_jettisons_passenger | Each underwater torpedo launch loses one carried diver. | blind session | 40/40 |
| shark_predation † | A shark eats any uncollected diver at its depth within eight horizontal pixels. | blind session | — |
| enemy_forward_shields | An enemy absorbs a head-on torpedo within 24 pixels ahead of its front edge. | blind session | 26/40 |
| turning_brake | Reversing horizontal facing underwater spends the step turning in place. | blind session | 2/40 |
| paired_passengers | Each diver pickup adds two to the carried count, capped at six. | blind session | 0/40 |
| Change | What changes | Written by | Failing |
|---|---|---|---|
| ground_inertia | The kangaroo coasts when input is released and needs eight steps to reverse; crouching brakes. | blind session | 1/9 |
| ladder_rest_cycle | Climbing pauses for 32 of every 96 steps while the game continues. | blind session | 7/9 |
| platform_recovery | Finishing a jump or climb blocks the next one for 90 steps. | blind session | 6/9 |
| auto_hop | Fifteen consecutive walking steps trigger an automatic jump. | blind session | 7/9 |
| drifting_fruit | Fruit sweeps horizontally up to 24 pixels either side of its original position. | blind session | 0/9 |
| bell_elevator | The bell moves to the ground floor; activating it lifts the kangaroo one platform. | blind session | 5/9 |
| Change | What changes | Written by | Failing |
|---|---|---|---|
| slow_boot | New servers take fifteen minutes to boot instead of three. | blind session | 2/7 |
| compact_workers | Each running server handles 35 requests per step instead of 50. | blind session | 0/7 |
| square_wave_load | Traffic alternates between 60% and 140% of the daily load every five minutes. | blind session | 5/7 |
| cpu_headroom † | The CPU field reports percent idle capacity instead of percent busy. | blind session | 5/6 |
| high_utilization_hours | A good hour requires 70% mean utilization instead of 50%. | blind session | 7/7 |
| saturation_latency | CPU contention adds latency for utilization above 60%, even without a queue. | blind session | 7/7 |
| Change | What changes | Written by | Failing |
|---|---|---|---|
| liked_song_offsets | The Spotify liked-songs page index is a row offset instead of a page number. | blind session | 2/8 |
| transactions_oldest_first | Venmo transaction lists default to oldest first when no sort is requested. | blind session | 0/8 |
| transactions_default_sent | Venmo transaction lists default to sent transactions instead of both directions. | blind session | 8/8 |
| liked_dates_day_first | Spotify liked-song dates use DD/MM/YYYY, keeping the time suffix. | blind session | 8/8 |
| transaction_like_origin | Venmo transaction lists report each like count plus one. | blind session | 8/8 |
| playlist_track_previews | The Spotify playlist library lists only the first track of each playlist. | blind session | 8/8 |
| Change | What changes | Written by | Failing |
|---|---|---|---|
| pivot_steps | Turning consumes a movement action; only a repeated heading walks. | blind session | 0/5 |
| two_hit_trees | Felling a tree requires two consecutive do actions facing it. | blind session | 3/5 |
| six_wood_tables | Placing a crafting table costs six wood instead of two. | blind session | 3/5 |
| brittle_pickaxes | Each pickaxe breaks after eight successful mining uses of its tier. | blind session | 0/5 |
| exertion_thirst | Each successful walking step adds three extra units to the hidden thirst timer. | blind session | 0/5 |
| furnace_recovery | Healing progress is discarded after every step without a neighbouring furnace. | blind session | 0/5 |
| Population | Programs | Failures | Programs with checks | Their failures |
| Seaquest, first catalogue (25 changes), Codex | 40 | 295 | 20 | 168 |
| of which under the 16 blind changes | 40 | 199 | 20 | 111 |
| Seaquest, second catalogue (7 blind changes), Codex | 40 | 107 | 20 | 61 |
| Kangaroo, Codex | 9 | 34 | 6 | 22 |
| Service autoscaling, Codex | 7 | 46 | 4 | 25 |
| Service autoscaling, seven author models | 35 | 188 | 18 | 107 |
Self-Improving Agents
Self-improving agents use experience and feedback to update their models, memories, skills, or workflows for better future task performance.
See all 206 papers