Cited by 95Advanced Neural Network ApplicationsDomain Adaptation and Few-Shot LearningMachine Learning and Data Classification

Width & Depth Pruning for Vision Transformers

Open access
Yu, Fang, Huang, Kun, Wang, Meng, Cheng, Yuan, Chu, Wei, Cui, Li·2022·Proceedings of the AAAI Conference on Artificial Intelligence

Abstract

Transformer models have demonstrated their promising potential and achieved excellent performance on a series of computer vision tasks. However, the huge computational cost of vision transformers hinders their deployment and application to edge devices. Recent works have proposed to find and remove the unimportant units of vision transformers. Despite achieving remarkable results, these methods take one dimension of network width into consideration and ignore network depth, which is another important dimension for pruning vision transformers. Therefore, we propose a Width & Depth Pruning (WDPruning) framework that reduces both width and depth dimensions simultaneously. Specifically, for width pruning, a set of learnable pruning-related parameters is used to adaptively adjust the width of transformer. For depth pruning, we introduce several shallow classifiers by using the intermediate information of the transformer blocks, which allows images to be classified by shallow classifiers instead of the deeper classifiers. In the inference period, all of the blocks after shallow classifiers can be dropped so they don’t bring additional parameters and computation. Experimental results on benchmark datasets demonstrate that the proposed method can significantly reduce the computational costs of mainstream vision transformers such as DeiT and Swin Transformer with a minor accuracy drop. In particular, on ILSVRC-12, we achieve over 22% pruning ratio of FLOPs by compressing DeiT-Base, even with an increase of 0.14% Top-1 accuracy.

Integrity signals

Registry

Crossref · 10.1609/aaai.v36i3.20222

Cites

35 of 35 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • WDPruning on DeiT-base improves throughput by 15% for an accuracy drop of 1%.

    “The pruning results on DeiT-base [52] show that the throughput can be improved by 15% for an accuracy drop of 1%.”

    From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [99]

  • WDPruning, S2ViTE, and SAViT methods increase the accuracy of the compressed model with fewer model parameters on the DeiT-base model.

    “For example, WDPruning [99], S 2 ViTE [98], SAViT [65] methods increase the accuracy of the compressed model with less number of model parameters on DeiT-base model.”

    From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [99]

Cites

Flagged first, then by citations

4 of the 39 references couldn’t be matched to a known paper.

Cited by

Sorted by citations

Authors
Yu, F., Huang, K., Wang, M., Cheng, Y., Chu, W., & Cui, L.
Affiliations
  • Ant Group (China) (CN)
  • Chinese Academy of Sciences (CN)
Venue
Proceedings of the AAAI Conference on Artificial Intelligence
Published
2022-06-28
Volume
36
Issue
3
Pages
3143-3151
ISSN
  • 2159-5399 (ISSN-L)
  • 2374-3468
OpenAlex
W4283811336
Cited by
95
References
39
Citations by year
2026: 11 · 2025: 37 · 2024: 32 · 2023: 13 · 2022: 2
FWCI
7.62
Type
conference paper
Language
en
Open access
Locations
  • Proceedings of the AAAI Conference on Artificial Intelligence (publishedVersion)
  • AAAI Publications (The Association for the Advancement of Artificial Intelligence (AAAI)) (submittedVersion)
Funders
National Natural Science Foundation of China (61672498)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning and Data Classification
Keywords
vision transformer, neural network pruning, shallow classifiers, intermediate features, computational complexity reduction, edge deployment, DeiT, Swin Transformer, model compression

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review