Speculative Decoding Reimagined for Multimodal Large Language Models

Luxi Lin, Zhihang Lin, Zhanpeng Zeng, Rongrong Ji
5/20/2025
11 citations
cs.CVcs.AI

Official code: Lyn-Lucy/MSD (38 stars, Python, last commit 2026-11-07).

Abstract

This paper introduces Multimodal Speculative Decoding (MSD) to accelerate Multimodal Large Language Models (MLLMs) inference. Speculative decoding has been shown to accelerate Large Language Models (LLMs) without sacrificing accuracy.

Show full abstract

However, current speculative decoding methods for MLLMs fail to achieve the same speedup as they do for LLMs. To address this, we reimagine speculative decoding specifically for MLLMs. Our analysis of MLLM characteristics reveals two key design principles for MSD: (1) Text and visual tokens have fundamentally different characteristics and need to be processed separately during drafting. (2) Both language modeling ability and visual perception capability are crucial for the draft model. For the first principle, MSD decouples text and visual tokens in the draft model, allowing each to be handled based on its own characteristics. For the second principle, MSD uses a two-stage training strategy: In stage one, the draft model is trained on text-only instruction-tuning datasets to improve its language modeling ability. In stage two, MSD gradually introduces multimodal data to enhance the visual perception capability of the draft model. Experiments show that MSD boosts inference speed by up to $2.29\times$ for LLaVA-1.5-7B and up to $2.46\times$ for LLaVA-1.5-13B on multimodal benchmarks, demonstrating its effectiveness. Our code is available at https://github.com/Lyn-Lucy/MSD.

View on arXivView PDF

Code Implementations(1)

Lyn-Lucy/MSDOfficial100%
381Python, Jupyter NotebookMay 20, 20253 weeks ago

Similar Papers

Cite this paper

@article{lin2025speculative,
  title  = {Speculative Decoding Reimagined for Multimodal Large Language Models},
  author = {Luxi Lin and Zhihang Lin and Zhanpeng Zeng and Rongrong Ji},
  year   = {2025},
  eprint = {2505.14260},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.14260v1}
}

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/2505.14260.svg)](https://codeofpaper.com/paper/2505.14260)

Discussion