Adaptive Token Pruning for Vision Transformer

Aiming at the challenges of Vision Transformer (ViT) model in terms of computational cost, an adaptive pruning strategy for tokens based on Closeness-Centrality is innovatively proposed. The strategy cleverly combines the Euclidean distance between token features with the graph theory algorithm to realize the accurate grouping of tokens in the ViT model. Based on the grouping, we further evaluate the centrality of each group of tokens and selectively prune the tokens with lower centrality accordingly, thus significantly reducing the computational complexity while maintaining the excellent performance of the model. Compared with existing methods, this strategy fully considers the influence of location information on feature similarity, effectively improves the recognition accuracy of similar features, and reduces the feature loss introduced by merging. Experimental results show that in the ImageNet 1K classification task, our method not only achieves a good balance between accuracy and speed, but also successfully merges the various parts of the object in the image, demonstrating high accuracy and efficiency. In addition, the strategy achieves excellent performance on different kinds and sizes of models, and the balance between accuracy and speed can be achieved without additional training, which provides a more cost-effective solution for the application of ViT models.

Authors

Institutions

Publication Details

Published
2024-11-08
DOI
https://doi.org/10.1109/isceic63613.2024.10810243
Primary Topic
Optical Systems and Laser Technology
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive Token Pruning for Vision Transformer

Yuchao Yang, Xiaofang Hu, Yue Zhou
Optical Systems and Laser Technology
article

Adaptive Token Pruning for Vision Transformer

Yuchao Yang, Xiaofang Hu, Yue Zhou
article en

Abstract

Aiming at the challenges of Vision Transformer (ViT) model in terms of computational cost, an adaptive pruning strategy for tokens based on Closeness-Centrality is innovatively proposed. The strategy cleverly combines the Euclidean distance between token features with the graph theory algorithm to realize the accurate grouping of tokens in the ViT model. Based on the grouping, we further evaluate the centrality of each group of tokens and selectively prune the tokens with lower centrality accordingly, thus significantly reducing the computational complexity while maintaining the excellent performance of the model. Compared with existing methods, this strategy fully considers the influence of location information on feature similarity, effectively improves the recognition accuracy of similar features, and reduces the feature loss introduced by merging. Experimental results show that in the ImageNet 1K classification task, our method not only achieves a good balance between accuracy and speed, but also successfully merges the various parts of the object in the image, demonstrating high accuracy and efficiency. In addition, the strategy achieves excellent performance on different kinds and sizes of models, and the balance between accuracy and speed can be achieved without additional training, which provides a more cost-effective solution for the application of ViT models.

Southwest University (CN)
Natural Science Foundation of Chongqing, Fundamental Research Funds for the Central Universities
Affordable and clean energy
Openalex Percentile: Top 78%
Optical Systems and Laser Technology
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.