{"id":"3e421fe4-8a32-4325-b625-c84a931bc47c","arxiv_id":"2610.05701","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":0,"one_line_summary":"SO-RSI, an anomaly-triggered diagnostic framework, raises held-out formal-verification pass rates over standard recursive self-improvement by 21.8 points on Lean 4 and 25.8 points on Verus code generation.","lead":"This paper presents SO-RSI, a way for AI agents to improve their own workflows by investigating why failures happen before applying fixes. In tests on Lean 4 proofs and Verus code verification, it beat a standard self-improvement baseline by 21.8 and 25.8 percentage points on held-out tasks under equal 24-hour budgets.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"The mechanism claim rests on self-interpreted probe verdicts: one 'supported' GPT-5.6-sol check (App. D.5) authorizes an edit proposal, verdict accuracy is unmeasured, and Table 5's corroboration rates are point estimates, so self-confirmation could shrink or reverse the 21.8/25.8 pp advantage.","rationale":"I tried first to falsify the measured outcome, and could not: the comparison is matched (Table 11), the seed and inner model are shared, test outcomes are excluded from optimization in the objective (§2), §5.1, C.5, and D.6, and the pass-rate gaps (21.8 and 25.8 pp) dwarf the reported run-level standard deviations (±1.9–5.2 pp), so sampling noise cannot explain the headline. I recomputed every rate in Tables 3, 4, 5, and 12 and found the arithmetic exact. I credit the ablations (Table 4): removing probes or memory degrades both domains, which is genuine internal support for the mechanism, and D.6's rule that diagnostic support alone never merges an edit is a real safety net. I also verified the authors' caveats where they exist: Table 5's point-estimate status is acknowledged (b143/b416), as is the two-domain, one-model scope (b180–b181). The residual weak spot is the accuracy of probe verdicts. The chain is: detector flags an anomaly; the same fixed base LLM proposes hypotheses; the same model writes and runs probes; the same model judges whether its own prediction was corroborated; one 'supported' verdict hands off to G (D.5). Every step is an LLM judgment about the previous step, and the only external checkpoint is dev-evaluator acceptance of the final edit, which verifies performance, not diagnosis. The decisive question is whether the 21.8/25.8 pp advantage is produced by accurate causal evidence or by self-confirming interpretation plus extra context. Table 5's tested/revision/recurrence rates cannot answer it: pooled point estimates, no run-level variance, reconstruction at thousands of episodes per cell, no reported inter-annotator agreement. The reader identified the same assumption; I agree, sharpened to the verdict-interpretation link and the corroboration gap. Secondary findings that weigh on the verdict without changing it: the abstract's 'eliminates unproductive zero-progress optimization loops' is internally contradicted by Table 5's own residual 7.2 and 8.6 loops per 100 evaluated edits (the body's 'fall' wording is accurate), and Appendix G links no implementation artifacts, which is precisely why the decisive test cannot currently be run by anyone else. Because none of this threatens the internal validity of the measured head-to-head — every control I could check passes — I keep the reader's CONDITIONAL verdict rather than moving to REJECT or UNVERDICTED, and would attach the concrete test above to the acceptance conditions.","tokens_in":20608,"tokens_out":29887,"duration_ms":351109,"concrete_test":"Decisive test: re-run the Lean head-to-head under the Table 11 settings (three runs, 24-hour budgets, same S0 and inner model) but have probe-verdict interpretation (D.5) performed by an independent judge — a different model snapshot than GPT-5.6-sol, or a deterministic comparator for code-extractable observations — before any handoff to G. If the 21.8 pp advantage over Naive RSI shrinks materially (roughly below 10 pp, or inside run-level noise), self-interpreted verdicts are load-bearing and the mechanism attribution fails.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The headline pass-rate comparison is internally well controlled: matched 24-hour budgets and per-task limits, a shared seed workflow and inner model, held-out isolation asserted in §2, §5.1, C.5, and D.6, three runs per condition, and every percentage in Tables 3, 4, 5, and 12 recomputes exactly (e.g., 273/1840 = 14.8%, 1037/2491 = 41.6%, 59.2−33.0 = 26.2). The load-bearing weak spot is the causal attribution. SO-RSI's distinctive claim is that executable probes supply evidence that guides G (Section 4.2, Appendix D.5), but D.1 fixes one base LLM with contexts for detection, investigation, and editing, and D.5 has that same model interpret probe outputs against its own pre-recorded prediction, returning supported/contradicted/inconclusive. Nothing independently verifies those verdicts, and the handoff rule requires only 'at least one completed diagnostic check supporting an identifiable workflow intervention' (D.5), so a single self-confirming probe suffices to route an edit proposal. D.6's dev acceptance filters downstream, so the head-to-head is not internally unfair (Naive RSI edits face the same filter); the residual risk is that a dev-passing edit issued from a wrong verdict is a wrong diagnosis that regresses on test, in which case the advantage reflects confirmation habits rather than second-order evidence. The paper never measures verdict accuracy. The behavioral rates that would corroborate probe value (Tested 46.0% vs 14.8%; Revised 22.6% vs 0.9%, Table 5) are point estimates pooled without run-level standard deviations (acknowledged, b143/b416), reconstructed from traces at roughly 1,250–3,200 episodes per cell (Table 12), with no inter-annotator agreement reported, so they cannot distinguish 'probes carry accurate evidence' from 'probes steer context'.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper proposes SO-RSI, a recursive self-improvement framework that replaces first-order parameter patching with second-order, mechanism-level diagnosis. SO-RSI monitors execution traces for three anomaly signals (recurrence, opposing edits, expectation mismatch), triggers a mechanism-investigation loop that forms testable hypotheses and runs executable diagnostic probes, retains findings in a persistent investigation memory, and hands supported findings to an evidence-guided workflow editor (G). The main empirical claims are a 21.8 percentage-point gain over Naive RSI on Lean 4 proof generation (71.2% vs 49.4%) and a 25.8 pp gain on Verus verifiable code generation (59.2% vs 33.4%) under matched 24-hour budgets, plus ablations showing that removing executable probes or persistent memory reduces performance (Table 4). A behavioral audit (Tables 1-2, 5) reports that SO-RSI tests more mechanism hypotheses, revises more decisions, reduces mechanism recurrence, and lowers zero-progress loops. The paper also reports an observational audit of 134 optimization attempts from five Naive RSI trajectories (Section 3), used to motivate the selective-escalation design.","tokens_in":22522,"tokens_out":1610,"duration_ms":49943,"significance":"If the central claim holds, the contribution is real: a practical, budgeted recipe for making LLM-driven RSI investigate 'why' before editing, with reproducible controls. The paper's strengths are concrete: matched 24-hour budgets and per-task limits for both methods; held-out test sets that never guide optimization (Section 5.2, C.5, D.6); a shared seed workflow and inner model; all reported percentages recompute exactly from stated counts (e.g., Table 12: 273/1840=14.8%, 1037/2491=41.6%); ablations that isolate probes and memory as design components; and a conservative audit convention in which only direct repair counts as first-order. The framework is described at implementation-spec level (Appendix D.1-D.6), which is unusually actionable. The main unresolved risk is causal attribution: the claim that executable probes supply evidence that guides G rests on probe verdicts that are assigned by the same LLM that formed the hypothesis, and whose accuracy is never measured. The headline pass-rate comparison is internally well controlled; the mechanistic interpretation is what needs additional support.","major_comments":[{"comment":"The load-bearing weakness is the reliability of probe verdicts. Appendix D.5 specifies that the LLM compares probe outputs against its own pre-recorded prediction and returns 'supported/contradicted/inconclusive', and the handoff rule requires only 'at least one completed diagnostic check supporting an identifiable workflow intervention' to authorize an edit proposal. Verdict accuracy is never measured, and the paper's own note that this 'authorizes an edit proposal, not a claim that the root cause has been conclusively established' does not resolve the risk. Since Sections 4.2-4.3 and Section 6 ('What explains the gains?') attribute the 21.8/25.8 pp advantage to probe-supplied evidence, the paper should provide independent evidence on verdict reliability: for example, human or independent-model annotation of a sample of recorded probe verdicts against the stored artifacts, or a breakdown of how many handed-off edits traced to probe results that later reversed. Without such a check, the causal story is indistinguishable from an LLM confirmation-habit explanation in which self-confirming single probes produce dev-passing but test-regressing edits.","section":"§4.2-4.3, Appendix D.5","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The behavioral rates that carry the causal narrative — Tested 46.0% vs 14.8% and Revised 22.6% vs 0.9% on Lean, with analogous VCG numbers — are pooled point estimates with no run-level standard deviation (acknowledged in the table and in C.5), and they are produced by applying the author-designed F/H/I/G/U coding scheme to full traces. Although C.5 states that independent reviewers apply the same criteria and resolve disagreements with reference to recorded artifacts, no inter-annotator agreement statistic is reported anywhere. Because the magnitude of these differences is quoted as evidence of a behavioral shift ('46.0% of Lean investigations... compared with 14.8%'), the paper should report per-run numerators, agreement statistics, and, where possible, run-level variance for the main behavioral rates; the current presentation supports a qualitative shift but not the precise magnitudes asserted in Section 6.","section":"§6, Table 5, Appendix C.5-C.6","authors_acknowledge":"The table reports point estimates; run-level standard deviations are not available for these behavioral metrics.","authors_acknowledge_p":0.63}],"minor_comments":[{"comment":"The abstract says SO-RSI 'eliminates unproductive zero-progress optimization loops', but Table 5 reports 7.2 and 8.6 zero-progress loops per 100 evaluated edits for SO-RSI. 'Substantially reduces' is accurate; 'eliminates' overstates the reported numbers.","section":"Abstract / Table 5","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Section 2 says the paper reports 'token use, verifier calls, and wall time' for the budget in Eq. (1), but Appendix C.4 states 'aggregate token cost is not reported'. Since the budget is time-based, the two statements can be reconciled, but the wording in Section 2 should be adjusted to avoid implying token-cost reporting.","section":"§2, §C.4","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The claim that SO-RSI 'remains ahead at every reported checkpoint after initialization' should be qualified: the caption notes that checkpoints 1-11 are 'shown in sequence, not elapsed-time intervals', so a lead at checkpoints is not a lead at equal time slices. The final-budget comparison is the fair one, and the sentence should say so.","section":"§5.2, Figure 3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The investigation totals for the w/o-probes rows (2,017 for Lean and 1,668 for VCG) appear only in the caption; placing them in the table body would make the denominator accounting easier to verify.","section":"Table 12","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"A citation title contains a typo ('From semantic to reasoing' in Yao et al., 2026a), and the VeriSoftBench author name appears as 'I¸ sil Dillig' with a rendering artifact; both should be corrected.","section":"References","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"The headline result is real and worth taking seriously. Under matched 24-hour budgets, with three runs per condition and held-out tasks kept out of the optimization loop, SO-RSI beats Naive RSI by 21.8 percentage points on Lean 4 proof generation and 25.8 on Verus VCG. Run-level standard deviations (1.9 to 5.2) are small relative to those effects, and the percentages I checked recompute cleanly. No load-bearing arithmetic flaw here.\n\nWhat is actually new: the audit showing only 11.2% of 134 first-order RSI attempts include an observable diagnostic check (Table 1), and the composition of three anomaly triggers with persistent investigation memory and evidence-guided handoff. The ingredients exist in the cited literature — SICA, HarnessFix, AutoManual — but the integration and the evaluation are new. The ablations do real work: removing executable probes costs 7.8 points on Lean and 26.2 on VCG; removing memory costs 10.3 and 22.5. The paper is unusually careful about internal controls: matched budgets, identical per-task limits, shared seed workflow and inner model, held-out isolation asserted throughout, and no fitted quantity that defines the target result. Circularity burden is genuinely low.\n\nThe soft spot, in proportion, is the mechanism claim. Per Appendix D.5, one 'supported' probe check, interpreted by GPT-5.6-sol against its own pre-recorded prediction, is enough to route an edit proposal to G, and verdict accuracy is never measured. The paper is transparent that handoff authorizes an edit proposal, not a confirmed root cause, and the dev acceptance filter applies to both methods, so the head-to-head is not unfair. The worry stands though: if wrong verdicts survive the filter and regress on test, the gains could reflect confirmation habits rather than second-order evidence. The behavioral rates in Table 5 (Tested 46.0 vs 14.8%, Revised 22.6 vs 0.9%) are pooled point estimates without run-level variance or reported inter-annotator agreement; the paper acknowledges the first limitation but not the second, and they cannot yet distinguish 'probes carry accurate evidence' from 'probes steer context.'\n\nTwo smaller complaints. The abstract says the method eliminates zero-progress optimization loops, while Table 5 still shows 7.2 and 8.6 loops per 100 evaluated edits — a large reduction from 18.7 and 21.4, but not elimination. And there is no released code, data, or traces; for a method whose value depends on LLM-mediated diagnosis, artifacts matter.\n\nThis paper is for people working on self-improving agents and agentic formal verification. It deserves a serious referee. I would send it to peer review expecting revision: ask for a human-labeled sample of probe verdicts, inter-annotator agreement on the behavioral labels, a fixed abstract, and released artifacts. The headline pass-rate claim will likely survive; the mechanism explanation needs the extra evidence.","headline":"A well-controlled empirical paper whose headline pass-rate gains look real, but whose mechanism claim rests on unmeasured, self-interpreted probe verdicts — worth a serious referee with revision.","tokens_in":21732,"tokens_out":5119,"duration_ms":57410},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"SO-RSI turns recursive self-improvement into a diagnostic pass: instead of patching surface parameters in response to failure symptoms, it investigates the workflow mechanism that produces the failure, runs executable probes to test the…","keywords":["recursive self-improvement","second-order problem solving","formal verification","Lean 4","Verus","diagnostic probing","mechanism investigation","workflow optimization"],"falsifier":"Audit accepted evidence-guided edits for whether their supported mechanism predictions actually hold on later recurrence checks, or ablate diagnosis quality directly by injecting systematically wrong probe interpretations into some runs: if final held-out pass rates barely change, the reported gains are not attributable to the diagnostic machinery and would not transfer to weaker improvement models.","tokens_in":21808,"feed_emoji":"🔍","tokens_out":4684,"duration_ms":30904,"temperature":0.7,"pith_summary":"The paper argues that standard recursive self-improvement is a first-order optimizer: it patches surface-level workflow parameters in response to immediate failure symptoms, which can produce thrashing between opposing fixes without resolving the underlying cause. SO-RSI adds a second-order diagnostic layer that monitors execution traces for three structural anomalies (recurrence, opposing edits, and expectation mismatch), and when one appears, launches a mechanism investigation that forms testable hypotheses, executes lightweight diagnostic probes, and retains findings in a persistent investigation memory across RSI rounds. Evidence from those probes then guides the workflow edit, turning improvement from parameter-tuning into mechanism-level change. Under matched 24-hour budgets, SO-RSI beats Naive RSI by 21.8 percentage points on Lean 4 proof generation and 25.8 points on Verus verifiable code generation. The central claim is that durable improvement requires understanding why a failure recurs, not just fixing the symptom in front of you.","feed_headline":"Diagnose before patching lifts Lean pass rate 22 points","feed_subtitle":"Anomaly-triggered probes and persistent investigation beat blind parameter patching by 21.8 and 25.8 points on Lean and Verus.","key_machinery":"The framework's load-bearing objects are the three anomaly signals and the two-stage investigation loop. A lightweight detector scans execution traces for recurrence (a failure signature persisting across attempted fixes), reversal (opposing edits aimed at similar symptoms), and expectation mismatch (an observed outcome that contradicts the stated rationale), routing flagged records into investigation. The mechanism questioner then forms testable hypotheses, each specifying an implicated workflow operation, supporting and conflicting observations, a predicted outcome, and an executable check; the controller runs the chosen probe in an isolated workspace and compares actual outputs against the pre-recorded prediction. Persistent investigation memory links attempts, hypotheses, executed checks, and open questions so later rounds resume from collected evidence. The handoff rule is the gate: at least one completed diagnostic check supporting an identifiable workflow intervention is required before the evidence-guided improvement step, and that step authorizes an edit proposal rather than a confirmed root cause.","core_discovery":"The central claim is that a diagnostic inquiry inserted into recursive self-improvement converts more of the optimization budget into durable workflow change than blind parameter patching. SO-RSI detects improvement anomalies, forms non-mutually-exclusive mechanism hypotheses, validates them with executable probes, and uses supported findings to guide workflow interventions while keeping direct repairs when they suffice. On held-out tasks the paper reports final pass rates of 71.2% versus 49.4% on Lean 4 and 59.2% versus 33.4% on Verus VCG, an advantage that persists at every reported checkpoint after initialization. Behavioral analysis attributes the gain to more frequent mechanism testing (46.0% and 41.6% of investigations versus 14.8% and 8.9% for Naive RSI), higher acceptance and larger gains on evidence-guided edits, and large drops in mechanism recurrence and zero-progress loops. Ablations show that removing either executable probes or persistent investigation memory measurably erodes the benefit, so the gain rests on both executing diagnostic checks and retaining their results across rounds.","pith_inferences":["The mechanism plausibly generalizes beyond formal verification to any agentic loop where failure signals recur and quick fixes conflict: the anomaly-triggered investigation pattern is domain-agnostic, though its measured gains here are confined to Lean and Verus.","The reported single-budget gains may compound over longer horizons, since evidence-guided mechanism fixes accumulate while first-order thrashing keeps burning budget on oscillating parameter changes.","A testable extension is to measure probe-verdict accuracy against later-validated root causes: because the handoff rule admits any edit proposal backed by at least one supporting check, the framework's ceiling is set by how often LLM-generated probes confirm hypotheses that are actually wrong.","There is likely a regime boundary where cheap direct repair dominates: when failures are rare and uncorrelated, the overhead of detection and probing may exceed the benefit, so the method's value should be maximal in settings with frequent, structured failure recurrence."],"forward_implications":["Selective escalation becomes the operating mode: direct repairs stay useful, and investigation is triggered only by anomalies, so the diagnostic overhead is bounded by the anomalies actually observed rather than applied uniformly.","Durable progress replaces symptom-fixing: on the audited cases SO-RSI cuts mechanism recurrence by 31.4 points on Lean and 35.7 points on VCG and reduces zero-progress loops from 18.7 to 7.2 and 21.4 to 8.6 per 100 evaluated edits.","Both design choices matter: removing executable probes lowers final pass rate by 7.8 points on Lean and 26.2 points on VCG, and removing persistent investigation memory lowers it by 10.3 and 22.5 points, so textual explanation alone does not recover the benefit.","The framework needs no new training: a fixed base LLM serves detection, investigation, and editing through distinct contexts, so the mechanism is portable to any agent whose workflow can be edited and re-evaluated.","Naive RSI itself improves substantially over the shared seed, so SO-RSI's advantage is additional to ordinary workflow optimization rather than a substitute for it."],"supporting_citations":[{"why":"Supplies the second-order problem-solving distinction between immediate workarounds and efforts to address the process producing recurring failures, which the paper adapts to RSI.","marker":"(Tucker & Edmondson, 2003)"},{"why":"Establishes the recursive self-improvement baseline (SICA) that SO-RSI extends and evaluates against.","marker":"(Robeyns et al., 2025)"},{"why":"HarnessFix connects failed trajectories to harness mechanisms and validated repairs, the prior mechanism-diagnosis work SO-RSI builds on.","marker":"(Chen et al., 2026)"},{"why":"Provides the seed workflow, Lean dataset, and per-task optimization configuration reused for the Lean experiments.","marker":"(RSI-Exam, 2026)"},{"why":"VeriSoftBench supplies additional Lean problems with project-specific definitions supplementing the RSI-Exam set.","marker":"(Xin et al., 2026)"},{"why":"VeriContest provides the hard-labeled Verus problems used for the verifiable code generation evaluation.","marker":"(Xie et al., 2026)"},{"why":"AutoManual's experience maintenance motivates the persistent investigation memory design.","marker":"(Chen et al., 2024)"}],"fun_headline_variants":["Diagnose before patching lifts Lean pass rate 22 points","Why-fix beats trial-error: RSI gains 26 points on Verus","Probe failures first: verifier RSI gains 22-26 points","Second-order RSI: causal probes beat shallow patching","Investigate failures, not just fixes: RSI pass rates soar"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The entire benefit rests on the improvement model diagnosing correctly: it must detect the anomaly signals, form testable mechanism hypotheses, generate discriminating probes, interpret probe results, and — under the lenient rule that one supported check authorizes an edit proposal rather than a confirmed root cause — avoid admitting so many wrong-but-supported edits that the gains reverse.","fun_headline_variants_meta":{"raw":{"variants":["Diagnose before patching lifts Lean pass rate 22 points","Why-fix beats trial-error: RSI gains 26 points on Verus","Probe failures first: verifier RSI gains 22-26 points","Second-order RSI: causal probes beat shallow patching","Investigate failures, not just fixes: RSI pass rates soar"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000143,"raw_usage":{"cost":0.000143388,"is_byok":false,"cost_details":{"upstream_inference_cost":0.000143388,"upstream_inference_prompt_cost":0.000108108,"upstream_inference_completions_cost":3.528e-05},"total_tokens":1103,"prompt_tokens":977,"completion_tokens":126,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":256,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":32}},"tokens_in":977,"tokens_out":126,"cost_source":"openrouter_usage","duration_ms":2133,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":32,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-07T00:42:25.856258+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Audit accepted evidence-guided edits for whether their supported mechanism predictions actually hold on later recurrence checks, or ablate diagnosis quality directly by injecting systematically wrong probe interpretations into some runs: if final held-out pass rates barely change, the reported gains are not attributable to the diagnostic machinery and would not transfer to weaker improvement models.","supporting_citations":[{"cited_title":"Too few lemmas; increasek","cited_arxiv_id":null,"evidence_quote":"Supplies the second-order problem-solving distinction between immediate workarounds and efforts to address the process producing recurring failures, which the paper adapts to RSI."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}