MARS-M: When Variance Reduction Meets Matrices
Yifeng Liu, Angela Yuan, Quanquan Gu
TL;DR
This work addresses the inefficiencies of stochastic variance and matrix-based optimization in large-scale neural networks by introducing MARS-M, a matrix-based instantiation of MARS that integrates variance reduction with the Muon/Moonlight framework. It presents both a concrete algorithm and an approximated variant, and proves a non-asymptotic convergence rate of $\tilde{\mathcal{O}}(T^{-1/3})$, improving upon the rate for Muon. Empirically, MARS-M yields lower training and validation losses and better downstream performance on large language models and computer vision tasks, with a public implementation provided. Overall, the paper demonstrates that combining variance reduction with matrix preconditioning offers meaningful speedups and accuracy gains in practical, large-scale learning settings.
Abstract
Matrix-based preconditioned optimizers, such as Muon, have recently been shown to be more efficient than scalar-based optimizers for training large-scale neural networks, including large language models (LLMs). On the other hand, recent benchmarks on optimizers for LLM pre-training have demonstrated that variance-reduction techniques such as MARS can achieve substantial speedups over standard optimizers that do not employ variance reduction. In this paper, to achieve the best of both worlds, we introduce MARS-M, a new optimizer that integrates the variance reduction technique in MARS with Muon. Under standard regularity conditions, we prove that Muon-M converges to a first-order stationary point at a rate of $\tilde{\mathcal{O}}(T^{-1/3})$, which improves upon $\tilde{\mathcal{O}}(T^{-1/4})$ rate attained by Muon. Our empirical results on language modeling and computer vision tasks demonstrate that MARS-M consistently yields lower losses and improved performance across various downstream benchmarks. The implementation of MARS-M is available at https://github.com/AGI-Arena/MARS/tree/main/MARS_M.
