PACT: Pruning and Clustering-Based Token Reduction for Faster Visual Language Models

M. Dhouib, Davide Buscaldi, Sonia Vanier, A. Shabou
2/10/2026

No official code found. Best implementation: orailix/PACT (60 stars, MIT, last commit 2026-01-30).

Abstract

Visual Language Models require substantial computational resources for inference due to the additional input tokens needed to represent visual information. However, these visual tokens often contain redundant and unimportant information, resulting in an unnecessarily high number of tokens. To address this, we introduce PACT, a method that reduces inference time and memory usage by pruning irrelevant tokens and merging visually redundant ones at an early layer of the language model. Our approach uses a novel importance metric to identify unimportant tokens without relying on attention scores, making it compatible with FlashAttention. We also propose a novel clustering algorithm, called Distance Bounded Density Peak Clustering, which efficiently clusters visual tokens while constraining the distances between elements within a cluster by a predefined threshold. We demonstrate the effectiveness of PACT through extensive experiments.

View on arXivView PDF

Code Implementations(1)

orailix/PACTCommunity100%
MIT

[CVPR 2025] PACT: Pruning and Clustering-Based Token Reduction for Faster Visual Language Models

604C, C++Mar 22, 20258 months agoMIT
positional-bias-migitation-in-pruningtoken-clusteringtoken-mergingtoken-pruningtoken-reduction+2 more

Similar Papers

Cite this paper

@article{dhouib2026pact,
  title  = {PACT: Pruning and Clustering-Based Token Reduction for Faster Visual Language Models},
  author = {M. Dhouib and Davide Buscaldi and Sonia Vanier and A. Shabou},
  year   = {2026},
  eprint = {2504.08966},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.08966},
  journal = {CVPR 2025 2025}
}

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

Discussion