首页 > AI前沿 > SparseCheck: Sublinear Verification and Targeted Repair for Long Language-Model Reasoning Traces

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

arXiv自然语言 2026-12-04 13:00 18 阅读 查看原文

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 $T$ steps with $k$ faulty steps, SparseCheck uses $O(k \log(T/k))$ interval decisions rather than $T$ atomic checks while reading $O(T(1+\log k))$ step-tokens, and we prove exact localization with probability at least $1-\delta$ under a symmetric noisy-verifier model. Controlled simulations over traces of up to 256 steps show $4.2$--$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.