MARS-M: When Variance Reduction Meets Matrices

Yifeng Liu, Angela Yuan, Quanquan Gu
10/20/2025
cs.LGmath.OCstat.ML

Official code: AGI-Arena/MARS (722 stars, Apache-2.0, last commit 2026-03-26).

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.

View on arXivView PDF

Code Implementations(1)

AGI-Arena/MARSOfficial100%
Apache-2.0

The official implementation of MARS: Unleashing the Power of Variance Reduction for Training Large Models

72249C++, CudaNov 17, 20246 months agoApache-2.0
fine-tuninglarge-language-modelsoptimization-algorithmsoptimizerpretraining

Cite this paper

@article{liu2025marsm,
  title  = {MARS-M: When Variance Reduction Meets Matrices},
  author = {Yifeng Liu and Angela Yuan and Quanquan Gu},
  year   = {2025},
  eprint = {2510.21800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.21800v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.21800.svg)](https://codeofpaper.com/paper/2510.21800)

Discussion