Rust in Everything
← Papers

MMFlash: Faster Speculative Decoding for Vision-Language Models

Sicheng Feng, Zigeng Chen, Song Wang, Gongfan Fang, Xinchao Wang

2026-11-16▲ 36arXiv 2611.18482v1Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

MMFlash is a diffusion-drafting framework for vision-language models that upweights visually dependent tokens the drafter predicts poorly and uses sparse attention for long videos, achieving lossless decoding speedups up to 3.58×.

Problem

Speculative decoding with diffusion drafters such as DFlash proposes a whole token block in one forward pass, but it has mainly been studied for text-only tasks. In vision-language models, draft acceptance is lower on tokens whose prediction depends on the image. The paper measures this with a token-level KL divergence between the target model's next-token distributions with and without visual input. Acceptance falls from 46% in the lowest visual-dependence quartile to 22% in the highest, and this gap persists after multimodal training.

Method

MMFlash first computes each training token's visual dependence as the KL divergence between the target model's next-token distributions with and without the image, given the same textual prefix. These scores are precomputed offline and converted to corpus quantiles, then scaled by the target's confidence via the exponential of the with-image entropy. The DFlash cross-entropy loss is reweighted by a product of three factors: a verification-aware positional weight estimated from the drafter's own confidence, the static visual-grounding score, and the drafter's current probability of missing the token. For long video inputs, the drafter uses a fixed sparse attention pattern retaining the first 4 sink tokens, visual tokens sampled with stride 32, all text tokens, and a local window of 256 tokens. The same sparse pattern is used during training and inference.

Results

  • Draft acceptance falls monotonically with visual dependence across benchmarks and drafters. §4.1
  • Truncation points concentrate in the most visually dependent quartile. §4.1
  • Block-level acceptance shows the same trend, falling from the lowest to the highest visual-dependence quartile. §4.1
  • Across multimodal benchmarks, MMFlash achieves lossless decoding speedups and outperforms EAGLE-3 and DFlash. §Abstract
  • On image benchmarks, MMFlash gives the highest average acceptance length and speedup, exceeding DFlash under greedy decoding. §5.2
  • On video benchmarks, sparse attention and light fine-tuning improve acceptance and speedup over DFlash. §5.2

Limitations

  • The paper states that for videos MMFlash relies on a simple sparse attention pattern and lightweight fine-tuning rather than a drafter built specifically for video.
  • The paper states that drafting on long videos remains harder than on images.
  • The paper states that extending MMFlash to omni-modal models with audio and streaming speech would require generalizing visual dependence to audio or joint audio-visual cues and handling longer interleaved contexts; this is left to future work.
  • Experiments evaluate zero-shot on the same 200 random samples per benchmark and serving concurrency from 1 to 32, leaving broader benchmark coverage and higher-concurrency regimes open.

Key points

  • Visual dependence is defined as the KL divergence between the target model's next-token distributions with and without the image, with the text prompt and generated prefix fixed. §4.1
  • The highest visual-dependence quartile holds 44% of first rejections within draft blocks, versus 7% in the lowest quartile. §4.1
  • Training on multimodal data alone does not close the acceptance gap on visually dependent tokens. §4.1
  • MMFlash converts visual dependence into a training signal by reweighting the DFlash block loss only while the drafter still predicts a visually grounded token poorly. §4.2
  • The reweighting combines a verification-aware positional weight, the static visual-grounding score, and the drafter's current miss probability. §4.2
  • For video-length contexts, attention is local: the most recent 256 positions are 0.8% of the context but receive 50.1% of attention. §4.2
  • The sparse attention pattern keeps 4 sink tokens, visual tokens with stride 32, all text tokens, and a 256-token local window. §4.2
  • MMFlash remains effective under serving concurrency from 1 to 32, peaking at 3.58× on Qwen3.5-9B. §5.3

Mind map

MMFlash
Problem: visual dependence gap
Acceptance 46% Q1 to 22% Q4
Truncations concentrate in Q4
Method
KL visual dependence score
Quantile and entropy confidence
Three-factor loss reweighting
Sparse attention for video
Evaluation
7 image benchmarks
3 video benchmarks
Concurrency 1 to 32
Gemma4 and Qwen3.8-27B
Limitations
Video drafter not specialized
Omni-modal not covered