Not-a-Bandit: Provably No-Regret Drafter Selection in Speculative Decoding for LLMs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Liu, Hongyi, Huang, Jiaji, Jia, Zhen, Park, Youngsuk, Wang, Yu-Xiang
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908987572617216
author Liu, Hongyi
Huang, Jiaji
Jia, Zhen
Park, Youngsuk
Wang, Yu-Xiang
author_facet Liu, Hongyi
Huang, Jiaji
Jia, Zhen
Park, Youngsuk
Wang, Yu-Xiang
contents Speculative decoding is widely used in accelerating large language model (LLM) inference. In this work, we focus on the online draft model selection problem in speculative decoding. We design an algorithm that provably competes with the best draft model in hindsight for each query in terms of either the token acceptance probability or expected acceptance length. In particular, we show that we can accurately evaluate all draft models, instead of only the chosen model without incurring additional queries to the target model, which allows us to improve exponentially over the existing bandit-based approach as the number of draft models increases. Our approach is generically applicable with any speculative decoding methods (single draft, multi-drafts and draft-trees). Moreover, we design system-efficient versions of online learners and demonstrate that the overhead in computation and latency can be substantially reduced. We conduct extensive experiments on open-source LLMs and diverse datasets, demonstrating that our methods substantially outperform the state-of-the-art EAGLE3 and the BanditSpec baseline in a variety of domains where specialized domain-expert drafters are available, especially when long reasoning chains are required.
format Preprint
id arxiv_https___arxiv_org_abs_2510_20064
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Not-a-Bandit: Provably No-Regret Drafter Selection in Speculative Decoding for LLMs
Liu, Hongyi
Huang, Jiaji
Jia, Zhen
Park, Youngsuk
Wang, Yu-Xiang
Machine Learning
Speculative decoding is widely used in accelerating large language model (LLM) inference. In this work, we focus on the online draft model selection problem in speculative decoding. We design an algorithm that provably competes with the best draft model in hindsight for each query in terms of either the token acceptance probability or expected acceptance length. In particular, we show that we can accurately evaluate all draft models, instead of only the chosen model without incurring additional queries to the target model, which allows us to improve exponentially over the existing bandit-based approach as the number of draft models increases. Our approach is generically applicable with any speculative decoding methods (single draft, multi-drafts and draft-trees). Moreover, we design system-efficient versions of online learners and demonstrate that the overhead in computation and latency can be substantially reduced. We conduct extensive experiments on open-source LLMs and diverse datasets, demonstrating that our methods substantially outperform the state-of-the-art EAGLE3 and the BanditSpec baseline in a variety of domains where specialized domain-expert drafters are available, especially when long reasoning chains are required.
title Not-a-Bandit: Provably No-Regret Drafter Selection in Speculative Decoding for LLMs
topic Machine Learning
url https://arxiv.org/abs/2510.20064