High-Accuracy Low-Precision Training

By Christopher De Sa, Megan Leszczynski, Jian Zhang, Alana Marzoev, Christopher R. Aberger, Kunle Olukotun, Christopher R'e. 2018

114 citations recorded by the source corpus.

Low-precision computation is often used to lower the time and energy cost of machine learning, and recently hardware accelerators have been developed to support it. Still, it has been used primarily for inference - not training. Previous low-precision training algorithms suffered from a fundamental tradeoff: as the number of bits of precision is lowered, quantization noise is added to the model, which limits statistical accuracy. To address this issue, we describe a simple low-precision stochastic gradient descent variant called HALP. HALP converges at the same theoretical rate as full-precision algorithms despite the noise introduced by using low precision throughout execution. The key idea is to use SVRG to reduce gradient variance, and to combine this with a novel technique called bit centering to reduce quantization error. We show that on the CPU, HALP can run up to $4 \times$ faster than full-precision SVRG and can match its convergence trajectory. We implemented HALP in TensorQuant, and show that it exceeds the validation performance of plain low-precision SGD on two deep learning tasks.

Subfields: Biomedical Engineering, Computational Mechanics, Radiology, Nuclear Medicine and Imaging, 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 Biomedical Engineering

  1. Wei He
  2. Ameet Talwalkar
  3. Andrew Gordon Wilson
  4. Christopher De Sa
  5. Christopher R'e
  6. Jakub Konecný
  7. Myle Ott

In Computational Mechanics

  1. Jakub Konecný
  2. H. Brendan McMahan
  3. Ameet Talwalkar
  4. Christopher De Sa
  5. Merouane Debbah
  6. Sumudu Samarakoon
  7. Medhi Bennis
  8. Jihong Park

In Radiology, Nuclear Medicine and Imaging

  1. H. Brendan McMahan
  2. Merouane Debbah
  3. Christopher R'e

In Optimization & Training

  1. Jakub Konecný
  2. Peter Richtárik
  3. Ameet Talwalkar
  4. Medhi Bennis
  5. H. Brendan McMahan
  6. Jihong Park
  7. Christopher De Sa
  8. Sebastian U. Stich

Citations in the corpus