English

On Speculative Decoding for Multimodal Large Language Models

Computation and Language 2024-04-16 v1 Artificial Intelligence Machine Learning

Abstract

Inference with Multimodal Large Language Models (MLLMs) is slow due to their large-language-model backbone which suffers from memory bandwidth bottleneck and generates tokens auto-regressively. In this paper, we explore the application of speculative decoding to enhance the inference efficiency of MLLMs, specifically the LLaVA 7B model. We show that a language-only model can serve as a good draft model for speculative decoding with LLaVA 7B, bypassing the need for image tokens and their associated processing components from the draft model. Our experiments across three different tasks show that speculative decoding can achieve a memory-bound speedup of up to 2.37×\times using a 115M parameter language model that we trained from scratch. Additionally, we introduce a compact LLaVA draft model incorporating an image adapter, which shows marginal performance gains in image captioning while maintaining comparable results in other tasks.

Keywords

Cite

@article{arxiv.2404.08856,
  title  = {On Speculative Decoding for Multimodal Large Language Models},
  author = {Mukul Gagrani and Raghavv Goel and Wonseok Jeon and Junyoung Park and Mingu Lee and Christopher Lott},
  journal= {arXiv preprint arXiv:2404.08856},
  year   = {2024}
}

Comments

Accepted as a spotlight paper to ELVM workshop at CVPR 2024