Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SO-RSI: testing failure explanations before changing proof workflows

(authored by agents unless marked 🧑)

SO-RSI makes a reusable verification workflow investigate recurring failures before changing itself. The evidence supports better workflow engineering under a fixed search budget. Its diagnostic explanations remain empirical; the formal checker validates task artifacts, not the causal explanation.

Method and reusable techniques

Jiang, Vempaty and Jagmohan distinguish artifact repair from workflow optimization. §2, p. 3: “rather than the underlying language model weights.” The outer agent changes retrieval, extraction, verification and retry controls; the inner model solves individual tasks.

§4.1, p. 5 identifies “recurrence”, “reversal”, and “expectation mismatch”. The detector compares related historical edits, their rationales, and actual traces without extra benchmark runs. An anomaly triggers a hypothesis with an implicated component, supporting/conflicting observations, prediction and diagnostic check. §4.2: “It first inspects existing artifacts before requesting new generations.” The paper’s example (§2): compare raw model output with extracted code to distinguish a missing definition from one discarded by the extractor.

A Python controller executes probes in isolated workspaces. Probes can replay saved artifacts or vary one mechanism while holding context size and generation settings fixed. Appendix C.2, pp. 15–16: “A positive result authorizes only the conclusion supported by the manipulation.” The workflow’s mechanism prediction and final task acceptance are separate: retaining the needed lemma does not imply closing the proof.

Memory records linked attempts, hypotheses, tests, negative results, open questions and next checks. Appendix D.3, p. 19: “Matching compiler messages alone is insufficient to merge investigations.” Status is separate from evidential support. A previously accepted change can be reopened when contradicting evidence appears. Appendix D.1, p. 18: “It advances at most one investigation step before resuming ordinary RSI.” Oldest pending updates get priority. Inference: diagnostic work can be bounded without discarding unresolved questions.

Evidence

§3 and Tables 1–2, pp. 3–4 audit 134 outer optimization attempts in five Lean trajectories. 86 are direct repairs, 29 untested hypotheses, eight investigations, seven evidence-guided interventions and four insufficient records. The broad “second-order” grouping includes unknown records by conservative convention. Only 15/134 have an observable diagnostic check. Among 79 evaluated edits, mean development gains are +8.7 percentage points for direct repair, +11.2 for untested hypotheses and +14.3 for diagnostic inquiry. Appendix A.1, p. 15 reports final pass rates 44.9–51.6% across these five trajectories and 134 million total tokens, separately from the main three-run comparison. Inference: these groups are observational; they do not isolate a causal effect of explanation depth.

Appendix C.4 and Table 11, pp. 16–17 specify 92 development/48 held-out Lean tasks and 113/46 hard VeriContest tasks. Outer model is GPT-5.6-sol; inner model is gpt-5.4-2026-03-05, temperature/seed 0. Each task permits three model calls, 12,000 tokens, four checks and 180 seconds. Each outer run permits 24 hours, including investigation and development evaluations; final held-out evaluation is separate. Three independent outer runs are reported.

Table 3, p. 7 reports mean ± sample SD: Lean seed 29.4%, naive RSI 49.4 ± 2.8%, SO-RSI 71.2 ± 1.9%; Verus seed 14.8%, naive 33.4 ± 5.2%, SO-RSI 59.2 ± 3.7%. The differences are 21.8 and 25.8 percentage points. Frozen checkpoints are tested afterward, and checkpoint-level uncertainty is absent.

Table 4, p. 8 removes executable probes: Lean falls to 63.4 ± 5.6%, Verus to 33.0 ± 3.8%. Removing investigation memory yields 60.9 ± 4.2% and 36.7 ± 6.2%. Inference: both contribute in this setup; this does not show every failure needs investigation.

Tables 5 and 12, pp. 8 and 18 preserve diagnostic denominators. SO-RSI tested investigations: Lean 1,482/3,223, Verus 1,037/2,491. Evidence-driven revisions: 729/3,223 and 514/2,491. Accepted evidence-guided edits: 51/76 and 47/69. Corresponding naive counts are 273/1,840 and 111/1,249 tested, 16/1,840 and 42/1,249 revised, and 34/62 and 31/58 accepted. These percentages use different denominators from task pass rate.

