Introduction
Autoregressive generation—the process of predicting one token at a time—is the primary bottleneck for modern Vision-Language Models (VLMs). While Speculative Decoding (SD) was designed to alleviate this by using a fast "drafter" model to predict sequences for a large "target" model to verify, applying it to VLMs like LLaVA presents unique challenges.
First, visual inputs often explode into thousands of tokens (e.g., LLaVA-Next can produce 2,000+ visual tokens), creating a massive computational burden that kills the drafter's speed advantage. Second, a significant modality gap exists; small drafters lack the capacity to align raw visual features with textual semantics, leading to low acceptance rates by the target model.
Methodology: The HiViS Framework
The core philosophy of HiViS (Hiding Visual Tokens) is that while the drafter needs visual information, it does not need raw visual tokens.
1. Semantic Fusion
Instead of feeding raw visual tokens to the drafter, HiViS leverages the target VLM as a "semantic fusion" engine. During the initial prefill stage, the target VLM processes both image and text tokens. HiViS extracts the fused hidden states from the target model and injects them directly into the drafter’s text embeddings. This allows the drafter to operate on a sequence length equal only to the text, drastically reducing its KV-cache and computation.
2. Time-step-aware Residual Aligned Training
To prevent the drafter's internal state from drifting during multi-step prediction, HiViS introduces step-dependent bias-correction residuals ($r^i$). These learnable vectors are added at each drafting step, acting as "instructive anchors" that help the drafter propagate and refine visual-textual semantics autonomously without constant feedback from the target model.
3. Two-Stage Training
The framework employs a two-stage training approach: Stage 1 focuses on single-step alignment, while Stage 2 simulates multi-step drafting. A "dynamic filtering" criterion is used to focus the model's capacity on learnable sequences by discarding samples where the drafter's top-K predictions fail to match the ground truth.
Key Insights: Bridging the Modality Gap
Visualization of hidden states reveals why traditional SD fails for VLMs. As shown in the layer-wise analysis, visual tokens exhibit much higher variance and magnitude than text tokens in early layers. This disparity makes it difficult for lightweight drafters to process them effectively.
Furthermore, the authors observed visual redundancy: while visual information is indispensable, the importance of raw visual tokens drops as decoding progresses, while the importance of generated text increases. HiViS capitalizes on this by focusing the drafter's limited capacity entirely on the language space after the initial fusion.
Key Results
HiViS was evaluated on LLaVA-1.5, LLaVA-Next, and Qwen2.5-VL across various benchmarks (ChartQA, VQAv2, ScienceQA, etc.).
- Speedup: HiViS achieved a peak speedup of 3.15× on Qwen2.5-VL-7B (TextVQA), consistently outperforming baselines like EAGLE-2.
- Acceptance Length: The average number of tokens accepted per step was significantly higher. For example, on ChartQA with LLaVA-1.5-7B, HiViS reached an acceptance length of 5.13, compared to 3.06 for standard baselines.
- Robustness: Despite never seeing a raw visual token, the drafter maintained strong alignment with the target model across diverse tasks, from complex chart reading to general image description.
Limitations and Future Work
While HiViS significantly accelerates the decoding phase, it still depends on the target VLM for the initial multimodal prefill. Future research may explore even more lightweight drafter designs, such as purely linear models, since the requirement to handle complex cross-modal attention is removed by the "hiding" paradigm. Additionally, current training filters out very short answers (under five words), which could be addressed in future iterations to broaden the model's utility.
Summary updated