Dynamic Sparsity Is Channel-Level Sparsity Learner

Lu Yin, Gen Li, Meng Fang, Li Shen, Tianjin Huang, Zhangyang Wang, Vlado Menkovski, Xiaolong Ma, Mykola Pechenizkiy, Shiwei Liu

Introduction

Training deep neural networks is computationally expensive. Dynamic Sparse Training (DST) has emerged as a powerful technique to train models from scratch at high sparsity, significantly reducing the number of parameters. However, most DST methods produce "unstructured" sparsity—randomly distributed zeros that lack a regular pattern. While mathematically efficient, unstructured sparsity is notoriously difficult to accelerate on standard hardware like GPUs, which are optimized for dense, regular memory blocks. Consequently, the theoretical savings rarely translate to real-world speedups.

To address this, researchers introduce Chase (Channel-aware dynamic sparse), a novel training framework that bridges the gap between the theoretical benefits of sparse neural networks and actual hardware acceleration. Chase seamlessly translates unstructured dynamic sparsity into GPU-friendly channel-level sparsity during a single end-to-end training process, delivering up to a 1.7× inference speedup on standard GPUs without sacrificing accuracy.

The "Hidden Phenomenon" of Dynamic Sparsity

A core discovery driving Chase is a hidden phenomenon within standard DST methods (like RigL): they implicitly cause biased parameter reallocation. Very early in training, up to 60% of channels naturally become much sparser than others. The authors term these "sparse amenable channels."

Emergence of sparse amenable channels

These amenable channels are significantly easier to prune. Removing them causes only marginal damage to model performance compared to pruning denser channels.

The Chase Framework

Chase capitalizes on this phenomenon by starting with unstructured sparsity and progressively "learning" a structured, channel-wise sparse pattern. Key components of the framework include:

  • Unmasked Mean Magnitude (UMM): A novel metric used to identify which channels are amenable to pruning. Unlike simple magnitude pruning or Weight Sparsity (WS), UMM considers both the quantity of zeros and the quality (magnitude) of the remaining weights in a channel, proving to be a highly reliable indicator of channel importance.
  • Gradual Sparsification Schedule: Instead of pruning all at once, Chase uses a cubic schedule to slowly remove channels with the lowest UMM scores, allowing the network time to adapt.
  • Global Parameter Exploration: To maintain performance, Chase "grows" new parameters in important parts of the network based on gradient information, ensuring the parameter budget is utilized effectively.
  • Soft Memory Bound: This technique allows the model to temporarily exceed its parameter budget during the "grow" phase before pruning back down, aiding in the discovery of optimal sparse structures.

Key Results

Evaluated across standard computer vision benchmarks (CIFAR-10/100 and ImageNet-1K), Chase demonstrates significant practical advantages:

  • Real-World Speedups: On an NVIDIA 2080Ti, Chase achieved a 1.7× inference throughput speedup for ResNet-50 on ImageNet compared to the dense baseline.
  • Accuracy Parity: Chase matches or even exceeds the accuracy of state-of-the-art unstructured DST methods like RigL, despite enforcing a much more hardware-friendly structured sparsity.
  • Training Efficiency: When training time was extended to 150 epochs, Chase matched dense ResNet-50 performance while consuming only 55% of the training FLOPs.
Inference latency and throughput comparison

Limitations and Future Work

While Chase successfully produces channel-level sparsity, the remaining active channels still contain unstructured sparsity. Although this hybrid approach is already faster on current GPUs, future work could explore fully structured patterns for even greater hardware compatibility. Additionally, the authors noted that pruning channels in skip connection layers (e.g., in ResNet architectures) leads to significant accuracy drops. Consequently, the standard version of Chase leaves these layers untouched, which limits the maximum theoretical speedup. Finally, while tested on CNNs and a small Vision Transformer (ViT), extending this framework to large-scale Transformers remains a logical next step.

Summary updated

BibTeX
@inproceedings{yin2023dynamic,
  author = {Lu Yin and Gen Li and Meng Fang and Li Shen and Tianjin Huang and Zhangyang Wang and Vlado Menkovski and Xiaolong Ma and Mykola Pechenizkiy and Shiwei Liu},
  title = {{Dynamic Sparsity Is Channel-Level Sparsity Learner}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=C6IIwFHWkF},
}
Figure