DeepHoyer: Learning Sparser Neural Network with Differentiable Scale-Invariant Sparsity Measures
Huanrui Yang, Wei Wen, Hai Li
Abstract
In seeking for sparse and efficient neural network models, many previous works investigated on enforcing 1 or 0 regularizers to encourage weight sparsity during training. The 0 regularizer measures the parameter sparsity directly and is invariant to the scaling of parameter values. But it cannot provide useful gradients and therefore requires complex optimization techniques. The 1 regularizer is almost everywhere differentiable and can be easily optimized with gradient descent. Yet it is not scale-invariant and causes the same shrinking rate to all parameters, which is inefficient in increasing sparsity. Inspired by the Hoyer measure (the ratio between 1 and 2 norms) used in traditional compressed sensing problems, we present DeepHoyer, a set of sparsity-inducing regularizers that are both differentiable almost everywhere and scale-invariant. Our experiments show that enforcing DeepHoyer regularizers can produce even sparser neural network models than previous works, under the same accuracy level. We also show that DeepHoyer can be applied to both element-wise and structural pruning. The codes are available at https://github.com/yanghr/DeepHoyer .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 37cdd03f-c997-40a7-b24e-c5f93184e67bCited by top-tier papers12
- Neuron-level Structured Pruning using Polarization RegularizerTao Zhuang, Zhixuan Zhang, Yuheng Huang, Xiaoyi Zeng et al.NeurIPS 2020 · 168 citations
- BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network QuantizationHuanrui Yang, Lin Duan, Yiran Chen, Hai LiICLR 2021 · 83 citations
- AutoGrow: Automatic Layer Growing in Deep Convolutional NetworksWei Wen, Feng Yan, Yiran Chen, Hai LiKDD 2020 · 25 citations
- Dynamic Structure Pruning for Compressing CNNsJun-Hyung Park, Yeachan Kim, Junho Kim, Joon-Young Choi et al.AAAI 2023 · 24 citations
- Model Preserving Compression for Neural NetworksJerry Chee, Megan Flynn, Anil Damle, Christopher De SaNeurIPS 2022 · 19 citations
Related papers
- Deep Weight Factorization: Sparse Learning Through the Lens of Artificial SymmetriesChris Kolb, Tobias Weber, Bernd Bischl, David RügamerICLR 2025
- Can we get the best of both Binary Neural Networks and Spiking Neural Networks for Efficient Computer Vision?Gourav Datta, Zeyu Liu, Peter Anthony BeerelICLR 2024 · 6 citations
- Fiedler Regularization: Learning Neural Networks with Graph SparsityEdric Tam, David B. DunsonICML 2020 · 15 citations
- Neural Pruning via Growing RegularizationHuan Wang, Can Qin, Yulun Zhang, Yun FuICLR 2021 · 188 citations
- The Flip Side of the Reweighted Coin: Duality of Adaptive Dropout and RegularizationDaniel LeJeune, Hamid Javadi, Richard G. BaraniukNeurIPS 2021 · 8 citations
