Skip to content

SparseCheck: Sublinear Verification and Targeted Repair for Long Language-Model Reasoning Traces

Huan Li, Kaige Song, Ming Wang, Sijia Song, Jinbo Hao, Ji Sun

cs.CL

Abstract

Long reasoning traces are expensive to verify step by step, yet a failed solution often contains only a few faulty transitions. We introduce SparseCheck, an inference-time algorithm for this sparse-error regime. It queries a black-box interval verifier, splits only intervals judged to contain an error, and regenerates only the localized windows while preserving trusted checkpoints. Each interval decision is a sequential probability-ratio test, which controls the probability of missing or hallucinating an error despite verifier noise. For a trace of TT steps with kk faulty steps, SparseCheck uses O(klog⁡(T/k))O(k \log(T/k)) interval decisions rather than TT atomic checks while reading O(T(1+log⁡k))O(T(1+\log k)) step-tokens, and we prove exact localization with probability at least 1−δ1-δ under a symmetric noisy-verifier model. Controlled simulations over traces of up to 256 steps show 4.24.2--12.0×12.0\times fewer verifier calls than stepwise verification at 10% verifier error, with at least 99.8% exact localization. On four reasoning benchmarks, SparseCheck reaches a 46.3% mean score, 1.1 points above OmegaPRM, while using 39% fewer verifier-input tokens and retaining 81% of the original trace; it also localizes faulty steps more accurately than TTEL on every error type. Verification cost should scale with the number of mistakes, not with the length of the trace.

Create a lesson