π€ AI Summary
Existing Muon optimizers only adapt a subset of model parameters, limiting their efficiency in fine-tuning large language models (LLMs). To address this, we propose MuonAllβthe first Muon-based optimizer that uniformly incorporates *all* model parameters. It employs a systematic 2D matrix reparameterization technique to enable efficient gradient updates, significantly broadening applicability to open-source pre-trained language models with up to one billion parameters. The method supports distributed training and maintains compatibility with mainstream deep learning frameworks. Extensive experiments across model scales (100Mβ1B) and standard benchmarks (GLUE, Evaluating LLMs) demonstrate that MuonAll achieves performance on par with AdamW, validating its viability as a general-purpose drop-in replacement optimizer. The implementation is publicly available.
π Abstract
Muon optimizer has demonstrated robust results in pretraining of language models but its performance in finetuning of existing public pretrained models is not yet explored. Currently, Muon is used along with AdamW introducing a scope of improvement for adopting all parameters inside Muon. We introduce MuonAll, which incorporates all the parameters inside Muon by transforming into 2D matrices. We conduct extensive finetuning experiments across publicly available language models with model sizes upto half billion parameters. Muon and MuonAll perform at par with AdamW across major benchmarks, highlighting their effectiveness as alternative optimizers. We open-source the distributed implementations of Muon and MuonAll, available at https://github.com/Saurabh750/optimizer