Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Shampoo: Preconditioned Stochastic Tensor Optimization

About

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.

Vineet Gupta, Tomer Koren, Yoram Singer• 2018

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (val)
Accuracy72.82
661
Image ClassificationCIFAR-10 (val)
Top-1 Accuracy92.63
329
Autoencoder trainingAutoencoder (train)
Train CE Loss50.702
24
AutoencoderAutoencoder
Train CE Loss51.401
12
AutoencodingMNIST (train)
Train CE Loss50.702
9
Showing 5 of 5 rows

Other info

Follow for update