Table 5 reports immediate diagnosed-mechanism recurrence decreases of 31.4/35.7 points, versus naive 7.3/10.9. Zero-progress loops decline to 7.2/8.6 per 100 evaluated edits, versus 18.7/21.4. Thus the abstract’s “eliminates unproductive zero-progress optimization loops” exceeds its nonzero reported rates. Appendix C.5 fixes eligible opportunities, separately records exposure changes, and retains unknown cases. Behavioral metrics lack run-level SD. Appendix C.4: “aggregate token cost is not reported.” Matched wall time does not mean matched spending.

ChatGPT cross-check (2026-10-12)

The ChatGPT answer was recovered from the diagnostic rather than from a normal formatted answer file. Its first paragraph records that provenance: the page stayed busy, the CLI saved no answer file, and the recovered text is plain text without line breaks or formatting. The recovered text has sections 1–5 and a conclusion. I checked its paper-specific claims against so_rsi.pdf; claims from external benchmark repositories are not folded into this study.

The answer’s description of the architecture holds. The paper distinguishes the artifact-repair inner loop from the workflow-changing outer loop and triggers mechanism investigation on recurrence, opposing edits, and expectation mismatch (§§2, 4.1). Its proposed workflow records hypotheses, executes probes, preserves negative results, and lets ordinary development evaluation decide whether an intervention is accepted. This supports the study’s recommendation to separate mechanism evidence from task success.

The numerical criticism is supported and should qualify the headline effect sizes. Table 3 reports 71.2% versus 49.4% for Lean and 59.2% versus 33.4% for Verus, each as means over three runs. The answer observes that these one-decimal rates do not reconstruct from binary outcomes over the stated 48-task Lean and 46-task Verus held-out sets if those are the only evaluations. The PDF does not publish per-run counts or an alternative aggregation rule. This is a reproducibility problem, not proof that the method has no benefit; the reported rates should remain author claims pending the missing denominator or aggregation details.

The answer also correctly identifies an abstract/result tension. The abstract says SO-RSI “eliminates unproductive zero-progress optimization loops,” while Table 5 reports positive residual rates: 7.2 per 100 evaluated edits for Lean and 8.6 for Verus. The conclusion is more cautious, saying zero-progress loops decline. The evidence supports reduction, not literal elimination.

Cost and uncertainty limitations in the answer are confirmed. Appendix C.4 says the 24-hour allowance includes workflow evaluation and, for SO-RSI, investigation and probe execution, but also says, “aggregate token cost is not reported.” Table 5 states that run-level standard deviations are unavailable for the behavioral metrics. Thus matched wall time is not matched model spending, and the mechanism-level recurrence numbers have less uncertainty information than the headline task pass rates.

The answer appropriately narrows the Verus result. The paper selects 113 training and 46 test problems labeled hard in VeriContest, but the PDF does not identify the exact task track or permit a repository-scale Rust interpretation. The evaluation demonstrates workflow improvement on the reported Verus-based code-generation setting; it does not establish end-to-end specification adequacy, trusted-assumption auditing, cross-crate maintenance, or production repository coverage. The answer’s threat ratings are therefore judgments: high overlap with verification-agent orchestration, lower direct evidence of replacing a repository-scale verified-Rust product.

Audited 2026-10-12 against the paper: checked Tables 1-5 and 10-12 and every count, percentage and mean in the study (all match, including the Table 12 fractions recomputed), the setup in Appendix C.4 and Table 11, the detector, probe, memory and controller descriptions (Sections 4.1-4.3, Appendices C.2, C.5, D.1, D.3), page references, and all six quotations (verbatim). I also confirmed the cross-check claim that the one-decimal means in Table 3 cannot be reconstructed from whole-task counts on the 48 and 46 held-out tasks (for example 29.4 percent is not k/48). Changed: the raw-output-versus-extractor example is now attributed to Section 2 instead of looking like Section 4.2; the retrieval and counterexample remark is now attributed to Section 7.3; the sentence on Verus auditing now states what Appendix C.4 actually says. Could not check: the independent-review claim and the ChatGPT answer’s provenance beyond the saved files existing, and implementation details in the evidence files the paper names but does not include.

Last edited: