Skip to main navigation Skip to search Skip to main content

Surrogate Lagrangian Relaxation: A Path to Retrain-Free Deep Neural Network Pruning

  • Shanglin Zhou
  • , Mikhail A. Bragin
  • , Deniz Gurevin
  • , Lynn Pepin
  • , Fei Miao
  • , Caiwen Ding

Research output: Contribution to journalArticlepeer-review

Abstract

Network pruning is a widely used technique to reduce computation cost and model size for deep neural networks. However, the typical three-stage pipeline (i.e., training, pruning, and retraining (fine-tuning)) significantly increases the overall training time. In this article, we develop a systematic weight-pruning optimization approach based on surrogate Lagrangian relaxation (SLR), which is tailored to overcome difficulties caused by the discrete nature of the weight-pruning problem. We further prove that our method ensures fast convergence of the model compression problem, and the convergence of the SLR is accelerated by using quadratic penalties. Model parameters obtained by SLR during the training phase are much closer to their optimal values as compared to those obtained by other state-of-the-art methods. We evaluate our method on image classification tasks using CIFAR-10 and ImageNet with state-of-the-art multi-layer perceptron based networks such as MLP-Mixer; attention-based networks such as Swin Transformer; and convolutional neural network based models such as VGG-16, ResNet-18, ResNet-50, ResNet-110, and MobileNetV2. We also evaluate object detection and segmentation tasks on COCO, the KITTI benchmark, and the TuSimple lane detection dataset using a variety of models. Experimental results demonstrate that our SLR-based weight-pruning optimization approach achieves a higher compression rate than state-of-the-art methods under the same accuracy requirement and also can achieve higher accuracy under the same compression rate requirement. Under classification tasks, our SLR approach converges to the desired accuracy × faster on both of the datasets. Under object detection and segmentation tasks, SLR also converges 2× faster to the desired accuracy. Further, our SLR achieves high model accuracy even at the hardpruning stage without retraining, which reduces the traditional three-stage pruning into a two-stage process. Given a limited budget of retraining epochs, our approach quickly recovers the model's accuracy.

Original languageEnglish (US)
Article number102
JournalACM Transactions on Design Automation of Electronic Systems
Volume28
Issue number6
DOIs
StatePublished - Oct 28 2023
Externally publishedYes

Bibliographical note

Publisher Copyright:
© 2023 Copyright held by the owner/author(s). Publication rights licensed to ACM.

Keywords

  • Surrogate Lagrangian relaxation
  • image classification
  • model compression
  • object detection and segmentation
  • weight pruning

Fingerprint

Dive into the research topics of 'Surrogate Lagrangian Relaxation: A Path to Retrain-Free Deep Neural Network Pruning'. Together they form a unique fingerprint.

Cite this