Manuscript Offprint
arXiv:2610.22650The Ephemeral Cost of Switching Optimizers Across LLM Training Stages
Abstract
Recent work suggests that switching optimizers between pretraining and subsequent training stages incurs a performance cost, but systematic investigation of this phenomenon is lacking. We study the mismatch between AdamW and Muon optimizers by pretraining 1.2B Llama-3 models from scratch while varying the proportion of updates taken with each optimizer, and similarly interpolating between the two optimizers during continued pretraining and supervised fine-tuning (SFT). Surprisingly, we find little evidence of a meaningful optimizer mismatch penalty: final performance is largely explained by the independent effects of the pretraining and post-training optimizers, with downstream performance generally improving as the proportion of Muon updates during SFT increases. Although matching the pretraining optimizer can reduce forgetting during SFT, this does not translate into improved final benchmark performance. We further evaluate AdamW and Muon for task-general SFT of open-weight models, across the Llama and Qwen families up to 14B parameters, where Muon remains competitive with AdamW, despite these models having been pretrained with AdamW. Together, our results suggest that the choice of optimizer for post-training can be made largely independently of the optimizer used during pretraining. Our code is released here.
1 Introduction
AdamW [Loshchilov and Hutter, 2019] has been the de facto optimizer for training most large language models. However, recent results have shown that Muon [Jordan et al., 2024] can outperform AdamW at scale in LLM pretraining [Liu et al., 2025, Khona et al., 2026]. Yet it remains an open question whether Muon is also a better optimizer for supervised post-training stages, and whether switching optimizers between training stages is detrimental to final performance. Prior work has suggested such a penalty for using a different optimizer for SFT [Qu et al., 2026], due to differing regularization effects [Liu et al., 2026] or implicit biases [Qu et al., 2026]. It has been unclear whether this effect is limited to greater forgetting during task-specific fine-tuning (“forgetting cost”), or also extends to degraded final benchmark performance (“performance cost”) following the larger-scale, multi-task SFT stage typical in foundation model training.
In this work, we examine whether there is a cost to switching between AdamW and Muon across LLM training stages. We train our own 1.2B Llama-3 models from scratch while varying the proportion of AdamW and Muon updates used during pretraining, continued pretraining, and task-general SFT, allowing us to separate the effect of optimizer mismatch from each optimizer's independent effect, as well as that of the underlying data shift. We additionally evaluate AdamW and Muon for task-general SFT of released open-weight models up to 14B parameters.
*Work done during an internship at MIT-IBM Watson AI Lab. Correspondence to: lxz@mit.edu
Preprint.
Avg. Benchmark Residuals: PT-SFT Optimizer Interaction (Best LRs)

SFT Optimizer (0.0 = AdamW-SFT, 1.0 = Muon-SFT)
Forgetting Residuals: PT-SFT Optimizer Interaction (LR = 4e-4)
SFT Optimizer (0.0 = AdamW-SFT, 1.0 = Muon-SFT)
Figure 1: SFT benchmark performance and forgetting residuals. Rows index the proportion of Muon updates for 1.2B Llama-3 models during pretraining (0.0 = AdamW, 1.0 = Muon); columns index the fraction during SFT. Average of three independent SFT runs per cell. Left: Average of six downstream benchmarks (higher is better), using the best learning rate (Table 4) for each setting. Optimizer interaction effects are weak and inconsistent. Right: change in pretraining validation loss after SFT (lower is better), at learning rate , showing a diagonal matched-optimizer preference pattern. Heatmap cells show the residual after accounting for row/column marginal averages, shown along the sides of each heatmap. Raw benchmark averages can be found in Table 7.
Our main findings are as follows. First, after accounting for the marginal effects of the pretraining and post-training optimizers, we find little evidence of an additional performance cost from switching optimizers: interaction effects are small during SFT, and apparent switching costs during continued pretraining largely disappear after tuning the learning rate for each setting. Second, optimizer consistency does reduce forgetting of the pretraining distribution during SFT, but this does not translate into improved downstream benchmark performance. Instead, increasing the proportion of Muon updates during SFT generally improves performance regardless of the pretraining optimizer. Finally, across AdamW-pretrained open-weight models from the Llama and Qwen families up to 14B parameters, Muon remains competitive with AdamW for task-general SFT.
Optimizers We focus on comparing two different optimization algorithms: AdamW and Muon. We adopt the decoupled weight decay version of AdamW with gradient norm clipping, and we detail the algorithm in Algorithm 1. Wen et al. [2026] performed extensive hyperparameter search to find the best hyperparameters for pre-training, and we adopt these for our and Chinchilla models. Our Muon algorithm is presented in Algorithm 2 and uses the 0.2 RMS update scaling factor from Liu et al. [2025], and the same base learning rate as our AdamW pretraining.
Recent work has explored interleaving updates from different optimizers during pretraining [Pang et al., 2026]. Following this approach, we construct mixed AdamW-Muon optimizers by independently selecting a Muon update at each step with probability , and an AdamW update otherwise. Since we use for our AdamW training, the expected update RMS according to Su [2025] is . We use this to unify update scales between optimizers, admitting a common base learning rate within and across mixture settings.
CPT Loss Residuals @ 5e-5: PT-CPT Optimizer Interaction

