cs.LGFeb 17, 2026

On Surprising Effectiveness of Masking Updates in Adaptive Optimizers

Authors: Taejong Joo, Wenhan Xia, Cheolmin Kim, Ming Zhang, Eugene Ie

Organizations: Northwestern University · Work done while the author was a Student Researcher at Google. · Google

Abstract

Training large language models (LLMs) relies almost exclusively on dense adaptive optimizers with increasingly sophisticated preconditioners. We challenge this by showing that randomly masking parameter updates can be highly effective, with a masked variant of RMSProp consistently outperforming recent state-of-the-art optimizers. Our analysis reveals that the random masking induces a curvature-dependent geometric regularization that smooths the optimization trajectory. Motivated by this finding, we introduce Momentum-aligned gradient masking (Magma), which modulates the masked updates using momentum-gradient alignment. Extensive LLM pre-training experiments show that Magma is a simple drop-in replacement for adaptive optimizers with consistent gains and negligible computational overhead. Notably, for the 1B model size, Magma reduces perplexity by over 19% and 9% compared to Adam and Muon, respectively.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Navigating LLM Valley: From AdamW to Memory-Efficient and Matrix-Based Optimizers

    May 9, 2026Aditya RanganathDeep Learning OptimizationLLM Input Optimization

  2. Omni-Masked Gradient Descent: Memory-Efficient Optimization via Mask Traversal with Improved Convergence

    Mar 6, 2026Hui Yang, Tao Ren, Jinyang Jiang +2Gradient DescentMemory-Efficient Training

  3. Boosting Large Language Models with Mask Fine-Tuning

    Mar 27, 2025Mingyuan Zhang, Yue Bai, Huan Wang +4LLM Fine-Tuning