Similarity-Aware Token Pruning: Your VLM but Faster

Ahmadreza Jeddi, Negin Baghbanzadeh, Elham Dolatabadi, Babak Taati
3/14/2025
cs.CV

No official code found. Best implementation: armenjeddi/saint (44 stars, last commit 2025-05-24).

Abstract

The computational demands of Vision Transformers (ViTs) and Vision-Language Models (VLMs) remain a significant challenge due to the quadratic complexity of self-attention. While token pruning offers a promising solution, existing methods often introduce training overhead or fail to adapt dynamically across layers. We present SAINT, a training-free token pruning framework that leverages token similarity and a graph-based formulation to dynamically optimize pruning rates and redundancy thresholds. Through systematic analysis, we identify a universal three-stage token evolution process (aligner-explorer-aggregator) in transformers, enabling aggressive pruning in early stages without sacrificing critical information. For ViTs, SAINT doubles the throughput of ViT-H/14 at 224px with only 0.6% accuracy loss on ImageNet-1K, surpassing the closest competitor by 0.8%. For VLMs, we apply SAINT in three modes: ViT-only, LLM-only, and hybrid. SAINT reduces LLaVA-13B's tokens by 75%, achieving latency comparable to LLaVA-7B with less than 1% performance loss across benchmarks. Our work establishes a unified, practical framework for efficient inference in ViTs and VLMs.

View on arXivView PDF

Code Implementations(1)

armenjeddi/saintCommunity100%

a training-free approach to accelerate ViTs and VLMs by pruning redundant tokens based on similarity

446C, C++Mar 10, 20251 years ago
pruningtransformervitvlm

Similar Papers

Cite this paper

@article{jeddi2025similarityaware,
  title  = {Similarity-Aware Token Pruning: Your VLM but Faster},
  author = {Ahmadreza Jeddi and Negin Baghbanzadeh and Elham Dolatabadi and Babak Taati},
  year   = {2025},
  eprint = {2503.11549},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.11549v1}
}

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/2503.11549.svg)](https://codeofpaper.com/paper/2503.11549)

Discussion