Abstract
As deep learning models grow increasingly gargantuan, the computational and energy costs of training and inference have reached a critical threshold. This paper provides a high-level distillation of over 300 research works exploring sparsity—the technique of reducing neural network size and complexity by removing redundant connections. By establishing a unified taxonomy for pruning and growth strategies, the authors demonstrate that model parameters can often be reduced by 10–100x without sacrificing accuracy. This survey explores the theoretical foundations of sparsity, its practical implementation across major benchmarks, and the persistent gap between algorithmic potential and hardware reality.
Introduction: The Efficiency Crisis in Modern AI
Modern Deep Learning is currently navigating a "success crisis." While models like GPT-3 achieve remarkable performance with 175 billion parameters, they require massive supercomputing clusters and millions of dollars to train. These models are notoriously overparameterized, possessing far more capacity than necessary for their specific tasks.
The challenge lies in identifying and exploiting this redundancy to enable AI on edge devices (inference) and to make the energy footprint of training more sustainable. As shown in the historical overview above, research into sparsification has exploded since 2015, coinciding with the rise of landmark architectures like ResNet and Transformers. This paper addresses the lack of a unified framework for understanding these diverse techniques, ranging from biological inspirations to hardware-specific accelerators.
Taxonomy of Sparsification
The landscape of sparsity can be categorized along three primary axes: what to remove, when to remove it, and how to select candidates for removal.
1. What to Sparsify?
- Unstructured Sparsity: This involves removing individual weights regardless of their location. While this allows for the highest theoretical compression, it results in irregular memory access patterns that are difficult for standard hardware to accelerate.
- Structured Sparsity: This approach removes entire neurons, channels, or layers. Because it maintains the "blocky" nature of matrix operations, it is significantly easier for current GPUs to handle, though it may offer less compression than unstructured methods.
2. When to Sparsify?
- Post-training: The most common approach involves training a dense model to completion and then pruning it.
- During training: Connections are gradually removed as the model learns, reducing the computational load of the latter half of the training process.
- Sparse training: Researchers start with a sparse model and dynamically "regrow" connections to discover the optimal architecture from scratch.
3. Selection Criteria
How do we decide which weights are "useless"? Methods range from simple magnitude-based pruning (killing weights near zero) to sensitivity-based approaches that use Taylor expansions to predict which removals will minimize error. More advanced Variational/Bayesian methods treat weights as probability distributions, pruning those with high noise levels.
Key Insights and Theoretical Frameworks
Occam’s Hill and Generalization
Sparsity is not merely a tool for speed; it serves as a powerful regularizer. Initially, pruning can improve generalization by removing noise and forcing the network to focus on essential features. This phenomenon, often called "Occam’s Hill," shows that accuracy may actually increase slightly during the initial stages of pruning before eventually declining.
The Hardware Lottery
A significant disconnect exists between theoretical sparsity and real-world speed. A model with 90% sparsity may actually run slower on a standard GPU because these chips are optimized for dense, contiguous math. Realizing the benefits of sparsity requires "hardware-software co-design," where algorithms and chips are developed in tandem.
The Lottery Ticket Hypothesis
A transformative idea in recent years is that dense networks contain small subnetworks—"winning tickets"—that, if isolated and initialized correctly, could have reached the same accuracy as the giant model in the same amount of time. This suggests that the massive size of modern models is primarily necessary to ensure that a winning subnetwork is likely to exist within the initial random distribution.
Performance Results Across Benchmarks
The paper reviews results across industry-standard benchmarks, including ImageNet (ResNet-50), GLUE (BERT), and CIFAR-10/100.
- CNN Efficiency: ResNet-50 can be pruned by 80-90% with virtually no loss in ImageNet accuracy.
- Transformer Pruning: In models like BERT, up to 40% of attention heads can be removed post-training with insignificant quality loss. In some specific layers, 90% sparsity is achievable.
- Hardware Gains: Specialized sparse accelerators (e.g., EIE) have demonstrated the potential to be 13x faster and 3,400x more energy-efficient than traditional GPUs for specific sparse workloads.
Limitations and Future Directions
Despite these gains, several hurdles remain. A rigorous mathematical theory explaining why certain structures are redundant is still missing. Furthermore, pruning can amplify algorithmic bias; pruned models often show significant accuracy drops on underrepresented classes in the data, even when overall accuracy remains high.
Future research must focus on training sparse models from scratch that match the accuracy of "train-then-prune" approaches and developing wider hardware support (such as Nvidia’s Ampere architecture) to make these 100x gains practical for mainstream engineering.
Summary updated