CPT Optimizer (0.0 = AdamW-CPT, 1.0 = Muon-CPT)
CPT Loss Residuals @ Best LR: PT-CPT Optimizer Interaction
CPT Optimizer (0.0 = AdamW-CPT, 1.0 = Muon-CPT)
Figure 2: Continued pretraining (CPT) performance residuals. Formatting follows Fig. 1: rows index the proportion of Muon updates during pretraining; columns index the fraction for CPT. Left: validation loss with a fixed learning rate of for all settings. Right: validation loss using the best learning rate (Table 5) for each setting. Matched-optimizer preference vanishes once learning rate is accounted for.
Pretraining Using the same data mixture as Wen et al. [2026], we pre-train our 1.2B-parameter Llama3 models at and Chinchilla scales [Hoffmann et al., 2022], using approximately 24B and 193B tokens respectively.
SFT We use the Tulu-3 SFT mixture [Lambert et al., 2025] and train for two epochs. We select the best learning rate based on validation loss on a held-out set, and perform final validation on MMLU [Hendrycks et al., 2021a], BBH [Suzgun et al., 2023], GSM8K [Cobbe et al., 2021], MATH [Hendrycks et al., 2021b], HumanEval [Chen et al., 2021], and MBPP [Austin et al., 2021]. We pack the SFT sequences to 4096 tokens for our 1.2B models and Llama-2-7B, and pack sequences to 8192 tokens for Qwen models. Specific hyperparameters for each setting can be found in Appendix A.3.
3 Cost of Optimizer Mismatch
To isolate the cost of switching optimizers across training stages, we relax the AdamW/Muon optimizer assignment from a binary choice to a continuous degree of mismatch. Specifically, we treat AdamW and Muon as defining two distinct update distributions, and construct intermediate optimizers by randomly selecting an AdamW/Muon update at each step. This allows us to isolate and quantify switching cost in greater detail, by smoothly annealing the degree of mismatch across stages.
We implement this by pre-training our 1.2B models at Chinchilla while selecting a Muon update at each step with probability , where corresponds to full-AdamW and corresponds to full-Muon. Then, during the SFT stage, we independently vary the optimizer mixture over the same values of . We measure average performance on the six benchmarks across three random seeds for each PT-SFT optimizer pairing.
Isolating the optimizer mismatch effect To separate optimizer mismatch from the independent effects of the optimizer in either stage, we decompose the score grid into row effects, column effects, and their interaction. For global mean , the performance for each cell decomposes as
where and are the centered row and column marginal effects respectively, and is the remaining unexplained quantity:
By examining the trends in across the score grid, we can identify interaction effects between optimizers, independent from the performance of each optimizer in general.
Table 1: SFT benchmark performance for our 1.2B pretrained models at and Chinchilla data ratios. AdamW-PT and Muon-PT denote the pretraining optimizer; AdamW and Muon denote the SFT optimizer. Mean and standard deviation are reported over three SFT seeds.
| Benchmark | 1× Chinchilla | 8× Chinchilla | ||||||
|---|---|---|---|---|---|---|---|---|
| AdamW-PT | Muon-PT | AdamW-PT | Muon-PT | |||||
| AdamW | Muon | AdamW | Muon | AdamW | Muon | AdamW | Muon | |
| GSM8K (5-shot EM) | 16.7 ± 1.0 | 20.7 ± 0.8 | 17.7 ± 1.3 | 20.1 ± 0.9 | 27.8 ± 1.7 | 26.4 ± 1.1 | 30.8 ± 1.0 | 33.8 ± 1.8 |
| HumanEval (Pass@1) | 12.4 ± 0.4 | 15.7 ± 1.4 | 15.9 ± 1.2 | 18.7 ± 2.0 | 18.3 ± 2.8 | 17.5 ± 2.0 | 20.7 ± 1.2 | 23.4 ± 2.0 |
| MBPP (Pass@1) | 16.3 ± 0.7 | 18.2 ± 0.8 | 18.3 ± 1.4 | 21.4 ± 2.1 | 27.0 ± 0.6 | 28.9 ± 0.8 | 33.3 ± 2.6 | 36.2 ± 2.1 |
| MMLU (0-shot CoT) | 23.8 ± 0.5 | 22.7 ± 3.1 | 22.4 ± 0.6 | 24.4 ± 0.4 | 27.5 ± 1.0 | 27.6 ± 1.0 | 29.3 ± 1.2 | 32.4 ± 0.3 |
| MATH (4-shot CoT) | 2.4 ± 0.6 | 3.3 ± 0.2 | 2.7 ± 0.3 | 3.7 ± 0.7 | 4.3 ± 0.2 | 3.3 ± 0.3 | 5.1 ± 0.3 | 5.6 ± 0.3 |
| BBH (3-shot CoT) | 23.1 ± 0.9 | 22.9 ± 1.2 | 24.7 ± 0.8 | 24.7 ± 1.9 | 27.4 ± 0.5 | 27.7 ± 0.1 | 28.9 ± 2.5 | 34.4 ± 0.2 |
| Average | 15.8 ± 0.4 | 17.2 ± 0.6 | 17.0 ± 0.3 | 18.8 ± 0.2 | 22.0 ± 0.4 | 21.9 ± 0.4 | 24.7 ± 0.3 | 27.6 ± 0.2 |
Results If matching optimizers across stages provides a performance benefit, then we would expect better residuals along the diagonal , particularly at the fully matched AdamW/AdamW and Muon/Muon corners, and unfavorable residuals as the degree of mismatch increases. Figure 1 (left) displays the observed residuals in each heatmap cell: contrary to the optimizer-matching hypothesis, interaction effects between the PT and SFT optimizers are mild, with no consistent overall pattern. The matched-optimizer cells are not meaningfully better than predicted from the independent row-and column-wise effects: AdamW-PT/AdamW-SFT has a negative residual of -0.2 while Muon-PT/Muon-SFT has positive residual +0.2, with other diagonal interactions ranging from -0.6 to +0.3. These interactions are small relative to the SFT-optimizer main effect (-0.9 to +0.7), and are generally comparable to seed noise in the underlying benchmark averages (Table 7). Thus, we find little evidence that matching the optimizer across stages provides meaningful performance benefit.
Final performance is instead dominated by the independent effects of the optimizer used in each stage. The marginal SFT optimizer effect increases monotonically with the proportion of Muon updates, indicating that Muon during SFT generally improves downstream performance regardless of pretraining optimizer. Models pretrained with at least some Muon updates also perform better on average across SFT optimizers, although this primarily appears as a pretraining artifact rather than increased compatibility with Muon SFT; these models already achieve lower pretraining validation loss than AdamW-PT (Table 3).
Effect of SFT distribution The shift in training data introduced by SFT could potentially obscure a true underlying cost of switching optimizers across training stages. To confirm the lack of broad interaction trends in Figure 1 (left), we instead continue training on the original pre-training data distribution. The results of this continued pretraining stage are shown in Figure 2. The marginal averages show that final performance improves as more Muon steps are taken, for both pre-training and post-training. When using the same learning rate of 5e-5 across settings, matched CPT optimizers do show the expected favorable interactions (left), reflected by negative residuals, but these effects disappear once the learning rate is tuned for all settings (right). This suggests that optimizer-switching costs, when they appear, may stem from hyperparameter mismatch, rather than the optimizers per se.
Matched optimizer mitigates forgetting We next examine whether optimizer consistency affects forgetting of the pretraining distribution, despite limited interaction effect on final downstream performance. We quantify forgetting as the increase in held-out validation loss after SFT, shown in Figure 1 (right). The column-wise averages show that using more Muon updates during SFT generally results in greater forgetting, while the row-wise averages suggest that using Muon during pretraining mitigates SFT forgetting. Beyond these effects, the residuals show that matched optimizers further reduce forgetting relative to mismatched settings. Thus optimizer switching costs may also manifest as forgetting, rather than as a straightforward reduction in learning capability.
Table 2: AdamW vs. Muon SFT results for Llama2-7B, Qwen2.5-7B, and Qwen3 family. Mean and stdev. reported over three trials. Muon achieves higher benchmark average in four of five settings.
(a) Llama2-7B
| Benchmark | Llama2-7B | |
|---|---|---|
| AdamW | Muon | |
| MMLU | 43.17 ± 2.86 | 47.64 ± 1.35 |
| HumanEval | 36.79 ± 4.06 | 42.07 ± 1.61 |
| MBPP | 44.49 ± 0.90 | 48.12 ± 1.19 |
| GSM8K | 50.37 ± 1.03 | 52.26 ± 0.96 |
| MATH | 11.19 ± 0.05 | 11.76 ± 0.45 |
| BBH | 43.26 ± 0.80 | 45.29 ± 0.64 |
| Average | 38.21 ± 1.36 | 41.19 ± 0.33 |
(b) Qwen2.5-7B
| Benchmark | Qwen2.5-7B | |
|---|---|---|
| AdamW | Muon | |
| MMLU | 70.32 ± 0.64 | 70.65 ± 0.26 |
| HumanEval | 76.63 ± 2.88 | 78.46 ± 1.41 |
| MBPP | 72.37 ± 2.06 | 73.15 ± 1.78 |
| GSM8K | 78.72 ± 0.31 | 78.37 ± 0.36 |
| MATH | 43.36 ± 0.59 | 44.11 ± 0.83 |
| BBH | 65.15 ± 0.61 | 65.81 ± 0.71 |
| Average | 67.76 ± 0.90 | 68.42 ± 0.41 |
(c) Qwen3 family at 4B, 8B, and 14B model sizes.
| Benchmark | Qwen3-4B | Qwen3-8B | Qwen3-14B | |||
|---|---|---|---|---|---|---|
| AdamW | Muon | AdamW | Muon | AdamW | Muon | |
| MMLU | 70.10 ± 0.36 | 70.71 ± 0.25 | 73.41 ± 0.75 | 74.38 ± 0.57 | 78.52 ± 0.11 | 78.79 ± 0.11 |
| HumanEval | 80.08 ± 1.86 | 80.69 ± 0.35 | 81.30 ± 2.88 | 78.25 ± 3.36 | 86.18 ± 0.35 | 86.38 ± 0.35 |
| MBPP | 76.52 ± 0.45 | 76.13 ± 1.62 | 82.10 ± 1.78 | 81.71 ± 1.03 | 83.27 ± 0.39 | 83.53 ± 0.59 |
| GSM8K | 80.14 ± 0.60 | 82.08 ± 0.89 | 84.23 ± 0.55 | 83.62 ± 0.39 | 87.39 ± 0.63 | 88.12 ± 0.57 |
| MATH | 47.62 ± 0.02 | 48.39 ± 0.46 | 50.68 ± 0.13 | 50.60 ± 0.30 | 56.45 ± 0.65 | 55.09 ± 1.63 |
| BBH | 69.55 ± 0.53 | 69.44 ± 0.41 | 73.11 ± 0.99 | 73.68 ± 0.42 | 78.24 ± 0.41 | 78.46 ± 0.11 |
| Average | 70.67 ± 0.39 | 71.24 ± 0.30 | 74.14 ± 0.33 | 73.71 ± 0.73 | 78.34 ± 0.02 | 78.40 ± 0.24 |
4 Does model scale change the preferred SFT optimizer?
Prior work has reported that for large open-weight LLMs, using the matched optimizer for task-specific SFT may have a slight edge [Qu et al., 2026, Liu et al., 2026], while comparisons for task-general SFT have been limited to a few models, and generally inconclusive [Liu et al., 2025]. In Section 3, our experiments at the Chinchilla scale suggest that Muon may have the edge in task-general SFT regardless of the pretraining optimizer. In this section, we examine whether this phenomenon holds at scale, by increasing the pretraining tokens for our 1.2B model, and by fine-tuning open-weight models from various model families up to 14B parameters.
Data scaling We compare optimizer settings for our 1.2B models at Chinchilla data ratio in Table 1. While Muon is clearly the better SFT optimizer for our AdamW-pretrained models at , there is a negligible performance gap at . On the other hand, Muon clearly remains the better SFT optimizer for Muon-pretrained models at both and Chinchilla data ratios.
Open weight models We select an array of AdamW-pretrained open-weight models to SFT using AdamW and Muon, and report average performance over 3 seeds for each setting. Table 2 reports results on Llama2-7B, Qwen2.5-7B, and the 4B, 8B, and 14B parameter models from Qwen3. Across all models surveyed, we find that Muon-SFT produces a higher mean benchmark average in 4 of 5 settings, although all gaps (except perhaps Llama2-7B) are small relative to run-to-run variation.
5 Conclusion
We study whether switching optimizers between pretraining and subsequent training stages incurs a performance cost, focusing on AdamW and Muon. Across controlled experiments interpolating between AdamW and Muon updates, we find little evidence of a meaningful optimizer mismatch penalty: final performance is largely determined by the independent marginal effects of the pretraining and post-training optimizers, rather than by whether they match. Optimizer consistency can reduce forgetting of the pretraining distribution (which may be important in continual-learning settings, where retaining performance is itself an objective), and ease hyperparameter transfer. But this does not translate to improved final performance under task-general SFT. Instead, at the 1.2B scale, increasing
For SFT, we do not observe significant interaction effects at either a fixed LR (Figure 4) or at the best LR (Figure 1, left) the proportion of Muon updates during SFT generally improves downstream performance regardless of pretraining optimizer. Experiments on open-weight models across the Llama and Qwen families up to 14B further show that Muon remains competitive with AdamW for SFT of AdamW-pretrained models. Together, these results suggest that the choice of optimizer for post-training can be made largely independently of the optimizer used during pretraining, and that Muon is a viable post-training optimizer even for models originally trained with AdamW.
References
Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and Charles Sutton. Program synthesis with large language models, 2021. URL https://arxiv.org/abs/2108.07732.
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder, Bob McGrew, Dario Amodei, Sam McCandlish, Ilya Sutskever, and Wojciech Zaremba. Evaluating large language models trained on code, 2021. URL https://arxiv.org/abs/2107.03374.
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. Training verifiers to solve math word problems, 2021. URL https://arxiv.org/abs/2110.14168.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. In International Conference on Learning Representations, 2021a. URL https://openreview.net/forum?id=d7KBjmI3GmQ.
Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. Measuring mathematical problem solving with the MATH dataset. In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2), 2021b. URL https://openreview.net/forum?id=7Bywt2mQsCe.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Jack W. Rae, Oriol Vinyals, and Laurent Sifre. Training compute-optimal large language models. In Advances in Neural Information Processing Systems, volume 35, pages 30016–30030, 2022. URL https://arxiv.org/abs/2203.15556.
Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks, 2024. URL https://kellerjordan.github.io/posts/muon/.
Mikail Khona, Aditya Vavre, Boxiang Wang, Deyu Fu, Hao Wu, Mike Chrzanowski, Bryan Catanzaro, Dheevatsa Mudigere, Jeff Pool, Michael Lightstone, Mohammad Shoeybi, Mostofa Patwary, Nima Tajbakhsh, and Tijmen Blankevoort. Soap, muon, and beyond: Pushing llm pretraining scales, 2026. URL https://arxiv.org/abs/2607.20548.
Nathan Lambert, Jacob Morrison, Valentina Pyatkin, Shengyi Huang, Hamish Ivison, Faeze Brahman, Lester James Validad Miranda, Alisa Liu, Nouha Dziri, Xinxi Lyu, Yuling Gu, Saumya Malik, Victoria Graf, Jena D. Hwang, Jiangjiang Yang, Ronan Le Bras, Oyvind Tafjord, Christopher Wilhelm, Luca Soldaini, Noah A. Smith, Yizhong Wang, Pradeep Dasigi, and Hannaneh Hajishirzi. Tulu 3: Pushing frontiers in open language model post-training. In Second Conference on Language Modeling, 2025. URL https://openreview.net/forum?id=i1uGbfHHpH.
Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, Enzhe Lu, Junjie Yan, Yanru Chen, Huabin Zheng, Yibo Liu, Shaowei Liu, Bohong Yin, Weiran He, Han Zhu, Yuzhi Wang, Jianzhou Wang, Mengnan Dong, Zheng Zhang, Yongsheng Kang, Hao Zhang, Xinran Xu, Yutao Zhang, Yuxin Wu, Xinyu Zhou, and Zhilin Yang. Muon is scalable for llm training, 2025. URL https://arxiv.org/abs/2502.16982.
Yuxing Liu, Jianyu Wang, and Tong Zhang. Optimizer-model consistency: Full finetuning with the same optimizer as pretraining forgets less, 2026. URL https://arxiv.org/abs/2605.06654.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. URL https://openreview.net/forum?id=Bkg6RiCqY7.
Tianyu Pang, Yujie Fang, Zihang Liu, Shenyang Deng, Lei Hsiung, Shuhua Yu, and Yaoqing Yang. HTMuon: Improving muon via heavy-tailed spectral correction. In Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens, editors, Findings of the Association for Computational Linguistics: ACL 2026, pages 36504–36535, San Diego, California, United States, July 2026. Association for Computational Linguistics. ISBN 979-8-89176-395-1. doi: 10.18653/v1/2026.findings-acl.1819. URL https://aclanthology.org/2026.findings-acl.1819/.
Xingyu Qu, Peigeng Huang, and Samuel Horvath. Can Muon fine-tune Adam-pretrained models? In International Conference on Machine Learning, 2026.
Jianlin Su. Why is Adam's update RMS 0.2?, September 2025. URL https://kexue.fm/archives/11267. Blog post, Scientific Spaces.
Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc Le, Ed Chi, Denny Zhou, and Jason Wei. Challenging BIG-bench tasks and whether chain-of-thought can solve them. In Anna Rogers, Jordan Boyd-Graber, and Naoaki Okazaki, editors, Findings of the Association for Computational Linguistics: ACL 2023, pages 13003–13051, Toronto, Canada, July 2023. Association for Computational Linguistics. doi:10.18653/v1/2023.findings-acl.824. URL https://aclanthology.org/2023.findings-acl.824/.
Kaiyue Wen, David Leo Wright Hall, Tengyu Ma, and Percy Liang. Fantastic pretraining optimizers and where to find them. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=2J51qUZ0iG.
A Experimental Details
A.1 Model Architecture
For pretraining, we use the Llama-3 architecture and tokenizer. Following the 1.2B configuration of Wen et al. [2026], our models have 32 transformer layers, a hidden dimension of 1536, an intermediate dimension of 6144, and 24 attention heads. We use full multi-head attention with 24 key-value heads. The context length is 4096 tokens and the vocabulary size is 128,256. We use SwiGLU activations and rotary positional embeddings (RoPE) with . The input embedding and language-model head are untied.
This configuration contains approximately 1.60B parameters in total, of which approximately 1.21B are non-embedding parameters. Following Wen et al. [2026], we refer to the model by its non-embedding parameter count as a 1.2B model. During training, model parameters are stored in FP32 and activations are computed in BF16.
A.2 Optimizers
Following Liu et al. [2025] and Wen et al. [2026], we perform orthogonalization on the concatenated attention head matrices.
Algorithm 1 AdamW
Require: Gradient , parameters , first moment , second moment , learning rate , weight decay , coefficients , constant
1:
2:
3:
4:
5:
6:
7: return
Algorithm 2 Muon
Require: Gradient , parameters , momentum , learning rate , weight decay , momentum coefficient
1:
2:
3:
4:
5:
6: return
A.3 Hyperparameters
A.3.1 Pretraining
We pretrain our 1.2B models using the same data mixture as Wen et al. [2026], consisting of DCLM-baseline, StarCoderData, and ProofPile-2. All data are tokenized using the Llama-3 tokenizer. We train at both and Chinchilla data ratios, corresponding to approximately 24.16B and 193.29B tokens, respectively. With a global batch size of 256 sequences and a sequence length of 4096, each optimization step contains 1,048,576 tokens. We therefore train for 23,042 steps at Chinchilla and 184,336 steps at Chinchilla.
We use a linear warmup followed by linear learning-rate decay to zero. For the Chinchilla runs, AdamW uses a peak learning rate of , , , , weight decay 0.2, gradient-norm clipping at 2.0, and 2,000 warmup steps. Muon uses a peak matrix learning rate of , momentum , weight decay 0.1, five Newton–Schulz iterations, and no learning-rate warmup. Parameters not optimized by Muon are optimized with AdamW using a learning rate of , , , and weight decay 0.1.
For the Chinchilla runs, we use the budget-specific hyperparameters from Wen et al. [2026]. AdamW uses a peak learning rate of , weight decay 0.2, gradient-norm clipping at 1.0, and 1,000 warmup steps. Muon uses a matched peak matrix learning rate of , weight decay 0.1, gradient-norm clipping at 2.0, and no warmup; its remaining hyperparameters and the AdamW parameter group are unchanged from the setting.
For mixed-optimizer pretraining runs, at each optimization step we independently select a Muon update with probability p and an AdamW update otherwise. We use 2,000 learning rate warmup steps. As described in Section 2, we use a common learning rate and weight decay for the two update branches so that their update magnitudes remain comparable.
Final validation loss on C4-EN for our pretrained models is shown in Table 3.
A.3.2 SFT
We perform supervised fine-tuning using the Tulu-3 SFT mixture [Lambert et al., 2025] for two epochs for both our 1.2B models and open weight models.
Table 3: C4-EN validation loss for our 1.2B Llama3 models.
| Pretraining Optimizer | 1× Chinchilla | 8× Chinchilla |
|---|---|---|
| AdamW | 2.9426 | 2.8011 |
| p = 0.1 | 2.9072 | — |
| p = 0.25 | 2.9075 | — |
| p = 0.5 | 2.9047 | — |
| p = 0.75 | 2.9042 | — |
| p = 0.9 | 2.9020 | — |
| Muon | 2.8947 | 2.7375 |
1.2B SFT LR Sweeps

