Deep Weight Factorization: Sparse Learning Through the Lens of Artificial Symmetries
Chris Kolb, Tobias Weber, Bernd Bischl, David Rügamer
TL;DR
This work tackles the challenge of inducing sparsity in neural networks with SGD by turning non-differentiable $L_1$ regularization into a differentiable framework through deep weight factorization (DWF). It theoretically proves an equivalence between a deep factorized objective and a non-convex $L_{2/D}$ regularization on the collapsed weights for depth $D\geq 2$, enabling standard SGD to find sparse solutions via $L_2$ penalties on the factor matrices. The authors provide a tailored initialization (VarMatch with interval truncation) and learning-rate strategies to stabilize training, and they reveal three distinct learning phases and delayed generalization tied to regularization and depth. Empirically, DWF consistently outperforms shallow factorization and many pruning baselines across diverse architectures and datasets, delivering high compression with minimal runtime overhead, and exhibiting adaptive layer-wise sparsity budgets that avoid catastrophic layer pruning. These results imply a practical and theoretically grounded route to efficient, sparse deep models without post-hoc pruning.
Abstract
Sparse regularization techniques are well-established in machine learning, yet their application in neural networks remains challenging due to the non-differentiability of penalties like the $L_1$ norm, which is incompatible with stochastic gradient descent. A promising alternative is shallow weight factorization, where weights are decomposed into two factors, allowing for smooth optimization of $L_1$-penalized neural networks by adding differentiable $L_2$ regularization to the factors. In this work, we introduce deep weight factorization, extending previous shallow approaches to more than two factors. We theoretically establish equivalence of our deep factorization with non-convex sparse regularization and analyze its impact on training dynamics and optimization. Due to the limitations posed by standard training practices, we propose a tailored initialization scheme and identify important learning rate requirements necessary for training factorized networks. We demonstrate the effectiveness of our deep weight factorization through experiments on various architectures and datasets, consistently outperforming its shallow counterpart and widely used pruning methods.
