Paper

MMFlash: Speculative Decoding That Focuses on the Tokens the Image Determines

Introduction

Vision-language models read an image or video and produce an answer one token at a time. The longer the answer, the higher the generation cost, and for long videos the context that must be referenced at every token also grows. MMFlash targets both costs: it concentrates the training of a small candidate generator on the points where the image governs the next token, and it reduces the reference range on long videos.

Background: Speculative Decoding and Block Diffusion

TermMeaningWhy it matters
Target modelThe large vision-language model that verifies the final answerIt determines the output distribution, so it is what the drafter imitates.
DrafterA candidate generator smaller than the targetIt pre-generates several tokens and hands them to verification, accelerating decoding.
Speculative decodingA scheme where the drafter produces candidates and the target verifies them in parallelIt speeds things up while keeping the same output distribution as target-only generation.
Acceptance length $\tau$The average number of tokens that survive one draft-verify cycleOne of the key metrics for speedup.
Acceptance rateThe fraction of proposed tokens that the target acceptsIt shows where the drafter is weak.
Block diffusionA generation scheme that fills masks in parallel in a single forward passIt reduces the number of sequential forward passes in the drafter.
KL divergenceA measure of how different two probability distributions areIt measures how much the image changes the next-token prediction.
ConcurrencyThe number of requests a server handles at the same timeIt is the condition under which speedup is checked in real serving.

In speculative decoding, the target verifies the candidates in a single forward pass and accepts only the prefix that matches its own predictions. At the first mismatch, every subsequent candidate is discarded. Because of this rule, the final output distribution is identical to target-only generation; only the speed differs. Speedup is read as decode speed relative to the same target model without speculative decoding.

An autoregressive drafter must run one forward pass for each token it generates. As the draft length grows, the number of forward passes grows with it. DFlash breaks this relationship with block diffusion. A block consists of one anchor token and $B-1$ slots left empty as masks, and the drafter fills the masked slots simultaneously in a single forward pass (§3).

In training, it imitates the tokens chosen by the target with cross-entropy. However, it assigns a different weight to each position within the block. The weight of later slots is reduced as $w_k=\exp(-(k-1)/\gamma)$, because verification accepts only the prefix. If even one token at position $k$ is rejected, everything after it is discarded, so for the gradient of a later slot to translate into acceptance, all earlier positions must survive.

The ways of feeding visual input to the drafter fall into three categories (§2, Appendix A): providing the full image, providing only compressed visual information, or providing no visual tokens at all. MMFlash takes the third. Since the target has already fused the image information into its hidden states during prefill, the drafter only needs to read those states. As a result, drafter cost does not scale with the number of visual tokens.

Problem: Acceptance Breaks Down at Tokens with High Visual Dependence

DFlash’s training weights look only at position within the block. A token that continues a sentence and a token that reads a number off a chart receive the same gradient. But in speculative decoding, the drafter’s goal is to imitate the target’s next-token distribution. When the image accounts for a large share of the target’s prediction, acceptance breaks down if the drafter cannot match that share.

MMFlash measures that share using the target model alone. It runs the target twice with the same text prefix $x_{\lt t}$, once with the image and once without. The KL divergence (Kullback–Leibler divergence) between the two next-token distributions is taken as that token’s visual dependence (§4.1, Eq. 1).

$$d_t = \mathrm{KL}\big(p(\cdot \mid x_{\lt t}, I) \,\|\, p(\cdot \mid x_{\lt t})\big)$$

KL divergence is 0 when the two distributions are identical and grows as they differ. The reason for using the target, rather than the drafter or attention maps, as the reference is that acceptance requires matching the target’s prediction. This score is computed once offline over the training data and stored. There is no extra computation during training, and it is not used in the inference path either (§4.2).

Consider a question that asks for the “rejection” rate from a chart. The number token corresponding to the answer is predicted stably only when the image is present, and without the image it is hard to reproduce the same probability from the text prefix alone. In that case $d_t$ is large. Conversely, tokens that connect sentences, such as “therefore” or “the answer is”, are barely affected by the presence of the image, so $d_t$ is small. Figure 3 of the original shows whether this score lines up with the actual bottleneck.

Graph of per-token acceptance rate (top bars) and the quartile distribution of block truncation points (bottom bars) for Qwen3.5-4B, split by visual dependence Q1–Q4, comparing a text-only drafter with a multimodal drafter

