Hyperparameter Transfer Enables Consistent Gains of Matrix-Preconditioned Optimizers Across Scales
Shikai Qiu, Zixi Chen, Hoang Phan, Qi Lei, Andrew Gordon Wilson

TL;DR
This paper demonstrates that proper hyperparameter transfer, including scaling rules for learning rate and weight decay, enables matrix-preconditioned optimizers like Shampoo, SOAP, and Muon to consistently outperform AdamW across various model scales.
Contribution
It introduces effective hyperparameter scaling strategies for matrix-preconditioned optimizers, improving their transferability and consistent performance at different model scales.
Findings
Scaling learning rate with $$P improves transferability.
Blocking and spectral normalization mitigate finite-width deviations.
Preconditioned optimizers achieve ~1.4x speedup over AdamW on large language models.
Abstract
Several recently introduced deep learning optimizers utilizing matrix-level preconditioning have shown promising speedups relative to the current dominant optimizer AdamW, particularly in relatively small-scale experiments. However, efforts to validate and replicate their successes have reported mixed results. To better understand the effectiveness of these optimizers at scale, in this work we investigate how to scale preconditioned optimizers via hyperparameter transfer, building on prior works such as P. We study how the optimal learning rate and weight decay should scale with model width and depth for a wide range of optimizers, including Shampoo, SOAP, and Muon, accounting for the impact of commonly used techniques such as blocking and grafting. We find that scaling the learning rate according to P improves transfer, but can still suffer from significant finite-width…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStochastic Gradient Optimization Techniques · Machine Learning and Data Classification · Advanced Neural Network Applications
