Martingale Foresight Sampling: A Principled Approach to Inference-Time LLM Decoding
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Standard autoregressive decoding in large language models (LLMs) is inherently short-sighted, often failing to find globally optimal reasoning paths due to its token-by-token generation process. While inference-time strategies like foresight sampling attempt to mitigate this by simulating future steps, they typically rely on ad-hoc heuristics for valuing paths and pruning the search space. This paper introduces Martingale Foresight Sampling (MFS), a principled framework that reformulates LLM decoding as a problem of identifying an optimal stochastic process. By modeling the quality of a reasoning path as a stochastic process, we leverage Martingale theory to design a theoretically-grounded algorithm. Our approach replaces heuristic mechanisms with principles from probability theory: step valuation is derived from the Doob Decomposition Theorem to measure a path's predictable advantage, path selection uses Optional Stopping Theory for principled pruning of suboptimal candidates, and an adaptive stopping rule based on the Martingale Convergence Theorem terminates exploration once a path's quality has provably converged. Experiments on six reasoning benchmarks demonstrate that MFS surpasses state-of-the-art methods in accuracy while significantly improving computational efficiency. Code will be released at https://github.com/miraclehetech/EACL2026-Martingale-Foresight-Sampling.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 11 of its 16 references that are in the map. First posted on arXiv 21 Jan 2026.
Builds on
11 of 16 references.
Closest ancestors · 1
Same direction, newest first
Other references · 10
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2025Qwen3 Technical Reportcited by 8,195
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2020ReClor: A Reading Comprehension Dataset Requiring Logical Reasoningcited by 211
- 2024Non-myopic Generation of Language Models for Reasoning and Planningcited by 25
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Decoding Large Language Diffusion Models with Foreseeing Movement
- 2025Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs
- 2026Chopthin-Consensus Power Sampling: A Diversity-Preserving Approach to LLM Decoding
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
- 2026Think Twice Before You Write -- an Entropy-based Decoding Strategy to Enhance LLM Reasoning
- 2025On Evaluating Performance of LLM Inference Serving Systems
- 2026Selective Regenerative Decoding: Trajectory-Level Intervention for Inference-Time Reasoning
- 2026Faster LLM Inference via Sequential Monte Carlo