Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

FOAM: Frequency and Operator Error-Based Adaptive Damping Method for Reducing Staleness-Oriented Error for Shampoo

About

Shampoo is attracting considerable attention for its superior performance on large-scale optimization benchmarks; yet it faces a significant practical bottleneck: the prohibitive computational overhead of matrix inversion. To mitigate this, practitioners typically rely on stale preconditioner updates, creating a fundamental trade-off between computational efficiency and optimization fidelity. In this work, we provide a theoretical study of staleness through the complementary lenses of convergence and stability. While staleness improves computational efficiency, it inherently degrades performance and introduces numerical instability. Crucially, we identify that damping, acting as a numerical stabilizer, can effectively suppress these negative effects. Guided by this analysis, we propose FOAM, an adaptive algorithm that stabilizes training by dynamically controlling both the damping factor and the eigendecomposition frequency based on an approximation of the staleness-oriented error. Experimental results demonstrate that FOAM reduces wall-clock time compared to standard Shampoo while maintaining robust convergence.

Kyunghun Nam, Sumyeong Ahn• 2026

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet 1k (train)--
58
Image ClassificationImageNet-1K 1 (val)
Top-1 Acc75.72
29
Language ModelingWikiText-103 v1 (val)
Training Loss2.29
7
Automatic Speech RecognitionLibriSpeech (train)
Train Loss0.14
5
Automatic Speech RecognitionLibriSpeech (val)
WER (Validation)6.5
5
Showing 5 of 5 rows

Other info

Follow for update