Jakiro: Boosting Speculative Decoding with Decoupled Multi-Head via MoE

Haiduo Huang, Fuwei Yang, Zhenhua Liu, Yixing Xu, Jinze Li +5 more
2/10/2025
cs.CLcs.AIcs.LG

Official code: haiduo/Jakiro (37 stars, MIT, last commit 2025-10-05).

Abstract

Speculative decoding (SD) accelerates large language model inference by using a smaller draft model to predict multiple tokens, which are then verified in parallel by the larger target model. However, the limited capacity of the draft model often necessitates tree-based sampling to improve prediction accuracy, where multiple candidates are generated at each step. We identify a key limitation in this approach: the candidates at the same step are derived from the same representation, limiting diversity and reducing overall effectiveness. To address this, we propose Jakiro, leveraging Mixture of Experts (MoE), where independent experts generate diverse predictions, effectively decoupling correlations among candidates. Furthermore, we introduce a hybrid inference strategy, combining autoregressive decoding for initial tokens with parallel decoding for subsequent stages, and enhance the latter with contrastive mechanism in features to improve accuracy. Our method significantly boosts prediction accuracy and achieves higher inference speedups. Extensive experiments across diverse models validate the effectiveness and robustness of our approach, establishing a new SOTA in speculative decoding. Our codes are available at https://github.com/haiduo/Jakiro.

View on arXivView PDF

Code Implementations(1)

haiduo/JakiroOfficial100%
MIT

This repository is the official implementation of "Jakiro: Boosting Speculative Decoding with Decoupled Multi-Head via MoE" [ACL 2026 Main Accepted]

374Shell, PythonFeb 6, 20251 years agoMIT

Similar Papers

Cite this paper

@article{huang2025jakiro,
  title  = {Jakiro: Boosting Speculative Decoding with Decoupled Multi-Head via MoE},
  author = {Haiduo Huang and Fuwei Yang and Zhenhua Liu and Yixing Xu and Jinze Li and Yang Liu and Xuanwu Yin and Dong Li and Pengju Ren and Emad Barsoum},
  year   = {2025},
  eprint = {2502.06282},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.06282v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.06282.svg)](https://codeofpaper.com/paper/2502.06282)

Discussion