跳到主要导航 跳到搜索 跳到主要内容

LGViT: Dynamic Early Exiting for Accelerating Vision Transformer

  • Guanyu Xu
  • , Jiawei Hao
  • , Li Shen
  • , Han Hu*
  • , Yong Luo
  • , Hui Lin
  • , Jialie Shen
  • *此作品的通讯作者
  • Beijing Institute of Technology
  • JD Explore Academy
  • Wuhan University
  • China Academic of Electronics and Information Technology
  • City, University of London

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Recently, the efficient deployment and acceleration of powerful vision transformers (ViTs) on resource-limited edge devices for providing multimedia services have become attractive tasks. Although early exiting is a feasible solution for accelerating inference, most works focus on convolutional neural networks (CNNs) and transformer models in natural language processing (NLP). Moreover, the direct application of early exiting methods to ViTs may result in substantial performance degradation. To tackle this challenge, we systematically investigate the efficacy of early exiting in ViTs and point out that the insufficient feature representations in shallow internal classifiers and the limited ability to capture target semantic information in deep internal classifiers restrict the performance of these methods. We then propose an early exiting framework for general ViTs termed LGViT, which incorporates heterogeneous exiting heads, namely, local perception head and global aggregation head, to achieve an efficiency-accuracy trade-off. In particular, we develop a novel two-stage training scheme, including end-to-end training and self-distillation with the backbone frozen to generate early exiting ViTs, which facilitates the fusion of global and local information extracted by the two types of heads. We conduct extensive experiments using three popular ViT backbones on three vision datasets. Results demonstrate that our LGViT can achieve competitive performance with approximately 1.8 × speed-up.

源语言英语
主期刊名MM 2023 - Proceedings of the 31st ACM International Conference on Multimedia
出版商Association for Computing Machinery, Inc
页9103-9114
页数12
ISBN(电子版)9798400701085
DOI
出版状态已出版 - 27 10月 2023
活动31st ACM International Conference on Multimedia, MM 2023 - Ottawa, 加拿大
期限: 29 10月 2023 → 3 11月 2023

丛书

姓名MM 2023 - Proceedings of the 31st ACM International Conference on Multimedia

会议

会议31st ACM International Conference on Multimedia, MM 2023
国家/地区加拿大
市Ottawa
时期29/10/23 → 3/11/23

学术指纹

探究 'LGViT: Dynamic Early Exiting for Accelerating Vision Transformer' 的科研主题。它们共同构成独一无二的学术指纹。

引用此