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 +3 more
2/9/2026

No official code found. Best implementation: NUS-HPC-AI-Lab/SGL (32 stars, last commit 2025-02-27).

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 require 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 training-free method, Small VLM Guidance for accelerating Large VLMs (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. The code is publicly available at https://github.com/NUS-HPC-AI-Lab/SGL.

View on arXivView PDF

Code Implementations(1)

NUS-HPC-AI-Lab/SGLCommunity100%
321Shell, PythonDec 4, 20241 years ago

Similar Papers

Cite this paper

@article{zhao2026stitch,
  title  = {A Stitch in Time Saves Nine: Small VLM is a Precise Guidance for Accelerating Large VLMs},
  author = {Wangbo Zhao and Yizeng Han and Jiasheng Tang and Zhikai Li and Yibing Song and Kai Wang and Zhangyang Wang and Yang You},
  year   = {2026},
  eprint = {2412.03324},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.03324},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.03324.svg)](https://codeofpaper.com/paper/2412.03324)

Discussion