Training Deep Neural Networks with 8-bit Floating Point Numbers

By Naigang Wang, Jungwook Choi, Daniel Brand, Chia-Yu Chen, Kailash Gopalakrishnan. 2018

566 citations recorded by the source corpus.

The state-of-the-art hardware platforms for training deep neural networks are moving from traditional single precision (32-bit) computations towards 16 bits of precision - in large part due to the high energy efficiency and smaller bit storage associated with using reduced-precision representations. However, unlike inference, training with numbers represented with less than 16 bits has been challenging due to the need to maintain fidelity of the gradient computations during back-propagation. Here we demonstrate, for the first time, the successful training of deep neural networks using 8-bit floating point numbers while fully maintaining the accuracy on a spectrum of deep learning models and datasets. In addition to reducing the data and computation precision to 8 bits, we also successfully reduce the arithmetic precision for additions (used in partial product accumulation and weight updates) from 32 bits to 16 bits through the introduction of a number of key ideas including chunk-based accumulation and floating point stochastic rounding. The use of these novel techniques lays the foundation for a new generation of hardware training platforms with the potential for 2-4 times improved throughput over today's systems.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Statistical and Nonlinear Physics, Efficiency & Compression, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Quoc V. Le
  3. Song Han
  4. Mohit Bansal
  5. Yejin Choi
  6. Chuang Gan
  7. Percy Liang
  8. Ali Farhadi

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Xiaogang Wang
  4. Trevor Darrell
  5. Andrea Vedaldi
  6. Ming-Hsuan Yang
  7. Yi Yang
  8. Song Han

In Statistical and Nonlinear Physics

  1. Song Han
  2. Tim Dettmers
  3. Christopher De Sa
  4. K. Müller
  5. Chia-Yu Chen
  6. Ruihao Gong
  7. Bashir I. Morshed
  8. Syed Kamrul Islam

In Efficiency & Compression

  1. Luke S. Zettlemoyer
  2. Tim Dettmers
  3. Song Han
  4. Chuang Gan
  5. Han Cai
  6. Ligeng Zhu
  7. Michael Lewis
  8. Dan Alistarh

In Optimization & Training

  1. Luke S. Zettlemoyer
  2. Song Han
  3. Tim Dettmers
  4. Ligeng Zhu
  5. Chuang Gan
  6. Han Cai
  7. Wojciech Samek
  8. Michael Lewis

Citations in the corpus