Abstract
Several challenges make it difficult for sparse neural networks to compete with dense models. First, setting a large fraction of weights to zero impairs forward and gradient signal propagation. Second, sparse studies often need to test multiple sparsity levels, while also introducing new hyperparameters (HPs), leading to prohibitive tuning costs. Indeed, the standard practice is to re-use the learning HPs originally crafted for dense models. Unfortunately, we show sparse and dense networks do not share the same optimal HPs. Without stable dynamics and effective training recipes, it is costly to test sparsity at scale, which is key to surpassing dense networks and making the business case for sparsity acceleration in hardware. A holistic approach is needed to tackle these challenges and we propose SμPar as one such approach. For random unstructured static sparsity, SμPar ensures activations, gradients, and weight updates all scale independently of sparsity level. Further, by reparameterizing the HPs, SμPar enables the same HP values to be optimal as we vary both sparsity level and model width. HPs can be tuned on small dense networks and transferred to large sparse models, greatly reducing tuning costs. On large-scale language modeling, SμPar shows increasing improvements over standard parameterization as sparsity increases, leading up to 11.9% relative loss improvement at 99.2% sparsity.
Introduction
Training sparse neural networks—where a significant portion of weights are zero—is a promising strategy for reducing the massive computational costs of modern AI. However, two major hurdles have historically limited their adoption: vanishing signals during training and the "hyperparameter detuning" effect. In standard training setups, increasing sparsity causes the magnitude of activations and gradients to shrink, leading to instability. Furthermore, the optimal learning rate for a dense model is rarely optimal for a sparse one; as models become sparser, they typically require higher learning rates. Because tuning HPs for every sparsity level is prohibitively expensive, researchers often settle for suboptimal performance by re-using dense HPs.
The SμPar Framework
We introduce SμPar (Sparse maximal update parameterization), a novel framework that stabilizes sparse training dynamics. SμPar extends the principles of maximal update parameterization (μP) by incorporating a density multiplier ($m_\rho$) into the scaling laws. By reparameterizing weight initialization and learning rates (e.g., scaling AdamW learning rates by $1/(m_d \cdot m_\rho)$, where $m_d$ is model width), SμPar ensures that the "typical element size" of activations and updates remains consistent ($\Theta(1)$) regardless of width or sparsity.
Hyperparameter Stability and μTransfer
A core benefit of SμPar is the stability of optimal hyperparameters across different sparsity levels. In standard practice, the optimal learning rate "valley" shifts significantly as sparsity increases, making dense HPs a poor fit for sparse models. SμPar flattens this landscape, keeping the optimal HP values fixed.
This stability enables "μTransfer": the ability to find optimal HPs on a tiny dense proxy model and apply them directly to massive sparse models. This zero-shot transfer drastically reduces the computational overhead of sparse model research.
Experimental Results
Evaluated on large-scale language modeling (SlimPajama), SμPar consistently outperforms both Standard Parameterization (SP) and standard μP across the entire density spectrum.
At extreme sparsity levels (99.2%), SμPar achieved an 11.9% relative loss improvement over standard practice. Downstream benchmark performance (e.g., ARC-easy, LAMBADA) also remained robust, with SμPar models maintaining over 40% average accuracy at 99% sparsity, whereas standard models approached the accuracy of random guessing.
Conclusion
SμPar provides a holistic scaling law that makes sparse training as predictable and tunable as dense training. By solving the signal propagation and hyperparameter shift issues, it paves the way for testing sparsity at scales previously considered too costly. While currently optimized for static random sparsity, future work aims to adapt these scaling laws for dynamic sparsity methods like RigL.
Summary updated