DIVISION: Memory Efficient Training via Dual Activation Precision
Guanchu Wang, Zirui Liu, Zhimeng Jiang, Ninghao Liu, Na Zou, Xia Ben Hu
摘要
Activation compressed training provides a solution towards reducing the memory cost of training deep neural networks (DNNs). However, state-of-the-art work combines a search of quantization bit-width with the training, which makes the procedure complicated and less transparent. To this end, we propose a simple and effective method to compress DNN training. Our method is motivated by an instructive observation: DNN backward propagation mainly utilizes the low-frequency component (LFC) of the activation maps, while the majority of memory is for caching the high-frequency component (HFC) during the training. This indicates the HFC of activation maps is highly redundant and compressible during DNN training, which inspires our proposed Dual Activation Precision (DIVISION). During the training, DIVISION preserves the high-precision copy of LFC and compresses the HFC into a light-weight copy with low numerical precision. This can significantly reduce the memory cost without negatively affecting the precision of backward propagation such that DIVISION maintains competitive model accuracy. Experiment results show DIVISION has better comprehensive performance than state-of-the-art methods, including over 10x compression of activation maps and competitive training throughput, without loss of model accuracy.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Training 引用了 A Statistical Framework for Low-bitwidth Training of Deep Neural Networks
- Reducing Fine-Tuning Memory Overhead by Approximate and Memory-Sharing Backpropagation 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Reducing Fine-Tuning Memory Overhead by Approximate and Memory-Sharing Backpropagation 引用了 ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Training
- FedMef: Towards Memory-Efficient Federated Dynamic Pruning 引用了 ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Training
引用它的顶会 Paper3
- One Less Reason for Filter Pruning: Gaining Free Adversarial Robustness with Structured Grouped Kernel PruningShaochen (Henry) Zhong, Zaichuan You, Jiamu Zhang, Sebastian Zhao 等NeurIPS 2023 · 13 次引用
- Reducing Fine-Tuning Memory Overhead by Approximate and Memory-Sharing BackpropagationYuchen Yang, Yingdong Shi, Cheems Wang, Xiantong Zhen 等ICML 2024 · 5 次引用
- FedMef: Towards Memory-Efficient Federated Dynamic PruningHong Huang, Weiming Zhuang, Chen Chen, Lingjuan LyuCVPR 2024
它引用的 Paper12
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed TrainingJianfei Chen, Lianmin Zheng, Zhewei Yao, Dequan Wang 等ICML 2021 · 93 次引用
- A Statistical Framework for Low-bitwidth Training of Deep Neural NetworksJianfei Chen, Yu Gai, Zhewei Yao, Michael W. Mahoney 等NeurIPS 2020 · 75 次引用
- Don't Waste Your Bits! Squeeze Activations and Gradients for Deep Neural Networks via TinyScriptFangcheng Fu, Yuzheng Hu, Yihan He, Jiawei Jiang 等ICML 2020 · 73 次引用
- EXACT: Scalable Graph Neural Networks Training via Extreme Activation CompressionZirui Liu, Kaixiong Zhou, Fan Yang, Li Li 等ICLR 2022 · 72 次引用
相关 Paper
- ALAM: Averaged Low-Precision Activation for Memory-Efficient Training of Transformer ModelsSunghyeon Woo, Sunwoo Lee, Dongsuk JeonICLR 2024 · 4 次引用
- INSTANT: Compressing Gradients and Activations for Resource-Efficient TrainingTuan-Kiet Doan, Trung-Hieu Tran, Enzo Tartaglione, Nikola Simidjievski 等ICLR 2026
- JPEG-ACT: Accelerating Deep Learning via Transform-based Lossy CompressionR. David Evans, Lufei Liu, Tor M. AamodtISCA 2020 · 47 次引用
- Accurate Neural Training with 4-bit Matrix Multiplications at Standard FormatsBrian Chmiel, Ron Banner, Elad Hoffer, Hilla Ben-Yaacov 等ICLR 2023 · 6 次引用
- Towards Cheaper Inference in Deep Networks with Lower Bit-Width AccumulatorsYaniv Blumenfeld, Itay Hubara, Daniel SoudryICLR 2024 · 5 次引用