Figure 3 of the original (PDF p.4 ) used 200 samples each from TextVQA, MMStar, and MathVerse on Qwen3.5-4B, with up to 128 anchor positions per sample. The top panel shows the acceptance rate of draft tokens by quartile, and the bottom panel shows the share of blocks whose first rejection point falls in each quartile. The horizontal axis runs from Q1 (lowest visual dependence) to Q4 (highest), and the vertical axes are acceptance rate and truncation-point share, respectively. The original caption has no color legend, so we do not interpret color and read only the axes and values.

As visual dependence goes from Q1 to Q4, acceptance falls and truncation points cluster toward Q4. Average acceptance drops from 46% at Q1 to 22% at Q4 (a 2.1x difference), and 44% of first rejection points fall in Q4 while only 7% fall in Q1. Q3–Q4 combined is 72–80% (§4.1, Figure 3). The same shape holds for a drafter retrained on multimodal data.

The direction is the same at the block level. Grouping by the quartile of a block’s first predicted token, acceptance falls from 33% at Q1 to 14% at Q4 (2.4x, Appendix B, Figure 5). Multimodal training raises Q1 by about 5%p but Q4 by less than 3%p. In other words, the acceptance loss is concentrated on tokens the image determines, and adding more data alone does not close this gap.

For illustration, shrinking the block from 16 slots to 4 to show the verification rule and state changes gives the following. These are reduced examples for explaining the method, not actual experimental values.

StepInputRemaining stateChange / omission / rejectionOutput
1. PrefillText prefix $x_{\lt t}$ + image $I$Hidden state with image information fused by the targetThe drafter receives only the hidden state and does not re-read visual tokensDrafter context
2. Draft1 anchor token + 3 mask slots4 candidates filled in a single forward passThe drafter fills 4 slots simultaneouslyCandidate block $[A,B,C,D]$
3. VerifyCandidate block + targetThe target computes a probability for each position$A,B$ accepted, first mismatch at $C$ → $C,D$ rejectedAccepted prefix $[A,B]$ + the target’s bonus token
4. TrainGround-truth tokens at the same positionsVisual dependence $d_t$, quartile $g_t$, drafter probability $q_k$Upweights slots the image determines and the drafter still gets wrongGradient for the next step

Method

MMFlash overview: (a) training that builds a visual dependence score from the difference in next-token distributions with and without the image and adjusts block loss weights, (b) the drafter’s sparse attention pattern that reduces 40K+ tokens of video context to about 1.6K

Figure 2 of the original (PDF p.2 ) covers the whole method in one figure. The left panel (a) shows the difference between the two distributions obtained by running the same prefix $x_{\lt t}$ with and without the image $I$, and the structure in which the visual bonus computed from that difference is multiplied into the base weight $b_k$ of each mask slot. The right panel (b) is the part where 40K+ tokens of video context are reduced to about 1.6K tokens for the drafter.

1) Compute and store visual dependence

For each token $t$ in the training data, compute $d_t$ with Eq. 1. Fix the target model, image $I$, and prefix $x_{\lt t}$, and run two forward passes, with and without the image. The computed $d_t$ is attached to the training data and stored. The target is not run again during training.

Raw KL values are unbounded and heavy-tailed. So we use $\tilde g_t$, mapped to $[0,1]$ by rank over the whole training data (Appendix C.1, Eq. 5).

$$\tilde g_t = F_D(d_t) = \frac{1}{|D|}\sum_{t' \in D} \mathbf{1}[d_{t'} \le d_t]$$

The quartiles Q1–Q4 correspond to $\tilde g_t \in [0,0.25), [0.25,0.5), [0.5,0.75), [0.75,1]$, respectively. Visual dependence alone is not enough. For a token where the image changes the distribution but the target has not yet committed among the candidates, there is no committed answer to imitate even if the weight is raised. So we measure the entropy $H_t$ of the image-included distribution and multiply by $\exp(-H_t)$ (§4.2, Eq. 2). Lower entropy means the target is more confident.

$$g_t = \tilde g_t \cdot \exp(-H_t)$$

$g_t$ is largest at tokens where the image changes the prediction and simultaneously commits.

2) Multiply three signals to build the training weight

ComponentComputationRole
Static visual score $g_k$Eqs. 1–2Is this a token the image changed and committed?
Base weight $b_k$$\prod_{i=1}^k \bar q_i$Probability that verification reaches this slot
Immaturity $1-\mathrm{sg}(q_k)$The drafter’s current probability for the correct answerGives a bonus to slots it cannot yet get right

$b_k$ is an estimate, from the drafter’s own confidence, of the probability that verification survives to this slot. $\bar q_i=(1-\lambda)\mathrm{sg}(q_i)+\lambda$ keeps each factor at or above $\lambda$. This is a device to prevent the weight of a later slot from becoming 0 after a single early mistake. $(1-\mathrm{sg}(q_k))$ is the current failure probability, so the bonus is largest at the point where the drafter cannot yet get it right and shrinks toward 0 as training progresses. Rather than overfitting to image tokens, the weight shifts to other positions.

$$w_k = b_k \left(1 + \alpha\, g_k \left(1 - \mathrm{sg}(q_k)\right)\right), \qquad b_k = \prod_{i=1}^{k} \bar q_i, \quad \bar q_i = (1-\lambda)\,\mathrm{sg}(q_i) + \lambda$$

The default settings are $\alpha=1$ and $\lambda=0.5$. What changes is the magnitude of the gradient. The inputs and ground-truth targets stay the same; which slots the training effort concentrates on changes. Since $d_t$ is pre-attached to the training data, there is no computation that runs the target twice during training.

3) Reduce reference positions on long video

The bottleneck is a different kind from images. The average input length for image benchmarks is 477 tokens, but for video benchmarks it is 41,218 tokens (§4.2). The drafter sweeps the entire context with attention at every decoding step. Here we check where attention concentrates and whether acceptance holds when only a recent window is kept.

Video attention distribution of the MMFlash drafter: (a) heatmap of attention density by current position, (b) cumulative attention share and context token share by distance from the current position, (c) comparison of acceptance length with full context versus a recent 512 window

Figure 4 of the original (PDF p.5 ) is read as follows. (a) is attention per decoding step for one LongVideoBench question. Attention concentrates on the question and the generated answer in the text, while visual tokens are faintly spread out with no standout frame. (b) overlays the cumulative attention share by distance from the current position (solid line) with the share of context tokens within that distance (dashed line). A region where the solid line substantially leads the dashed line is one where few tokens receive much attention. (c) is the change in average acceptance length $\tau$ when a recent 512-position window is applied.

Over 60 questions, the most recent 256 positions are 0.8% of the context but receive 50.1% of the attention. Distant frames make up more than 96% of the context yet share 46% of the attention (§4.2, Figure 4b). There is a strong bias toward recent positions, and far visual tokens are individually small but collectively take a substantial share of attention.

Applying a window naively may discard visual evidence outside the window that the answer needs. Indeed, a window of 512 reduces acceptance length on image benchmarks and increases it on video (Figure 4c). The resulting pattern is 4 leading sink tokens, visual tokens sampled at stride 32, all text tokens, and a local window of the most recent 256 tokens. Sink tokens are the early tokens where attention concentrates, and a stride of 32 means keeping one out of every 32 visual tokens. This reduces 40K+ tokens to about 1.6K. The same pattern is used in training and inference so that the range the drafter sees does not diverge (Figure 2b, §4.2, §5.2).

What shrinks is the number of positions the drafter references when computing attention at every step. The original does not report that this pattern changes the target model’s KV cache or storage format, nor does it directly report attention FLOPs or kernel speed. What can be confirmed is that the context drops from 40K+ to about 1.6K, along with the resulting changes in acceptance length and speedup.

Results

The comparison question is how many more tokens MMFlash accepts and how much actual decode time it cuts compared with methods trained on the same data, under the same target model, hardware, and framework. Unless noted otherwise: temperature 0, a single H200, SGLang, concurrency 1, 200 samples per benchmark, and draft block size 16 (§5.1). Training used 8×H100 with batch 2, 512 anchors, 6 epochs, and learning rate $6.0\times10^{-4}$. It generated up to 4096 tokens with top-p 0.95, top-k 20, and thinking mode disabled. SGLang and vLLM are inference serving frameworks. Temperature 1 and concurrency experiments are noted separately in the relevant tables. The original reports end-to-end decode speed, not per-kernel throughput.

Image benchmarks

SGLang decode speedup comparison of MMFlash, DFlash, and EAGLE-3

Figure 1 of the original (PDF p.1 ) compares decode speedup of the three methods in SGLang by benchmark. We read the values in the later table rather than the fine-grained numbers in the figure. The claim this figure makes is the same as §5.2: MMFlash achieves the highest average acceptance length and speedup in every image-benchmark setting.

Method (parentheses: MTP is the number of draft steps, EAGLE-3 is tree size, DFlash and MMFlash are block size)Qwen3.5-4B $\tau$ / speedupQwen3.5-9B $\tau$ / speedup
MTP (15)4.38 / 1.19×4.81 / 1.27×
EAGLE-3 (16)3.86 / 1.58×3.45 / 1.68×
DFlash-z (16)4.71 / 2.62×4.62 / 2.70×
DFlash (16)5.12 / 2.72×4.95 / 2.75×
MMFlash (16)5.70 / 3.00×5.60 / 3.05×

Average over 7 image benchmarks, temperature 0, single H200, SGLang, concurrency 1 (original Table 1). Only the 15-step MTP row is reproduced. DFlash-z is the official released drafter (text-only training, 6 layers, hidden states extracted from target layer 8), while DFlash (5 layers, target 5 layers) and EAGLE-3 were trained on the same data as MMFlash (§5.1).

In acceptance length, MMFlash at 5.70 beats DFlash at 5.12 (4B), and 5.60 beats 4.95 on 9B. Since both use block size 16 and therefore propose the same number of tokens at once, the difference comes from how many survive. Speedup rises from 2.72× to 3.00× (4B) and from 2.75× to 3.05× (9B). The gain in acceptance length translates into reduced processing time.

The greedy average of 3.00–3.05× is 10.3–10.9% higher than DFlash (Page 2). The direction is the same at temperature 1. MMFlash is 2.54–2.70× and DFlash is 2.38–2.46×, and §5.2 summarizes that, across both temperatures, it leads DFlash by 6.7–10.9%. 3.58× is the value for ChartQA at temperature 0 on Qwen3.5-9B. The “up to 195.4% over EAGLE-3 and up to 17.1% over DFlash” also given in the abstract are maximum values, and the body does not specify which item and condition they were computed from. These values are not numbers under the same conditions as the average improvement.

It also generalizes to other model families. On Gemma4-E4B-it, training EAGLE-3 and MMFlash on the same data gave 2.10–3.02×, and on Qwen3.8-27B, MMFlash gave 3.54–4.71× (Table 5). The Qwen3.8-27B comparison in Table 5 has no EAGLE-3 and only MTP and MMFlash, so the comparison scope for the two models is not the same.

Long video

For video, we look at three stages. Conditions are temperature 0, with average context lengths of 41.6K tokens for LongVideoBench, 42.3K for MVBench, and 39.8K for Video-MME.

Method (Qwen3.5, temperature 0)LongVideoBenchMVBenchVideo-MME
DFlash (16), 4B2.11×1.82×1.75×
MMFlash (16), 4B2.23×1.83×1.82×
+ sparse attention, 4B2.44×2.05×1.93×
+ fine-tuning, 4B2.67×2.24×2.09×
DFlash (16), 9B2.71×2.37×2.22×
MMFlash (16), 9B2.79×2.42×2.27×
+ sparse attention, 9B2.81×2.49×2.21×
+ fine-tuning, 9B3.07×2.66×2.39×

Original Table 2. Fine-tuning uses 2K samples from LLaVA-Video-178K for 3 epochs with the sparse attention pattern applied (§5.2). In the same table, MTP (15) is 1.00–1.31× for 4B and 1.10–1.34× for 9B, and EAGLE-3 (4) is 1.43–1.63× for 4B and 1.06–1.29× for 9B.

Applying sparse attention alone without additional training raises average acceptance length by 11.1% and speedup by 4.7% (§5.2). Adding video fine-tuning increases the average improvement to 20.0% in acceptance length and 13.7% in speedup, and average speedup of 2.33–2.71× leads DFlash by 11.2–23.2%. However, it is not consistent across all items. On 9B Video-MME, sparse attention alone lowers the value from 2.27× to 2.21× relative to base MMFlash. The average improvement is driven by LongVideoBench and MVBench. Since the final video numbers include fine-tuning, they should not be compared directly with image-benchmark results that lack video fine-tuning.

Concurrency and ablations

Raising serving concurrency generally reduces the speedup margin. For Qwen3.5-4B on CharXiv in SGLang, at concurrency 1 the baseline is 238 tok/s and MMFlash is 826 tok/s, 3.46×; at concurrency 32 it is 2733 tok/s versus 4395 tok/s, 1.61× (§5.3, Table 3). The drop occurs because higher concurrency pushes decoding into a compute-bound regime (§5.3). However, MMFlash throughput at concurrency 16 is higher than the concurrency-32 baseline in all six items. vLLM also records 1.17–3.72×, but because vLLM raises baseline throughput by 21–38% and MMFlash by 17–28% relative to SGLang, the speedup margin for Qwen3.5-4B is smaller than with SGLang. On Qwen3.5-9B, vLLM speedup is larger than SGLang at low concurrency (Appendix E.1, Table 8).

Design choices were ablated in three ways.

AblationChangeObservationDefault
Test-time block size16 → 8Average speedup -5.3%, average $\tau$ -18.7%. On ChartQA and CharXiv, 28.8% and 27.6% of blocks already hit the acceptance ceiling of 816
Drafter layers3 → 5 → 83→5 speedup +6.7–8.1%, 5→8 less than +1%5
Target hidden states5 → 8$\tau$ rises but speedup gain at most 0.01×, online training time +19.9%5

A shorter block lowers the ceiling on how many tokens can be accepted at once. So speedup falls only 5.3% while acceptance length falls 18.7%. Going from 5 to 8 drafter layers yields less than 1% speedup gain, so 5 layers is the default. Reading target hidden states from 8 layers raises acceptance length but yields at most 0.01× speedup gain and increases online training time by 19.9% (Tables 4, 6, 7, §5.3).

Limitations and Adoption Guidance

Limitations acknowledged by the authors

MMFlash is designed and evaluated for vision-language models that take an image or video as input and generate text (Appendix F). For video, instead of a dedicated drafter that selects visual context to match the question or compresses redundancy across frames, it relies on a simple sparse attention pattern and lightweight fine-tuning. The paper notes that drafting on long video remains harder than on images. Extending to omni-modal models that also handle audio and speech streaming would require generalizing visual dependence to audio and audiovisual coupling criteria, and addressing longer audio-visual contexts and speech generation speedup.

Reviewer’s inference

  • The visual dependence score is computed offline by running the target twice over the training data (§4.2). There is no extra computation at inference, but it must be recomputed if the training data changes or the target model is replaced. The cost is incurred only in training preprocessing.
  • The concurrency experiments use a single H200 over concurrency 1–32 (§5.1, §5.3). The speedup margin under tensor parallelism or multi-GPU configurations is not reported in the original. The trend of shrinking speedup as concurrency rises would likely continue, but the original provides no evidence for how far.
  • The final video numbers include fine-tuning (Table 2). The 4B results achieved without additional fine-tuning are 1.82–2.23× for base MMFlash and 1.93–2.44× with sparse attention. For 9B, base is 2.27–2.79× and with sparse attention 2.21–2.81×, which must be distinguished from the final 2.39–3.07×.
  • The training data is about 900K samples regenerated by the target from LLaVA-OV-1.5-Instruct-Data. Some prompts were modified to elicit longer responses, and 37.0% were changed for 4B. As a result, the share of responses of 8 tokens or fewer fell from 12.5% to 1.0%, and the median response length for changed prompts rose from 3 tokens to 130 tokens (Appendix D.1). The original does not separately analyze the effect of changing the training data distribution.
  • The training recipe for the official DFlash-z drafter has not been released (§5.1, footnote 3). Comparisons with DFlash-z must distinguish between using the official weights as-is and placing a DFlash trained on the same data under the same conditions.

Adoption guidance

For single-GPU serving that mainly handles images, charts, and documents, consistent gains in acceptance length and speedup over DFlash trained on the same data have been reported, so it is worth considering (Table 1). Serving beyond concurrency 32, multi-GPU configurations, and workloads mixing audio and speech input are conditions not yet validated. Omitting fine-tuning on video reduces the gain (Table 2), and since the final video gain includes fine-tuning, anyone planning a video-only pipeline should also account for the training data and fine-tuning costs.

Tables from the paper

Tables converted mechanically from the arXiv e-print LaTeX source. The numbers are the paper’s own and did not pass through a model.

Table 1. Decoding speedup over baseline and average acceptance length ($\tau$) on Qwen3.5 models across various benchmarks. Parenthesized values indicate the number of draft steps for MTP, the draft tree size for EAGLE-3, and the diffusion block size for DFlash & MMFlash.

ModelMethodText & DocGeneral VQASTEMAvg.
ChartQACharXivMMStarMMBenchDynaMathMathVistaMathVerse
Temperature $= 0$$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup
Qwen3.5-4BMTP (3)3.181.69$\times$3.271.76$\times$2.951.61$\times$2.431.40$\times$3.271.69$\times$3.181.68$\times$3.171.69$\times$3.061.64$\times$
MTP (7)4.261.68$\times$4.641.87$\times$3.751.57$\times$2.581.24$\times$4.421.69$\times$4.291.67$\times$4.271.69$\times$4.031.63$\times$
MTP (15)4.671.26$\times$5.371.43$\times$3.991.14$\times$2.600.87$\times$4.761.23$\times$4.651.21$\times$4.611.22$\times$4.381.19$\times$
EAGLE-3 (16)4.311.74$\times$4.381.86$\times$3.491.49$\times$2.611.08$\times$4.291.67$\times$4.021.56$\times$3.951.68$\times$3.861.58$\times$
DFlash-z (16)4.922.76$\times$5.633.10$\times$3.812.35$\times$5.012.62$\times$4.822.56$\times$4.432.45$\times$4.342.50$\times$4.712.62$\times$
DFlash (16)5.432.97$\times$5.603.13$\times$4.052.31$\times$5.172.93$\times$5.572.57$\times$5.162.53$\times$4.842.62$\times$5.122.72$\times$
MMFlash (16)5.973.28$\times$6.173.46$\times$4.492.55$\times$5.683.19$\times$6.262.87$\times$6.002.78$\times$5.352.88$\times$5.703.00$\times$
Qwen3.5-9BMTP (3)3.321.83$\times$3.281.87$\times$3.011.73$\times$2.881.57$\times$3.381.80$\times$3.261.80$\times$3.241.80$\times$3.201.77$\times$
MTP (7)4.661.88$\times$4.601.94$\times$3.911.66$\times$3.551.41$\times$4.741.77$\times$4.521.78$\times$4.431.77$\times$4.341.74$\times$
MTP (15)5.271.38$\times$5.271.47$\times$4.201.18$\times$3.750.99$\times$5.251.30$\times$5.081.32$\times$4.901.30$\times$4.811.27$\times$
EAGLE-3 (16)3.931.81$\times$3.851.93$\times$3.061.55$\times$2.721.32$\times$3.601.76$\times$3.501.63$\times$3.481.75$\times$3.451.68$\times$
DFlash-z (16)5.223.03$\times$5.273.15$\times$3.932.46$\times$3.672.11$\times$4.962.75$\times$4.772.75$\times$4.522.67$\times$4.622.70$\times$
DFlash (16)5.593.20$\times$5.173.09$\times$4.152.46$\times$3.792.20$\times$5.622.71$\times$5.382.83$\times$4.922.79$\times$4.952.75$\times$
MMFlash (16)6.193.58$\times$5.673.42$\times$4.582.67$\times$4.202.39$\times$6.443.02$\times$6.493.17$\times$5.603.10$\times$5.603.05$\times$
Temperature $= 1$$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup
Qwen3.5-4BMTP (3)3.041.58$\times$3.071.60$\times$2.741.48$\times$2.411.34$\times$3.171.59$\times$3.001.54$\times$3.001.57$\times$2.921.53$\times$
MTP (7)3.931.53$\times$4.261.68$\times$3.411.40$\times$2.581.14$\times$4.221.55$\times$3.971.49$\times$3.911.52$\times$3.751.48$\times$
MTP (15)4.331.14$\times$4.761.24$\times$3.570.99$\times$2.620.86$\times$4.551.14$\times$4.331.08$\times$4.221.11$\times$4.061.08$\times$
EAGLE-3 (16)3.971.59$\times$3.971.60$\times$3.231.38$\times$2.601.01$\times$4.091.49$\times$3.871.45$\times$3.681.53$\times$3.631.44$\times$
DFlash-z (16)4.492.42$\times$5.002.66$\times$3.432.06$\times$4.812.12$\times$4.642.41$\times$4.142.19$\times$4.012.28$\times$4.362.30$\times$
DFlash (16)4.872.56$\times$4.952.66$\times$3.712.04$\times$4.922.48$\times$5.072.31$\times$4.662.22$\times$4.472.37$\times$4.672.38$\times$
MMFlash (16)5.232.74$\times$5.392.86$\times$3.962.18$\times$5.252.58$\times$5.752.56$\times$5.232.37$\times$4.692.49$\times$5.072.54$\times$
Qwen3.5-9BMTP (3)3.191.72$\times$3.081.72$\times$2.861.61$\times$2.781.49$\times$3.251.70$\times$3.111.69$\times$3.111.71$\times$3.051.66$\times$
MTP (7)4.351.72$\times$4.151.71$\times$3.601.49$\times$3.371.34$\times$4.461.64$\times$4.261.65$\times$4.171.66$\times$4.051.60$\times$
MTP (15)4.841.24$\times$4.571.27$\times$3.811.06$\times$3.530.93$\times$4.921.22$\times$4.651.18$\times$4.561.21$\times$4.411.16$\times$
EAGLE-3 (16)3.601.67$\times$3.561.72$\times$2.841.42$\times$2.591.23$\times$3.461.61$\times$3.321.50$\times$3.291.62$\times$3.241.54$\times$
DFlash-z (16)4.772.64$\times$4.702.76$\times$3.662.25$\times$3.421.97$\times$4.712.57$\times$4.492.51$\times$4.262.49$\times$4.292.46$\times$
DFlash (16)4.942.75$\times$4.502.65$\times$3.742.18$\times$3.552.02$\times$5.242.52$\times$4.852.52$\times$4.532.57$\times$4.482.46$\times$
MMFlash (16)5.543.22$\times$4.852.85$\times$4.132.37$\times$3.822.17$\times$6.072.77$\times$5.712.74$\times$5.102.81$\times$5.032.70$\times$

Table 2. Average acceptance length ($\tau$) and decoding speedup over baseline on three video benchmarks at temperature $= 0$. The gray number under each benchmark gives its average context length.

MethodLongVideoBenchMVBenchVideo-MME
$\sim$ 41.6 K tokens$\sim$ 42.3 K tokens$\sim$ 39.8 K tokens
$\tau$Speedup$\tau$Speedup$\tau$Speedup
Qwen3.5-4B
MTP (15)3.991.31$\times$3.801.09$\times$3.501.00$\times$
EAGLE-3 (4)2.041.63$\times$1.911.45$\times$1.921.43$\times$
DFlash (16)3.142.11$\times$3.011.82$\times$2.811.75$\times$
MMFlash (16)3.232.23$\times$2.911.83$\times$2.861.82$\times$
+ sparse attn.3.812.44$\times$3.502.05$\times$3.201.93$\times$
+ fine-tuning4.092.67$\times$3.832.24$\times$3.452.09$\times$
Qwen3.5-9B
MTP (15)4.071.34$\times$3.941.26$\times$3.731.10$\times$
EAGLE-3 (4)1.881.29$\times$1.671.06$\times$1.791.25$\times$
DFlash (16)3.562.71$\times$3.192.37$\times$3.212.22$\times$
MMFlash (16)3.632.79$\times$3.232.42$\times$3.282.27$\times$
+ sparse attn.3.812.81$\times$3.462.49$\times$3.422.21$\times$
+ fine-tuning4.163.07$\times$3.742.66$\times$3.632.39$\times$

Table 3. Decode throughput (tok/s), speedup over the baseline, and average acceptance length ($\tau$) on SGLang under increasing serving concurrency. For each MMFlash block the upper line reports throughput and the lower line the speedup at the same concurrency.

TaskMethodConcurrency 1Concurrency 4Concurrency 8Concurrency 16Concurrency 32Avg. $\tau$
Qwen3.5-4B
CharXivBaseline238794130620942733–
MMFlash82620543102394343956.23
3.46$\times$2.59$\times$2.37$\times$1.88$\times$1.61$\times$
MMBenchBaseline24245367211411748–
MMFlash77210321451192923645.69
3.19$\times$2.28$\times$2.16$\times$1.69$\times$1.35$\times$
DynaMathBaseline239836145622763440–
MMFlash68519913081406646436.27
2.87$\times$2.38$\times$2.12$\times$1.79$\times$1.35$\times$
Qwen3.5-9B
ChartQABaseline174633104816941952–
MMFlash62317322438308036856.21
3.58$\times$2.73$\times$2.33$\times$1.82$\times$1.89$\times$
MMStarBaseline172633106416972462–
MMFlash46013801964251128144.59
2.67$\times$2.18$\times$1.85$\times$1.48$\times$1.14$\times$
DynaMathBaseline172655115518842665–
MMFlash52016452541330837926.49
3.02$\times$2.51$\times$2.20$\times$1.76$\times$1.42$\times$

Table 4. Effect of the test-time block size on MMFlash. Parenthesized values indicate the test-time block size for MMFlash. All drafters are trained with block size 16.

ModelMethodText & DocGeneral VQASTEMAvg.
ChartQACharXivMMStarMMBenchDynaMathMathVistaMathVerse
$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup$\tau$Speedup
Qwen3.5-4BMMFlash (8)4.703.01$\times$4.773.13$\times$3.802.49$\times$4.522.89$\times$4.922.80$\times$4.682.74$\times$4.432.83$\times$4.552.84$\times$
MMFlash (16)5.973.28$\times$6.173.46$\times$4.492.55$\times$5.683.19$\times$6.262.87$\times$6.002.78$\times$5.352.88$\times$5.703.00$\times$
Qwen3.5-9BMMFlash (8)5.073.22$\times$4.723.17$\times$4.012.65$\times$3.772.30$\times$5.182.94$\times$5.022.96$\times$4.682.95$\times$4.642.89$\times$
MMFlash (16)6.193.58$\times$5.673.42$\times$4.582.67$\times$4.202.39$\times$6.443.02$\times$6.493.17$\times$5.603.10$\times$5.603.05$\times$

Table 5. Average acceptance length ($\tau$) and decoding speedup on Gemma4-E4B-it and Qwen3.8-27B at temperature $= 0$.

MethodChartQA $\tau$ChartQA SpeedupMMStar $\tau$MMStar SpeedupDynaMath $\tau$DynaMath Speedup
Gemma4-E4B-it
MTP (5, official)3.811.78$\times$3.191.48$\times$4.041.89$\times$
MTP (15)4.731.66$\times$3.741.33$\times$5.171.75$\times$
EAGLE-3 (16)4.872.27$\times$4.041.50$\times$6.231.90$\times$
MMFlash (16)6.392.87$\times$4.832.10$\times$7.153.02$\times$
Qwen3.8-27B
MTP (7)5.192.90$\times$4.552.59$\times$5.483.07$\times$
MTP (15)6.362.47$\times$5.252.16$\times$6.632.68$\times$
MMFlash (16)6.374.18$\times$5.363.54$\times$7.574.71$\times$

Table 6. Effect of the number of drafter layers on MMFlash for Qwen3.5-4B at temperature $= 0$. $n$-L denotes a drafter with $n$ layers; all drafters are trained with block size 16 and read hidden features from 5 layers of the target model.

SettingCharXiv $\tau$CharXiv SpeedupMMBench $\tau$MMBench SpeedupDynaMath $\tau$DynaMath Speedup
3-L5.563.25$\times$4.692.86$\times$5.782.70$\times$
5-L6.173.46$\times$5.683.19$\times$6.262.87$\times$
8-L6.393.42$\times$6.213.21$\times$6.692.88$\times$

Table 7. Effect of the number of tapped target hidden states on MMFlash for Qwen3.5-4B at temperature $= 0$. $n$-H denotes a drafter that reads hidden features from $n$ layers of the target model; all drafters have 5 layers and are trained with block size 16.

SettingCharXiv $\tau$CharXiv SpeedupMMBench $\tau$MMBench SpeedupDynaMath $\tau$DynaMath Speedup
5-H6.173.46$\times$5.683.19$\times$6.262.87$\times$
8-H6.183.47$\times$6.013.20$\times$6.372.88$\times$

Table 8. Decode throughput (tok/s), speedup over the baseline, and average acceptance length ($\tau$) on vLLM under increasing serving concurrency, complementing Table . For each MMFlash block the upper line reports throughput and the lower line the speedup at the same concurrency.

TaskMethodConcurrency 1Concurrency 4Concurrency 8Concurrency 16Concurrency 32Avg. $\tau$
Qwen3.5-4B
CharXivBaseline2841022178326903772–
MMFlash90725553634459055146.17
3.19$\times$2.50$\times$2.04$\times$1.71$\times$1.46$\times$
MMBenchBaseline27447970510511768–
MMFlash9238361347171728595.74
3.37$\times$1.75$\times$1.91$\times$1.63$\times$1.62$\times$
DynaMathBaseline2951052182931994159–
MMFlash82124303685470553236.27
2.78$\times$2.31$\times$2.02$\times$1.47$\times$1.28$\times$
Qwen3.5-9B
ChartQABaseline188648124119112133–
MMFlash70119752795331835006.17
3.72$\times$3.05$\times$2.25$\times$1.74$\times$1.64$\times$
MMStarBaseline190700125320803076–
MMFlash52916632461289336064.59
2.79$\times$2.38$\times$1.96$\times$1.39$\times$1.17$\times$
DynaMathBaseline189708127221283127–
MMFlash60218602810360440016.57
3.18$\times$2.63$\times$2.21$\times$1.69$\times$1.28$\times$

Figures in this post are taken from the original arXiv:2611.18482 (CC BY 4.0). Only size and format were changed.

License

Author: Jaehun Ryu

Link: https://jaehun.me/en/posts/paper-2611-18482/

License: CC BY 4.0

This work is licensed under the Creative Commons Attribution 4.0 International License. You are free to use it for any purpose, including commercial use, as long as you provide proper attribution.

Comments