paper-with-me

홈 › Papers

Reinforcement Learning-based Token Pruning in Vision Transformers: A Markov Game Approach

2025-03-30 · Chenglong Lu, Shen Liang, Xuewei Wang, Wei Wang

Vision Transformers (ViTs) have computational costs scaling quadratically with the number of tokens, calling for effective token pruning policies. Most existing policies are handcrafted, lacking adaptivity to varying inputs. Moreover, they fail to consider the sequential nature of token pruning across multiple layers. In this work, for the first time (as far as we know), we exploit Reinforcement Learning (RL) to data-adaptively learn a pruning policy. Formulating token pruning as a sequential decision-making problem, we model it as a Markov Game and utilize Multi-Agent Proximal Policy Optimization (MAPPO) where each agent makes an individualized pruning decision for a single token. We also develop reward functions that enable simultaneous collaboration and competition of these agents to balance efficiency and accuracy. On the well-known ImageNet-1k dataset, our method improves the inference speed by up to 44% while incurring only a negligible accuracy drop of 0.4%. The source code is available at https://github.com/daashuai/rl4evit.

📄 PDF Abstract BibTeX arXiv:2503.23459

Code (1)

daashuai/rl4evit 공식 구현 pytorch

Tasks

Decision MakingReinforcement Learning (RL)Sequential Decision Making

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

PPT: Token Pruning and Pooling for Efficient Vision Transformers

2023-10-03 · Xinjian Wu, Fanhu Zeng, Xiudong Wang, Xinghao Chen

Vision Transformers (ViTs) have emerged as powerful models in the field of computer vision, delivering superior performance across various vision tasks. However, the high computational complexity poses a significant barr…

Efficient ViTs

Joint Token Pruning and Squeezing Towards More Aggressive Compression of Vision Transformers

2023-04-21 · CVPR 2023 1 · Siyuan Wei, Tianzhu Ye, Shen Zhang, Yao Tang 외

Although vision transformers (ViTs) have shown promising results in various computer vision tasks recently, their high computational cost limits their practical applications. Previous approaches that prune redundant toke…

Efficient ViTs

Bridging The Gaps Between Token Pruning and Full Pre-training via Masked Fine-tuning

2023-10-26 · Fengyuan Shi, LiMin Wang

Despite the success of transformers on various computer vision tasks, they suffer from excessive memory and computational cost. Some works present dynamic vision transformers to accelerate inference by pruning redundant …

Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer

2021-08-03 · Yifan Xu, Zhijie Zhang, Mengdan Zhang, Kekai Sheng 외

Vision transformers (ViTs) have recently received explosive popularity, but the huge computational cost is still a severe issue. Since the computation complexity of ViT is quadratic with respect to the input sequence len…

Efficient ViTsimage-classificationImage Classification

Rényi Entropy: A New Token Pruning Metric for Vision Transformers

2026-03-29 · Wei-Yuan Su, Ruijie Zhang, Zheng Zhang arxiv

Vision Transformers (ViTs) achieve state-of-the-art performance but suffer from the $O(N^2)$ complexity of self-attention, making inference costly for high-resolution inputs. To address this bottleneck, token pruning has…