CPT: Efficient Deep Neural Network Training via Cyclic Precision
Yonggan Fu, Han Guo, Meng Li, Xin Yang, Yining Ding, Vikas Chandra, Yingyan Lin
摘要
Low-precision deep neural network (DNN) training has gained tremendous attention as reducing precision is one of the most effective knobs for boosting DNNs' training time/energy efficiency. In this paper, we attempt to explore low-precision training from a new perspective as inspired by recent findings in understanding DNN training: we conjecture that DNNs' precision might have a similar effect as the learning rate during DNN training, and advocate dynamic precision along the training trajectory for further boosting the time/energy efficiency of DNN training. Specifically, we propose Cyclic Precision Training (CPT) to cyclically vary the precision between two boundary values which can be identified using a simple precision range test within the first few training epochs. Extensive simulations and ablation studies on five datasets and eleven models demonstrate that CPT's effectiveness is consistent across various models/tasks (including classification and language modeling). Furthermore, through experiments and visualization we show that CPT helps to (1) converge to a wider minima with a lower generalization error and (2) reduce training variance which we believe opens up a new design knob for simultaneously improving the optimization and efficiency of DNN training. Our codes are available at: https://github.com/RICE-EIC/CPT .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ShiftAddNet: A Hardware-Inspired Deep Network 引用了 Drawing Early-Bird Tickets: Toward More Efficient Training of Deep Networks
- AMPA: Adaptive Mixed Precision Allocation for Low-Bit Integer Training 引用了 FracBits: Mixed Precision Quantization via Fractional Bit-Widths
- AMPA: Adaptive Mixed Precision Allocation for Low-Bit Integer Training 引用了 Towards Unified INT8 Training for Convolutional Neural Network
引用它的顶会 Paper5
- 2-in-1 Accelerator: Enabling Random Precision Switch for Winning Both Adversarial Robustness and EfficiencyYonggan Fu, Yang Zhao, Qixuan Yu, Chaojian Li 等MICRO 2021 · 14 次引用
- InstantNet: Automated Generation and Deployment of Instantaneously Switchable-Precision NetworksYonggan Fu, Zhongzhi Yu, Yongan Zhang, Yifan Jiang 等DAC 2021 · 6 次引用
- AMPA: Adaptive Mixed Precision Allocation for Low-Bit Integer TrainingLi Ding, Wen Fei, Yuyang Huang, Shuangrui Ding 等ICML 2024 · 5 次引用
- Theory of Minimal Weight Perturbations in Deep Networks and its Applications for Low-Rank Activated Backdoor AttacksBethan Evans, Jared TannerICML 2026 · 1 次引用
- Progressive Mixed-Precision Decoding for Efficient LLM InferenceHao Mark Chen, Fuwen Tan, Alexandros Kouris, Royson Lee 等ICLR 2025 · 1 次引用
它引用的 Paper5
- Drawing Early-Bird Tickets: Toward More Efficient Training of Deep NetworksHaoran You, Chaojian Li, Pengfei Xu, Yonggan Fu 等ICLR 2020 · 282 次引用
- ShiftAddNet: A Hardware-Inspired Deep NetworkHaoran You, Xiaohan Chen, Yongan Zhang, Chaojian Li 等NeurIPS 2020 · 99 次引用
- FracBits: Mixed Precision Quantization via Fractional Bit-WidthsLinjie Yang, Qing JinAAAI 2021 · 95 次引用
- Fractional Skipping: Towards Finer-Grained Dynamic CNN InferenceJianghao Shen, Yue Wang, Pengfei Xu, Yonggan Fu 等AAAI 2020 · 49 次引用
- Towards Unified INT8 Training for Convolutional Neural NetworkFeng Zhu, Ruihao Gong, Fengwei Yu, Xianglong Liu 等CVPR 2020
相关 Paper
- HLHLp: Quantized Neural Networks Training for Reaching Flat Minima in Loss SurfaceSungho Shin, Jinhwan Park, Yoonho Boo, Wonyong SungAAAI 2020 · 6 次引用
- FracTrain: Fractionally Squeezing Bit Savings Both Temporally and Spatially for Efficient DNN TrainingYonggan Fu, Haoran You, Yang Zhao, Yue Wang 等NeurIPS 2020 · 36 次引用
- Any-Precision Deep Neural NetworksHaichao Yu, Haoxiang Li, Humphrey Shi, Thomas S. Huang 等AAAI 2021 · 79 次引用
- How Low Can We Go: Trading Memory for Error in Low-Precision TrainingChengrun Yang, Ziyang Wu, Jerry Chee, Christopher De Sa 等ICLR 2022 · 4 次引用
- DIVISION: Memory Efficient Training via Dual Activation PrecisionGuanchu Wang, Zirui Liu, Zhimeng Jiang, Ninghao Liu 等ICML 2023 · 4 次引用
