Efficient Neural Network Training via Forward and Backward Propagation Sparsification
Xiao Zhou, Weizhong Zhang, Zonghao Chen, Shizhe Diao, Tong Zhang
摘要
Sparse training is a natural idea to accelerate the training speed of deep neural networks and save the memory usage, especially since large modern neural networks are significantly over-parameterized. However, most of the existing methods cannot achieve this goal in practice because the chain rule based gradient (w.r.t. structure parameters) estimators adopted by previous methods require dense computation at least in the backward propagation step. This paper solves this problem by proposing an efficient sparse training method with completely sparse forward and backward passes. We first formulate the training process as a continuous minimization problem under global sparsity constraint. We then separate the optimization process into two steps, corresponding to weight update and structure parameter update. For the former step, we use the conventional chain rule, which can be sparse via exploiting the sparse structure. For the latter step, instead of using the chain rule based gradient estimators as in existing methods, we propose a variance reduced policy gradient estimator, which only requires two forward passes without backward propagation, thus achieving completely sparse training. We prove that the variance of our gradient estimator is bounded. Extensive experimental results on real-world datasets demonstrate that compared to previous methods, our algorithm is much more effective in accelerating the training process, up to an order of magnitude faster.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Sparse Invariant Risk Minimization 引用了 Bayesian Invariant Risk Minimization
- Sparse Invariant Risk Minimization 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
- Sparse Invariant Risk Minimization 引用了 Model Agnostic Sample Reweighting for Out-of-Distribution Learning
- Model Agnostic Sample Reweighting for Out-of-Distribution Learning 引用了 Sparse Invariant Risk Minimization
- Soft Threshold Weight Reparameterization for Learnable Sparsity 引用了 Rigging the Lottery: Making All Tickets Winners
- Rigging the Lottery: Making All Tickets Winners 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
- Model Agnostic Sample Reweighting for Out-of-Distribution Learning 引用了 Bayesian Invariant Risk Minimization
- Model Agnostic Sample Reweighting for Out-of-Distribution Learning 引用了 Probabilistic Bilevel Coreset Selection
- Probabilistic Bilevel Coreset Selection 引用了 Model Agnostic Sample Reweighting for Out-of-Distribution Learning
- Why Random Pruning Is All We Need to Start Sparse 引用了 Soft Threshold Weight Reparameterization for Learnable Sparsity
- Why Random Pruning Is All We Need to Start Sparse 引用了 Picking Winning Tickets Before Training by Preserving Gradient Flow
- Why Random Pruning Is All We Need to Start Sparse 引用了 Rigging the Lottery: Making All Tickets Winners
- Why Random Pruning Is All We Need to Start Sparse 引用了 Comparing Rewinding and Fine-tuning in Neural Network Pruning
引用它的顶会 Paper16
- Sparse Invariant Risk MinimizationXiao Zhou, Yong Lin, Weizhong Zhang, Tong ZhangICML 2022 · 85 次引用
- Model Agnostic Sample Reweighting for Out-of-Distribution LearningXiao Zhou, Yong Lin, Renjie Pi, Weizhong Zhang 等ICML 2022 · 73 次引用
- Bayesian Invariant Risk MinimizationYong Lin, Hanze Dong, Hao Wang, Tong ZhangCVPR 2022 · 48 次引用
- Probabilistic Bilevel Coreset SelectionXiao Zhou, Renjie Pi, Weizhong Zhang, Yong Lin 等ICML 2022 · 39 次引用
- Why Random Pruning Is All We Need to Start SparseAdvait Harshal Gadhikar, Sohom Mukherjee, Rebekka BurkholzICML 2023 · 33 次引用
它引用的 Paper14
- Picking Winning Tickets Before Training by Preserving Gradient FlowChaoqi Wang, Guodong Zhang, Roger B. GrosseICLR 2020 · 743 次引用
- Rigging the Lottery: Making All Tickets WinnersUtku Evci, Trevor Gale, Jacob Menick, Pablo Samuel Castro 等ICML 2020 · 723 次引用
- Comparing Rewinding and Fine-tuning in Neural Network PruningAlex Renda, Jonathan Frankle, Michael CarbinICLR 2020 · 437 次引用
- Soft Threshold Weight Reparameterization for Learnable SparsityAditya Kusupati, Vivek Ramanujan, Raghav Somani, Mitchell Wortsman 等ICML 2020 · 266 次引用
- Operation-Aware Soft Channel Pruning using Differentiable MasksMinsoo Kang, Bohyung HanICML 2020 · 165 次引用
相关 Paper
- SparseProp: Efficient Sparse Backpropagation for Faster Training of Neural Networks at the EdgeMahdi Nikdan, Tommaso Pegolotti, Eugenia Iofinova, Eldar Kurtic 等ICML 2023 · 14 次引用
- SparseTrain: Exploiting Dataflow Sparsity for Efficient Convolutional Neural Networks TrainingPengcheng Dai, Jianlei Yang, Xucheng Ye, Xingzhou Cheng 等DAC 2020 · 27 次引用
- AC/DC: Alternating Compressed/DeCompressed Training of Deep Neural NetworksAlexandra Peste, Eugenia Iofinova, Adrian Vladu, Dan AlistarhNeurIPS 2021 · 84 次引用
- Dynamic Sparse Training: Find Efficient Sparse Network From Scratch With Trainable Masked LayersJunjie Liu, Zhe Xu, Runbin Shi, Ray C. C. Cheung 等ICLR 2020 · 136 次引用
- One Forward is Enough for Neural Network Training via Likelihood Ratio MethodJinyang Jiang, Zeliang Zhang, Chenliang Xu, Zhaofei Yu 等ICLR 2024 · 14 次引用
