Multiple Importance Sampling for Guided Speculative Inference
Organizations: Department of Electrical and Computer Engineering, University of Toronto
Abstract
We study an extension of the Guided Speculative Inference (GSI) algorithm 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- 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.
Figures & tables
| MMLU-Pro | MATH-500 | |||||
|---|---|---|---|---|---|---|
| GSI | MIS-N1 | MIS-N3 | GSI | MIS-N1 | MIS-N3 | |
| 3 | 0.40 | 0.39 | 0.42 | 0.88 | 0.84 | 0.82 |
| 6 | 0.40 | 0.42 | 0.42 | 0.86 | 0.85 | 0.85 |
| 12 | 0.44 | 0.49 | 0.45 | 0.86 | 0.86 | 0.85 |
| 24 | 0.49 | 0.45 | 0.48 | 0.87 | 0.84 | 0.86 |
| 48 | 0.44 | 0.43 | 0.52 | 0.89 | 0.82 | 0.89 |
| MMLU-Pro | MATH-500 | |||||
|---|---|---|---|---|---|---|
| GSI | MIS-N1 | MIS-N3 | GSI | MIS-N1 | MIS-N3 | |
| 96 | 9.93 | 9.41 | 10.19 | 10.69 | 11.49 | 11.81 |
| 192 | 16.55 | 15.60 | 17.48 | 15.41 | 15.73 | 16.86 |
LLM Inference Acceleration
LLM inference acceleration develops algorithms and systems that reduce language-model latency, memory use, and serving cost while preserving output quality.
See all 1,090 papers