Introduction
In the pursuit of efficient artificial intelligence, achieving high levels of "sparsity"—where the majority of model weights are zero—remains a primary objective. While $L_1$ regularization is the standard approach for inducing sparsity, it presents significant challenges in deep learning due to its non-differentiability at zero. This "sharpness" often conflicts with the smooth optimization paths required by Stochastic Gradient Descent (SGD), frequently resulting in models that require secondary pruning steps to achieve true sparsity.
Deep Weight Factorization (DWF) addresses this by decomposing weights into multiple factors. By applying simple $L_2$ regularization to these factors, the model effectively optimizes a powerful non-convex sparsity penalty. This method allows for the training of highly sparse networks end-to-end using standard optimization techniques, consistently outperforming both shallow factorization and state-of-the-art pruning methods like SNIP and SynFlow.
Methodology: The Power of Factorization
The core mechanism of DWF involves replacing every weight $w$ in a network with a product of $D$ factors: $$w = \omega_1 \odot \omega_2 \odot \dots \odot \omega_D$$ Instead of penalizing the weight $w$ directly, standard $L_2$ regularization (weight decay) is applied to the individual factors $\omega_d$.
Theoretical Equivalence and Depth
The authors demonstrate that applying $L_2$ to $D$ factors is mathematically equivalent to applying an $L_{2/D}$ penalty to the original weight. As the depth $D$ increases, the penalty becomes increasingly "pointy" at zero, effectively mimicking the ideal $L_0$ norm. This transition from shallow ($D=2$) to deep ($D \ge 3$) factorization allows the model to be more aggressive in zeroing out unimportant weights while maintaining differentiability.
Initialization and Optimization
Standard initialization schemes fail for $D > 2$ as the product of many random variables tends to collapse to zero. To counter this, the authors introduced "VarMatch," a scheme designed to preserve variance across factors, and "Absolute Value Truncation" to prevent the formation of "dead weights" at the start of training. Furthermore, DWF utilizes specific learning rate schedules, such as cosine annealing, to navigate the complex landscape created by the "artificial symmetries" inherent in factorization.
Experimental Results
DWF was evaluated across various benchmarks, including MNIST variants, CIFAR-10/100, and Tiny ImageNet, using architectures ranging from LeNet to ResNet-34.
Superior Compression and Accuracy
DWF consistently outperformed Global Magnitude Pruning (GMP), SNIP, and SynFlow. A notable result was achieved on VGG-19 (CIFAR-100), where DWF with $D=3$ reached a compression ratio of 1014x while maintaining accuracy within 10% of the dense baseline—nearly four times the compression efficiency of SynFlow. Unlike some pruning methods that risk "layer collapse" at high compression ratios, DWF automatically learns an adaptive sparsity budget for each layer.
Pruning Synergy
One of the most compelling findings is that DWF can serve as a powerful "pre-sparsifier." When combined with post-hoc pruning, DWF allowed models like ResNet-18 to achieve three times higher sparsity than standard methods at equivalent accuracy levels.
Discussion and Future Work
While DWF excels at unstructured sparsity, its application to "structured" sparsity (removing entire neurons or channels) remains an area for future exploration, as structured sparsity is often more beneficial for hardware-level speedups. Additionally, the authors noted diminishing returns for depths beyond $D=4$, where optimization becomes significantly more difficult.
In conclusion, Deep Weight Factorization provides a robust framework for inducing sparsity by leveraging artificial symmetries. By transforming the optimization problem through factorization, DWF enables the training of ultra-sparse networks that are both efficient and accurate, bridging the gap between theoretical sparsity and practical deep learning optimization.
Summary updated