cs.LGSep 24, 2026

Mentored Decoding: Faster Inference meets Boosting

Authors: Vivien Tran-Thien, Richard Nock

Organizations: Google

Abstract

Speculative decoding is a successful technique speeding up inference of a target autoregressive language model via a fast drafter model. Lossy speculative decoding allows a drift with respect to the target to further improve speed. Interestingly, it has been observed experimentally that the resulting model can also\textit{also} beat the target quality-wise\textit{quality-wise}. Our paper formally proves how such a feat is possible with a formal approach to lossy speculative decoding called mentored decoding\textit{mentored decoding}. To get there, we connect inference to a celebrated ML training theory, boosting\textit{boosting}, and proceed via the generalization of mentored decoding to the whole set of ff-divergences. We uncover key properties of mentored decoding, among which (i) the particularly appealing geometric nature of the total variation case, (ii) simple approximations for any ff-divergence in direct relation with boosting compliance, and (iii) a divergence independent\textit{divergence independent} O(n)O(n) space and O(sort(n))O(\mathrm{sort}(n)) time data structure built on drafter and target outputs, which allows to query the optimal parameters of the dual problem in O(log⁡n)O(\log n) time and constructing optimal mentored distributions in O(n)O(n) time for any ff-divergence.

Figures & tables

Explore similar work

CardsList
  1. DIVERSED: Relaxed Speculative Decoding via Dynamic Ensemble Verification

    Apr 8, 2026Ziyi Wang, Siva Rajesh Kasa, Ankith M S +6Speculative DecodingLLM Inference Acceleration

  2. Speculative Speculative Decoding

    Mar 3, 2026Tanishq Kumar, Tri Dao, Avner MaySpeculative DecodingLLM Inference Acceleration

  3. Faster LLM Inference via Sequential Monte Carlo

    Apr 17, 2026Yahya Emara, Mauricio Barba da Costa, Chi-Chih Chang +4Speculative DecodingLLM Inference Acceleration