Deep learning has a "weight" problem. While we know that most of the parameters in a massive neural network are redundant, the standard way to find a smaller, efficient version of that network is to first train the massive "dense" version and then prune it. This is computationally expensive and increasingly impractical as models scale.
A growing body of research, led by researchers like Shiwei Liu and Decebal Constantin Mocanu, is shifting the paradigm toward Dynamic Sparse Training (DST). The goal is to train sparse models from scratch—maintaining a fixed, low parameter count from the first iteration to the last—while evolving the network's topology to find the most important connections.
The Sparsity Paradox
The central challenge in this field is a frustrating discrepancy: a network with 90% fewer weights should theoretically be 10x faster, but on a standard GPU, it often runs at the same speed as the dense model, or even slower.
As noted in Selfish Sparse RNN Training and SparseProp, modern hardware like GPUs and TPUs are "dense-first" architectures. They are optimized for General Matrix Multiplication (GEMM), where data is laid out in neat, contiguous blocks. Unstructured sparsity—where weights are removed randomly—creates irregular memory access patterns that break these optimizations. This "hardware-software mismatch" means that theoretical FLOP reductions rarely translate to wall-clock speedups without specialized intervention.
Training from Scratch: The Sparse-to-Sparse Paradigm
To avoid the cost of training a dense model just to throw most of it away, DST methods keep the model sparse throughout the entire lifecycle. In Don't Be So Dense: Sparse-to-Sparse GAN Training Without Sacrificing Performance, Shiwei Liu and colleagues demonstrate that even complex architectures like GANs can be trained this way, reducing training costs by up to 84%.
The intuition behind why this works lies in the Lottery Ticket Hypothesis (LTH). As Sharath Girish shows in The Lottery Ticket Hypothesis for Object Recognition, large networks contain sparse "winning tickets"—subnetworks that, if initialized correctly, can reach the same accuracy as the full model. DST is essentially a search algorithm for these winning tickets that runs during training.
How Dynamic Topology Evolution Works
If we start with a random sparse initialization, how does the model know which connections to keep? Most DST algorithms use a "Prune-and-Grow" mechanism:
- Pruning: Periodically, the algorithm removes the "weakest" connections (usually those with the smallest weight magnitudes).
- Growing: To maintain the total parameter budget, the algorithm "grows" new connections in locations that were previously zero.
The "growth" phase is where the magic happens. In Always-Sparse Training by Growing Connections with Guided Stochastic Exploration, Mike Heddes and Tony Givargis introduce Guided Stochastic Exploration (GSE), which uses gradient magnitudes to decide where new connections are most needed. Similarly, Mykola Pechenizkiy and Zahra Atashgahi developed PALS (Adaptive Sparsity Level During Training), which goes a step further by dynamically adjusting the total number of connections based on the model's performance.
Bridging the Gap with Hardware-Aware Kernels
To solve the hardware mismatch, researchers are moving away from purely unstructured sparsity toward structured or semi-structured patterns that GPUs can actually digest.
- Compiler-Level Solutions: Zihao Ye introduced SparseTIR, a compiler framework that allows developers to write high-level sparse code that is automatically optimized for hardware units like Tensor Cores.
- Specialized Kernels: In Acc-SpMM, H. B. Zhao and team developed a library that reorders sparse data into blocks that Tensor Cores can process efficiently, achieving a 5x speedup over standard vendor libraries.
- Structured Sparsity: Methods like LPViT and Learn To be Efficient (LTE) by Haizhong Zheng focus on "block-wise" or "token-level" sparsity. By removing entire blocks of neurons or tokens at once, the computation remains regular enough for standard GPU kernels to skip them efficiently.
Why Sparsity Matters Beyond Speed
While efficiency is the primary driver, extreme sparsity offers unexpected benefits. Leo Gao and Dan Mossing demonstrate in Weight-sparse transformers have interpretable circuits that forcing weights to be sparse makes models significantly more interpretable. By reducing the "superposition" of features, researchers can reverse-engineer the specific "circuits" the model uses to solve tasks. Furthermore, Shiwei Liu argues in Learning Sparse Neural Networks for Better Generalization that the inherent regularization of sparse training can actually help models generalize better to new data than their overparameterized dense counterparts.