SparseCheck: Efficient Verification and Repair of Long Reasoning Traces under Sparse Errors

SparseCheck uses the sparse-error assumption to make verification cost proportional to the number of errors via interval bisection and sequential testing.
SparseCheck is an inference-time verification algorithm for long reasoning traces. Its core insight is that erroneous steps are typically sparse, so verification cost should scale with the number of errors rather than trace length. It queries a black-box interval verifier, splits only intervals judged to contain errors, and models each decision as a sequential probability ratio test to control missed-detection and false-positive probabilities under verifier noise. After locating an error, it regenerates only a local window and preserves trusted checkpoints. Theory shows that for a trace of length T with k errors, only O(k log(T/k)) interval decisions are needed. Experiments show 4.2–12.0× fewer verifier calls than step-by-step verification at a 10% verifier error rate with at least 99.8% exact localization; on four reasoning benchmarks it scores 46.3% on average, 1.1 points above OmegaPRM, with 39% fewer verifier tokens and 81% of the original trace preserved, outperforming TTEL in error localization accuracy.
Step-by-step verification of long reasoning traces is expensive, yet failed solutions often contain only a few erroneous steps. Targeting this sparse-error regime, researchers propose SparseCheck—an inference-time algorithm that queries a black-box interval verifier, splits only intervals judged to contain errors, and regenerates only local windows while preserving trusted checkpoints. Each interval decision uses a sequential probability ratio test, which controls the probability of missing or falsely flagging errors even when the verifier is noisy.

Core Idea: Verification Cost Should Scale with the Number of Errors
Traditional step-by-step verification requires atomic checks on every step in a trace, with cost scaling linearly with trace length T. However, errors are typically sparse: a long trace may contain only k erroneous steps, with k far smaller than T. The core insight of SparseCheck is that verification cost should scale with the number of errors, not with trace length.
For a trace of length T containing k erroneous steps, SparseCheck uses only O(k log(T/k)) interval decisions instead of T atomic checks, while reading O(T(1+log k)) step tokens. Under a symmetric noisy verifier model, the algorithm is proven to achieve exact error localization with probability at least 1-δ.
Algorithm Mechanism: Binary Splitting and Sequential Testing
SparseCheck's workflow centers on interval verification. The algorithm first queries the black-box verifier's judgment on the entire trace or the current interval; if the verifier indicates an error, the interval is bisected and sub-intervals are recursively checked. Each interval decision is not a simple yes/no judgment but is modeled as a sequential probability ratio test, thereby controlling error probabilities even in the presence of verifier noise.
Once an erroneous step is located, the algorithm regenerates only that local window while preserving trusted checkpoints before and after. This "locate-and-repair" loop avoids full rewriting and significantly reduces generation cost.
Sequential Probability Ratio Test (SPRT) is a classic statistical hypothesis testing method proposed by Wald in 1945. Unlike tests with fixed sample sizes, SPRT computes the likelihood ratio after each observation and compares it against two thresholds (corresponding to the null and alternative hypotheses): if the likelihood ratio exceeds the upper threshold, the alternative hypothesis is accepted; if it falls below the lower threshold, the null hypothesis is accepted; otherwise, sampling continues. This "look-as-you-go" strategy requires the fewest samples on average for the same error probability, making it particularly suitable for scenarios with expensive verification where early stopping is desirable. In SparseCheck, whether each interval contains an error is modeled as two hypotheses (error vs. no error), and the verifier's query results on the interval serve as noisy observations; SPRT decides whether to continue splitting or accept the current judgment, thereby keeping the probabilities of missed detections and false positives at preset levels even when the verifier is noisy.
Experimental Performance: Fewer Calls, Higher Accuracy
In controlled simulations with up to 256 steps, when the verifier error rate is 10%, SparseCheck reduces verifier calls by 4.2 to 12.0 times compared to step-by-step verification while maintaining at least 99.8% exact error localization rate. This demonstrates that the algorithm remains robust in noisy environments.
On four reasoning benchmarks, SparseCheck achieves an average score of 46.3%, 1.1 percentage points higher than OmegaPRM, while using 39% fewer verifier input tokens and preserving 81% of the original trace. Furthermore, for every error type, SparseCheck outperforms TTEL in accurately locating erroneous steps.
These results validate the effectiveness of the sparse verification approach: by intelligently allocating the verification budget, computational overhead can be substantially reduced without sacrificing accuracy.
OmegaPRM is a previously proposed inference-time verification and data collection method based on Monte Carlo tree search. It locates the first erroneous step by probing reasoning paths step by step and uses a process reward model for fine-grained scoring. Unlike SparseCheck's "interval bisection + sequential testing," OmegaPRM tends to perform relatively dense step-by-step queries on traces, resulting in higher verifier calls and token consumption. SparseCheck achieves a slightly higher average score on four reasoning benchmarks with fewer verifier input tokens (39% reduction), demonstrating that its sparse verification strategy significantly lowers verification overhead while maintaining or even improving accuracy. TTEL is another error localization baseline, and SparseCheck outperforms it in localization accuracy across all error types, further validating the effectiveness of combining interval bisection with statistical testing.
Significance and Limitations
SparseCheck transforms inference-time verification from "uniform scanning" to "targeted localization," providing a new paradigm for efficient verification of long reasoning chains. Its theoretical guarantees and experimental results show that the sparse-error assumption has practical value in real-world reasoning tasks.
However, the method relies on an available black-box interval verifier, and the verifier's noise level affects actual performance. Future work may need to explore more general verifier designs and extend sparse verification to more complex reasoning structures.
One-line Summary
SparseCheck leverages the sparse-error assumption to reduce verification cost to be proportional to the number of errors through interval bisection and sequential testing.
Paragraph Summary
SparseCheck is an inference-time verification algorithm for long reasoning traces. Its core insight is that erroneous steps are typically sparse, so verification cost should scale with the number of errors rather than trace length. The algorithm queries a black-box interval verifier, splits only intervals judged to contain errors, and models each interval decision as a sequential probability ratio test, thereby controlling missed-detection and false-positive probabilities even when the verifier is noisy. After locating an erroneous step, it regenerates only a local window and preserves trusted checkpoints. Theoretical analysis shows that for a trace of length T containing k errors, only O(k log(T/k)) interval decisions are needed. Experiments show that at a 10% verifier error rate, verifier calls are reduced by 4.2 to 12.0 times compared to step-by-step verification, with an exact error localization rate of at least 99.8%; on four reasoning benchmarks, it achieves an average score of 46.3%, surpassing OmegaPRM by 1.1 points while reducing verifier tokens by 39% and preserving 81% of the original trace, with error localization accuracy consistently better than TTEL.
Related articles

ICM-Architect: Designing AI Agent Architecture with Folder Structures
GitHub project RinDig/icm-architect uses folder structures as agent architecture, supporting from-scratch design or restructuring existing directories. It gained 2,810 stars in a single day—worth attention from agent developers.

CrossDesk: A Lightweight Cross-Platform Remote Desktop with Web Access
CrossDesk is a lightweight cross-platform remote desktop software written in C++, supporting Web client access, with over 10,000 stars on GitHub. This article analyzes its lightweight design, cross-platform capabilities, and Web access features, and discusses suitable use cases.

GitHub Daily · December 06: Local AI and Agent Infrastructure Both Surge
GitHub Trending Dec 06: local AI inference surges with Strata and omlx, while agent infrastructure matures with Chrome MCP, openworker, and more.