A Stitch in Time Saves Nine: Small VLM is a Precise Guidance for Accelerating Large VLMs

Wangbo Zhao, Yizeng Han, Jiasheng Tang, Zhikai Li, Yibing Song, Kai Wang, Zhangyang Wang, Yang You

TL;DR

SGL (Small VLM Guidance for Large VLMs) is a training-free framework that uses a compact "scout" model to accelerate massive vision-language models. By leveraging the insight that small and large models attend to the same critical image regions, SGL achieves up to 91% visual token pruning and uses an early-exiting mechanism to skip the large model entirely for easy questions, maintaining high accuracy with a fraction of the compute.

What Problem Does This Paper Address?

Vision-Language Models (VLMs) like LLaVA or InternVL are becoming increasingly powerful, but they are notoriously slow. A major bottleneck is the sheer number of visual tokens—the mathematical representations of image patches—that the model must process. High-resolution images can generate thousands of tokens, leading to massive computational overhead.

Researchers have tried to prune "unimportant" tokens to speed things up. However, existing training-free methods (like FastV) usually rely on a "partial" view—looking at the attention map of just one layer to decide what to cut. As shown in the motivation figure below, this partial information is noisy. To get a truly accurate "global" map of what matters, you'd need to run the whole model first, which defeats the purpose of acceleration.

Motivation: Single-layer attention is suboptimal compared to global attention, and small models share similar attention patterns with large ones.

Methods

The authors introduce SGL, which breaks the "catch-22" of token pruning using two key techniques:

  1. Small VLM-Guided visual token Pruning (SGP): Instead of guessing token importance using a single layer of the large model, SGL runs a much smaller, faster VLM (e.g., a 2B parameter model) on the same input. It aggregates attention scores across all layers and heads of this small model to create a "global attention map." Because small and large models share similar architectural "DNA," this map serves as a highly precise proxy to guide pruning in the large model (e.g., a 26B or 76B model).
  2. Small VLM Early Exiting (SEE): The authors noticed that for many "easy" questions, the small model is already accurate enough. SGL calculates a decision score based on the small model's confidence and the consistency of its answer. If the score is high, the system "exits early" and returns the small model's answer, completely skipping the heavy lifting of the large model.
Overview of the SGL framework, showing the SGP pruning process and the SEE early exiting mechanism.

Datasets

The researchers evaluated SGL across 11 diverse benchmarks to ensure generalizability:

  • Visual Question Answering (VQA): TextVQA, ChartQA, DocVQA, and GQA.
  • Visual Grounding: RefCOCO, RefCOCO+, and RefCOCOg (tasks that require locating specific objects).
  • General Multimodal Understanding: SEED, MMBench, MM-Vet, and MME.

Key Insights and Ideas

  • The "Oracle" is in the Aggregate: A single layer's attention map is a poor indicator of token importance. You need the "global" view from all layers to prune aggressively (down to 9% retention) without crashing performance.
  • Small Models are Great Scouts: Even if a 2B model gets an answer wrong, its internal attention maps still highlight the correct regions of interest, mirroring the behavior of a 26B model. This makes them perfect guides for their larger siblings.
  • Performance vs. Compute Disparity: The performance gap between a 2B and a 26B model is often surprisingly small (e.g., ~10-15% on some benchmarks), while the computational cost (FLOPs) differs by over 90%. Exploiting this via early exiting provides a massive efficiency win.

Key Results

  • Aggressive Pruning: SGL can prune up to 91% of visual tokens while retaining competitive performance, far outperforming previous methods like FastV and ToMe at low retention ratios.
  • Efficiency Gains: By combining SGP and SEE, the system achieves a superior trade-off between speed and accuracy. For larger models like InternVL2-76B, the speedup is even more pronounced.
  • Versatility: The method is "plug-and-play" and training-free. It was successfully tested on multiple model families, including InternVL2, Qwen2-VL, and LLaVa-OV.
Figure 2. Overview of SGL. (a) Small VLM-guided visual token pruning in a large VLM (SGP). We update a global attention map aggregated from all layer of a small VLM. This global attention map is used to rank visual tokens and guide the visual token pruning in a large VLM. (b) Aggregation of attention maps in SGP. We aggregate the attention score of visual tokens received from prompt tokens and generated tokens across all heads and layers in the small LM. Higher scores indicate greater significance. (c) Inference with Small VLM Early Exiting (SEE). When the early exiting decision score from the small VLM is sufficient, the larger VLM will not be invoked.

Limitations and Future Work

The authors note that their method was primarily validated on multi-modal understanding tasks (answering questions about images). They suggest that future work should explore how SGL applies to newer, unified VLMs that handle both understanding and complex image generation. Additionally, while the small model is efficient, it still adds a baseline overhead that could be further minimized in future iterations.

Summary updated

Abstract

Vision-language models (VLMs) have shown remarkable success across various multi-modal tasks, yet large VLMs encounter significant efficiency challenges due to processing numerous visual tokens. A promising approach to accelerating large VLM inference is using partial information, such as attention maps from specific layers, to assess token importance and prune less essential tokens. However, our study reveals three key insights: (i) Partial attention information is insufficient for accurately identifying critical visual tokens, resulting in suboptimal performance, especially at low token retention ratios; (ii) Global attention information, such as the attention map aggregated across all layers, more effectively preserves essential tokens and maintains comparable performance under aggressive pruning. However, the attention maps from all layers requires a full inference pass, which increases computational load and is therefore impractical in existing methods; and (iii) The global attention map aggregated from a small VLM closely resembles that of a large VLM, suggesting an efficient alternative. Based on these findings, we introduce a \textbf{training-free} method, \underline{\textbf{S}}mall VLM \underline{\textbf{G}}uidance for accelerating \underline{\textbf{L}}arge VLMs (\textbf{SGL}). Specifically, we employ the attention map aggregated from a small VLM to guide visual token pruning in a large VLM. Additionally, an early exiting mechanism is developed to fully use the small VLM's predictions, dynamically invoking the larger VLM only when necessary, yielding a superior trade-off between accuracy and computation. Extensive evaluations across 11 benchmarks demonstrate the effectiveness and generalizability of SGL, achieving up to 91\% pruning ratio for visual tokens while retaining competitive performance.
BibTeX
@inproceedings{zhao2025stitch,
  author = {Wangbo Zhao and Yizeng Han and Jiasheng Tang and Zhikai Li and Yibing Song and Kai Wang and Zhangyang Wang and Yang You},
  title = {{A Stitch in Time Saves Nine: Small VLM is a Precise Guidance for Accelerating Large VLMs}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01845},
}
Figure