FLASH: Latent-Aware Semi-Autoregressive Speculative Decoding for Multimodal Tasks

Zihua Wang, Ruibo Li, Haozhe Du, Joey Tianyi Zhou, Yu Zhang, Xu Yang · Submission to ICLR 2026 · Rejected

TL;DR

FLASH (Fast Latent-Aware Semi-Autoregressive Heuristics) is a speculative decoding framework tailored specifically for Large Multimodal Models (LMMs). By combining attention-based visual token compression with a parallel semi-autoregressive drafting head, FLASH cuts draft generation latency without sacrificing prediction quality, yielding inference speedups up to 2.68× on video captioning and 2.55× on visual instruction tuning.

What Problem Does This Paper Address?

Inference in LMMs is notoriously slow. Unlike Large Language Models (LLMs), multimodal models ingest high-resolution images or multi-frame video sequences, causing the input token count to balloon while delivering comparatively low information density per visual token.

Speculative decoding speeds up inference by having a lightweight "draft" model propose candidate tokens that a larger "target" model verifies in parallel. However, existing speculative decoding techniques struggle when ported to LMMs:

  1. Text-only draft models ignore the visual context, producing candidate tokens that drift from image content and get rejected frequently.
  2. Multimodal draft models that ingest full visual contexts face massive computational overhead, undermining speculative speedups.
  3. Sequential draft generation forces draft models to generate candidates autoregressively ($K$ forward passes for $K$ tokens), capping total acceleration.

Methods

FLASH accelerates drafting using two core components designed around the nature of multimodal data:

  • Latent-Aware Visual Token Compression: Visual tokens are packed with redundancy. FLASH introduces a set of learnable query tokens ($C$) that cross-attend to the target model's second-to-top visual features ($F_V$). This compresses the visual representation by roughly 9× (e.g., from 576 tokens to 64 in LLaVA; 324 to 36 in QwenVL) before passing it to the draft model.
  • Semi-Autoregressive Drafting Head: Unlike sequential text, descriptions of visual scenes often hinge on local spatial collocations and fixed phrases (e.g., "on top of", "in the background"). Instead of standard step-by-step autoregression taking $K \cdot M_D$ time, FLASH feeds $K$ placeholder tokens to draft all $K$ candidate tokens simultaneously in a single forward pass ($\approx M_D$).
  • Dual-Objective Training: The draft model is trained on a frozen target model using a combined loss function: a Smooth L1 regression loss between predicted hidden features and target features, plus a cross-entropy loss aligning the draft's probability distributions with the target model's outputs.
Visual Features (N) ──► [ Learnable Queries (C) ] ──► Compressed Features (C) ┐
                                                                              ├─► [ Semi-AR Head ] ──► K Candidate Tokens (Parallel)
Textual Embeddings + Features ────────────────────────────────────────────────┘

Datasets

  • Video Captioning: Evaluated on Kinetics-400 (using 10k sampled videos with pseudo-ground-truth captions generated by the target models).
  • Visual Instruction Tuning: Evaluated on LLaVA-Instruct-150K (10k sampled instruction-response pairs), with downstream multi-task verification on COCO Captioning, MMT-Bench, and ScienceQA.
  • Text-Only Baseline Evaluation: Evaluated on a text-only subset of LLaVA-650k.
  • Target Models: LLaVA-1.5 (7B, 13B) and QwenVL-2.5 (3B, 7B, 32B). No new benchmarks were introduced.

Key Insights and Ideas

  • Visual redundancy allows aggressive compression without draft degradation: Compressing visual token representations by nearly an order of magnitude (1/9) barely affected the draft model's acceptance rate ($A$), while slashing computational overhead (FLOPs) to levels comparable to text-only drafting.
  • Multimodal drafting doesn't need strict autoregression: Parallel candidate generation via the semi-autoregressive head provided huge throughput gains because visual descriptions often rely on co-occurring phrase templates that can be predicted together.
  • Images provide grounding constraints that make generation more predictable: Speculative decoding achieved higher speedup ratios in multimodal contexts (up to 2.49×) than in text-only settings (1.88×). Visual scenes constrain the plausible search space, making candidate tokens more likely to be accepted.
  • Quantization hurts tiny draft heads: Quantizing the draft model (INT8/INT4) actually slowed down effective inference: because the draft architecture is already tiny, quantization noise severely hurt token acceptance rates, outweighing compute savings.

Key Results

  • Video Captioning: FLASH achieved speedups of 1.83× (greedy, $\tau=0$) and 1.81× ($\tau=1$) on LLaVA-1.5, and 2.68× ($\tau=0$) and 2.05× ($\tau=1$) on QwenVL-2.5, outperforming multimodal baselines like Eagle-MM, Medusa-MM, and Dream.
  • Visual Instruction Tuning: Achieved 2.55× speedup on LLaVA-1.5 and 1.83× on QwenVL-2.5, delivering an average speedup gain of 41.5% (0.62×) over text-only multimodal speculative baselines.
  • Model Scalability: Consistent speedups were maintained when scaling parameter counts up to LLaVA-13B (1.49×) and QwenVL-32B (2.20× on video, 1.49× on instruction tuning).

Limitations and Future Work

  • Fixed Draft Horizon: Unlike traditional speculative decoders where draft length $K$ can be tuned dynamically during inference, FLASH’s semi-autoregressive head must be trained with a fixed $K$.
  • Diminishing Returns with Larger $K$: Increasing candidate generation beyond $K=4$ yielded marginal acceleration benefits, as token rejection rates climbed sharply.
  • Future Directions: The authors emphasize the need for dynamic token tree generation, adaptive compression ratios, and extending FLASH across a broader range of vision-language-action tasks.

Summary updated

BibTeX
@misc{wang2025flash,
  author = {Zihua Wang and Ruibo Li and Haozhe Du and Joey Tianyi Zhou and Yu Zhang and Xu Yang},
  title = {{FLASH: Latent-Aware Semi-Autoregressive Speculative Decoding for Multimodal Tasks}},
  year = {2025},
  eprint = {2505.12728},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.12728},
}
Figure