Deep neural network (DNN) quantization converting floating-point (FP) data in the network to integers (INT) is an effective way to shrink the model size for memory saving and simplify the operations for compute acceleration. Recently, researches on DNN quantization develop from inference to training, laying a foundation for the online training on accelerators. However, existing schemes leaving batch normalization (BN) untouched during training are mostly incomplete quantization that still adopts high precision FP in some parts of the data paths. Currently, there is no solution that can use only low bit-width INT data during the whole training process of large-scale DNNs with acceptable accuracy. In this work, through decomposing all the computation steps in DNNs and fusing three special quantization functions to satisfy the different precision requirements, we propose a unified complete quantization framework termed as ``WAGEUBN'' to quantize DNNs involving all data paths including W (Weights), A (Activation), G (Gradient), E (Error), U (Update), and BN. Moreover, the Momentum optimizer is also quantized to realize a completely quantized framework. Experiments on ResNet18/34/50 models demonstrate that WAGEUBN can achieve competitive accuracy on the ImageNet dataset. For the first time, the study of quantization in large-scale DNNs is advanced to the full 8-bit INT level. In this way, all the operations in the training and inference can be bit-wise operations, pushing towards faster processing speed, decreased memory cost, and higher energy efficiency. Our throughout quantization framework has great potential for future efficient portable devices with online learning ability.
Towards Efficient Full 8-bit Integer DNN Online Training on Resource-limited Devices without Batch Normalization
Beijing University of Posts and Telecommunications(北京邮电大学);Beijing Institute of Technology(北京理工大学);Capital Medical University(首都医科大学);Tsinghua University(清华大学)
NestQuant: Post-Training Integer-Nesting Quantization for On-Device DNN
Key Laboratory of Big Data & Artificial Intelligence in Transportation (Beijing Jiaotong University), Ministry of Education(大数据与人工智能在交通中的关键实验室(北京交通大学,教育部));School of Computer Science and Technology, Beijing Jiaotong University(计算机科学与技术学院,北京交通大学);School of Artificial Intelligence, Beijing Normal University(人工智能学院,北京师范大学);Department of Computer Science, City University of Hong Kong(计算机科学系,香港城市大学)
Training and Inference with Integers in Deep Neural Networks
Department of Precision Instrument(精密仪器系);Department of Automation(自动化系);Center for Brain Inspired Computing Research(脑启发计算研究中心);Beijing Innovation Center for Future Chip(北京未来芯片创新中心);Tsinghua University(清华大学)
Shedding the Bits: Pushing the Boundaries of Quantization with Minifloats on FPGAs
School of Computing, National University of Singapore(新加坡国立大学计算机学院);AMD Research and Advanced Development(AMD研究与高级开发部);Tampere University(坦佩雷大学);AMD(AMD公司)
Batch Normalization-Free Fully Integer Quantized Neural Networks via Progressive Tandem Learning
Department of Information Technology, WAVES Research Group, Ghent University(信息科技系、WAVES研究组、根特大学);Institute for Infocomm Research (I 2 R), Agency for Science, Technology and Research (A*STAR)(信息与通信研究所(I2R)、科技研究局(A*STAR))
Benchmarking Language Modeling for Lossless Compression of Full-Fidelity Audio
University of California, San Diego, Computer Science and Engineering Department(加州大学圣地亚哥分校计算机科学与工程系);Carnegie Mellon University, School of Computer Science(卡内基梅隆大学计算机科学学院)
Targeted Attack against Deep Neural Networks via Flipping Limited Weight Bits
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);PCL Research Center of Networks and Communications, Peng Cheng Laboratory(鹏城实验室PCL网络与通信研究中心);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);Secure Computing Lab of Big Data, Shenzhen Research Institute of Big Data(深圳大数据研究院大数据安全计算实验室);Tencent AI Lab(腾讯AI Lab)