MMFlash trains drafters to handle image-dependent tokens
MMFlash: Faster Speculative Decoding for Vision-Language Models · arXiv:2611.18482
In plain words
MMFlash is a training method for a small model that suggests several words at once for a larger model to check while answering questions about images or videos. Suggestions are accepted less often when the image strongly shapes a word, even after the small model is trained on multimodal data.
MMFlash gives extra training weight to image-dependent words the drafter still predicts poorly. On seven image tests, it increased average generation speed over DFlash for two Qwen3.5 models.
The research
For image and video answers, a drafter that misses image-dependent words gives the target model fewer useful suggestions to check.
The result shifts the training question from treating draft positions alike to spending extra effort on visually grounded tokens that remain hard to predict, while the speed findings apply to the tested models and inputs.
MMFlash adapts DFlash training to emphasize visually dependent tokens the drafter still predicts poorly, then tests whether that change speeds verified text generation.
On seven image tests, the researchers compared MMFlash with DFlash trained on the same data, measuring generation speed against ordinary decoding. With greedy generation, MMFlash averaged 3.00–3.05 times ordinary decoding speed across the tests for Qwen3.5-4B and Qwen3.5-9B, 6.7–10.9% above DFlash. This links adaptive weighting to a speed gain in those conditions.
The image comparison used a 16-token draft block, greedy generation, and one NVIDIA H200 GPU running SGLang at concurrency one. The drafters used the same training data and matched unrelated hyperparameters, but whether they shared an initialization is unspecified. These averages cover the stated models and image tests.
What the evidence shows
- Find the source of missed tokens
MMFlash is a diffusion-based drafting method for vision-language models, which take images or videos and generate text. Its starting problem is that DFlash proposals are less often accepted when the target model’s predictions depend more on the image.
That leaves a specific question: where does the acceptance gap occur, and can changing drafter training improve generation speed?
- The gap tracks image dependence
The researchers compared target-model predictions with and without the image, keeping the text prompt and generated prefix fixed, then grouped proposed tokens by how much the image changed those predictions. Across three tests and two DFlash drafters, the average acceptance rate was 46% for the least image-dependent tokens and 22% for the most dependent.
The gap persisted for a drafter trained on multimodal data, pointing to a training challenge that data exposure alone did not resolve in this setting.
- Adapt training to the gap
MMFlash retains DFlash’s training objective but adaptively gives more weight to image-dependent tokens the drafter still predicts poorly. The extra weight fades as predictions improve, and the method accounts for whether verification is likely to reach each token in a draft block. This directly targets the observed gap instead of treating all training tokens alike.
- Image tests show a speed gain
Across seven image tests, MMFlash’s adaptive training produced higher average generation speed than DFlash trained on the same data, with unrelated hyperparameters matched.
This supports the training change under greedy decoding for the two Qwen3.5 models, though the averages do not describe every test or model.
- Video evidence has a separate scope
For three long-video tests, adding sparse attention without further training increased average acceptance length by 11.1% and decoding speedup by 4.7% relative to MMFlash without that addition. The paper also evaluates high serving concurrency and other model families and scales.
This broadens the study’s coverage, while the reported video gains remain specific to the sparse-attention comparison.
Deep
- Original paper authors
- Sicheng Feng, Zigeng Chen, Song Wang, Gongfan Fang, Xinchao Wang
- Submitted to arXiv
- License
- CC BY 4.0