LK Losses: Direct Acceptance Rate Optimization for Speculative Decoding
Alexander Samarin, Sergei Krutikov, Anton Shevtsov, Sergei Skvortsov, Filipp Fisin, Alexander Golubev

TL;DR
This paper introduces LK losses, a new training objective for speculative decoding that directly optimizes acceptance rate, leading to significant speedups in large language model inference without extra computational costs.
Contribution
The paper proposes LK losses, a novel training method that directly maximizes acceptance rate in speculative decoding, outperforming traditional KL divergence minimization.
Findings
Up to 8-10% improvement in acceptance length across models.
Consistent acceptance rate gains across diverse architectures and domains.
Easy integration without additional computational overhead.
Abstract
Speculative decoding accelerates autoregressive large language model (LLM) inference by using a lightweight draft model to propose candidate tokens that are then verified in parallel by the target model. The speedup is significantly determined by the acceptance rate, yet standard training minimizes Kullback-Leibler (KL) divergence as a proxy objective. While KL divergence and acceptance rate share the same global optimum, small draft models, having limited capacity, typically converge to suboptimal solutions where minimizing KL does not guarantee maximizing acceptance rate. To address this issue, we propose LK losses, special training objectives that directly target acceptance rate. Comprehensive experiments across four draft architectures and six target models, ranging from 8B to 685B parameters, demonstrate consistent improvements in acceptance metrics across all configurations…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗nebius/MEDUSA-Llama-3.1-8B-Instructmodel· 32 dl32 dl
- 🤗nebius/MLP-Speculator-Llama-3.1-8B-Instructmodel· 14 dl14 dl
- 🤗nebius/EAGLE3-Llama-3.1-8B-Instructmodel· 14 dl14 dl
- 🤗nebius/EAGLE3-Llama-3.3-70B-Instructmodel· 94 dl94 dl
- 🤗nebius/EAGLE3-gpt-oss-20bmodel· 366 dl366 dl
- 🤗nebius/EAGLE3-gpt-oss-120bmodel· 610 dl610 dl
- 🤗nebius/EAGLE3-Qwen3-235B-A22B-Instruct-2507model· 324 dl324 dl
- 🤗nebius/MTP-DeepSeek-V3-0324model· 46 dl· ♡ 246 dl♡ 2
- 🤗Thr45h/MEDUSA-Llama-3.1-8B-Instructmodel· 128 dl128 dl
- nebius/DeepSeek-V3-Infinity-Instruct-0625dataset· 48 dl48 dl
- nebius/Qwen3-235B-Instruct-Infinity-Instruct-0625dataset· 36 dl36 dl
- nebius/Llama-3.1-8B-Instruct-Infinity-Instruct-0625dataset· 26 dl26 dl
- nebius/Llama-3.3-70B-Instruct-Infinity-Instruct-0625dataset· 32 dl32 dl
- nebius/gpt-oss-20b-Infinity-Instruct-0625dataset· 27 dl27 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Computational and Text Analysis Methods · Generative Adversarial Networks and Image Synthesis
