Lune

CVPR2023Top-tier venue

Network Expansion For Practical Training Acceleration

Ning Ding, Yehui Tang, Kai Han, Chao Xu, Yunhe Wang

Abstract

Recently, the sizes of deep neural networks and training datasets both increase drastically to pursue better performance in a practical sense. With the prevalence of transformer-based models in vision tasks, even more pressure is laid on the GPU platforms to train these heavy models, which consumes a large amount of time and computing resources as well. Therefore, it's crucial to accelerate the training process of deep neural networks. In this paper, we propose a general network expansion method to reduce the practical time cost of the model training process. Specifically, we utilize both width-and depth-level sparsity of dense models to accelerate the training of deep neural networks. Firstly, we pick a sparse sub-network from the original dense model by reducing the number of parameters as the starting point of training. Then the sparse architecture will gradually expand during the training procedure and finally grow into a dense one. We design different expanding strategies to grow CNNs and ViTs respectively, due to the great heterogeneity in between the two architectures. Our method can be easily integrated into popular deep learning frameworks, which saves considerable training time and hardware resources. Extensive experiments show that our acceleration method can significantly speed up the training process of modern vision models on general GPU devices with negligible performance drop (e.g. 1.42× faster for ResNet-101 and 1.34× faster for DeiT-base on ImageNet-1k).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A General and Efficient Training for Transformer via Token Expansion cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A General and Efficient Training for Transformer via Token Expansion cites Training data-efficient image transformers & distillation through attention
  • A General and Efficient Training for Transformer via Token Expansion cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Vulcan: Crafting Compact Class-Specific Vision Transformers For Edge Intelligence cites Training data-efficient image transformers & distillation through attention
  • Initializing Variable-sized Vision Transformers from Learngene with Learnable Transformation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Initializing Variable-sized Vision Transformers from Learngene with Learnable Transformation cites Training data-efficient image transformers & distillation through attention
  • A ConvNet for the 2020s cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A ConvNet for the 2020s cites Training data-efficient image transformers & distillation through attention
  • QT-ViT: Improving Linear Attention in ViT with Quadratic Taylor Expansion cites A ConvNet for the 2020s
  • QT-ViT: Improving Linear Attention in ViT with Quadratic Taylor Expansion cites Training data-efficient image transformers & distillation through attention
  • QT-ViT: Improving Linear Attention in ViT with Quadratic Taylor Expansion cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A Multi-Level Framework for Accelerating Training Transformer Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A Multi-Level Framework for Accelerating Training Transformer Models cites Training data-efficient image transformers & distillation through attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Initializing Variable-sized Vision Transformers from Learngene with Learnable TransformationShiyu Xia, Yuankun Zu, Xu Yang, Xin GengNeurIPS 2024 · 9 citations
  2. QT-ViT: Improving Linear Attention in ViT with Quadratic Taylor ExpansionYixing Xu, Chao Li, Dong Li, Xiao Sheng et al.NeurIPS 2024 · 7 citations
  3. A Multi-Level Framework for Accelerating Training Transformer ModelsLongwei Zou, Han Zhang, Yangdong DengICLR 2024 · 3 citations
  4. A General and Efficient Training for Transformer via Token ExpansionWenxuan Huang, Yunhang Shen, Jiao Xie, Baochang Zhang et al.CVPR 2024
  5. Vulcan: Crafting Compact Class-Specific Vision Transformers For Edge IntelligenceZiteng Wei, Qiang He, Feifei Chen, Ranjie Duan et al.ICLR 2026

Builds on17

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  4. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  5. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations

Related papers

  1. Chasing Sparsity in Vision Transformers: An End-to-End ExplorationTianlong Chen, Yu Cheng, Zhe Gan, Lu Yuan et al.NeurIPS 2021 · 295 citations
  2. Peeling the Onion: Hierarchical Reduction of Data Redundancy for Efficient Vision Transformer TrainingZhenglun Kong, Haoyu Ma, Geng Yuan, Mengshu Sun et al.AAAI 2023 · 32 citations
  3. Boost Vision Transformer with GPU-Friendly Sparsity and QuantizationChong Yu, Tao Chen, Zhongxue Gan, Jiayuan FanCVPR 2023
  4. SparseMAE: Sparse Training Meets Masked AutoencodersAojun Zhou, Yang Li, Zipeng Qin, Jianbo Liu et al.ICCV 2023 · 8 citations
  5. Automated Progressive Learning for Efficient Training of Vision TransformersChanglin Li, Bohan Zhuang, Guangrun Wang, Xiaodan Liang et al.CVPR 2022 · 28 citations
Dusk over the sea between two cliffs drawn in fine vertical lines