On Surprising Effectiveness of Masking Updates in Adaptive Optimizers

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Joo, Taejong, Xia, Wenhan, Kim, Cheolmin, Zhang, Ming, Ie, Eugene
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910024512569344
author Joo, Taejong
Xia, Wenhan
Kim, Cheolmin
Zhang, Ming
Ie, Eugene
author_facet Joo, Taejong
Xia, Wenhan
Kim, Cheolmin
Zhang, Ming
Ie, Eugene
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_15322
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle On Surprising Effectiveness of Masking Updates in Adaptive Optimizers
Joo, Taejong
Xia, Wenhan
Kim, Cheolmin
Zhang, Ming
Ie, Eugene
Machine Learning
Artificial Intelligence
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.
title On Surprising Effectiveness of Masking Updates in Adaptive Optimizers
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2602.15322