AdamW-SFT
Muon-SFT
val-loss optimum
Figure 3: SFT learning rate sweep for AdamW and Muon on 1.2B pretrained Llama3 models.
1.2B Pretrained Models For our 1.2B models, training examples are greedily packed into sequences of length 4096 without splitting individual conversations across sequence boundaries. Labels corresponding to prompt and user tokens are masked from the loss. For both AdamW and Muon, we use a linear warmup for of the total SFT steps, followed by linear decay to zero. We sweep the base learning rate separately for each optimizer and experimental setting and select the learning rate with the lowest held-out validation loss. When mixing optimizers, a Muon update is independently selected at each step with probability and an AdamW update is selected otherwise.
The optimizer hyperparameters largely follow the corresponding pretraining configurations described in Appendix A.3.1, with several differences for SFT. For AdamW, we use , , weight decay 0.2, and global gradient-norm clipping at 1.0. For Muon, we use Nesterov momentum , weight decay 0.1, and five Newton–Schulz iterations with . As during pretraining, Muon is applied to matrix-valued parameters, while embeddings, the language-model head, and normalization parameters are optimized by a separate AdamW parameter group with , , weight decay 0.1, and learning rate . Global gradient-norm clipping at 1.0 is also used for Muon runs.
The results of our SFT learning rate sweeps can be found in Figure 3 and Table 4. For the SFT grid reported in Figure 1, optimal learning rates are found by first bracketing the best learning rates for the first and last column as well as the matched-optimizer diagonal. Since these sweep results show that the optimal learning rate is in , we only sweep these results for the rest of the table.
We perform the same procedure for our CPT learning rate sweep and report the best learning rates for each setting in Table 5.
Table 4: Best SFT learning rate for our 1.2B Chinchilla Llama3 models.
| PT opt \ SFT opt | AdamW | 0.1 | 0.25 | 0.5 | 0.75 | 0.9 | Muon |
|---|---|---|---|---|---|---|---|
| AdamW-PT | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 |
| p0.1 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 |
| p0.25 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 |
| p0.5 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 |
| p0.75 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 |
| p0.9 | 8e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 | 4e-4 |
| Muon-PT | 8e-4 | 8e-4 | 8e-4 | 8e-4 | 8e-4 | 8e-4 | 8e-4 |
Table 5: Best CPT learning rate for our 1.2B Chinchilla Llama3 models.
| PT opt \ CPT opt | AdamW | 0.1 | 0.25 | 0.5 | 0.75 | 0.9 | Muon |
|---|---|---|---|---|---|---|---|
| AdamW-PT | 5e-5 | 5e-5 | 5e-5 | 5e-5 | 5e-5 | 5e-5 | 5e-5 |
| p0.1 | 5e-5 | 5e-5 | 5e-5 | 5e-5 | 5e-5 | 5e-5 | 5e-5 |
| p0.25 | 1e-4 | 1e-4 | 5e-5 | 5e-5 | 5e-5 | 5e-5 | 5e-5 |
| p0.5 | 1e-4 | 1e-4 | 1e-4 | 5e-5 | 5e-5 | 5e-5 | 5e-5 |
| p0.75 | 1e-4 | 1e-4 | 1e-4 | 1e-4 | 5e-5 | 5e-5 | 5e-5 |
| p0.9 | 1e-4 | 1e-4 | 1e-4 | 1e-4 | 1e-4 | 5e-5 | 1e-4 |
| Muon-PT | 1e-4 | 1e-4 | 1e-4 | 1e-4 | 5e-5 | 5e-5 | 1e-4 |
Across both SFT and CPT, we observe that the optimal post-training learning rate depends on the pretraining optimizer as well as the post-training optimizer mixture. In particular, models pretrained with a larger proportion of Muon updates tend to prefer a higher learning rate when post-trained with AdamW-heavy mixtures, while increasing the proportion of Muon updates during post-training generally reduces this difference. This dependence motivates selecting the learning rate separately for each PT–post-training optimizer pairing rather than using a single learning rate across the grid.
Open Weight Models For open-weight models, we use the same Tulu-3 mixture and assistant-only loss, and greedily pack conversations without splitting them across sequence boundaries. Packed conversations are isolated using a document-level attention mask with position IDs reset at each conversation boundary. We pack sequences to a maximum length of 8192 tokens for Qwen2.5 and Qwen3 models and 4096 tokens for Llama-2, whose context length is limited to 4096 tokens.
For AdamW, we use , , zero weight decay, and global gradient-norm clipping at 1.0. For Muon, we use the RMS-matched update scaling of Liu et al. [2025], , with Nesterov momentum and five Newton–Schulz iterations. Muon is applied to two-dimensional parameter matrices, while embeddings, the language-model head, and normalization parameters are optimized with AdamW at the same learning rate. Both AdamW and Muon use the same learning rate within a given model and learning-rate sweep.
We use 3% learning-rate warmup and then follow Liu et al. [2025] in using a cosine decay schedule to 0.1 times the peak learning rate. We use a global batch size of 524,288 tokens per optimization step, corresponding to 64 sequences of length 8192 for Qwen models and 128 sequences of length 4096 for Llama-2. We sweep the peak learning rate separately for each model and select the value with the lowest held-out validation loss. Our selected learning rates are shown in Table 6.
B Additional Results
B.1 SFT benchmark performance for 1.2B models
Table 7 reports the average and standard deviation for benchmark averages across three random seeds for the SFT experiments in Section 3. These are the results used to calculate row-wise averages, column-wise averages, and residuals in Figure 1 (left).
Table 6: Learning rate sweep results for open weight models.
| Model | Swept | Best LR |
|---|---|---|
| Qwen2.5-7B | 2e-5, 5e-5 (→0 and →peak/10) | 2e-5 |
| Qwen3-4B | 1e-5, 2e-5, 4e-5, 8e-5 | 2e-5 |
| Qwen3-8B | 1e-5, 2e-5, 4e-5 | 2e-5 |
| Qwen3-14B | 5e-6, 1e-5, 2e-5, 4e-5 | 1e-5 |
| Llama-2-7B | 1e-5, 2e-5, 5e-5, 1e-4 | 5e-5 |
Table 7: SFT benchmark performance at the best learning rate for each setting. Average and standard deviation are reported over 3 random SFT seeds.
| PT \ SFT | AdamW-SFT | p0.1 | p0.25 | p0.5 | p0.75 | p0.9 | Muon-SFT |
|---|---|---|---|---|---|---|---|
| AdamW-PT | |||||||
| p0.1 | |||||||
| p0.25 | |||||||
| p0.5 | |||||||
| p0.75 | |||||||
| p0.9 | |||||||
| Muon-PT |
B.2 SFT benchmark performance at uniform LR for 1.2B models
As a companion to Figure 1, we recreate the same heatmap using models trained at the same LR (4e-4) for all settings, which is the majority-optimal setting, and present the results in Figure 4. These results largely reflect the trends seen in Figure 1: we see that increasing the proportion of Muon updates used in the SFT stage generally increases final benchmark performance. In the residual cells, we observe only mild interaction effects caused by optimizer consistency across training stages.
B.3 SFT benchmark performance by task type for 1.2B models
Figure 5 breaks down the SFT results from Figure 1 by benchmark type rather than averaging across all six downstream tasks. Across task categories, we observe the same qualitative trends as in the aggregate results: performance is largely explained by the independent effects of the pretraining and SFT optimizer choices, with relatively small interaction effects from matching the optimizer across stages. In particular, increasing the proportion of Muon updates during SFT generally improves performance across task types, regardless of the optimizer distribution used during pretraining.

