SS-Auto: A Single-Shot, Automatic Structured Weight Pruning Framework of DNNs with Ultra-High Efficiency

Zhengang Li, Yifan Gong, Xiaolong Ma, Sijia Liu, Mengshu Sun, Zhenglun Kong, Geng Yuan, Yanzhi WangarXiv 2020

Abstract

SS-Auto is a "single-shot" framework designed to automate structured weight pruning for Deep Neural Networks (DNNs). By simultaneously removing redundant rows and columns from weight matrices and replacing rigid hard constraints with a "Primal-Proximal" soft-constraint optimization, SS-Auto achieves up to 41× compression on standard models with minimal accuracy loss. Notably, the framework is significantly faster to train than previous automated methods, reaching convergence in approximately 300 epochs.

Introduction

The deployment of powerful Deep Neural Networks (DNNs) on mobile and edge devices necessitates effective model compression. Weight pruning is a widely adopted technique, categorized into non-structured and structured approaches. While non-structured pruning yields high theoretical compression, it results in irregular matrices that standard hardware (CPUs/GPUs) cannot efficiently accelerate. Structured pruning, which targets entire filters or channels, is hardware-friendly but traditionally difficult to optimize without compromising model accuracy. Existing state-of-the-art methods, such as those based on ADMM, suffer from slow convergence due to non-convex hard constraints and require manual, layer-by-layer tuning of pruning rates.

Methodology

SS-Auto introduces three key technical innovations to overcome these limitations. First, it employs a soft-constraint formulation using a group $l_2$-norm penalty instead of hard $l_0$ constraints, which smooths the optimization landscape and accelerates convergence. Second, the framework performs joint row and column pruning, allowing for a more flexible and expansive design space for model architecture optimization.

Overview of structured pruning types including channel, filter, and column pruning within the weight matrix.

Third, SS-Auto utilizes a Primal-Proximal solution to decouple the optimization of accuracy from the enforcement of sparsity. The primal step focuses on minimizing the original loss function, while the proximal step handles the sparsity penalty. This decoupling allows the penalty on surviving weights to gradually diminish, enabling them to "grow" and compensate for pruned weights. Finally, per-layer pruning rates are determined automatically during a single training run, guided by a global regularization parameter ($\lambda$).

Experimental Setup

The framework was evaluated on the CIFAR-10 and CIFAR-100 image classification benchmarks using VGG-16, ResNet-18, and MobileNet-V2 architectures. To assess real-world performance, execution time was measured on a Samsung Galaxy S10 smartphone equipped with a Snapdragon 855 processor.

Results

SS-Auto demonstrates superior performance in terms of compression, accuracy, and training efficiency. On the VGG-16 architecture (CIFAR-10), the framework achieved a 41.1× compression rate with a negligible 0.2% drop in accuracy, significantly outperforming previous ADMM and AutoCompress methods. For ResNet-18, SS-Auto reached a 24.6× compression rate while slightly improving accuracy from 94.1% to 94.2%, suggesting that the pruning process acts as a beneficial regularizer.

Performance comparison of SS-Auto against state-of-the-art pruning methods on CIFAR-10 across various architectures.

Training efficiency is a standout feature; SS-Auto converges in roughly 300 epochs, whereas competing AutoML frameworks often require 2,000–3,000 epochs to find comparable configurations. Hardware benchmarks confirm that structured pruning translates directly to lower latency, with the pruned VGG-16 model running in just 2.32ms on a mobile GPU.

Conclusion

SS-Auto provides a highly efficient and automated solution for structured DNN pruning, bridging the gap between theoretical compression and practical hardware acceleration. While the current evaluation focuses on CIFAR datasets, future work will explore scalability to larger datasets like ImageNet. Although the method reduces manual tuning, the selection of global hyperparameters remains a necessary step. Nonetheless, SS-Auto represents a significant advancement in making high-performance DNNs viable for real-time mobile applications.

Summary updated

BibTeX
@misc{li2020ss,
  author = {Zhengang Li and Yifan Gong and Xiaolong Ma and Sijia Liu and Mengshu Sun and Zheng Zhan and Zhenglun Kong and Geng Yuan and Yanzhi Wang},
  title = {{SS-Auto: A Single-Shot, Automatic Structured Weight Pruning Framework of DNNs with Ultra-High Efficiency}},
  year = {2020},
  eprint = {2001.08839},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.08839},
}
Figure