Deep learning has a "weight" problem. To get state-of-the-art performance, we build massive models that are often too bulky for edge devices like phones or IoT sensors. The standard solution is pruning—cutting away redundant weights—but this usually involves a tedious three-stage cycle: train, prune, and then "fine-tune" (retrain) to recover the accuracy lost during the cut.
A new paper from researchers at the University of Connecticut proposes a way to break this cycle. By using a sophisticated optimization technique called Surrogate Lagrangian Relaxation (SLR), they’ve developed a method that is so precise it can sometimes skip the retraining phase entirely, reaching target accuracies up to 3x faster than current industry standards.
TL;DR
The authors introduce a weight-pruning optimization approach based on Surrogate Lagrangian Relaxation (SLR) that handles the "discrete" nature of pruning better than existing methods like ADMM. The result is a pruning process that converges 2x–3x faster and maintains such high accuracy after the "cut" that it effectively turns a three-stage pipeline into a two-stage process.
What Problem Does This Paper Address?
Pruning is essentially a search for the smallest subset of weights that can still do the job. Mathematically, this is a "cardinality-constrained" problem—you want to minimize loss while ensuring the number of non-zero weights stays below a certain threshold.
The challenge is that this problem is discrete (a weight is either there or it isn't) and non-convex. Most popular optimizers, like the Alternating Direction Method of Multipliers (ADMM), struggle with these properties. They often lead to a "quality gap" where the model’s accuracy plummets immediately after pruning, necessitating dozens or hundreds of epochs of expensive retraining to fix the damage.
Methods
The core innovation is the adaptation of Surrogate Lagrangian Relaxation (SLR) to the neural network pruning space.
- Decomposition: SLR breaks the complex pruning problem into manageable subproblems (a "loss function" part and a "cardinality" part) coordinated by Lagrangian multipliers.
- Surrogate Optimality: Unlike standard Lagrangian methods that can "zigzag" and fail to converge on non-convex problems, SLR uses a "surrogate" condition. It doesn't require solving subproblems to absolute optimality at every step, which saves computation and ensures smoother convergence.
- Quadratic Penalties: The authors incorporate quadratic terms to further stabilize and accelerate the process.
- Mathematical Rigor: Unlike many heuristic-based pruning papers, this work provides a formal convergence proof for SLR in the context of non-convex, discrete weight pruning.
Datasets
The researchers didn't just stick to simple benchmarks; they tested SLR across a wide variety of tasks and architectures:
- Image Classification: CIFAR-10 and ImageNet using VGG-16, ResNets (18, 50, 110), and MobileNetV2.
- Modern Architectures: They also tested non-CNN models like MLP-Mixer and Swin Transformer.
- Object Detection & Segmentation: COCO 2014, the KITTI benchmark (for 3D point clouds), and the TuSimple lane detection dataset.
Key Insights and Ideas
- The "Retrain-free" Potential: The most striking insight is that SLR finds weight values during the initial training phase that are much closer to their "post-pruning" optimal values. In some tests, the model's accuracy immediately after pruning (the "hard-pruning" stage) was nearly identical to the final retrained accuracy.
- Handling Discreteness: Most optimizers treat pruning as a continuous problem and then "snap" weights to zero at the end. SLR respects the discrete nature of the constraint throughout the optimization, leading to a much more stable "landing" when weights are removed.
- Efficiency as a Feature: By reducing the need for retraining, the authors demonstrate a 3x speedup in reaching desired accuracy for classification and a 2x speedup for detection tasks.
Key Results
- Speed: On ImageNet and CIFAR-10, SLR reached target accuracy 3x faster than ADMM-based pruning.
- Accuracy at the "Cut": For classification, there was up to a 6% accuracy gap in favor of SLR at the hard-pruning stage. For complex tasks like object detection, this gap was a massive 44%.
- Sparsity vs. Performance: On VGG-16 (CIFAR-10), they achieved a 12x compression rate while maintaining 87.31% accuracy (compared to a 93.27% baseline).
- Modern Vision: On the Swin Transformer, SLR outperformed ADMM across all compression rates, maintaining higher Top-1 accuracy even before any retraining began.
Limitations and Future Work
While the paper is comprehensive, a few areas remain for future exploration:
- Irregular vs. Structured Pruning: The primary focus of the results is on "irregular" (unstructured) pruning. While this offers the best theoretical compression, it is often harder to accelerate on standard hardware compared to "structured" pruning (removing entire filters or channels).
- Hyperparameter Sensitivity: The authors provide an ablation study on parameters like $s_0$ and $M$, but finding the "sweet spot" for these in entirely new architectures might still require some manual tuning.
- Broader Applications: The authors suggest that the coordination capabilities of SLR could be applied to other areas of DNN training beyond just pruning, such as quantization or neural architecture search.
Summary updated