Shampoo: Preconditioned Stochastic Tensor Optimization. Gupta, V., Koren, T., & Singer, Y. March, 2018. arXiv:1802.09568 [cs]
Paper doi abstract bibtex 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.
@misc{gupta_shampoo_2018,
title = {Shampoo: {Preconditioned} {Stochastic} {Tensor} {Optimization}},
shorttitle = {Shampoo},
url = {http://arxiv.org/abs/1802.09568},
doi = {10.48550/arXiv.1802.09568},
abstract = {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.},
urldate = {2025-06-03},
publisher = {arXiv},
author = {Gupta, Vineet and Koren, Tomer and Singer, Yoram},
month = mar,
year = {2018},
note = {arXiv:1802.09568 [cs]},
keywords = {Computer Science - Machine Learning, Mathematics - Optimization and Control, Statistics - Machine Learning},
}
Downloads: 0
{"_id":"cTCbsDwpmkoZRvQqA","bibbaseid":"gupta-koren-singer-shampoopreconditionedstochastictensoroptimization-2018","author_short":["Gupta, V.","Koren, T.","Singer, Y."],"bibdata":{"bibtype":"misc","type":"misc","title":"Shampoo: Preconditioned Stochastic Tensor Optimization","shorttitle":"Shampoo","url":"http://arxiv.org/abs/1802.09568","doi":"10.48550/arXiv.1802.09568","abstract":"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.","urldate":"2025-06-03","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Gupta"],"firstnames":["Vineet"],"suffixes":[]},{"propositions":[],"lastnames":["Koren"],"firstnames":["Tomer"],"suffixes":[]},{"propositions":[],"lastnames":["Singer"],"firstnames":["Yoram"],"suffixes":[]}],"month":"March","year":"2018","note":"arXiv:1802.09568 [cs]","keywords":"Computer Science - Machine Learning, Mathematics - Optimization and Control, Statistics - Machine Learning","bibtex":"@misc{gupta_shampoo_2018,\n\ttitle = {Shampoo: {Preconditioned} {Stochastic} {Tensor} {Optimization}},\n\tshorttitle = {Shampoo},\n\turl = {http://arxiv.org/abs/1802.09568},\n\tdoi = {10.48550/arXiv.1802.09568},\n\tabstract = {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.},\n\turldate = {2025-06-03},\n\tpublisher = {arXiv},\n\tauthor = {Gupta, Vineet and Koren, Tomer and Singer, Yoram},\n\tmonth = mar,\n\tyear = {2018},\n\tnote = {arXiv:1802.09568 [cs]},\n\tkeywords = {Computer Science - Machine Learning, Mathematics - Optimization and Control, Statistics - Machine Learning},\n}\n\n","author_short":["Gupta, V.","Koren, T.","Singer, Y."],"key":"gupta_shampoo_2018","id":"gupta_shampoo_2018","bibbaseid":"gupta-koren-singer-shampoopreconditionedstochastictensoroptimization-2018","role":"author","urls":{"Paper":"http://arxiv.org/abs/1802.09568"},"keyword":["Computer Science - Machine Learning","Mathematics - Optimization and Control","Statistics - Machine Learning"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://api.zotero.org/users/15655889/collections/G6GP9ANU/items?key=MzHVK1tHvHTcC946y3GIaoco&format=bibtex&limit=100","dataSources":["TSvsyzYFzoTiDesZP"],"keywords":["computer science - machine learning","mathematics - optimization and control","statistics - machine learning"],"search_terms":["shampoo","preconditioned","stochastic","tensor","optimization","gupta","koren","singer"],"title":"Shampoo: Preconditioned Stochastic Tensor Optimization","year":2018}