Shampoo: Preconditioned Stochastic Tensor Optimization

By Vineet Gupta, Tomer Koren, Yoram Singer. 2018

492 citations recorded by the source corpus.

Preconditioned gradient methods are among the most general and powerful tools in optimization. However, preconditioning requires storing and manipulating prohibitively large matrices. We describe and analyze a new structure-aware preconditioning algorithm, called Shampoo, for stochastic optimization over tensor spaces. Shampoo maintains a set of preconditioning matrices, each of which operates on a single dimension, contracting over the remaining dimensions. We establish convergence guarantees in the stochastic convex setting, the proof of which builds upon matrix trace inequalities. Our experiments with state-of-the-art deep learning models show that Shampoo is capable of converging considerably faster than commonly used optimizers. Although it involves a more complex update rule, Shampoo's runtime per step is comparable to that of simple gradient methods such as SGD, AdaGrad, and Adam.

Subfields: Artificial Intelligence, Computational Mathematics, Computational Mechanics, 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. Quoc V. Le
  2. Graham Neubig
  3. Mohit Bansal
  4. Yoshua Bengio
  5. Luke S. Zettlemoyer
  6. Kyunghyun Cho
  7. Percy Liang
  8. Jianfeng Gao

In Computational Mathematics

  1. Lior Wolf
  2. Etai Littwin
  3. Cho-Jui Hsieh
  4. A. Gholami
  5. Michael W. Mahoney
  6. Chen Liang
  7. Rohan Anil
  8. Kurt Keutzer

In Computational Mechanics

  1. Michael W. Mahoney
  2. Lior Wolf
  3. Etai Littwin
  4. Naman Agarwal
  5. Tomer Koren
  6. Brian Bullins
  7. Cho-Jui Hsieh
  8. Yi Zhang

In Optimization & Training

  1. Quoc V. Le
  2. Michael W. Mahoney
  3. Xuanyi Dong
  4. Kurt Keutzer
  5. Jascha Narain Sohl-Dickstein
  6. Luke Metz
  7. C. Freeman
  8. Joseph Dean

Citations in the corpus