Abstract
The importance of learning rate (LR) schedules on network pruning has been observed in a few recent works. As an example, Frankle and Carbin (2019) highlighted that winning tickets (i.e., accuracy preserving subnetworks) can not be found without applying a LR warmup schedule. Renda, Frankle and Carbin (2020) also demonstrated that rewinding the LR to its initial state at the end of each pruning cycle can improve pruning performance. In this paper, we go one step further by first providing a theoretical justification for the surprising effect of LR schedules. Next, we propose a LR schedule for network pruning called SILO, which stands for S-shaped Improved Learning rate Optimization. The advantages of SILO over existing LR schedules are two-fold: (i) SILO has a strong theoretical motivation and dynamically adjusts the LR during pruning to improve generalization. Specifically, SILO increases the LR upper bound (max_lr) in an S-shape. This leads to an improvement of 2% - 4% in extensive experiments with various types of networks (e.g., Vision Transformers, ResNet) on popular datasets such as ImageNet, CIFAR-10/100. (ii) In addition to the strong theoretical motivation, SILO is empirically optimal in the sense of matching an Oracle, which exhaustively searches for the optimal value of max_lr via grid search. We find that SILO is able to precisely adjust the value of max_lr to be within the Oracle optimized interval, resulting in performance competitive with the Oracle with significantly lower complexity.
Introduction
Deep neural networks are notoriously overparameterized, making network pruning—the process of removing redundant weights—essential for deploying models on edge devices. The standard approach is iterative pruning, where a model is pruned, retrained to recover accuracy, and the process is repeated. While much research has focused on which weights to prune, the optimization of the retraining phase, specifically the learning rate (LR) schedule, has remained relatively under-explored. Most practitioners simply "rewind" the LR to its original starting value. However, this paper identifies a fundamental mismatch: as a network becomes sparser, its internal dynamics change, requiring a more sophisticated approach to LR scheduling.
Theoretical Motivation: The Gradient Narrowing Phenomenon
A key insight of this work is that as a network becomes sparser, the distribution of its weight gradients becomes significantly narrower. This "stiffness" in the pruned model means that if the learning rate remains constant while gradients shrink, weight updates become too small to escape local minima.
To maintain the "energy" of weight updates as the network thins out, the authors theoretically prove that the learning rate must increase. This provides the foundation for the SILO (S-shaped Improved Learning rate Optimization) schedule.
The SILO Learning Rate Schedule
SILO dynamically adjusts the maximum learning rate (max_lr) across pruning cycles following an S-shaped trajectory. This schedule is divided into four intuitive phases:
- No Growth: Early in pruning, when mostly redundant weights are removed, the LR stays constant.
- Slow Growth I: As functional weights begin to be affected, the LR starts a slight climb.
- Fast Growth: During the most critical pruning stages, the LR increases rapidly to help remaining weights adapt to the significant loss of parameters.
- Slow Growth II: In heavily pruned states, LR increases offer diminishing returns, and the growth tapers off.
Experimental Evaluation and Results
The researchers validated SILO across a rigorous suite of benchmarks, including CIFAR-10/100 and ImageNet, using architectures ranging from ResNets to Vision Transformers (ViT).
- Accuracy Gains: SILO consistently outperformed standard LR schedules by 2% to 4% in top-1 accuracy at high sparsity levels. On ResNet-50/ImageNet, it improved accuracy by up to 3.2% as the network became thinner.
- Matching the Oracle: SILO's performance is competitive with an "Oracle" that exhaustively searches for the optimal LR at every step, but SILO achieves this at a fraction of the computational cost.
- Universality: The schedule is method-agnostic, showing benefits across various pruning heuristics (IMP, LAMP, LAP) and optimizers (Adam, RMSProp).
Conclusion
SILO offers a theoretically grounded and empirically superior alternative to standard LR rewinding in iterative pruning. By accounting for the narrowing gradient distributions in sparse networks, it enables significantly better generalization. Future work includes extending the theoretical proofs to non-ReLU activations and automating hyperparameter tuning for the S-curve parameters.
Summary updated