GRIFFIN: Effective Token Alignment for Faster Speculative Decoding

Abstract

Speculative decoding accelerates inference in large language models (LLMs) by generating multiple draft tokens simultaneously. However, existing methods often struggle with token misalignment between the training and decoding phases, limiting their performance. To address this, we propose GRIFFIN, a novel framework that incorporates a token-alignable training strategy and a token-alignable draft model to mitigate misalignment. The training strategy employs a loss masking mechanism to exclude highly misaligned tokens during training, preventing them from negatively impacting the draft model's optimization. The token-alignable draft model introduces input tokens to correct inconsistencies in generated features. Experiments on LLaMA, Vicuna, Qwen and Mixtral models demonstrate that GRIFFIN achieves an average acceptance length improvement of over 8\% and a speedup ratio exceeding 7\%, outperforming current speculative decoding state-of-the-art methods. Our code and GRIFFIN's draft models will be released publicly in https://github.com/hsj576/GRIFFIN.

Cite

Text

Hu et al. "GRIFFIN: Effective Token Alignment for Faster Speculative Decoding." Advances in Neural Information Processing Systems, 2025.

Markdown

[Hu et al. "GRIFFIN: Effective Token Alignment for Faster Speculative Decoding." Advances in Neural Information Processing Systems, 2025.](https://mlanthology.org/neurips/2025/hu2025neurips-griffin/)

BibTeX

@inproceedings{hu2025neurips-griffin,
  title     = {{GRIFFIN: Effective Token Alignment for Faster Speculative Decoding}},
  author    = {Hu, Shijing and Li, Jingyang and Xie, Xingyu and Lu, Zhihui and Toh, Kim-chuan and Zhou, Pan},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2025},
  url       = {https://mlanthology.org/neurips/2025/hu2025neurips-griffin/}
}