AI & Computational Science

Sequential Stopping Rules for LLM Reasoning

⚠️ Preprint – Noch nicht peer-reviewed

Dieser Artikel wurde noch nicht von unabhängigen Experten begutachtet. Die Ergebnisse sind vorläufig und sollten mit Vorsicht interpretiert werden.

Abstract: Long-context reasoning in large language models (LLMs) is sequential evidence accumulation: each added sample, token, or step contributes information, and when computation is costly, deciding when to stop is a statistical problem. Existing heuristics (fixed budgets, confidence thresholds, entropy-based early exit) lack formal guarantees. We develop a framework grounded in classical sequential analysis, testing whether accumulated evidence has positive drift, with Type I error controlled at any data-dependent stopping time via Ville’s inequality. We study two test supermartingales: a Beta-mixture e-process, with an $O(sqrt{n log n})$ boundary, and a Robbins-stitched betting e-process, attaining the law-of-the-iterated-logarithm rate $O(sqrt{n log log n})$. Both give exact finite-sample control; the latter is rate-optimal (not constant-optimal), the lower bound imported from Wald (1945), Farrell (1964), and Lai (1976). We instantiate two settings: self-consistency certification (an i.i.d. $pm 1$ vote process) and a cross-context content-sensitivity certificate for PaTH attention (a per-input certificate is precluded by within-context dependence and left open). Simulations of the actual constructions confirm validity; the cross-context PaTH certificate controls Type I with power 0.994; and on 60 GSM8K problems the method certifies 59/60, including one incorrect plurality, since self-consistency certifies the mode, not correctness. The finite-sample efficiency gap is small and sign-varying, favoring the simpler Beta-mixture.

Source: Sequential Stopping Rules for LLM Reasoning