Statistics > Methodology
Title:Sequential Stopping Rules for LLM Reasoning
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.
| Subjects: | Methodology (stat.ME) ; Computation and Language (cs.CL); Machine Learning (cs.LG); Machine Learning (stat.ML) |
|---|---|
| MSC classes: | 62L10, 62L15, 60G42, 68T50 |
| Cite as: | arXiv:2612.04034 [stat.ME] |
| (or arXiv:2612.04034v1 [stat.ME] for this version) | |
| https://doi.org/10.48550/arXiv.2612.04034 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.