SpecFLASH: A Latent-Guided Semi-autoregressive Speculative Decoding Framework for Efficient Multimodal Generation
cs.CV, cs.MM
Submitted: 2025-05-19
Updated: 2026-02-03
Comments: Under review
License: http://creativecommons.org/licenses/by/4.0/
The gist: Large language models and large multimodal models (LLMs and LMMs) deliver strong generative performance but suffer from slow decoding…
Terminology
Abstract
Large language models and large multimodal models (LLMs and LMMs) deliver strong generative performance but suffer from slow decoding, a problem that becomes more severe when handling visual inputs, whose sequences typically contain many more tokens with lower information density than text. Speculative decoding accelerates LLM inference by letting a compact draft model propose candidate tokens that are selectively accepted by a larger target model, achieving speed-up without degrading quality. However, existing multimodal speculative decoding approaches largely ignore the structural characteristics of visual representations and usually rely on text-only draft models. In this paper, we introduce SpecFLASH, a speculative decoding framework tailored to LMMs that explicitly exploits multimodal structure when designing the draft model. We first mitigate redundancy in visual token sequences with a lightweight, latent-guided token compression module that compacts visual features while preserving semantics, and then leverage the co-occurrence and local correlations of visual entities via a semi-autoregressive decoding scheme that predicts multiple tokens in a single forward pass. Extensive experiments demonstrate that SpecFLASH consistently surpasses prior speculative decoding baselines, achieving up to 2.68 times speed-up on video captioning and 2.55 times on visual instruction tuning, relative to the original LMM. Our code is available here: https://github.com/ZihuaEvan/FlashSD/.
Sources
- GPT-4 Technical Report
- Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment
- Qwen2.5-VL Technical Report
- Accelerating Large Language Model Decoding with Speculative Sampling
- MouSi: Poly-Visual-Expert Vision-Language Models
- Break the Sequential Dependency of LLM Inference Using Lookahead Decoding
- MASSV: Multimodal Adaptation and Self-Data Distillation for Speculative Decoding of Vision-Language Models
- DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decoding
- SpecVLM: Fast Speculative Decoding in Vision-Language Models
- The Kinetics Human Action Video Dataset
- TokenPacker: Efficient Visual Projector for Multimodal LLM
- Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
- s1: Simple test-time scaling
- LLaVA-PruMerge: Adaptive Token Reduction for Efficient Large Multimodal Models
- Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context
- Spec-VLA: Speculative Decoding for Vision-Language-Action Models with Relaxed Acceptance
- Stop Looking for Important Tokens in Multimodal Language Models: Duplication Matters More
- SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference Acceleration
- Qwen2.5 Technical Report
- DeCo: Decoupling Token Compression from Semantic Abstraction in Multimodal Large Language Models
Related papers
- Lightweight Adaptation of General-Purpose VLMs for Multispectral and SAR Image Understanding
- Systematic Evaluation of Underwater Image Reconstruction
- InteracVid: Building a Real Interactive Audio-Visual Response Dataset from Live-Chat Videos
- Count Anything
- Shot-Aware Frame Sampling for Video Understanding
- Reduce Tokens, Refine Semantics: Training-Free Acceleration of Vision-Language Models