Second-Order Problem Solving for Recursive Self-Improvement in Formal Verification
cs.AI
Submitted: 2026-10-05
Updated: 2026-10-06
License: http://creativecommons.org/licenses/by/4.0/
The gist: Recursive self-improvement (RSI) enables agents to iteratively optimize their workflows via execution feedback.
Terminology
Abstract
Recursive self-improvement (RSI) enables agents to iteratively optimize their workflows via execution feedback. However, standard RSI typically operates as a first-order optimizer: it repeatedly patches surface-level parameters in response to immediate failure symptoms, often leading to trial-and-error thrashing without resolving underlying mechanisms. To address this limitation, we introduce SO-RSI, a framework that elevates workflow optimization to a second-order diagnostic inquiry, investigating why failures occur before committing to structural interventions. SO-RSI passively monitors execution traces for three structural anomalies (recurrence, opposing edits, and expectation mismatch) to trigger targeted mechanism investigations. By executing lightweight diagnostic probes and maintaining persistent inquiry memory across RSI rounds, SO-RSI accumulates causal evidence to guide systematic workflow edits rather than parameter patches. Across Lean 4 proof generation and Verus-based verifiable code generation, SO-RSI improves final held-out pass rates over Naive RSI by 21.8 and 25.8 percentage points under matched 24-hour search budgets. Behavioral analyses further confirm that SO-RSI substantially suppresses failure recurrence and eliminates unproductive zero-progress optimization loops.
Sources
- From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws
- LeanSearch v2: Global Premise Retrieval for Lean 4 Theorem Proving
- Read Before You Think: Mitigating LLM Comprehension Failures with Step-by-Step Reading
- Artificial intelligences and human scientists exhibit complementary strengths in theory building
- ICA Lens: Interpreting Language Models Without Training Another Dictionary
- WorldCoder-Bench: Benchmarking Physically Grounded 3D World Synthesis
- A Self-Improving Coding Agent
- GeoCueFormer: Geometry-Guided Wavelet Representation and Prediction-Cued Dual-Stage Decoder for Underwater Semantic Segmentation
- VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation
- VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Lean
- Chain-Aware Encoding for Microservice Trace Anomaly Detection
- ExVerus: Verus Proof Repair via Counterexample Reasoning
- ReVA: A Scene-Centric Dataset Beyond Repetition for Remote Sensing Video Question Answering
- RAG-Verus: Repository-Level Program Verification with LLMs using Retrieval Augmented Generation
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems