Training sparse neural networks—where a large percentage of weights are set to zero—is notoriously difficult, making it hard for them to compete with dense models. SµPar (Sparse maximal update parameterization) offers a holistic approach to stabilize the training dynamics of sparse networks. By scaling initialization and learning rates based on sparsity levels, SµPar enables "hyperparameter transfer," allowing researchers to tune a small dense model once and apply those optimal settings to massive sparse models.
The Challenge of Sparse Training
Researchers face two primary hurdles when training sparse networks:
- Vanishing Signals: High sparsity impairs the flow of activations and gradients. In standard setups, removing more weights causes the signal to effectively "fade out," leading to poor convergence.
- The Tuning Nightmare: Optimal hyperparameters (HPs), such as learning rates, shift significantly as sparsity increases. Standard practice reuses HPs from dense models, which is suboptimal. Manually tuning HPs for every sparsity level and model size is computationally prohibitive, often defeating the cost-saving purpose of sparsity.
Without stable training dynamics and a reliable way to transfer HPs across scales, sparse models struggle to match their dense counterparts, weakening the business case for hardware-level sparsity acceleration.
The SµPar Method
SµPar extends the Maximal Update Parameterization (µP) by satisfying the Feature Learning Desiderata (FLD). It ensures that activations, gradients, and weight updates remain at a consistent scale ($\Theta(1)$) regardless of model width or sparsity level.
While standard µP only accounts for model width ($m_d$), SµPar introduces a density multiplier ($m_\rho$). Key adjustments include:
- Initialization: The variance of hidden weights is scaled by $1/(m_d \cdot m_\rho)$. As density decreases (higher sparsity), remaining weights are initialized with higher variance to maintain signal strength.
- Learning Rate: The learning rate for optimizers like AdamW is scaled by $1/(m_d \cdot m_\rho)$, ensuring the "effective" update to activations remains stable.
This mathematical framework guarantees that the optimal learning rate found for a small, dense proxy model remains optimal for a massive, sparse model.
Key Insights
In standard parameterizations, increasing width causes activations to explode, while increasing sparsity causes them to vanish; sparsity acts as the "anti-width." SµPar balances both forces.
Crucially, SµPar provides hyperparameter stability. Under standard practice, the best learning rate shifts as sparsity changes. SµPar keeps this optimum stable, fundamentally changing the workflow. Instead of expensive, inconclusive tuning at scale, researchers can perform "cheap tuning" on small models and confidently scale up.
Empirical Results
Evaluated on GPT-like transformer architectures using the SlimPajama dataset and various downstream benchmarks (ARC-easy, LAMBADA, RACE, PIQA, BoolQ), SµPar demonstrated significant improvements:
- Pareto Frontier Performance: SµPar consistently defines the best possible loss across all sparsity levels. At extreme 99.2% sparsity, SµPar achieved an 11.9% relative loss improvement over standard parameterization (SP) and a 1.9% improvement over standard µP.
- Downstream Robustness: Even at extreme sparsity (99%+), SµPar models maintained over 40% average accuracy on downstream tasks, whereas standard models collapsed toward the random baseline (~34%).
- Signal Preservation: SµPar successfully prevents activations from vanishing as density decreases, maintaining consistent activation scales across attention and feed-forward blocks unlike SP and µP.
Limitations and Future Work
While SµPar makes training sparse models mathematically sound, challenges remain. The method currently "overcorrects" when used with dynamic sparsity methods like Gradual Magnitude Pruning (GMP), requiring future work to generalize the parameterization for non-Gaussian weight distributions. Additionally, scaling factors must be derived specifically for each optimizer, and widespread hardware support for unstructured sparsity is still needed to realize actual wall-clock speedups during training.
Summary updated