PreSTO: Predictive Subtree Prefetching for Fast LLM Power Sampling
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 \textit{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 \textit{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 , , and on PowerMH and its follow-ups EntropyCut and MultiTryMH, respectively; on the first two, it makes a median of fewer model calls, each only longer. On LCB V6 with Qwen3.5-9B, the predictive traversal rule is a further -- faster than the default breadth-first traversal.
Create a lesson
Related papers
Verifiable but Not Predictable: What Sentence Embeddings Know About Propositional Decomposition
Shared title terminologycs.CLQingan Li, Tianxiao Wu, Xiling Cui
LogToPersona: New Benchmark and Efficient Persona Prediction through Semantic Log Filtering
Shared title terminologycs.CLAhmed Alajrami, Ondrej Bohdal, Seokwoo Song et al.
Open-Source FUTO Keyboard Layouts and Predictive Text for a Few Endangered Languages
Shared title terminologycs.CLMika Hämäläinen, Jack Rueter, Khalid Alnajjar
SALSA: Sampling Adversarial Suffixes from Learned Distributions for LLM Safety Assessment
Shared title terminologycs.CLShivank Rajput, Himanshu Singh, A. V. Subramanyam
Phoneme-identity depth profiles do not reliably predict LoRA placement for dysarthric ASR
Shared title terminologycs.CLBernard Muller, LaVonne Roberts
ArabFake: A multitask deep learning framework for Arabic fake news Detection, Categorization, and risk prediction
Shared title terminologycs.CLAhmed Maher Khafaga Shehata, Mohammed Nasser Al-Suqri, Nour Eldin Mohamed Elshaiekh Osman et al.