arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.09568cs.LGmath.OCstat.ML
收藏

Shampoo:预条件随机张量优化

Shampoo: Preconditioned Stochastic Tensor Optimization

Google Brain(谷歌大脑);Princeton University(普林斯顿大学)

Vineet Gupta, Tomer Koren, Yoram Singer

摘要:

预条件梯度法是最优化中最常用和最有效的工具之一。然而,预处理需要存储和操作过大的矩阵。我们描述和分析了一个新的结构感知预处理算法,称为洗发水,随机优化张量空间。Shampoo维护一组预处理矩阵,每个预处理矩阵在单个维度上操作,在其余维度上收缩。我们建立了收敛保证随机凸设置,其证明建立在矩阵迹不等式。我们对最先进的深度学习模型的实验表明,Shampoo能够比常用的优化器更快地收敛。虽然Shampoo涉及更复杂的更新规则,但它的每步运行时间与SGD、AdaGrad和Adam等简单梯度方法相当。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