PreSTO: Predictive Subtree Prefetching for Fast LLM Power Sampling
cs.CL
Submitted: 2026-10-09
Updated: 2026-10-09
Code: https://github.com/nan-jiang-group/PreSTO
Project page: https://nan-jiang-group.github.io/PreSTO
License: http://creativecommons.org/licenses/by/4.0/
The gist: Power sampling improves large language model (LLM) reasoning at test time by sampling from a sharpened version of the base model's distribution.
Abstract
Power sampling improves large language model (LLM) reasoning at test time by sampling from a sharpened version of the base model's distribution. Its sampler, PowerMH, is slow because its Metropolis--Hastings (MH) updates are sequential: each accept/reject decision sets the state from which the next proposal is generated. Prior work reduces this cost by changing the sampler or the model (e.g., sequential Monte Carlo, approximate lookahead, distillation). We propose Predictive SubTree Prefetching (PreSTO), which accelerates PowerMH by prefetching future proposals and provably leaves its MH transition kernel unchanged. PreSTO views future MH outcomes as a tree of accept/reject decisions: in each model call, it generates the proposals of a prefetched subtree of this tree in one batch, then follows the realized path with the original MH acceptance rule. We also observe that MH reaches only a sparse, nearly unary part of each prefetched subtree, we further design a predictive traversal rule that chooses the subtree to maximize the predicted number of completed transitions. Across seven datasets and five base LLMs, PreSTO achieves median speedups of 1.71 times, 1.91 times, and 2.33 times on PowerMH and its follow-ups EntropyCut and MultiTryMH, respectively; on the first two, it makes a median of 3.9 times fewer model calls, each only 2.1 times longer. On LCB V6 with Qwen3.5-9B, the predictive traversal rule is a further 1.25 times -- 1.37 times faster than the default breadth-first traversal.
Sources
- Self-Consistency via Marginal Sharpening
- Program Synthesis with Large Language Models
- Power-SMC: Low-Latency Sequence-Level Power Sampling for Training-Free LLM Reasoning
- Accelerating Large Language Model Decoding with Speculative Sampling
- Evaluating Large Language Models Trained on Code
- Faster LLM Inference via Sequential Monte Carlo
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- Sample Where You Struggle: Sharpening Base Model Reasoning via Entropy-Guided Power Sampling
- Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpening
- Recipes for Steering and Scaling LLMs via Sampling
- Open-Reasoner-Zero: An Open Source Approach to Scaling Up Reinforcement Learning on the Base Model
- Depth-Entropy Guided Sampling for Training-Free LLM Reasoning
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Power Distribution Bridges Sampling, Self-Reward RL, and Self-Distillation
- Reasoning with Sampling: Cutting at Decision Points
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering