Skip to content
AI.info

Research

VVS: Accelerating Speculative Decoding for Visual Autoregressive Generation via Partial Verification Skipping

Overview Research area: Efficient inference for visual autoregressive (AR) image generation models, specifically speculative decoding (SD) and verification-skipping strategies. Technical level: Advanc

arXiv
2511.13587
Published
2025-11-17
Authors
Haotian Dong, Ye Li, Rongwei Lu, Chen Tang, Shu-Tao Xia, Zhi Wang

AI summary

Overview

Research area: Efficient inference for visual autoregressive (AR) image generation models, specifically speculative decoding (SD) and verification-skipping strategies.

Technical level: Advanced. The paper assumes familiarity with autoregressive decoding, speculative decoding acceptance/rejection rules, KV-caching, hidden-state feature reuse, and image-generation quality metrics such as FID.

Scope: The paper proposes VVS, a speculative-decoding framework that deliberately skips selected verification steps to explicitly reduce the number of target-model forward passes for visual AR generation, and evaluates it on LlamaGen-XL Stage I and Stage II using MS-COCO 2017.

What This Paper Is About

Visual autoregressive image generators produce tokens one at a time and therefore require many sequential forward passes, which makes interactive image generation slow. Speculative decoding helps, but the standard "draft one step, then verify one step" loop still calls the large target model at every iteration, so the number of expensive forward passes is not directly reduced. VVS attacks this directly: it skips verification at selected steps, accepts candidate tokens without querying the target model, and compensates for the missing intermediate states by reusing cached stale features from earlier verification passes.

Key Contributions

  1. The paper is the first to explore partial verification skipping inside speculative decoding, proposing an SD framework tailored for visual AR generation that explicitly cuts target-model forward passes rather than only improving acceptance rates within a fixed verify-every-step loop.

  2. Through analysis of the drafting stage, the authors identify and document two phenomena: verification redundancy (candidate token paths within a draft tree are often visually similar, so exhaustive verification does not always yield distinct outputs) and stale feature reusability (features from earlier steps remain useful for drafting acceptable candidates).

  3. Guided by those observations, the paper introduces three modules: a verification-free token selector with dynamic truncation, token-level feature caching and reuse, and a fine-grained scheduler for choosing which steps skip verification.

  4. The resulting framework VVS is reported to reduce target-model forward passes by 2.8x relative to vanilla AR decoding while maintaining competitive generation quality, and to offer a better speed–quality trade-off than conventional SD frameworks. Code is released at https://github.com/HyattDD/VVS.

Main Findings

  • Forward-pass reduction: VVS reduces target-model forward passes by 2.8x relative to vanilla AR decoding on average, and the reported maximum is 2.86x (VVS-U with i=2, δ=0.1 on LlamaGen-XL Stage II).

  • Wall-clock speedup: The best reported end-to-end wall-clock speedup is 1.76x, also for VVS-U (i=2, δ=0.1) on LlamaGen-XL Stage II, measured on a single NVIDIA A40 GPU.

  • Quality preservation on LlamaGen-XL Stage I: VVS-U (i=4, δ=0.2) reaches TPF 2.24 and FID 24.96, compared with FID 24.88 for vanilla AR (TPF 1.00) and 24.97 for LANTERN at δ=0.3 (TPF 2.10). EAGLE-2 reached only TPF 1.22 and a wall-clock speedup of 0.87x on this model.

  • Quality preservation on LlamaGen-XL Stage II: VVS-U (i=2, δ=0.1) reaches TPF 2.86 and FID 47.19, versus FID 48.23 for vanilla AR and 50.23 for LANTERN at δ=0.2. EAGLE-2 achieved a wall-clock speedup of 0.92x with TPF 1.22.

  • Verification redundancy is measurable: In 75% of SD iterations, drafted sequences show a cosine similarity exceeding 0.7. In a controlled experiment where the verification result was replaced by an alternative token path for a proportion r of iterations, TPF stayed essentially flat (2.27, 2.27, 2.27, 2.27, 2.25 for r = 0%, 25%, 33%, 50%, 100%), and FID remained near-stable within a 0.4 width band under the same speedup.

  • Stale features remain usable: The similarity between features of adjacent tokens is 0.68. Using the most recent cached features (s = 0) reduced the mean accept length (MAL) to 73% of what fresh features achieve, but blending fresh features with stale ones across the generation process raised MAL maintainability from 73% to 85%.

  • Uniform sampling beats greedy path selection: Under uniform skipping with interval 3 and δ=0.1, uniform sampling with truncation gave TPF 2.16 and FID 23.88, while highest-confidence selection with truncation gave the same TPF 2.16 but a worse FID of 24.71. Removing truncation raised TPF (2.42) but degraded FID to 26.24.

  • Truncation stabilizes accept length: Without truncation, the number of accepted tokens fluctuates widely across steps, causing excessive unverified tokens and visible quality loss; dynamic truncation makes accept length across steps more stable.

  • Feature-reuse strategy comparison: Among the tested stale-feature strategies (uniform skipping interval 3, δ=0.2), blending fresh (s1 = −1) with the most recent cached features (s2 = 0) gave the highest TPF of 2.31, with FID 27.69, versus TPF 2.23 and FID 32.63 for using only the most recent stale features (s1 = s2 = 0).

  • Qualitative maximum: With dynamic verification skipping at similarity threshold s = 0.65 and relaxation threshold δ = 0.2, VVS reached up to 3.1x TPF without visual degradation.

  • Scheduling flexibility: In the Pareto-front study, LANTERN's relaxation threshold δ was varied from 0.1 to 0.6, VVS-U used skipping intervals i = 4, 3, 2, and VVS-D used similarity thresholds 0.70, 0.75, 0.80. VVS yielded a superior FID–TPF trade-off, with the similarity-based dynamic schedule providing finer-grained control than uniform skipping.

Methodology in Plain English

Speculative decoding normally works in a loop: a small draft model proposes several candidate tokens, and the large target model checks them in one forward pass, accepting some and resampling if one is rejected. The expensive part is that target-model call. VVS changes the loop by sometimes not calling the target model at all.

Three pieces make that possible. First, when a step is skipped, the system needs to pick which candidate to accept without the target model's judgment. Instead of always taking the most confident path from the draft tree, VVS samples uniformly across the candidate paths to preserve the diversity that temperature-1 decoding produces, and it truncates the chosen path to at most the average length of the paths in the pruned tree, since confidence decays along a path.

Second, skipping verification means the next drafting step has no fresh hidden features to condition on. VVS keeps a token-level feature cache built during past verification passes and retrieves the most recent cached features, matched in number to the tokens accepted without verification, even if those features span several earlier steps. This is why the pipeline runs on features of mixed staleness.

Third, the system must decide when to skip. One option is a fixed interval: after a set number of normal verified steps, skip the next one. The alternative, and the paper's preferred approach, computes an exponentially decayed weighted average similarity across the token paths in the candidate tree and skips only when that average exceeds a threshold, on the reasoning that highly similar candidates will likely resemble the verified choice anyway. The similarity computation is accelerated with torch.jit and token-path down-sampling, cutting the decision overhead to roughly 25% of its original time cost. A hard rule forbids two consecutive verification-free steps, bounding error accumulation. When verification resumes, the previously unverified tokens are processed together with new candidates in one target-model forward pass, which the authors call post verification; this restores the missing KV-cache entries and exact AR conditioning, and the resulting features are cached back to their positions.

Experiments use LlamaGen-XL Stage I and Stage II, generate from MS-COCO validation captions, and score the outputs against ground-truth images using all 5,000 samples of the MS-COCO evaluation dataset. Decoding temperature is fixed at 1.0, greedy decoding is omitted because it degrades visual fidelity of AR-generated images, and all SD baselines share the same drafter checkpoints. Baselines are EAGLE-2 (without verification skipping), LANTERN with relaxed acceptance, and vanilla AR. Experiments ran on a server with 8x RTX 4090 GPUs and 2x Intel Xeon Platinum 8563C CPUs, while wall-clock speedup is reported on a single NVIDIA A40 GPU.

Why This Matters

Impact on research: Most prior work on speculative decoding for visual AR models follows LLM-style verify-then-accept and focuses on raising acceptance rates through clustering or probability relaxation. VVS reframes the problem around the forward-pass count itself, showing that the verification stage contains redundancy that can be exploited without collapsing image quality. Because the authors state that the design requires no modification to standard draft-model training, it is described as a complementary acceleration route to relaxation-based strategies and orthogonal to general speedup methods such as quantization and token pruning.

Real-world applications:

  • Interactive image generation and creative tools, where latency is the main obstacle to a fluid user experience.
  • Large-scale image synthesis pipelines that generate many images from captions, where reducing target-model forward passes lowers compute cost.
  • Vision-language and unified multi-modal systems that use autoregressive visual token generation as a component.
  • Content-creation workflows that need fast iteration on prompts, since the qualitative experiments cover landscape, portrait, animal, and indoor and outdoor scenes.

Industry relevance: Inference cost and latency are the dominant practical constraints on serving autoregressive image models. A framework that cuts target-model forward passes by roughly 2.8x while keeping FID close to vanilla decoding directly translates into lower GPU-hours per image and faster response times, which matters for any deployed image-generation or multi-modal product.

Future Directions

  • Specialized draft-model training strategies designed for the partial verification-skipping setting, which the authors explicitly name as a future research direction since VVS currently requires no change to standard draft training.
  • Generalizing the verification-skipping paradigm beyond LlamaGen-XL and the Lumina-mGPT model used in the supplementary material to other visual AR architectures and unified multi-modal models.
  • Better scheduling policies: the paper compares fixed-interval and similarity-threshold scheduling, leaving open how to adapt the threshold or skip budget dynamically for different models, resolutions, or content types.
  • Combining verification skipping with orthogonal acceleration techniques such as quantization and token pruning, and studying how mixed-staleness feature reuse interacts with longer unverified token runs if the one-step minimum separation constraint were relaxed.

Target Audience

Researchers and engineers working on efficient inference for autoregressive generative models, particularly those familiar with speculative decoding; practitioners serving visual AR image generators who care about latency and throughput; and readers interested in how the distributional differences between language tokens and visual tokens change the design space of acceleration techniques. A background in autoregressive decoding and image generation metrics is assumed throughout.

Authors’ abstract

Visual autoregressive (AR) generation models have demonstrated strong potential for image generation, yet their next-token-prediction paradigm introduces considerable inference latency. Although speculative decoding (SD) has been proven effective for accelerating visual AR models, its "draft one step, then verify one step" paradigm prevents a direct reduction in the number of forward passes, limiting its acceleration potential. Motivated by the interchangeability of visual tokens, we explore verification skipping in the SD process for the first time to explicitly cut the number of target model forward passes, thereby reducing inference latency. By analyzing the characteristics of the drafting stage, we observe that verification redundancy and stale feature reusability are key factors to maintain generation quality while improving speed for verification-free steps. Inspired by these two observations, we propose a novel SD framework VVS to accelerate visual AR model via partial verification skipping, which integrates three complementary modules: (1) a verification-free token selector with dynamic truncation, (2) token-level feature caching and reuse, and (3) fine-grained skipped step scheduling. Consequently, VVS reduces the number of target model forward passes by $2.8\times$ relative to vanilla AR decoding while maintaining competitive generation quality, offering a superior speed-quality trade-off over conventional SD frameworks and revealing strong potential to reshape the SD paradigm. Our code is available at https://github.com/HyattDD/VVS.

Read the original paper