Parameter Efficient Training of Deep Convolutional Neural Networks by Dynamic Sparse Reparameterization

Hesham Mostafa, Xin Wang

Introduction

Modern deep learning success is often attributed to overparameterization, where models are intentionally designed with far more parameters than necessary for the task. While post-training pruning can remove up to 90% of these weights with minimal accuracy loss, the standard workflow requires training a massive dense model first. This "training-time bottleneck" limits the development of large-scale models to entities with vast computational resources. This paper introduces Dynamic Sparse Reparameterization, a method to train sparse networks from scratch that achieve the performance of dense models without ever requiring full parameterization.

Dynamic Sparse Reparameterization

The core innovation lies in treating the network's connectivity as a dynamic property that evolves during the optimization process. Unlike static sparse training, which fixes the mask at initialization, this approach allows parameters to migrate across layers to where they are most "useful."

The algorithm follows a four-step cycle:

  1. Sparse Initialization: The model begins with a random mask at a target global sparsity level (e.g., 10% density).
  2. Adaptive Pruning: Periodically, weights with the smallest magnitudes are pruned using an adaptive global threshold.
  3. Heuristic Growth: The pruned parameter budget is redistributed to layers that demonstrate high utility, measured by the survival rate of their non-zero entries.
  4. Cross-Layer Reallocation: Parameters are allowed to move between different layers and residual blocks, enabling the network to automatically discover optimal capacity allocation.

Experimental Results

The researchers evaluated the method on standard benchmarks including CIFAR-10 (Wide ResNet) and ImageNet (ResNet-50). On ImageNet at 80% sparsity, the method achieved a Top-1 accuracy of 73.3%, matching the performance of iterative pruning ("Compressed Sparse") which requires a pre-trained dense model.

Figure 4: (a) Test accuracy vs. parameter count on CIFAR-10. Dynamic sparse reparameterization (orange) outperforms thin dense and static sparse models. (b) Emergent sparsity patterns across residual groups.

As shown in Figure 4(a), the dynamic sparse approach consistently outperforms "thin" dense models and static sparse configurations across various parameter budgets. Furthermore, Figure 4(b) illustrates that the algorithm naturally discovers structural patterns: deeper layers (Residual Group 3) are assigned higher sparsity, while shallower layers remain denser.

Key Insights

The Importance of Structural Exploration

A critical finding of this work is that the final sparse structure alone is not the source of performance. When the researchers re-trained the final discovered mask from scratch (following the Lottery Ticket Hypothesis), it failed to match the accuracy of the dynamic training process. This suggests that the act of "searching" the structural space during training—moving parameters around—provides a form of structural regularization that helps the optimizer escape poor local minima.

Fine-Grained Sparsity Patterns

The method's ability to reallocate parameters at a granular level allows it to discover complex sparsity distributions that would be difficult to design manually.

Figure 5: Layer-wise sparsity distribution for global sparsity levels of 0.8 (a) and 0.9 (b). The algorithm discovers that specific layers within each residual group require different levels of connectivity.

Figure 5 shows the detailed layer-by-layer sparsity for a deeper architecture. The "sawtooth" patterns within residual groups indicate that the algorithm identifies specific functional roles for different layers, automatically adjusting their capacity to maximize global performance.

Conclusion and Future Work

Dynamic Sparse Reparameterization offers a path toward training massive models with a fraction of the memory and FLOPs. While the method is highly efficient in terms of parameter count, the authors note that current hardware (GPUs) is primarily optimized for dense operations. Realizing the full wall-clock speedup potential of this method will require specialized hardware support for unstructured sparsity. Future research will also focus on closing the theoretical gap in understanding why structural exploration so effectively aids SGD convergence.

Summary updated

BibTeX
@inproceedings{mostafa2019parameter,
  author = {Hesham Mostafa and Xin Wang},
  title = {{Parameter Efficient Training of Deep Convolutional Neural Networks by Dynamic Sparse Reparameterization}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=SyZur3ZO-S},
}
Figure