Shampoo

Method · 2018

Definition

“Preconditioned gradient methods are among the most general and powerful tools in optimization.”

From the defining paper: Shampoo: Preconditioned Stochastic Tensor Optimization (Vineet Gupta, Tomer Koren, Yoram Singer, arXiv preprint).

Lineage

Parent: Adam

Children: none in this seed

Incoming edges (1)

improves · training complexity

From Adam · confidence 1 (All three quotes are verbatim substrings of the to-paper abstract; confidence 1.0.)

Bottleneck
“preconditioning requires storing and manipulating prohibitively large matrices” Source: Shampoo: Preconditioned Stochastic Tensor Optimization
Mechanism
“each of which operates on a single dimension, contracting over the remaining dimensions” Source: Shampoo: Preconditioned Stochastic Tensor Optimization
Trade-off
“Although it involves a more complex update rule, Shampoo's runtime per step is comparable to that of simple gradient methods” Source: Shampoo: Preconditioned Stochastic Tensor Optimization

Outgoing edges (1)

compares · training complexity

To Sophia · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“more sophisticated second-order (Hessian-based) optimizers often incur too much per-step overhead” Source: Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training
Mechanism
“uses a light-weight estimate of the diagonal Hessian as the pre-conditioner” Source: Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training
Trade-off
No trade-off quoted.

Back to the explorer