arXiv:2610.33368cs.LGOct 2026

Manuscript Offprint

arXiv:2610.33368

Multiple Importance Sampling for Guided Speculative Inference

Joseph Rowan, Ashish J. Khisti

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Joseph Rowan and Ashish J. Khisti

Department of Electrical and Computer Engineering, University of Toronto

Email: joseph.rowan@mail.utoronto.ca, akhisti@ece.utoronto.ca

Abstract—We study an extension of the Guided Speculative Inference (GSI) algorithm [1] for test-time-scaling of large language models (LLMs) to a novel setting where an ensemble of smaller LLMs proposes draft reasoning steps which are later verified by a larger base model and a process reward model. Using the established framework of multiple importance sampling (MIS), we introduce weighting schemes to aggregate samples from a diverse collection of proposal distributions. We provide new bounds on the KL divergence from the optimal reward-tilted target distribution and the expected reward degradation, then demonstrate that the well-known balance heuristic is optimal. Compared to GSI with a single well-tuned drafter, combining several diverse LLMs while retaining the same total number of samples maintains competitive pass-at-N downstream performance while being mathematically robust to situations where the support of a single draft model does not cover that of the target, where GSI may fail.

I. INTRODUCTION

Scaling computation in the pretraining phase, by increasing both the number of parameters and the size of training data, has driven remarkable improvements in the performance of large language models (LLMs) and achieved state-of-the-art results in many generative natural language tasks [2], [3]. However, as limits to both computational resources and the data available for pretraining become apparent, test-time scaling has emerged as a complementary approach for further improving the performance of an already-trained model by increasing the amount of computation at inference time [4]–[6]. While numerous approaches to test-time scaling exist, most may be categorized as either sequential, parallel or hybrid methods [6]. In sequential approaches, a response is refined iteratively, with later computations building upon previous steps. On the other hand, parallel methods generate several full responses in a single batch and return the best one as determined by an aggregation function. Hybrid approaches attempt to combine the best of both worlds by generating multiple candidates at each iteration of a sequential process, then determining the most promising path by means of a search algorithm.

Best-of-N (BoN) sampling is a straightforward scaling approach that can be used in both the parallel and hybrid regimes [7], [8]. It involves drawing N samples from the model, evaluating a score for each, and choosing whichever sample has the highest score. Despite its simplicity, BoN remains popular in practice by virtue of mapping readily to efficient prompt batching, and enjoys desirable theoretical properties while being competitive with more involved and computationally expensive test-time strategies [9]. As N grows large however, the cost of BoN sampling may itself become prohibitive, which has motivated the search for methods that perform repeated sampling from a cheaper proxy model coupled with parallel verification by the original, large model to obtain comparable performance with reduced latency, analogous to speculative decoding in standard inference [1], [10]–[12]. Guided Speculative Inference (GSI) [1] is a recent algorithm that uses a small LLM to generate candidates for verification, weighting them in such a way that the output distribution becomes close to the target. However, as it relies on the fragile assumption that a single drafter's support can cover the target distribution, GSI remains vulnerable to lower acceptance rates during verification and degraded performance if the draft model is chosen poorly. In this work we motivate the use of an ensemble of draft models to increase robustness, relaxing the coverage requirement to one on the union of the drafters' supports by introducing a principled multiple importance sampling (MIS) [13] framework for resampling the proposal sequences.

References (35)