paper-with-me

홈 › Papers

A Unified Pruning Framework for Vision Transformers

2021-11-30 · Hao Yu, Jianxin Wu

Recently, vision transformer (ViT) and its variants have achieved promising performances in various computer vision tasks. Yet the high computational costs and training data requirements of ViTs limit their application in resource-constrained settings. Model compression is an effective method to speed up deep learning models, but the research of compressing ViTs has been less explored. Many previous works concentrate on reducing the number of tokens. However, this line of attack breaks down the spatial structure of ViTs and is hard to be generalized into downstream tasks. In this paper, we design a unified framework for structural pruning of both ViTs and its variants, namely UP-ViTs. Our method focuses on pruning all ViTs components while maintaining the consistency of the model structure. Abundant experimental results show that our method can achieve high accuracy on compressed ViTs and variants, e.g., UP-DeiT-T achieves 75.79% accuracy on ImageNet, which outperforms the vanilla DeiT-T by 3.59% with the same computational cost. UP-PVTv2-B0 improves the accuracy of PVTv2-B0 by 4.83% for ImageNet classification. Meanwhile, UP-ViTs maintains the consistency of the token representation and gains consistent improvements on object detection tasks.

📄 PDF Abstract BibTeX arXiv:2111.15127

Code (1)

yuhao318/UP-ViT 공식 구현 pytorch

Tasks

Model Compressionobject-detectionObject Detection

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Pruning 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Residual Connection 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

HEART-VIT: Hessian-Guided Efficient Dynamic Attention and Token Pruning in Vision Transformer

2025-12-23 · Mohammad Helal Uddin, Liam Seymour, Sabur Baidya arxiv

Vision Transformers (ViTs) deliver state-of-the-art accuracy but their quadratic attention cost and redundant computations severely hinder deployment on latency and resource-constrained platforms. Existing pruning approa…

UPop: Unified and Progressive Pruning for Compressing Vision-Language Transformers

2023-01-31 · Dachuan Shi, Chaofan Tao, Ying Jin, Zhendong Yang 외

Real-world data contains a vast amount of multimodal information, among which vision and language are the two most representative modalities. Moreover, increasingly heavier models, \textit{e}.\textit{g}., Transformers, h…

Image CaptioningImage ClassificationImage RetrievalImage-text Retrieval+7

Similarity-Aware Token Pruning: Your VLM but Faster

2025-03-14 · Ahmadreza Jeddi, Negin Baghbanzadeh, Elham Dolatabadi, Babak Taati

The computational demands of Vision Transformers (ViTs) and Vision-Language Models (VLMs) remain a significant challenge due to the quadratic complexity of self-attention. While token pruning offers a promising solution,…

GOHSP: A Unified Framework of Graph and Optimization-based Heterogeneous Structured Pruning for Vision Transformer

2023-01-13 · Miao Yin, Burak Uzkent, Yilin Shen, Hongxia Jin 외

The recently proposed Vision transformers (ViTs) have shown very impressive empirical performance in various computer vision tasks, and they are viewed as an important type of foundation model. However, ViTs are typicall…

Fusion: A Framework for Unified Sequential Token AdaptatIon in VisiOn TraNsformers

2026-07-01 · Aravind Pradeep, Samira Nazari, Mahdi Taheri, Christian Herglotz arxiv

Vision Transformers achieve strong image classification accuracy but process all image regions with nearly the same computation, even when many regions are redundant or uninformative. Recent adaptive inference methods re…

Image Classification