LearnPruner: Rethinking Attention-based Token Pruning in Vision Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Takezoe, Rinyoichi, Li, Yaqian, Bo, Zihao, Hou, Anzhou, Guang, Mo, Long, Kaiwen
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917438829887488
author Takezoe, Rinyoichi
Li, Yaqian
Bo, Zihao
Hou, Anzhou
Guang, Mo
Long, Kaiwen
author_facet Takezoe, Rinyoichi
Li, Yaqian
Bo, Zihao
Hou, Anzhou
Guang, Mo
Long, Kaiwen
contents Vision-Language Models (VLMs) have recently demonstrated remarkable capabilities in visual understanding and reasoning, but they also impose significant computational burdens due to long visual sequence inputs. Recent works address this issue by pruning unimportant visual tokens, achieving substantial computational reduction while maintaining model performance. The core of token pruning lies in determining token importance, with current approaches primarily relying on attention scores from vision encoders or Large Language Models (LLMs). In this paper, we analyze the effectiveness of attention mechanisms in both vision encoders and LLMs. We find that vision encoders suffer from attention sink, leading to poor focus on informative foreground regions, while in LLMs, although prior studies have identified attention bias toward token positions, text-to-vision attention demonstrates resistance to this bias and enables effective pruning guidance in middle layers. Based on these observations, we propose LearnPruner, a two-stage token pruning framework that first removes redundant vision tokens via a learnable pruning module after the vision encoder, then retains only task-relevant tokens in the LLM's middle layer. Experimental results show that our LearnPruner can preserve approximately 95% of the original performance while using only 5.5% of vision tokens, and achieve 3.2$\times$ inference acceleration, demonstrating a superior accuracy-efficiency trade-off.
format Preprint
id arxiv_https___arxiv_org_abs_2604_23950
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle LearnPruner: Rethinking Attention-based Token Pruning in Vision Language Models
Takezoe, Rinyoichi
Li, Yaqian
Bo, Zihao
Hou, Anzhou
Guang, Mo
Long, Kaiwen
Computer Vision and Pattern Recognition
Vision-Language Models (VLMs) have recently demonstrated remarkable capabilities in visual understanding and reasoning, but they also impose significant computational burdens due to long visual sequence inputs. Recent works address this issue by pruning unimportant visual tokens, achieving substantial computational reduction while maintaining model performance. The core of token pruning lies in determining token importance, with current approaches primarily relying on attention scores from vision encoders or Large Language Models (LLMs). In this paper, we analyze the effectiveness of attention mechanisms in both vision encoders and LLMs. We find that vision encoders suffer from attention sink, leading to poor focus on informative foreground regions, while in LLMs, although prior studies have identified attention bias toward token positions, text-to-vision attention demonstrates resistance to this bias and enables effective pruning guidance in middle layers. Based on these observations, we propose LearnPruner, a two-stage token pruning framework that first removes redundant vision tokens via a learnable pruning module after the vision encoder, then retains only task-relevant tokens in the LLM's middle layer. Experimental results show that our LearnPruner can preserve approximately 95% of the original performance while using only 5.5% of vision tokens, and achieve 3.2$\times$ inference acceleration, demonstrating a superior accuracy-efficiency trade-off.
title LearnPruner: Rethinking Attention-based Token Pruning in Vision Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2604.23950