Monitor Accuracy Isn't the Answer: A Decision-Value Framework for Evaluating AI Agent Restart Monitors
Organizations: Intuit
Abstract
Classification accuracy and true-positive and false-positive rates alone do not determine whether restarting an AI agent improves success. Using an exact alarm-to-action identity for an independent clean restart with zero monitoring overhead, we show analytically that a monitor with fixed 90% accuracy can swing from a five-percentage-point loss to a 35-point gain in success rate, depending solely on the replacement attempt's residual-budget success probability. We introduce two techniques for evaluating monitors and progress signals in decision terms. First, a decision-sufficiency criterion, a binary-action specialization of Blackwell's comparison of experiments, identifies which progress representations or context compressions preserve the information needed to choose optimally between the specified actions, independent of trace reconstruction fidelity. Second, a finite-sample, model-free decision audit uses simultaneous binomial intervals over existing agent traces, without additional model calls, to certify a preference for "restart" or "continue" under stated sampling assumptions, or return "abstain" when evidence is insufficient. In a study of 194 externally evaluated model executions on 19 selected SymPy issues from SWE-bench Verified, with a retrospective audit of 130 of these traces, we find a 2.29-point apparent restart gain traced to a single surviving failed attempt, a 42.29-point loss on a second model, no positive replication of the initial gain on prospective task cohorts, and zero of 103 live comparisons meeting the specified certification bar. These results motivate evaluating agent monitors through recovery opportunity, decision value, and statistical support, rather than classification performance alone.
Figures & tables
| Line of work | Observed quantity | Primary question |
|---|---|---|
| Inference-time search | Candidate scores or votes | Which candidate should receive compute? |
| Dynamic restart theory | Run features and runtime beliefs | Which restart policy minimizes expected runtime? |
| Learned termination and recovery | Prefix alarms and retained edits | Does a trained controller save cost or improve resolution? |
| Semantic stopping | Change between successive outputs | Has an iterative answer stabilized? |
| Trajectory evaluation | Task-specific subgoal state | How much of the task is complete? |
| Context management | Structured or compressed history | What information should the agent retain? |
| Stage | Question | Attempts | Frozen comparison |
|---|---|---|---|
| Initial restart | Does a short cutoff beat one 30-call attempt? | 70 | Cutoffs and universal schedules |
| Prospective transfer | Does the selected cutoff transfer to unseen tasks? | 60 | Fixed 16 versus fixed 30 |
| Horizon extension | Is completion mass hidden after call 30? | 20 | One 60 versus repeated 30 |
| Context recovery | Does fresh context recover protocol collapse? | 40 | Baseline versus rejuvenation |
| Patch algebra | Do clean unions of failed patches solve? | 0 | 19 frozen composites |
| Semantic resolver | Can one agent synthesize failed hypotheses? | 4 | Four bounded portfolio runs |
| Component | Frozen value |
|---|---|
| Benchmark | SWE-bench Verified, selected sympy/sympy tasks |
| Agent | mini-swe-agent 2.4.6 |
| Models | openai/gpt-5.6-luna ; historical comparator deepseek/deepseek-v4-flash-0731 |
| Sampling | Temperature 0.7; separate provider draws |
| Primary budget | Model calls, with stage horizons of 12, 30, or 60 |
| Verification | External fail-to-pass evaluator after every environment action |
| Comparison | Observed result | Interpretation |
|---|---|---|
| Fixed 16 versus 30, Luna training tasks | points | Weak in-sample gain |
| Luna-selected fixed 16 on DeepSeek | points | Selected scale does not transfer across models |
| Fixed 16 versus 30, all 19 Luna tasks | points | Pooled estimate includes initial and prospective tasks |
| First completion after call 30 | 0/20; one-sided upper bound | No observed useful late tail; rare mass remains possible |
| Fresh context versus baseline | 0/20 versus 1/20; mean cost | Protocol label improves, task outcome does not |
| Failed-branch reuse | 0/19 composites; 0/4 resolvers | Textual diversity does not supply verified closure |
| Luna | DeepSeek | ||||
|---|---|---|---|---|---|
| Task | Pass | Calls: min/mean/max | Pass | Calls: min/mean/max | |
| 23413 | 4/5 | 5/7.0/9 | 4/5 | 21/23.8/27 | |
| 23824 | 5/5 | 4/5.2/6 | 5/5 | 11/12.8/15 | |
| 23950 | 0/5 | none | 1/5 | 29/29.0/29 | |
| 24066 | 5/5 | 5/7.0/11 | 3/5 | 20/25.0/29 | |
| 24213 | 5/5 | 4/4.6/5 | 5/5 | 13/19.8/28 | |
| Cohort | Tasks / attempts | Fixed 16 | Fixed 30 | Difference and 95% interval |
|---|---|---|---|---|
| Initial | 7 / 35 | 85.14% | 82.86% | [ ] |
| Prospective high ID | 7 / 35 | 100.00% | 100.00% | [ ] |
| Difficulty enriched | 5 / 25 | 0.00% | 4.00% | [ ] |
| Pooled | 19 / 95 | 68.21% | 68.42% | [ ] |
| Cohort | Attempts | Live | Restart all | Perfect alarm |
|---|---|---|---|---|
| Initial Luna | 35 | 6 | ||
| Initial DeepSeek | 35 | 27 | ||
| Prospective high ID | 35 | 0 | ||
| Prospective stress | 25 | 25 |
| Task | Pass | First pass | Format fail | Limit | Mean cost |
|---|---|---|---|---|---|
| 16597 | 0/5 | none | 4 | 1 | $0.05716 |
| 17630 | 0/5 | none | 5 | 0 | $0.03577 |
| 21612 | 1/5 | call 17 | 4 | 0 | $0.03126 |
| 21930 | 0/5 | none | 4 | 1 | $0.04996 |
| Total | 1/20 | no pass after 30 | 17 | 2 |
| Outcome | Baseline | Rejuvenation | Treatment difference |
|---|---|---|---|
| Verified success | 5.0% | 0.0% | points |
| Repeated-format terminal | 90.0% | 0.0% | points |
| Limit terminal | 5.0% | 100.0% | points |
| Mean cost | $0.03786 | $0.05934 | +$0.02148 |
| Mean wall time | 309.5 s | 512.8 s | +203.3 s |
| Task | Sources | Unique | Pairs | Clean novel | Evaluated | Pass |
|---|---|---|---|---|---|---|
| 16597 | 10 | 9 | 45 | 35 | 8 | 0 |
| 17630 | 10 | 10 | 45 | 0 | 0 | 0 |
| 21612 | 9 | 9 | 36 | 13 | 8 | 0 |
| 21930 | 9 | 9 | 36 | 3 | 3 | 0 |
| Total | 38 | 37 | 162 | 51 | 19 | 0 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning |
|---|---|
| Latent agent and environment state after call | |
| , | Observation at call and the observable history filtration |
| First call whose resulting state passes the external verifier | |
| , | Explicit protocol-terminal time and configured attempt horizon |
| , | Total policy budget and residual budget |
| , | Completion-time CDF and discrete completion hazard |
| Cohort | Task IDs |
|---|---|
| Initial | 23413, 23824, 23950, 24066, 24213, 24443, 24661 |
| Prospective high ID | 22456, 22714, 22914, 23262, 23534, 24539, 24562 |
| Difficulty enriched | 16597, 17630, 21612, 21930, 22080 |
| Horizon 60 | 16597, 17630, 21612, 21930 |
| Context A/B | 16597, 17630, 21612, 21930 |
| Patch and resolver | 16597, 17630, 21612, 21930 |
| Stage | Attempts | Metered cost | Wall hours |
|---|---|---|---|
| Initial Luna | 35 | $0.38327 | 0.771 |
| Initial DeepSeek | 35 | $0.38023 | 3.644 |
| Prospective Luna | 60 | $1.14379 | 2.596 |
| Horizon 60 | 20 | $0.87077 | 2.207 |
| Context A/B | 40 | $1.94403 | 4.568 |
| Semantic resolver | 4 | $0.05132 | 0.145 |
| Artifact cohort | Scope | Primary use |
|---|---|---|
| Initial paired-model cohort | 70 attempts, 7 tasks | Completion curves and restart replay |
| Prospective transfer cohorts | 60 attempts, 12 tasks | Out-of-sample cutoff transfer |
| Horizon extension | 20 attempts, 4 tasks | Late completion and protocol termination |
| Context intervention trial | 40 attempts, 4 tasks | Terminal outcomes, cost, and latency |
| Patch-composition screen | 19 verifier-only candidates | Failed-branch compositionality |
| Semantic resolver screen | 4 attempts, 4 tasks | Semantic aggregation |
AI Agent Monitoring
AI agent monitoring tracks actions, tool use, and execution traces to detect failures, misuse, drift, and policy violations during operation.
See all 281 papers