Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

HiPrune: Hierarchical Attention for Efficient Token Pruning in Vision-Language Models

About

Vision-Language Models (VLMs) encode images and videos into abundant tokens, which contain substantial redundancy and computation cost. While visual token pruning mitigates the issue, most existing methods lack insight into the intrinsic property of the vision encoder itself. In this work, we dive into the vision encoder and prove that the middle layers pay more attention to the main objects of the image qualitatively and quantitatively, while the deep layers to tokens with rich global information. Utilizing this Hierarchical attention pattern, we propose HiPrune, a training-free and model-agnostic token Pruning method. HiPrune identifies three types of visual tokens according to their attention in different phases of the vision encoder, which preserves different levels of information. By coupling with the similarity of text tokens, we propose a prompt-aware variance, HiPrune++, which further improves instruction following performance under a very low token budget. Extensive experiments across four representative VLMs show that HiPrune achieves up to 99.3% of task accuracy with only 1/3 of the tokens, while reducing inference FLOPs by 58.7%. HiPrune++ maintains up to 99.7% accuracy with 2/9 tokens, highlighting robustness under high-resolution. Our code is available at https://github.com/Danielement321/HiPrune.

Jizhihui Liu, Feiyi Du, Guangdao Zhu, Niu Lian, Jun Li, Bin Chen, Weili Guan, Yaowei Wang• 2025

Related benchmarks

TaskDatasetResultRank
Object Hallucination EvaluationPOPE
Accuracy87.1
2019
Visual Question AnsweringVizWiz
Accuracy69.2
1820
Visual Question AnsweringVQA v2
Accuracy69.2
1429
Visual Question AnsweringGQA
Accuracy63.5
1425
Text-based Visual Question AnsweringTextVQA
Accuracy61.6
962
Multimodal UnderstandingMMBench--
847
Science Question AnsweringScienceQA--
791
Multimodal EvaluationMME
Score1.62e+3
727
Visual Question AnsweringGQA
Accuracy53.6
524
Visual Question AnsweringChartQA--
519
Showing 10 of 67 rows

Other info

Follow for update