Figure 4: SFT benchmark performance at uniform LR 4e-4. Three independent SFT runs are averaged for each cell.

Figure 5: SFT benchmark performance by task type at the best LR for each setting. Breakdown of the SFT results in Figure 1 by downstream task category for our 1.2B Llama-3 models. Rows index the proportion of Muon updates used during pretraining (0.0 = AdamW, 1.0 = Muon), and columns index the proportion used during SFT. Results show the same qualitative trends as the aggregate benchmark performance in Figure 1: increasing the proportion of Muon updates during SFT generally improves performance across task types, with relatively small interaction effects between the pretraining and SFT optimizer choices.
Table 8: Forgetting after SFT @ LR 4e-4, as measured by change in pretraining validation loss. Average and standard deviation are reported over 3 random seeds. These values are used to calculate in Figure 1 (right). A smaller value indicates less forgetting and indicates that the model has retained more pretraining knowledge.
| PT \ SFT | AdamW | 0.1 | 0.25 | 0.5 | 0.75 | 0.9 | Muon |
|---|---|---|---|---|---|---|---|
| AdamW | +0.49 ± 0.01 | +0.54 ± 0.02 | +0.56 ± 0.02 | +0.84 ± 0.37 | +0.83 ± 0.18 | +0.75 ± 0.09 | +0.73 ± 0.02 |
| p0.1 | +0.52 ± 0.10 | +0.58 ± 0.05 | +0.64 ± 0.09 | +0.63 ± 0.06 | +0.71 ± 0.09 | +0.80 ± 0.07 | +0.67 ± 0.04 |
| p0.25 | +0.42 ± 0.02 | +0.45 ± 0.03 | +0.49 ± 0.01 | +0.51 ± 0.01 | +0.59 ± 0.01 | +0.61 ± 0.01 | +0.60 ± 0.01 |
| p0.5 | +0.40 ± 0.02 | +0.42 ± 0.04 | +0.44 ± 0.02 | +0.49 ± 0.01 | +0.54 ± 0.02 | +0.57 ± 0.04 | +0.58 ± 0.02 |
| p0.75 | +0.38 ± 0.02 | +0.44 ± 0.03 | +0.46 ± 0.03 | +0.46 ± 0.03 | +0.51 ± 0.03 | +0.53 ± 0.02 | +0.54 ± 0.00 |
| p0.9 | +0.46 ± 0.05 | +0.65 ± 0.27 | +0.77 ± 0.21 | +0.54 ± 0.08 | +0.58 ± 0.09 | +0.57 ± 0.06 | +0.53 ± 0.04 |
| Muon | +0.36 ± 0.01 | +0.37 ± 0.02 | +0.39 ± 0.00 | +0.36 ± 0.00 | +0.39 ± 0.04 | +0.39 ± 0.03 | +0.38 ± 0.00 |
B.4 Post-SFT forgetting for 1.2B models
Table 8 reports the average and standard deviation for change in pretraining validation loss across three random seeds after SFT on our 1.2B Llama-3 models. These are the results used to calculate marginal and residual effects in Figure 1 (right).
B.5 CPT performance for 1.2B models
Table 9 (uniform LR) and Table 10 (best LRs) report the average and standard deviation for CPT final loss across three random seeds for the CPT experiments in Section 3. These are the results used to calculate row-wise averages, column-wise averages, and residuals in Figure 2.
Table 9: Continued pretraining (CPT) performance at LR 5e-5. Average and standard deviation are reported over 3 random seeds. These values are used to calculate the residuals in Figure 2 (left).
| PT \ CPT | AdamW | p0.1 | p0.25 | p0.5 | p0.75 | p0.9 | Muon |
|---|---|---|---|---|---|---|---|
| AdamW | |||||||
| p0.1 | |||||||
| p0.25 | |||||||
| p0.5 | |||||||
| p0.75 | |||||||
| p0.9 | |||||||
| Muon-PT |
Table 10: Continued pretraining (CPT) performance at best LR for each setting. Average and standard deviation are reported over 3 random seeds. These values are used to calculate the residuals in Figure 2 (right).
| PT \ CPT | AdamW | p0.1 | p0.25 | p0.5 | p0.75 | p0.9 | Muon |
|---|---|---|---|---|---|---|---|
| AdamW | |||||||
| p0.1 | |||||||
| p0.25 | |||||||
| p0.5 | |||||||
| p0.75 | |||||||
| p0.9 | |||||||
| Muon |