UPDP: A Unified Progressive Depth Pruner for CNN and Vision Transformer

Authors

  • Ji Liu AMD
  • Dehua Tang AMD
  • Yuanxian Huang AMD
  • Li Zhang AMD
  • Xiaocheng Zeng AMD
  • Dong Li AMD
  • Mingjie Lu AMD
  • Jinzhang Peng AMD
  • Yu Wang AMD
  • Fan Jiang AMD
  • Lu Tian AMD
  • Ashish Sirasao AMD

DOI:

https://doi.org/10.1609/aaai.v38i12.29296

Keywords:

ML: Optimization, CV: Object Detection & Categorization, ML: Deep Neural Architectures and Foundation Models

Abstract

Traditional channel-wise pruning methods by reducing network channels struggle to effectively prune efficient CNN models with depth-wise convolutional layers and certain efficient modules, such as popular inverted residual blocks. Prior depth pruning methods by reducing network depths are not suitable for pruning some efficient models due to the existence of some normalization layers. Moreover, finetuning subnet with directly removing activation layers would corrupt the original model weights, hindering the pruned model from achieving high performance. To address these issues, we propose a novel depth pruning method for efficient models. Our approach proposes a novel block pruning strategy and progressive training method for the subnet. Additionally, we extend our pruning method to vision transformer models. Experimental results demonstrate that our method consistently outperforms existing depth pruning methods across various pruning configurations. We obtained three pruned ConvNeXtV1 models with our method applying on ConvNeXtV1, which surpass most SOTA efficient models with comparable inference performance. Our method also achieves state-of-the-art pruning performance on the vision transformer model.

Published

2024-03-24

How to Cite

Liu, J., Tang, D., Huang, Y., Zhang, L., Zeng, X., Li, D., Lu, M., Peng, J., Wang, Y., Jiang, F., Tian, L., & Sirasao, A. (2024). UPDP: A Unified Progressive Depth Pruner for CNN and Vision Transformer. Proceedings of the AAAI Conference on Artificial Intelligence, 38(12), 13891-13899. https://doi.org/10.1609/aaai.v38i12.29296

Issue

Section

AAAI Technical Track on Machine Learning III