paper-with-me

홈 › Papers

Patch Slimming for Efficient Vision Transformers

2021-06-05 · CVPR 2022 1 · Yehui Tang, Kai Han, Yunhe Wang, Chang Xu, Jianyuan Guo, Chao Xu, DaCheng Tao

This paper studies the efficiency problem for visual transformers by excavating redundant calculation in given networks. The recent transformer architecture has demonstrated its effectiveness for achieving excellent performance on a series of computer vision tasks. However, similar to that of convolutional neural networks, the huge computational cost of vision transformers is still a severe issue. Considering that the attention mechanism aggregates different patches layer-by-layer, we present a novel patch slimming approach that discards useless patches in a top-down paradigm. We first identify the effective patches in the last layer and then use them to guide the patch selection process of previous layers. For each layer, the impact of a patch on the final output feature is approximated and patches with less impact will be removed. Experimental results on benchmark datasets demonstrate that the proposed method can significantly reduce the computational costs of vision transformers without affecting their performances. For example, over 45% FLOPs of the ViT-Ti model can be reduced with only 0.2% top-1 accuracy drop on the ImageNet dataset.

📄 PDF Abstract BibTeX arXiv:2106.02852

Code (0)

등록된 구현이 없습니다.

Tasks

Efficient ViTs

Similar Papers 제목 키워드 기반

Life Regression based Patch Slimming for Vision Transformers

2023-04-11 · Jiawei Chen, Lin Chen, Jiang Yang, Tianqi Shi 외

Vision transformers have achieved remarkable success in computer vision tasks by using multi-head self-attention modules to capture long-range dependencies within images. However, the high inference computation cost pose…

regression

Linguistic-Aware Patch Slimming Framework for Fine-grained Cross-Modal Alignment

2024-01-01 · CVPR 2024 1 · Zheren Fu, Lei Zhang, Hou Xia, Zhendong Mao

Cross-modal alignment aims to build a bridge connecting vision and language. It is an important multi-modal task that efficiently learns the semantic similarities between images and texts. Traditional fine-grained al…

cross-modal alignmentCross-Modal RetrievalImage RetrievalImage-to-Text Retrieval+4

Self-Slimming Vision Transformer

2021-09-29 · Zhuofan Zong, Kunchang Li, Guanglu Song, Yali Wang 외

Vision transformers (ViTs) have become the popular structures and outperformed convolutional neural networks (CNNs) on various vision tasks. However, such powerful transformers bring huge computation burden, due to the e…

Knowledge Distillation

SEPS: Semantic-enhanced Patch Slimming Framework for fine-grained cross-modal alignment

2025-11-03 · Xinyu Mao, Junsi Li, Haoji Zhang, Yu Liang 외 arxiv

Fine-grained cross-modal alignment aims to establish precise local correspondences between vision and language, forming a cornerstone for visual question answering and related multimodal applications. Current approaches …

Visual Question AnsweringImage Retrieval

Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Space

2022-01-03 · CVPR 2022 1 · Arnav Chavan, Zhiqiang Shen, Zhuang Liu, Zechun Liu 외

This paper explores the feasibility of finding an optimal sub-model from a vision transformer and introduces a pure vision transformer slimming (ViT-Slim) framework. It can search a sub-structure from the original model …

GPU