Not All Samples Are Created Equal: Deep Learning with Importance Sampling

By Angelos Katharopoulos, Franccois Fleuret. 2018

663 citations recorded by the source corpus.

Deep neural network training spends most of the computation on examples that are properly handled, and could be ignored. We propose to mitigate this phenomenon with a principled importance sampling scheme that focuses computation on "informative" examples, and reduces the variance of the stochastic gradients during training. Our contribution is twofold: first, we derive a tractable upper bound to the per-sample gradient norm, and second we derive an estimator of the variance reduction achieved with importance sampling, which enables us to switch it on when it will result in an actual speedup. The resulting scheme can be used by changing a few lines of code in a standard SGD procedure, and we demonstrate experimentally, on image classification, CNN fine-tuning, and RNN training, that for a fixed wall-clock time budget, it provides a reduction of the train losses of up to an order of magnitude and a relative improvement of test errors between 5% and 17%.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, 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. Percy Liang
  2. Mohit Bansal
  3. Yoshua Bengio
  4. Jianfeng Gao
  5. Ruslan Salakhutdinov
  6. Eric P. Xing
  7. Kyunghyun Cho
  8. Martin Jaggi

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Xiaogang Wang
  5. Alan L. Yuille
  6. Ming-Hsuan Yang
  7. Andrew Zisserman
  8. Jitendra Malik

In Optimization & Training

  1. Peter Richtárik
  2. Martin Jaggi
  3. Sebastian U. Stich
  4. Jianyu Wang
  5. Gauri Joshi
  6. Simon Lacoste-Julien
  7. Tengyu Ma
  8. Francis R. Bach

Citations in the corpus