Sequential Stopping Rules for LLM Reasoning
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.
Authors
- Terence D. Agbeyegbe (ORCID: https://orcid.org/0000-0003-4332-792X)
- Toneukarin G. Agbeyegbe
Institutions
- Rutgers, The State University of New Jersey (US)
- The Graduate Center, CUNY (US)
- Hunter College (US)
Publication Details
- Journal
- arXiv
- Published
- 2026-12-02
- DOI
- https://doi.org/10.48550/arxiv.2612.04034
- Primary Topic
- Advanced Bandit Algorithms Research
- Type
- preprint