Manuscript Offprint
arXiv:2610.32465Sharpness-aware Orthogonalized Momentum Algorithms
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Adversarial sharpness penalty per iteration of a base optimizer, known as sharpness-aware minimization (SAM), is an accepted technique to improve generalization in deep learning. Recently, MUON has emerged as a dominant optimization algorithm for training large language models (LLMs). It achieves lower sample complexity for heavy-tailed gradient updates – a phenomenon common in LLM training. However, sharpness penalties with MUON updates are yet largely unexplored in the literature. Moreover, the behavior of SAM under heavy-tailed noise is unknown both theoretically and empirically. A potential reason for this gap is the additional cost of extra gradient computation per iteration for penalty perturbations in SAM, which becomes prohibitive for LLMs.
This paper introduces Sharpness-aware Orthogonalized Momentum Algorithm (SOMA) to combine a computationally efficient and theoretically grounded perturbation scheme with the MUON algorithm. The key idea is to use stale (purely) stochastic gradient noise for adversarial perturbations. Theoretically, we show that SOMA’s sample complexity is invariant to the perturbation direction. We provide explorations and insights into SOMA’s robustness to heavy-tailed gradient noise. We extensively explore SOMA’s efficacy in (a) mitigating quality degradation due to post-training quantization, and (b) catastrophic forgetting during fine-tuning of LLMs. The code is available at https://github.com/dcll-iiitd/soma.
Keywords Sharpness-aware minimization · Muon · Heavy-tailed noise · Large language models
1 Introduction
Consider the problems of empirical risk minimization (ERM) for training a deep learning model:
where are parameters in a Banach space such as or and is the -th sample drawn from a training set . The basic approach for solving ERM is stochastic gradient descent (SGD):
where is a stochastic mini-batch, is the learning rate and the parameter both at iteration [53, 6].
These authors contributed equally to this work.
*Supported in part by the INSPIRE fellowship No. DST/INSPIRE Fellowship/IF220579 offered by the Department of Science & Technology (DST), Government of India.
Supported in part by the Infosys Centre for Artificial Intelligence (CAI) at Indraprastha Institute of Information Technology, Delhi (IIIT-Delhi).
Beyond ERM, an enduring pursuit in deep learning is to achieve better generalization, that is, performance on unseen data. For large language models (LLMs), where ERM happens in phases of pre-training and fine-tuning, mitigating issues such as catastrophic forgetting due to fine-tuning [62] and performance degradation after post-training quantization (PTQ) [33] are both important endeavours beyond simply a basic generalization of the pretrained model, and they have been found to relate to model training dynamics [66, 7].
The loss landscape geometry of training trajectory, especially that of flat minima, is well known to have connections to a model’s generalization ability [28, 16, 36]. Motivated by the idea of landing at a flatter minima, Foret et al. [18] introduced sharpness-aware minimization (SAM) to SGD updates:
where is a sharpness penalty perturbation in which is a penalty parameter and . SAM has demonstrated considerable empirical successes [3, 10, 41].
Naturally, these successes of SAM attracted both empirical and theoretical research [3, 11, 67, 55], and inspired a large family of variants largely motivated by two obvious goals: (a) finding that better captures sharpness [34, 75], and (b) reducing the cost of the additional gradient evaluation required for [41, 14]; we survey them with more details in Appendix 2. F-SAM [38] noted that the full gradient direction degrades generalization and proposed along the pure stochastic noise, computed by subtracting a scaled exponentially moving average (EMA) of stochastic gradients from a fresh mini-batch gradient, and observing that EMA estimates the full gradient. Nevertheless, the variants of SAM have largely focused on improving SGD as the base optimizer empirically [34] as well as theoretically [29], but with very limited inclusion of adaptive preconditioned updates and without any backing convergence theory [61]. In the meantime, ADAM [32] and ADAMW [43] have become the mainstream optimizers for LLMs.
MUON [27], which orthogonalizes the momentum of matrix-valued parameters (see Section 3), has also quickly become one of the most sought-after optimizers for LLM training: it scales to LLM pre-training [40, 56], it was used to pre-train open-weight frontier models [31, 20], and its convergence is now well understood, including under heavy-tailed gradient noise [30, 24, 25]. In many cases, MUON remains competitive to ADAMW when fine-tuning ADAMW-pretrained LLMs, while reducing the required resources significantly [40, 47]. A MUON-pretrained model fine-tuned with MUON outperforms its ADAMW-fine-tuned counterpart [40] and, since switching the optimizer between pre-training and fine-tuning can erode acquired knowledge [51] due to optimizer mismatch, the growing number of MUON-pretrained open-weight models makes MUON the natural optimizer for fine-tuning them. Yet, to the best of our knowledge, the only work combining SAM with MUON is the concurrent and unpublished work of Zhong et al. [74], which pairs a spectral version of vanilla SAM with a MUON update and evaluates it empirically, without any convergence theory.
Furthermore, stochastic gradient noise in deep networks is known to be heavy-tailed [60, 21], markedly so in attention-based language models [72, 2]. In fact, the tail of the noise in SGD was found to avoid sharp minima and settle in flatter ones [65], which is precisely the goal of SAM. Yet existing analyses of SAM assume either deterministic gradients [1] or stochastic gradients with bounded variance [59]. To the best of our knowledge, no work has studied the empirical or theoretical performance of SAM under heavy-tailed noise.
From the preceding discussion, we identify three gaps at the intersection of SAM, MUON, and LLM training. First, SAM variants have been designed and analyzed almost exclusively around SGD; their only pairing with MUON [74] uses a vanilla SAM perturbation that doubles the per-iteration gradient cost and comes with no convergence guarantee. Second, although heavy-tailed gradient noise is pervasive in LLM training, it is unknown, empirically or theoretically, whether and when SAM remains beneficial in this regime. Third, it is open whether a sharpness-aware perturbation can be added to MUON at essentially no extra cost while retaining the convergence guarantees of MUON under heavy-tailed noise. We bridge all these gaps in our work.
In this paper, we propose Sharpness-aware Orthogonalized Momentum Algorithms, which build a spectral-friendly perturbation from quantities that MUON already holds, namely, the perturbed gradient of the previous iteration and the scaled MUON momentum. Effectively, it needs half the number of gradient evaluations than standard SAM approaches: gradient evaluations over T iterations instead of the 2T of its fresh perturbation counterpart FP-SOMA, a spectral adaptation of F-SAM. We also propose OP-SOMA, which removes the component of the perturbation aligned with the previous MUON step (see Section 4). We then prove that SOMA reaches an -stationary point (for some ) in the nuclear norm under appropriate smoothness requirements and in the presence of heavy-tailed noise with a bounded p-th central moment, and our analysis leads us to an estimate with an irreducible floor of order due to the nonzero perturbation radius. Our guarantee holds for any perturbation direction as well as recovers the convergence rate of MUON at , and our analysis also shows that the reuse of the stale gradient costs little by way of accuracy (see Section 5). Empirically, on synthetic problems with a controlled tail index, the spectral variants reduce the optimality gap of MUON by up to 40% under even the heaviest tails, whereas SAM and F-SAM on SGD degrade sharply. Additionally, the spectral perturbations outperform the Frobenius ones. We further evaluate all our proposed methods on 4-bit PTQ and observe catastrophic forgetting in nanoGPT and Pythia-70M (see Section 6).
MUON and its variants. MUON [27] orthogonalizes the momentum of each matrix-valued parameter. It is steepest descent under the spectral norm [5]. Equivalently, it calls a linear minimization oracle (LMO) over a spectral-norm ball [49]. With decoupled weight decay, it implicitly solves a spectral-norm-constrained problem [9]. Liu et al. [40] scaled MUON to LLM pre-training with weight decay and per-parameter update scaling. MuonClip adds QK-clipping for stability at the trillion-parameter scale [31]. AdaMuon adds element-wise adaptivity [58]. MuonEq equilibrates rows and columns before orthogonalization [8]. LiMuon cuts memory and variance [22]. MuonAll extends MUON to all parameters for fine-tuning [47]. Scion and Gluon generalize MUON to layer-wise norm choices [49, 52]. Zhong et al. [74] (yet unpublished) pair a layer-wise spectral SAM perturbation with a MUON outer update and report gains in vision classification.
Convergence under heavy-tailed noise. Heavy-tailed noise is commonly modeled by a bounded -th central moment -BCM), . For SGD, clipping attains the optimal complexity in the nonconvex setting [72]. High-probability bounds have followed for clipped methods [13, 54, 45]. Normalization can replace clipping [23], and normalized SGD with momentum is optimal without clipping [42]. Even vanilla SGD converges under -BCM, though at the slower rate in the nonconvex setting [17]. Most MUON analyses still assume bounded variance. They cover exact and inexact orthogonalization [37, 30, 57], variance-reduced momentum [50], and the role of spectral flattening in step-size choice [46]. Recent works extend MUON to -BCM noise. Iiduka [25] treat Hölder-smooth objectives. Choudhury et al. [12] analyze Nesterov momentum with inexact polar decomposition. Hübler et al. [24] prove nuclear-norm stationarity without clipping and without the extra dimension dependence of Euclidean methods. None of these analyses includes a sharpness-aware perturbation.
3 Problem Formulation
Notation and setup. For a matrix-valued parameter , we consider the optimization problem , where denotes a training sample. For ERM, the expectation is taken over the empirical distribution of the training set. We denote to be the maximal possible rank of . Given a minibatch of size at the -th iteration, we let and . We also denote the Frobenius, operator and nuclear norms of matrices by , , and , respectively, and use . We denote by the perturbation for the parameter and scale it by a radius (size) . Finally, we depict using lowercase symbols vectorized quantities, for example, and .
Sharpness-aware minimization (SAM). Low training loss alone does not describe a model's sensitivity to changes in its parameters. SAM [18] addresses this sensitivity by seeking parameters whose neighbourhood also has a uniformly low loss for its vectorized parameters, that is,
where is the perturbation constrained to be in a neighbourhood of radius about . Foret et al. [18] use the -norm for the perturbation of parameters with . Thus, SAM descends along a gradient as:
This two-step update doubles the per-iteration cost.
Friendly SAM (F-SAM). F-SAM perturbs the parameter by decomposing the minibatch gradient into two orthogonal components: a full gradient and stochastic noise, and the perturbation is along the direction of the stochastic noise. For some , F-SAM [38] perturbs the current iterate using the residual as:
Momentum-SAM (MSAM). Becker et al. [4] proposed a computationally efficient SAM variant. They avoid the second gradient evaluation of SAM by reusing a momentum buffer of the base optimizer SGD with momentum. Perturbing in the negative momentum direction increases the loss, making it suitable for estimating sharpness. With and , their perturbation is given by:
following which the gradient is evaluated at and passed to the base update. Since is already computed and stored by the base optimizer, MSAM requires only one gradient evaluation per iteration and no additional memory beyond that of SGD or Adam with momentum, and this is in contrast to SAM, which doubles the per-iteration cost.
MUON. MUON [27] works for the matrix-structured layers of a deep model as:
with and . Here, is the steepest-descent direction for the linear model with gradient under an operator-norm constraint. Practical implementations approximate Ortho using steps of Newton-Schulz (denoted hereby as ), thereby avoiding an explicit computation of a singular value decomposition (SVD) at each step. MUON preserves the singular directions but sets all nonzero singular values to be 1.
Algorithm 1 Sharpness-aware Orthogonalized Momentum Algorithms (SOMA) Framework
Require: Given ; initial weights ; learning rate ; momentum coefficient ; perturbation radius ; perturbation rule ; batch size ; iterations ; Newton-Schulz iterations .
1: Initialize momentum and any auxiliary state required by .
2: for do
3: Sample a minibatch .
4: Construct perturbation: .
5: Compute the perturbed gradient: .
6: Update momentum: .
7: Orthogonalize momentum: .
8: Update weights: .
9: Store any quantities required by the perturbation rule for the next iteration.
10: end for
11: return .
Spectral SAM MUON (SSM). For matrix blocks, Zhong et al. [74] proposed the spectral robust perturbed objective:
Linearizing the minibatch loss yields the perturbation , which is approximated by computing instead. For multiple matrix blocks, the layer-wise constraint is taken to be: . Each layer receives its own spectral perturbation budget, and the maximum is taken across all layers rather than over individual matrix entries. SSM thus evaluates and then uses the following update:
As a result, both inner perturbations and outer updates are aware of the spectral geometry.
Summary and our motivation SSM respects the spectral geometry but perturbs along the full mini-batch gradient , whose full-gradient component F-SAM is found to be unhelpful for generalization. F-SAM removes this component, but then it only works in Euclidean geometry. Both methods evaluate a fresh gradient for the perturbation, doubling the per-iteration cost, whereas MSAM reuses the momentum buffer to avoid this cost but does not account for the matrix geometry of its layers. Therefore, this motivates an optimizer that forms a low-cost, friendly residual while still working in spectral geometry. As an outcome of such a pursuit, we propose SOMA, which we detail next.
4 Algorithm
Algorithm 1 provides a common framework for sharpness-aware MUON with varying perturbation schemes , which can be as simple as a random direction whose entries are drawn independently and identically distributed (i.i.d.) standard normal random variables, that is, . However, as noted in [69] and also observed in our experiments, this easy choice does not work in practice. This is further underscored by numerous other works on efficient perturbation strategies for SAM.
FP-SOMA. We first directly adapt the approach of F-SAM [38] to spectral orthogonalization and a MUON outer update, which we call freshly-perturbed-SOMA (FP-SOMA).
where , and controls the strength of EMA subtraction. The residual emphasizes deviations from the running gradient estimate, while orthogonalization determines the spectral geometry of this perturbation. The fresh gradient dominates the perturbation, and the subsequent perturbed gradient drives the descent. FP-SOMA is costly as it requires two gradient evaluations per iteration and a separate EMA buffer .
SOMA. To reduce the cost of FP-SOMA, we construct friendly perturbations by reusing quantities available from the preceding update. Specifically, the last perturbed gradient replaces the fresh gradient, and the scaled MUON momentum supplies an EMA of past perturbed gradients. At the first iteration, since no previous gradient is available, SOMA uses the exact same initialization and perturbation as FP-SOMA. In Lemma 1, we argue that SOMA's updates are as good as those of FP-SOMA. The complete rule for is:
The factor converts the MUON's momentum (see Line 6, Algorithm 1) into an EMA. Thus, for , is obtained directly from the existing momentum buffer and a separate EMA is not required. This EMA also tracks gradients at past perturbed iterates, whereas in FP-SOMA, it only tracks fresh gradients at unperturbed iterates.
Constructing for SOMA thus requires no new gradient evaluations, thereby significantly reducing the cost to gradient evaluations as compared with 2T gradient evaluations for FP-SOMA. Nevertheless, of F-SAM, FP-SOMA, and SOMA can all align with the previous descent direction . While SAM intends the perturbation to be an adversarial step, this alignment suggests that may reinforce the previous optimization movement. Motivated by this observation, we propose OP-SOMA, which removes the component of the stale friendly residual along the previous MUON momentum.
Orthogonally Projected SOMA (OP-SOMA) (Pre-NS ) For each weight matrix, define the Frobenius-orthogonal projection by . For , the perturbation is:
The second equality for follows because the friendly correction is parallel to and is therefore removed by the proposed projection. By construction, . Here we intended to do the alignment correction before applying the Newton-Schulz transformation. However, the nonlinear Newton-Schulz transformation does not generally preserve this orthogonality, and so need not vanish.
Orthogonally Projected SOMA (OP-SOMA) (Post-NS ). Orthogonality to raw momentum does not imply orthogonality to the previous descent direction . Therefore, we next construct for OP-SOMA by removing the component of the spectrally transformed friendly residual along the previous MUON update direction , and then by normalizing the projected matrix using its Frobenius norm:
For , we take . The convergence properties of SOMA remain invariant to the choice of .
Momentum-SOMA (MSOMA). MSOMA applies the momentum idea of MSAM to the SOMA framework. Rather than forming a friendly residual from the perturbed gradient and the scaled momentum, it perturbs along the negative MUON momentum from the previous iteration:
Because is already available before the gradient at is computed, this perturbation requires no additional gradient evaluation, and the cost matches that of SOMA. Unlike OP-SOMA, MSOMA does not project out the component of the perturbation along the previous descent direction , so its perturbation may still align with the previous movement.
The complete algorithms are described in Appendix A, and their empirical performance is discussed in Section 6.
5 Convergence Analysis
We recall a key definition and state some standard assumptions needed for our analysis of SOMA.
Definition 1 (ε-stationary point). We say is an ε-stationary point if . An algorithm attains ε-stationarity in steps if:
In our analysis, we take to be nonconvex with optimal . In all our algorithms, at iteration , a mini-batch with sample size drawn i.i.d. from the uniform distribution over the set of all samples and for all steps . At , the model parameter is initialized, and we define the initial suboptimality gap to be . Given this setup, we also make the following assumptions for convergence in a heavy-tailed noise setting. Lastly, we use smoothness with respect to the operator norm and (its dual) nuclear norm as appropriate.
Assumption 1 ((ν, L)-Smoothness). A continuously differentiable function is said to be -smooth with and if for all , we have that:
Assumption 2 (p-Bounded central moment (BCM) condition). Let be a random variable independent of and for a sufficiently smooth , let denote the stochastic gradient of at . Then, we have the following:
(i) (Unbiasedness) for all , and
(ii) (p-BCM) There exist and such that for all , .
For a mini-batch of size B, the corresponding p-th moment is bounded by [25].
Note: For p = 2, Assumption 2 reduces to the bounded-variance condition.
Theorem 1 (SOMA under heavy-tailed noise with p-BCM condition). Consider Algorithm 1 initialized with , perturbation radius , and step size and momentum parameter to be:
Then under Assumptions 1 and 2, the following -stationarity guarantee holds:
where and is the error factor associated with using steps of Newton-Schulz in MUON.
Remark 1. Theorem 1 guarantees that SOMA converges to an -stationary point under heavy-tailed noise with an irreducible error floor . In addition, we can derive the following insights about the various terms in the bound.
-
Setting the perturbation radius completely eliminates the last term: this recovers the convergence bound of MUON under heavy-tailed noise. Then, over the range of and , the first term simply dominates, giving the convergence rate to be .
-
The SAM term:
can be construed to be made up of two components. The first is a reducible term of the form:
which decays to zero as . The second is an irreducible error floor which remains nonzero since , and also this irreducibility is independent of the nature of noise.
- The factor represents the error factor resulting from approximating the polar decomposition using steps of Newton-Schulz. By [30, Theorem 2], we have that as , .
Remark 2. The convergence proof of Theorem 1 in the Appendix B.1 works for any variant of SAM when combined with MUON, as it relies on the convergence of MUON at a perturbed point where the underlying perturbation depends only on the SAM variant we are using.
Corollary 1. For and and under the same assumptions as in Theorem 1, choosing the step size and momentum parameter to be:
we have the following -stationarity guarantee:
where is the error factor associated with using steps of Newton-Schulz in MUON.
Remark 3. Corollary 1 gives convergence of SAM with MUON under the bounded variance assumption and with an irreducible error floor due to the perturbation used in SAM. We can see that the bound here is a particular case of Theorem 1 with and . As before, we can recover the bound for MUON under the bounded variance assumption to be when .
Remark 4 (Frobenius-norm special case). If both the SAM perturbation E and MUON update direction O use Frobenius norms, that is, suppose we have:
Then, this is simply SAM with momentum-based normalized SGD as the base optimizer. As the error factor is not present, the convergence is at the rate , , and with the corresponding SAM perturbation term of the form .
5.1 SOMA Analysis
For our analysis of SOMA, in addition to Assumptions 1 and 2, we also make use of the following.
Assumption 3 (Hessian Lipschitzness). A twice continuously differentiable function with Hessian at is said to have the stated property if there exists such that for all , we have:
Lemma 1 (Temporal lag of SOMA). Under Assumptions 1, 2 and 3 with , , and :
where . Moreover, we also have:
Remark 5. Lemma 1 shows that reusing the previous iteration’s perturbed gradient costs little in terms of accuracy. Its bias matches the usual SAM error when , its noise is unchanged, and the curvature seen by the perturbation shifts only by . SOMA thus saves a gradient evaluation without any significant error.
6 Experiments
We evaluate SOMA in two settings. First, we train on a synthetic problem with simulated heavy-tailed gradient noise, the regime covered by our analysis in Section 5. Second, we run experiments on language models and a CNN: continued pretraining of nanoGPT and Pythia-70M on FineWeb-Edu, training of the Airbench CNN on CIFAR-10, 4-bit post-training quantization (PTQ) of the two language models, and fine-tuning to measure catastrophic forgetting (Appendix F.1).
We compare the base optimizers SGD, ADAMW and MUON with sharpness-aware methods built on each of them: (i) on SGD: SAM, F-SAM and MSAM; (ii) on ADAMW: SAW (SAM on ADAMW) and FSAW (F-SAM on ADAMW); (iii) on MUON: SSM (SPECSAM-MUON) and RSM (RANDSAM-MUON); and (iv) our methods: FP-SOMA, SOMA, MSOMA, and the two variants of OP-SOMA, OPSPRE (Pre-NS ) and OPSPOST (Post-NS ). For all MUON-based methods, we use q = 5 Newton–Schulz steps.
6.1 Synthetic Experiments under Heavy-tailed Noise
Setup. We use a synthetic teacher–student problem to control the gradient noise exactly. The student has two weight matrices with and . It maps an input to the logits and is trained with cross-entropy to predict the 32 class labels assigned by a fixed teacher network.


perturbation radius

perturbation radius
Figure 1: Performance under anisotropic heavy-tailed noise (Condition no., ). Top: validation accuracy. Bottom: training loss (log scale). Red, Blue and Green lines indicate ADAMW-based, SGD-based and MUON-based methods, respectively. Lines show the median over seeds, and shaded bands show the interquartile range.
of the same shape. The inputs are Gaussian with an ill-conditioned covariance (condition no. 100). At iteration t, the optimizer receives the minibatch gradient corrupted by additive noise:
(7)
where and are drawn independently. Each entry of [17] follows a two-sided Pareto distribution with tail index , so has finite moments only of order . We test : the noise has infinite variance for , and serves as a finite-variance control. The fixed matrices and have geometrically decaying singular values with condition number , so the noise is stronger in some directions than in others (anisotropic noise).
Implementation. Every method runs for 500 iterations. The learning rate is tuned once for each base optimizer and kept fixed across all and . For the sharpness-aware methods, we sweep the perturbation across 10 values of in . We report validation accuracy on 512 held-out samples and the training loss, both as the median over 8 noise seeds. Appendix E gives the full setup and also reports results with isotropic noise ( ) and on a deep linear network with a known optimum.
Results. Figure 1 shows validation accuracy and training loss against , and Tables 2 and 3 in Appendix E report the best value of each method. These results indicate that the base optimizer largely determines robustness to heavy-tailed noise. As approaches 1 and the tails get heavier, the ADAMW-based methods degrade the most, reaching only about 29% accuracy at , compared with about 36% for SGD-based and 38–40% for MUON-based methods. Adding a perturbation changes a base optimizer's best accuracy by at most 1.7 points at , much less than the gap between optimizer families. This is consistent with our convergence theory, Remark 1(2), where the error floor introduced by the perturbation does not depend on the nature of noise. Spectral perturbations help MUON at every tail

Figure 2: Training curves of the fifteen optimizers (mean over 3 seeds) on FineWeb-Edu NanoGPT, FineWeb-Edu Pythia and the CIFAR-10 Airbench CNN: training loss, and validation perplexity (language models) or validation accuracy (CNN), against the optimizer step (100 steps per epoch). Red, Blue and Green lines indicate ADAMW-based, SGD-based and MUON-based methods, respectively.
index: SOMA improves on MUON by 1.0–2.3 points, and stays within points of FP-SOMA while using half the gradient evaluations. A random perturbation in the Frobenius geometry barely improves on MUON; however, as we will see, random perturbation in the spectral geometry matches SOMA (Appendix E). MSOMA reaches the lowest training loss in the MUON family at every , which suggests that perturbing along the momentum mainly accelerates optimization rather than improving generalization. In the finite-variance case ( ), the ADAMW-based methods generalize well despite the highest training loss; only the sharpness-aware MUON methods with a large radius overtake them. SGD-based methods show the opposite trend, with the lowest training loss but the lowest accuracy, indicating overfitting.
Further observations, the linear problem and isotropic noise are reported in Appendix E. We also include ablations on perturbations in Frobenius vs. spectral geometry and on stale vs. fresh gradients in the appendix.
6.2 LLM Experiments
We next evaluate the methods on language-model pretraining and on the robustness of the trained models to 4-bit quantization. We include experiments for fine-tuning to investigate the impact on catastrophic forgetting in Appendix F.
6.2.1 Continued Pretraining
Setup. We continue pretraining two language models from their released weights, nanoGPT (GPT-2 small, 124M parameters) and Pythia-70M, on FineWeb-Edu [48] (sample-10BT). We also train the Airbench CNN, an image benchmark, on CIFAR-10.
Implementation. Each epoch consists of 100 optimizer steps with a context length of 512 tokens (about tokens per epoch), and we train for 15 epochs on nanoGPT, 14 on Pythia-70M and 7 on the CNN. All results are averaged over three seeds. The detailed hyperparameters are given in Appendix F.
Table 1: INT4 post-training quantization results on held-out FineWeb-Edu perplexity (lower is better), comparing full precision (FP) and 4-bit AWQ (INT4). Results show mean std over 3 pretraining seeds (INT4 averaged over 3 calibration seeds); bold indicates the lowest value per column. Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue).
| Optimizer | FineWeb-Edu NanoGPT | FineWeb-Edu Pythia | ||||
|---|---|---|---|---|---|---|
| FP | INT4 | Δ% | FP | INT4 | Δ% | |
| MUON | 22.96±0.01 | 23.87±0.01 | +3.98±0.06 | 33.60±0.01 | 37.28±0.10 | +10.96±0.27 |
| SSM | 23.09±0.00 | 23.87±0.03 | +3.38±0.11 | 33.65±0.02 | 37.22±0.01 | +10.61±0.08 |
| FP-SOMA | 23.07±0.00 | 23.86±0.03 | +3.42±0.09 | 33.65±0.02 | 37.08±0.10 | +10.20±0.26 |
| SOMA | 22.95±0.01 | 23.86±0.03 | +3.96±0.12 | 33.66±0.01 | 37.21±0.08 | +10.55±0.19 |
| RSM | 22.96±0.01 | 23.87±0.01 | +3.98±0.02 | 33.61±0.02 | 37.34±0.10 | +11.13±0.26 |
| OPSPRE | 22.97±0.01 | 23.85±0.03 | +3.79±0.11 | 33.62±0.01 | 37.21±0.07 | +10.66±0.23 |
| OPSPOST | 22.96±0.01 | 23.86±0.04 | +3.92±0.15 | 33.60±0.02 | 37.29±0.02 | +10.97±0.10 |
| MSOMA | 22.95±0.01 | 23.87±0.02 | +4.00±0.06 | 35.11±0.04 | 38.70±0.20 | +10.21±0.56 |
| ADAMW | 23.12±0.01 | 23.94±0.01 | +3.55±0.02 | 34.03±0.02 | 37.81±0.01 | +11.12±0.04 |
| SAW | 23.12±0.01 | 23.94±0.01 | +3.58±0.06 | 33.80±0.01 | 37.34±0.03 | +10.46±0.06 |
| FSAW | 23.12±0.01 | 23.94±0.01 | +3.56±0.01 | 33.80±0.01 | 37.32±0.07 | +10.39±0.19 |
| SGD | 24.17±0.01 | 25.25±0.01 | +4.46±0.02 | 37.77±0.04 | 43.24±0.08 | +14.46±0.14 |
| SAM | 24.17±0.00 | 25.27±0.01 | +4.53±0.05 | 37.82±0.02 | 43.33±0.05 | +14.56±0.08 |
| F-SAM | 24.18±0.00 | 25.26±0.00 | +4.48±0.02 | 37.82±0.02 | 43.33±0.03 | +14.56±0.10 |
| MSAM | 24.13±0.00 | 25.21±0.01 | +4.46±0.05 | 37.43±0.02 | 42.85±0.07 | +14.49±0.20 |
Results. Figure 2 shows the training curves; the top row gives the training loss and the bottom row the validation perplexity (validation accuracy for the CNN). Table 12 in Appendix F reports the final values. On the language models, the base optimizer dominates: the MUON-based methods end with the lowest validation perplexity, ahead of the ADAMW- and SGD-based methods. The two-gradient SSM and FP-SOMA end with a slightly higher perplexity than MUON on nanoGPT (24.55 versus 24.41), whereas the one-gradient SOMA, OPSPRE and OPSPOST match MUON. This contrasts with Zhong et al. [74], who found SSM to outperform MUON on vision models; on CIFAR-10 we observe the same (87.63% versus 87.27%), so the small cost appears specific to language models. In return, SSM and FP-SOMA reduce forgetting the most on nanoGPT (Appendix F.1), and FP-SOMA degrades the least under quantization on Pythia-70M (Section 6.2.2). As in the synthetic experiments, perturbing along the negative momentum (MSOMA, MSAM) speeds up early training but does not improve the final perplexity, and on Pythia-70M MSOMA even ends up well behind MUON. On CIFAR-10, the MUON-based methods learn fastest and reach the lowest training loss, but the ADAMW-based methods end the most accurate despite a higher training loss, as in the finite-variance synthetic case. Finally, on nanoGPT, SOMA costs only 3% more time per epoch than MUON, whereas SSM and FP-SOMA take 2.4–2.9× as long (Table 15). In short, pretraining quality is set by the base optimizer, and SOMA adds sharpness awareness to MUON at almost no cost and without degrading it; whether this pays off is better measured after training, under quantization (Section 6.2.2) and fine-tuning (Appendix F.1).
6.2.2 Post-training Quantization
Setup. Quantizing a model to 4 bits rounds each weight to a nearby value, which perturbs the weights slightly. Sharpness-aware training seeks solutions whose loss changes little under such perturbations, so these models may lose less quality after quantization. To test this, we quantize the language models using each optimizer and measure how much their held-out perplexity increases.
Implementation. We quantize the linear layers of the transformer blocks to 4-bit weights with AWQ [39], using group size 128 and 128 calibration sequences of 512 tokens; the embeddings and the output head stay in full precision. We report perplexity on held-out FineWeb-Edu tokens before (FP) and after (INT4) quantization, averaged over three pretraining seeds and three calibration seeds (Table 1).
Results. Quantization raises perplexity for every optimizer, by 3.4–4.5% on nanoGPT and 10.2–14.6% on Pythia-70M. As in pretraining, the base optimizer matters most: the SGD-based methods degrade the most on both models, and the MUON-based methods give the lowest perplexity after quantization. The effect of the perturbation is clearest on Pythia-70M, the smaller model, which suffers more from quantization. There, sharpness-aware training reduces the degradation of both MUON and ADAMW but not of SGD: FP-SOMA lowers MUON's increase from 10.96% to 10.20% and reaches the lowest INT4 perplexity, SOMA lowers it to 10.55%, recovering about half of this gain with one gradient evaluation per step, and SAM and F-SAM lower ADAMW's increase from 11.12% to about 10.4%. On nanoGPT, the
INT4 perplexity is nearly the same across the MUON family (23.85–23.87); the smaller increase of SSM and FP-SOMA there comes from their slightly higher full-precision perplexity rather than from a better quantized model. Overall, sharpness-aware perturbations make MUON-trained models moderately more robust to quantization, and SOMA obtains a substantial part of this benefit at almost the cost of MUON.
7 Conclusion
We introduced SOMA, a sharpness-aware variant of MUON that perturbs weights by reusing quantities MUON already computes. We proved that sharpness-aware MUON algorithms converge under heavy-tailed noise with an error floor that grows with the radius but not with the noise. Our experiments confirm that the base optimizer largely determines robustness to heavy-tailed noise. For MUON-based methods, perturbing in the spectral geometry consistently helps, more than the choice of direction. We observe that SOMA matches its two-gradient counterpart in accuracy despite using a stale gradient, is more robust to a large radius in accuracy, and that its best radius shrinks as the noise gets lighter, as our bound predicts. In language-model training, SOMA maintains the quality of MUON at about a 3% extra run-time cost, moderately improves robustness to quantization, and reduces forgetting only slightly. Testing SOMA at a larger scale and fine-tuning with the same optimizer used in pretraining are natural next steps.
AI use statement
In this work, we used a generative AI tool to help refine hypotheses, provide feedback on research methodology or experiments, and implement methods. We have not used generative AI tools for proving theorems, formulating mathematical claims, providing critical ingredients for proving mathematical claims, assisting in the writing of proofs, developing theoretical models or conceptual frameworks, interpreting results, and assisting with translation, cleaning, and reformatting the dataset, supporting qualitative and thematic data analysis; these are not applicable to this work. Additionally, we used generative AI tools to draft parts of a research paper, summarize or analyze existing literature, discover research topics or identify gaps, brainstorm, source or search for information, and edit a research paper to improve readability and identify relevant literature. We have reviewed all AI-assisted work, including reading and reviewing all the suggested related papers. We take responsibility for the final content of this work, including text, claims, or artifacts produced with the aid of generative AI.
References
[1] S. Adly and B. K. Le. Stationarity floors and vanishing perturbations in sharpness-aware minimization, 2026.
[2] K. Ahn, X. Cheng, M. Song, C. Yun, A. Jadbabaie, and S. Sra. Linear attention is (maybe) all you need (to understand Transformer optimization). In ICLR, 2024.
[3] D. Bahri, H. Mobahi, and Y. Tay. Sharpness-aware minimization improves language model generalization, 2021.
[4] M. Becker, F. Altrock, and B. Risse. Momentum-SAM: Sharpness aware minimization without computational overhead. In NeurIPS, volume 38, 2025.
[5] J. Bernstein and L. Newhouse. Old optimizer, new norm: An anthology, 2024.
[6] L. Bottou and O. Bousquet. The tradeoffs of large scale learning. In NeurIPS, 2008.
[7] A. Catalan-Tatjer, N. Ajroldi, and J. Geiping. Training dynamics impact post-training quantization robustness. In ICLR, 2026.
[8] D. Chang, Q. Shi, L. Zhang, Y. Li, R. Zhang, Y. Lu, Y. Liu, and G. Yuan. Muoneq: Balancing before orthogonalization with lightweight equilibration. arXiv preprint arXiv:2603.28254, 2026.
[9] L. Chen, J. Li, and Q. Liu. Muon Optimizes Under Spectral Norm Constraints. arXiv preprint arXiv:2506.15054, 2025.
[10] X. Chen, C.-J. Hsieh, and B. Gong. When vision transformers outperform resnets without pre-training or strong data augmentations. arXiv preprint arXiv:2106.01548, 2021.
[11] Z. Chen, J. Zhang, Y. Kou, X. Chen, C.-J. Hsieh, and Q. Gu. Why does sharpness-aware minimization generalize better than SGD? In NeurIPS, 2023.
[12] S. Choudhury, X. Cheng, M. Takáč, S. Na, and M. Kolar. Muon with nesterov momentum: Heavy-tailed noise and (randomized) inexact polar decomposition, 2026.
[13] A. Cutkosky and H. Mehta. High-Probability Bounds for Non-Convex Stochastic Optimization with Heavy Tails. In NeurIPS, volume 34, pages 4883–4895. Curran Associates, Inc., 2021.
[14] J. Du, H. Yan, J. Feng, J. T. Zhou, L. Zhen, R. S. M. Goh, and V. Tan. Efficient sharpness-aware minimization for improved training of neural networks. In ICLR, 2022.
[15] J. Du, D. Zhou, J. Feng, V. Y. F. Tan, and J. T. Zhou. Sharpness-aware training for free. In NeurIPS, volume 35, pages 22872–22885, 2022.
[16] G. K. Dziugaite and D. M. Roy. Computing nonvacuous generalization bounds for deep (stochastic) neural networks with many more parameters than training data. 2017, 2017.
[17] I. Fatkhullin, F. Hübler, and G. Lan. Can SGD Handle Heavy-Tailed Noise? arXiv preprint arXiv:2508.04860, 2025.
[18] P. Foret, A. Kleiner, H. Mobahi, and B. Neyshabur. Sharpness-aware minimization for efficiently improving generalization. In ICLR, 2021.
[19] Y. Fu, C. Zhang, J. Liu, Y. Jin, H. Ye, and Y. Yang. Leveraging extragradient for effective sharpness-aware minimization in deep learning, 2026.
[20] GLM-4.5 Team. GLM-4.5: Agentic, reasoning, and coding (ARC) foundation models, 2025.
[21] L. Hodgkinson and M. Mahoney. Multiplicative noise and heavy tails in stochastic optimization. In ICML, volume 139, pages 4262–4274, 2021.
[22] F. Huang, Y. Luo, and S. Chen. Limuon: Light and fast muon optimizer for large models. In ICML, 2026.
[23] F. Hübler, I. Fatkhullin, and N. He. From gradient clipping to normalization for heavy tailed SGD. In AISTATS, volume 258 of Proceedings of Machine Learning Research, pages 2413–2421, 2025.
[24] F. Hübler, T. Pethick, and S. Sra. Free heavy-tailed lunch for muon: A theoretical justification of empirical success, 2026.
[25] H. Iiduka. Muon converges under heavy-tailed noise: Nonconvex holder-smooth empirical risk minimization, 2026.
[26] J. Ji, G. Li, J. Fu, F. Afghah, L. Guo, X. Yuan, and X. Ma. A single-step, sharpness-aware minimization is all you need to achieve efficient and accurate sparse training. In NeurIPS, 2024.
[27] K. Jordan, Y. Jin, V. Boza, J. You, F. Cesista, L. Newhouse, and J. Bernstein. Muon: An optimizer for hidden layers in neural networks, 2024. URL https://kellerjordan.github.io/posts/muon/.
[28] N. S. Keskar and R. Socher. Improving Generalization Performance by Switching from Adam to SGD. arXiv e-prints, art. arXiv:1712.07628, December 2017, 2017.
[29] P. D. Khanh, H.-C. Luong, B. Mordukhovich, and D. B. Tran. Fundamental convergence analysis of sharpness-aware minimization. In NeurIPS, 2024.
[30] G. Y. Kim and M.-H. Oh. Convergence of muon with newton-schulz. In ICLR, volume 2026, pages 45672–45718, 2026.
[31] Kimi Team. Kimi K2: Open agentic intelligence, 2025.
[32] D. P. Kingma and J. Ba. Adam: A Method for Stochastic Optimization. arXiv e-prints, art. arXiv:1412.6980, December 2014, 2014.
[33] T. Kumar, Z. Ankner, B. F. Spector, B. Bordelon, N. Muennighoff, M. Paul, C. Pehlevan, C. Ré, and A. Raghunathan. Scaling laws for precision. In ICLR, 2025.
[34] J. Kwon, J. Kim, H. Park, and I. K. Choi. Asam: Adaptive sharpness-aware minimization for scale-invariant learning of deep neural networks. In ICML, pages 5905–5914. PMLR, 2021.
[35] N. Lambert, J. Morrison, V. Pyatkin, S. Huang, H. Ivison, et al. Tülu 3: Pushing frontiers in open language model post-training. arXiv preprint arXiv:2411.15124, 2024.
[36] H. Li, Z. Xu, G. Taylor, C. Studer, and T. Goldstein. Visualizing the loss landscape of neural nets. NeurIPS, 31, 2018.
[37] J. Li and M. Hong. A note on the convergence of Muon and further. arXiv preprint arXiv:2502.02900, 2025b.
[38] T. Li, P. Zhou, Z. He, X. Cheng, and X. Huang. Friendly sharpness-aware minimization. In CVPR, pages 5631–5640, 2024.
[39] J. Lin, J. Tang, H. Tang, S. Yang, W.-M. Chen, W.-C. Wang, G. Xiao, X. Dang, C. Gan, and S. Han. AWQ: Activation-aware weight quantization on-device compression and acceleration. In MLSys, 2024.
[40] J. Liu, J. Su, X. Yao, Z. Jiang, G. Lai, Y. Du, Y. Qin, W. Xu, E. Lu, J. Yan, et al. Muon Is Scalable for LLM Training. arXiv preprint arXiv:2502.16982, 2025.
[41] Y. Liu, S. Mai, X. Chen, C.-J. Hsieh, and Y. You. Towards efficient and scalable sharpness-aware minimization. In CVPR, pages 12350–12360, 2022.
[42] Z. Liu and Z. Zhou. Nonconvex stochastic optimization under heavy-tailed noises: Optimal convergence without gradient clipping. In ICLR, 2025.
[43] I. Loshchilov. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
[44] P. Mi, L. Shen, T. Ren, Y. Zhou, X. Sun, R. Ji, and D. Tao. Make sharpness-aware minimization stronger: A sparsified perturbation approach. In NeurIPS, 2022.
[45] T. D. Nguyen, T. H. Nguyen, A. Ene, and H. Nguyen. Improved Convergence in High Probability of Clipped Gradient Methods with Heavy Tailed Noise. In NeurIPS, volume 36, pages 24191–24222. Curran Associates, Inc., 2023.
[46] T.-P. Nguyen, T. Nguyen, M.-P. Truong, T. Nguyen, J. Bailey, and T. Le. Spectral flattening is all muon needs: How orthogonalization controls learning rate and convergence, 2026.
[47] S. Page, A. Joshi, and S. S. Sonawane. Muonall: Muon variant for efficient finetuning of large language models. arXiv preprint arXiv:2511.06086, 2025.
[48] G. Penedo, H. Kydlíček, L. Ben Allal, A. Lozhkov, M. Mitchell, C. Raffel, L. Von Werra, and T. Wolf. The FineWeb datasets: Decanting the web for the finest text data at scale. In NeurIPS, 2024.
[49] T. Pethick, W. Xie, K. Antonakopoulos, Z. Zhu, A. Silveti-Falls, and V. Cevher. Training Deep Learning Models with Norm-Constrained LMOs. In ICML, volume 267 of Proceedings of Machine Learning Research, pages 49069–49104. PMLR, July 2025.
[50] X. Qian, H. Rammal, D. Kovalev, and P. Richtarik. Muon is provably faster with momentum variance reduction. arXiv preprint arXiv:2512.16598, 2025.
[51] X. Qu, P. Huang, and S. Horváth. Can Muon fine-tune Adam-pretrained models?, 2026.
[52] A. Riabinin, E. Shulgin, K. Gruntkowska, and P. Richtárik. Gluon: Making Muon & Scion Great Again! (Bridging Theory and Practice of Lmo-Based Optimizers for Llms). arXiv preprint arXiv:2505.13416, 2025.
[53] H. Robbins and S. Monro. A stochastic approximation method. Annals of Mathematical Statistics, 22(3):400–407, 1951.
[54] A. Sadiev, M. Danilova, E. Gorbunov, S. Horváth, G. Gidel, P. Dvurechensky, A. Gasnikov, and P. Richtárik. High-Probability Bounds for Stochastic Optimization and Variational Inequalities: The Case of Unbounded Variance. In ICML, volume 202 of Proceedings of Machine Learning Research, pages 29563–29648. PMLR, July 2023.
[55] S. Schapiro and H. Zhao. Towards understanding the role of sharpness-aware minimization algorithms for out-of-distribution generalization. arXiv preprint arXiv:2412.05169, 2024.
[56] I. Shah, A. M. Polloreno, K. Stratos, P. Monk, A. Chaluvaraju, A. Hojel, A. Ma, A. Thomas, A. Tanwer, D. J. Shah, et al. Practical efficiency of muon for pretraining. arXiv preprint arXiv:2505.02222, 2025.
[57] E. Shulgin, S. AlRashed, F. Orabona, and P. Richtárik. Beyond the Ideal: Analyzing the Inexact Muon Update. arXiv preprint arXiv:2510.19933, 2025.
[58] C. Si, D. Zhang, and W. Shen. Adamuon: Adaptive muon optimizer. arXiv preprint arXiv:2507.11005, 2025.
[59] D. Si and C. Yun. Practical sharpness-aware minimization cannot converge all the way to optima. In NeurIPS, volume 36, pages 26190–26228. Curran Associates, Inc., 2023.
[60] U. Simsekli, L. Sagun, and M. Gurbuzbalaban. A Tail-Index Analysis of Stochastic Gradient Noise in Deep Neural Networks. In ICML, volume 97 of Proceedings of Machine Learning Research, pages 5827–5837. PMLR, June 2019.
[61] S. P. Singh, H. Mobahi, A. Agarwala, and Y. Dauphin. Avoiding spurious sharpness minimization broadens applicability of SAM. In ICML, volume 267 of Proceedings of Machine Learning Research, pages 44122–44153. PMLR, 2025.
[62] J. M. Springer, S. Goyal, K. Wen, T. Kumar, X. Yue, S. Malladi, G. Neubig, and A. Raghunathan. Overtrained language models are harder to fine-tune. In ICML, 2025.
[63] C. Tan, J. Zhang, J. Liu, Y. Wang, and Y. Hao. Stabilizing sharpness-aware minimization through a simple renormalization strategy. JMLR, 26(68):1–35, 2025.
[64] L. Tunstall, L. von Werra, and T. Wolf. Natural Language Processing with Transformers: Building Language Applications with Hugging Face. O'Reilly Media, 2022.
[65] X. Wang and C.-H. Rhee. Global dynamics of heavy-tailed SGDs in nonconvex loss landscape: Characterization and control, 2025.
[66] I. Watts, C. Li, S. Goyal, J. M. Springer, and A. Raghunathan. Sharpness-aware pretraining mitigates catastrophic forgetting. In Workshop on Scientific Methods for Understanding Deep Learning, 2026.
[67] K. Wen, T. Ma, and Z. Li. How sharpness-aware minimization minimizes sharpness? In ICLR, 2023b.
[68] W. Xie, F. Latorre, K. Antonakopoulos, T. Pethick, and V. Cevher. Improving SAM requires rethinking its optimization formulation. In ICML, volume 235 of Proceedings of Machine Learning Research, 2024.
[69] W. Xie, T. Pethick, and V. Cevher. SAMPa: Sharpness-aware minimization parallelized. In NeurIPS, 2024.
[70] R. Yu, Y. Zhang, and J. Kwok. Improving sharpness-aware minimization by lookahead. In ICML, volume 235 of Proceedings of Machine Learning Research, pages 57776–57802, 2024.
[71] R. Yuan, H. Lin, Y. Wang, Z. Tian, S. Wu, et al. ChatMusician: Understanding and generating music intrinsically with LLM. arXiv preprint arXiv:2402.16153, 2024.
[72] J. Zhang, S. P. Karimireddy, A. Veit, S. Kim, S. Reddi, S. Kumar, and S. Sra. Why are Adaptive Methods Good for Attention Models? In NeurIPS, volume 33, pages 15383–15393. Curran Associates, Inc., 2020a.
[73] Y. Zhang. StackMathQA: A curated collection of 2 million mathematical questions and answers sourced from Stack Exchange, 2024.
[74] W. Zhong, E. Milsom, and M. Murray. Sharpness-aware minimization and muon: Robustness under the spectral norm, 2026.
[75] J. Zhuang, B. Gong, L. Yuan, Y. Cui, H. Adam, N. Dvornek, S. Tatikonda, J. Duncan, and T. Liu. Surrogate gap minimization improves sharpness-aware training. arXiv preprint arXiv:2203.08065, 2022.
Sharpness-aware Orthogonalized Momentum Algorithms: Supplementary Material
Contents of the Appendix
A Variants of SAM + Muon 17
B Convergence Analysis under Heavy-Tailed Gradient Noise 20
B.1 Proof of Theorem 1 21
C Convergence Analysis under Standard Bounded-Variance Assumption 26
C.1 Proof of Corollary 1 26
D SOMA Analysis 31
D.1 Proof of Lemma 1 31
E Additional Heavy-tailed Experiments 31
E.1 Experiment 1. Synthetic experiment with teacher-student model 31
E.2 Experiment 2. Linear two-matrix network under heavy-tailed noise 32
E.3 Isotropic Noise for Heavy-tailed experiments 34
E.4 Ablation: Frobenius versus Spectral Geometry 36
E.5 Ablation: Fresh versus Stale Perturbations 37
F Additional LLM Experiments 38
F.1 Catastrophic forgetting 38
F.2 Hyperparameter Details 40
A Variants of SAM + Muon
Algorithm 2 SPECSAMMUON (SSM)[74]
Require: Initial weights ; momentum ; learning rate ; momentum coefficient ; perturbation radius ; batch size ; iterations ; Newton-Schulz iterations .
1: 2: 3: {gradient computation} 4: 5: {gradient computation} 6: 7: 8: 9: end for
Algorithm 3 SAM + MUON with Frobenius perturbation [74]
Require: Initial weights ; momentum ; learning rate ; momentum coefficient ; perturbation radius ; batch size ; iterations ; Newton-Schulz iterations .
1: 2: 3: {gradient computation} 4: 5: {gradient computation} 6: 7: 8: 9: end for
Algorithm 4 Freshly-Perturbed-SOMA (FP-SOMA)
Require: Initialize weights ; EMA ; momentum ; learning rate ; momentum coefficient ; EMA subtraction parameter ; perturbation radius ; batch size ; iterations ; Newton-Schulz iterations .
1: for do 2: Sample minibatch ; 3: {gradient computation} 4: 5: 6: 7: {gradient computation} 8: 9: 10: 11: end for
Algorithm 5 SOMA
Require: Initialize weights ; momentum ; learning rate ; momentum coefficient ; EMA subtraction parameter ; perturbation radius ; batch size ; iterations ; Newton-Schulz iterations .
1: for do 2: Sample minibatch ; 3: if then 4: 5: 6: 7: 8: else 9: 10: 11: 12: end if 13: {Save it in buffer} {gradient computation} 14: {Save it in buffer} 15: 16: 17: end for
Algorithm 6 OP-SOMA (Pre-NS)
Require: Initialize weights ; momentum ; learning rate ; momentum coefficient ; EMA subtraction parameter ; perturbation radius ; batch size ; iterations ; Newton-Schulz iterations .
1: for do 2: Sample minibatch ; 3: if then 4: 5: 6: 7: 8: else 9: 10: 11: 12: end if 13: {Save it in buffer} {gradient computation} 14: {Save it in buffer} 15: 16: 17: end for
Algorithm 7 OP-SOMA (Post-NS)
Require: Initialize weights ; momentum ; learning rate ; momentum coefficient ; EMA subtraction parameter ; perturbation radius ; batch size ; iterations ; Newton-Schulz iterations .
1: for do 2: Sample minibatch ; 3: if then 4: 5: 6: 7: 8: else 9: 10: 11: 12: end if 13: {Save it in buffer} {gradient computation} 14: {Save it in buffer} 15: 16: 17: end for
Algorithm 8 MSOMA
Require: Initialize weights ; momentum ; learning rate ; momentum coefficient ; perturbation radius ; batch size ; iterations ; Newton-Schulz iterations .
1: for do 2: Sample minibatch ; 3: {gradient computation} 4: {removing perturbation to obtain unperturbed state} 5: 6: 7: 8: Perturbed Step: {negative perturbation} 9: end for 10:
B Convergence Analysis under Heavy-Tailed Gradient Noise
We shall first provide some comments on the development of our proofs for demonstrating our main result which is our Theorem 1. Our motivation for this result is by generalizing the work of [30] especially their descent lemma and their proof of convergence of MUON under finite Newton-Schulz iterations. We adopt these strategies for SOMA and broaden the scope and applicability by using a more general -Smoothness as in our Assumption 1. Combined with the more realistic framework of bounded -central moment as in our Assumption 2, our proof strategy, while in essence inspired by [30, Theorem 1] for their establishment of convergence of MUON with Newton-Schulz, in fact goes beyond in helping us establish a more general and broader result. This is that our developed algorithm SOMA while being a more efficient algorithm also converges under heavy-tailed noise.
We lay out the exhaustive details of the proof of our Theorem 1 by first proving our version of a descent lemma under our assumed notion of smoothness.
Lemma 2 (Descent Lemma under -Smoothness). Let be -smooth with and . Then, for all , we have that:
Proof. Define an auxiliary scalar function along the line segment from to by . By the fundamental theorem of calculus:
Applying the chain rule, we get: . Substituting this back into the integral gives:
Adding and subtracting , we obtain:
By Hölder's inequality: , we bound the integrand:
Then, using Assumption 1, we have that:
Combining these inequalities yields:
Evaluating gives the final result:
□
B.1 Proof of Theorem 1
Proof. Introduce the scaled EMA momentum: . Then, we obtain . Let denote the polar factor of , that is, . Since the polar factor is scale-invariant, we have . Using Assumption 1 and applying the descent lemma (Lemma 2) to yields:
where steps (a) and (c) follow from Hölder's inequality, and equality (b) follows from the identity: . We now define the polar approximation error, that is, the error between the exact polar factor and the actual step generated by steps of Newton-Schulz iterations:
Using and , we have:
By the reverse triangle inequality, that is, , we then obtain:
Since and , we have . Even with the use of Newton-Schulz for , there will only be a constant error term of the order of which scales . In order to avoid unnecessarily complicated expressions that result from this being factored in, we simply leave it out of our discussions for convenience, but one needs to be cognizant of this minor additional error factor.
Next, applying -smoothness with , we get that:
By triangle inequality, we have that: . Substituting this into Eq. 8, we get that:
Rearranging the terms and taking an expectation on both sides yields:
(9)
In Eq. 9, we shall first obtain a bound for the second term on the right hand side, and then combine it with a characterization using the gradient-gap inequality as in [30, Lemma 7] to guide our closing arguments which then yields the required -stationarity result.
Bound for the term . We begin by first recalling our EMA momentum that we introduced at the beginning of this proof:
where . Unrolling the recursion yields . So, we have that:
Adding and subtracting to this expression then provides:
where and . Substituting this decomposition into Eq. 10 yields:
Taking the nuclear norm , and using that , we obtain:
(11)
We next show the bounds for each of the above identified three terms.
Bound for the Term A. By Jensen’s inequality for , so we obtain the bound:
Next, let denote the -algebra generated by all random mini-batch samplings up to step . Since , the sequence forms a martingale difference sequence with respect to . Then, applying the von Bahr–Esseen inequality with constant for the martingale difference sequences in -th moment ( ), we get that:
Using Assumption 2, we then have that:
Substituting back into Eq. 12 yields the final bound for Term A as:
Bound for the Term B. Recall from Eq. 11 that:
where . Using -smoothness for , that is, for all , we have that:
Applying for , we next obtain:
Using that and that , we next get that:
Since the updates are , this then yields:
Combining Eqs. 15 and 16 gives us that . Substituting this back into Eq. 14 yields:
Using Jensen’s inequality for the concave function for , we next have that:
Finally, we obtain the bound for Term B to be the following:
Bound for Term C. Recall from Eq. 11 that:
Applying triangle inequality, we obtain:
Next, using -smoothness for , we get that:
Applying for we next have that:
We have the weight updates to be for steps 1 to , and therefore, we can write:
Combining Eqs. 18 and 19 gives , and so we can finally bound Term C as:
Folding the bounds that we have obtained for Terms A, B and C in Eqs. 13, 17 and 20, respectively, into Eq. 11 provides us with:
(21)
Closing Arguments. Substituting Eq. 21 into Eq. 9 yields:
Taking the average over then gives us that:
(22)
Using as the initial suboptimality gap, we have:
By the norm identity , and the gradient gap inequality for -smooth functions bounded from below by (that is, ) as in [30, Lemma 7], we obtain that:
and that:
Using that:
for , we then obtain:
Substituting this into Eq. 22 yields:
Setting , we get that:
Define , and also setting:
we get that:
Thus, we can find an -nuclear norm stationary point of f with a complexity of:
□
C Convergence Analysis under Standard Bounded-Variance Assumption
C.1 Proof of Corollary 1
Proof. Introduce the scaled EMA momentum: . Then, we obtain . Let denote the polar factor of , that is, . Since the polar factor is scale-invariant, we have . Setting in Assumption 2, we have for a mini-batch of size that: . Using Assumption 1 with and applying the descent lemma (Lemma 2) to yields:
where steps (a) and (c) follow from Hölder's inequality, and equality (b) follows from the dual norm identity: . We now define the polar approximation error, that is, the error between the exact polar factor and the actual step generated by steps of Newton-Schulz iterations:
Since , we have , and combining this with , we have that:
By the reverse triangle inequality applied to , that is, , we then obtain:
Next, we apply -smoothness to by setting and using that . This then yields , and so by the triangle inequality, we get that:
Substituting this into Eq. 23 yields:
Rearranging the terms and taking an expectation on both sides then gives us:
(24)
In Eq. 24, we shall first obtain a bound for the second term on the right hand side, and then combine it with the gradient-gap inequality as in [30, Lemma 7] in our closing arguments, which then yields the required -stationarity result.
Bound for the term . We begin by first recalling our EMA momentum that we introduced at the beginning of this proof:
where denotes the mini-batch stochastic gradient evaluated at the perturbed iterate . Unrolling the recursion yields . So, we have that:
Adding and subtracting to this expression then provides:
where and . Substituting this decomposition into Eq. 25 yields:
Taking the nuclear norm , and using the matrix rank inequality , we obtain:
(26)
We next show the bounds for each of the above identified three terms.
Bound for Term A. By Jensen's inequality , so we obtain the bound:
To evaluate the squared term , let denote the -algebra generated by all random mini-batch samplings up to step . By Assumption 2, , and so the sequence forms a martingale difference sequence with respect to . Therefore, we have that:
By the law of total expectation, for any cross-term with , we have:
Since is measurable with respect to for , we next get that:
Thus, for , and so we have that:
Using Assumption 2 for p = 2 and a mini-batch of size B, we then have that:
Substituting back into Eq. 27 yields the final bound for Term A as:
Bound for Term B. Recall from Eq. 26 that:
where . Using -smoothness for with , that is, for all , we have that:
Applying the triangle inequality, we next obtain:
Using that and that , we next get:
Since the updates are with , this then yields:
Combining the above inequalities gives us that:
Substituting this back into Eq. 29 yields:
Bounding the two sums above by their corresponding infinite series, we finally obtain the bound for Term B to be the following:
Bound for Term C. Recall from Eq. 26 that:
Applying the triangle inequality, we obtain:
Next, using -smoothness for with , we get that:
Applying the triangle inequality again, we have:
Unrolling the weight updates for steps 1 to , we can write:
Combining the above inequalities, we get next:
Taking an expectation then yields the bound for Term C to be:
Folding the bounds that we have obtained for Terms A, B and C in Eqns. 28, 30 and 31, respectively, into Eq. 26 provides us with:
(32)
Closing Arguments. Substituting Eq. 32 into Eq. 24 yields:
Taking the average over then gives us that:
(33)
Using as the initial suboptimality gap, we have:
By the norm identity , and the gradient gap inequality for -smooth functions bounded from below by (that is, ) as in [30, Lemma 7], we obtain that:
and that:
Similarly, we also have that:
Substituting these back into Eq. 33 yields:
Setting , we get that:
Defining and , we get that:
Thus, we can find an -nuclear norm stationary point of f with a complexity of:
D SOMA Analysis
D.1 Proof of Lemma 1
Proof. For , SOMA uses with:
and so is -measurable and . The gradient used by SOMA is evaluated at whereas the current iterate is . Since , we have . Because and , . Therefore, decompose the reused gradient as:
By -smoothness of , we have . For , depends only on the past while the mini-batch used to compute is fresh. As a result, we have that:
By the Hessian Lipschitzness property, we also have that:
E Additional Heavy-tailed Experiments
All synthetic heavy-tailed experiments were run on CPU only, on a single laptop with an Intel Core i7-13620H processor (10 cores: 6 performance and 4 efficient, 16 threads) and 32 GB of RAM, running Windows 11 (64-bit). No GPU was used. Runs were parallelized across 14 worker processes, with the 8 seeds vectorized in parallel. The models are small, so a single seed run takes 4–5 seconds (or 30–40 seconds for the full 8-seed batch).
E.1 Experiment 1. Synthetic experiment with teacher-student model
Setup of the synthetic experiments Data and model. Inputs are drawn from a zero-mean Gaussian whose covariance has condition number 100, with training and 512 held-out samples. The data, the teacher and the initialization are generated once and shared by all runs. In the main text (Experiment 1), the student and the teacher are two-layer ReLU networks of the same shape, and the student is trained with cross-entropy over classes. In Experiment 2, both are two-matrix-deep linear networks trained with squared loss (see below).
Noise. Each minibatch gradient is computed on samples. For , we have for , so if and only if . In particular, for . The matrices and are fixed across iterations and have geometrically decaying singular values with condition number : gives isotropic noise and gives anisotropic noise.
Optimization. Every method runs for iterations with a cosine learning-rate schedule decayed to 1% of its initial value. MUON-based methods use momentum , and ADAMW-based methods use with and no weight decay; SGD-based methods use no momentum, except MSAM, whose perturbation is the momentum buffer and which uses momentum 0.9. Learning rates were chosen per base optimizer by grid search (on 16 tuning seeds disjoint from the evaluation seeds), over for SGD, for ADAMW, and for MUON. The selected values are for SGD-based methods (0.1 for MSAM), for ADAMW-based methods, and for MUON-based methods, and are kept fixed across all and . For the sharpness-aware methods, we sweep . All results are the median over 8 independent noise seeds.
Detailed observations from Experiment 1. Two observations complement the main text. First, the geometry of the perturbation matters more than how its direction is obtained. In the spectral geometry, every perturbation we tested improves on MUON, including a random one, while in the Frobenius geometry neither a random perturbation (RSM) nor the Euclidean methods SAM, F-SAM and MSAM do so (Table 8). Second, stale perturbations are more robust.
Table 2: Validation accuracy (%): best value over the perturbation radius and the radius where it is attained (median of 8 seeds; Frobenius-ball methods pool the global and per-layer radius modes). Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue); baselines have no . Best value per in bold.
| Algorithm | ||||||||
|---|---|---|---|---|---|---|---|---|
| best acc. | best acc. | best acc. | best acc. | |||||
| MUON | 38.1 | - | 42.9 | - | 44 | - | 44.3 | - |
| SSM | 38.6 | 0.5 | 43.7 | 0.5 | 46.3 | 0.5 | 47 | 0.5 |
| FP-SOMA | 39.8 | 1 | 44.2 | 0.5 | 46.9 | 0.5 | 46.7 | 0.5 |
| SOMA | 39.1 | 1 | 45 | 1 | 46.3 | 1 | 46.5 | 0.5 |
| RSM | 38.3 | 0.01 | 43.3 | 0.002 | 44.5 | 0.1 | 44.8 | 1 |
| OPSPRE | 38.8 | 1 | 45.3 | 1 | 46.1 | 1 | 46.9 | 0.5 |
| OPSPOST | 38.3 | 1 | 45.2 | 1 | 47.9 | 1 | 47.4 | 1 |
| MSOMA | 38.3 | 0.001 | 43 | 0.001 | 44.7 | 0.005 | 44.9 | 0.5 |
| ADAMW | 28.6 | - | 41.5 | - | 44.2 | - | 45.4 | - |
| SAW | 28.9 | 1 | 41.9 | 0.5 | 44.5 | 0.1 | 46.1 | 1 |
| FSAW | 28.8 | 0.05 | 41.8 | 0.1 | 44.5 | 0.05 | 46.3 | 1 |
| SGD | 35.6 | - | 39.7 | - | 39.2 | - | 41.7 | - |
| SAM | 36.8 | 0.01 | 39.5 | 0.005 | 40.8 | 0.2 | 42.9 | 0.2 |
| F-SAM | 36.4 | 1 | 39.7 | 0.005 | 40.2 | 0.002 | 43 | 0.2 |
| MSAM | 36.3 | 0.005 | 39.1 | 0.1 | 39.7 | 0.05 | 42.6 | 0.002 |
Table 3: Training loss: best value over the perturbation radius and the radius where it is attained (median of 8 seeds; Frobenius-ball methods pool the global and per-layer radius modes). Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue); baselines have no . Best value per in bold.
| Algorithm | ||||||||
|---|---|---|---|---|---|---|---|---|
| best loss | best loss | best loss | best loss | |||||
| MUON | 1.45 | - | 0.372 | - | 0.184 | - | 0.078 | - |
| SSM | 1.45 | 0.02 | 0.372 | 0.002 | 0.183 | 0.001 | 0.0779 | 0.001 |
| FP-SOMA | 1.44 | 0.2 | 0.372 | 0.01 | 0.183 | 0.001 | 0.0768 | 0.02 |
| SOMA | 1.43 | 0.2 | 0.371 | 0.02 | 0.184 | 0.001 | 0.0783 | 0.01 |
| RSM | 1.45 | 0.1 | 0.371 | 0.2 | 0.184 | 0.001 | 0.0779 | 0.05 |
| OPSPRE | 1.44 | 0.2 | 0.371 | 0.01 | 0.182 | 0.01 | 0.0779 | 0.01 |
| OPSPOST | 1.44 | 0.2 | 0.37 | 0.05 | 0.183 | 0.02 | 0.0778 | 0.05 |
| MSOMA | 1.42 | 1 | 0.338 | 1 | 0.153 | 1 | 0.0627 | 1 |
| ADAMW | 2.7 | - | 1.32 | - | 1.02 | - | 0.803 | - |
| SAW | 2.7 | 0.5 | 1.32 | 0.002 | 1.02 | 0.001 | 0.803 | 0.001 |
| FSAW | 2.7 | 0.001 | 1.32 | 0.001 | 1.02 | 0.001 | 0.803 | 0.002 |
| SGD | 15 | - | 0.0278 | - | 0.00892 | - | 0.0126 | - |
| SAM | 9 | 1 | 0.0131 | 0.01 | 0.00671 | 0.05 | 0.011 | 0.2 |
| F-SAM | 10.5 | 1 | 0.0106 | 0.1 | 0.00732 | 0.1 | 0.0113 | 0.2 |
| MSAM | 17.7 | 0.05 | 0.0257 | 0.002 | 0.00969 | 0.005 | 0.0138 | 0.01 |
to the choice of radius. At , the two-gradient methods degrade as the tails get lighter, with SSM dropping from 47.0% to 29.0% and FP-SOMA from 46.7% to 41.7% at , whereas SOMA, OPSPRE and OPSPOST lose at most 1.1 points from their best. Finally, at the differences among the MUON-based methods are smaller than the spread over seeds. Adding SAM or F-SAM to ADAMW changes its accuracy by less than one point at every .
E.2 Experiment 2. Linear two-matrix network under heavy-tailed noise
We also perform experiments in a setting where the global optimum is known. The student is a deep linear network
trained to recover a rank-8 teacher matrix (condition number 10) from ill-conditioned Gaussian inputs, with objective
| SOMA | FP-SOMA | MSOMA | OPSPRE | OPSPOST | SSM | RSM |
|---|---|---|---|---|---|---|
| SAM | F-SAM | MSAM | SAW | FSAW | MUON | ADAMW |

perturbation radius
Figure 3: Performance under anisotropic heavy-tailed noise (Condition no., ). Optimality gap (log scale) vs . Red, Blue and Green lines indicate ADAMW-based, SGD-based and MUON-based methods, respectively.
Table 4: Optimality gap: best value over the perturbation radius and the radius where it is attained (median of 8 seeds; Frobenius-ball methods pool the global and per-layer radius modes). Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue); baselines have no . Best value per in bold.
| Algorithm | ||||||||
|---|---|---|---|---|---|---|---|---|
| gap | gap | gap | gap | |||||
| MUON | 0.413 | - | 0.062 | - | 0.0316 | - | 0.0165 | - |
| SSM | 0.265 | 1 | 0.0473 | 0.5 | 0.0253 | 0.5 | 0.0141 | 0.5 |
| FP-SOMA | 0.252 | 1 | 0.0457 | 0.5 | 0.0247 | 0.5 | 0.0143 | 0.2 |
| SOMA | 0.263 | 1 | 0.0551 | 0.5 | 0.0299 | 0.2 | 0.0163 | 0.1 |
| RSM | 0.408 | 1 | 0.0609 | 1 | 0.0311 | 1 | 0.0162 | 1 |
| OPSPRE | 0.274 | 1 | 0.0548 | 0.5 | 0.0296 | 0.2 | 0.0159 | 0.2 |
| OPSPOST | 0.287 | 1 | 0.0537 | 0.5 | 0.0284 | 0.5 | 0.0157 | 0.2 |
| MSOMA | 0.389 | 1 | 0.0576 | 1 | 0.0283 | 1 | 0.0147 | 1 |
| ADAMW | 0.559 | - | 0.109 | - | 0.0592 | - | 0.0364 | - |
| SAW | 0.554 | 1 | 0.107 | 1 | 0.0582 | 1 | 0.0361 | 0.5 |
| FSAW | 0.556 | 1 | 0.108 | 1 | 0.0584 | 1 | 0.0361 | 1 |
| SGD | 4.64 | - | 0.136 | - | 0.0364 | - | 0.0157 | - |
| SAM | 3.52 | 1 | 0.111 | 1 | 0.0353 | 0.2 | 0.0137 | 1 |
| F-SAM | 3.48 | 1 | 0.113 | 1 | 0.0352 | 0.2 | 0.0134 | 1 |
| MSAM | 5.69 | 1 | 0.134 | 0.5 | 0.0352 | 1 | 0.0154 | 1 |
under a spectral-norm constraint. We report the final objective gap which uses anisotropic noise ().
Results. Since the optimum is known, Figure 3 measures how well each method optimizes under heavy-tailed noise rather than how it generalizes, which makes it a direct check of our convergence analysis. Two findings stand out. First, spectral perturbations reduce MUON's optimality gap most under the heaviest tails: at , SOMA lowers it by about , as much as the two-gradient SSM and close to FP-SOMA, while the SGD-based methods fail to converge (a gap about that of MUON) and the ADAMW-based methods remain above MUON at every . As the tails get lighter, the gain of the one-gradient methods shrinks, and at only the two-gradient methods still improve on MUON noticeably; a fresh gradient thus helps optimization when the noise is mild. Second, the best radius of SOMA decreases as the tails get lighter, from at to at , and for a radius of increases the gap of most spectral variants well above that of MUON. This matches the bound of Theorem 1: the error floor is negligible when the noise term dominates, but it limits accuracy once the noise is light, so a moderate radius is the safer choice. MSOMA reduces MUON's gap at every , by , even though it barely improved validation accuracy in Experiment 1; this supports our earlier observation that perturbing along the momentum mainly aids optimization rather than generalization. As in Experiment 1, a Frobenius random perturbation (RSM) performs like MUON, and adding SAM or F-SAM to ADAMW changes its gap by about (Table 4).

perturbation radius
perturbation radius
Figure 4: Performance under isotropic heavy-tailed noise (nonlinear setting)(Condition no., ). Top: validation accuracy. Bottom: training loss (log scale). Red, Blue and Green lines indicate ADAMW-based, SGD-based and MUON-based methods, respectively.
E.3 Isotropic Noise for Heavy-tailed experiments
In this section we repeat Experiments 1 and 2 with isotropic heavy-tailed noise. The optimizers, learning rates, grid, tail indices and the 8 seeds are unchanged. Lines show the median over seeds, and shaded bands show the interquartile range.
Results for Experiment 1. Figure 4 shows validation accuracy and training loss against the perturbation radius for nonlinear two-layer classification. Tables 5 and 6 report the best value over and the radius at which it is attained. With isotropic noise, the spectral perturbations still improve on MUON at every tail index: SOMA raises the best validation accuracy of MUON by 1.4–2.8 points and matches or exceeds FP-SOMA at every while using half the gradient evaluations. The main difference from the anisotropic case concerns ADAMW. Under the heaviest tails ( ), the ADAMW-based methods are now the most accurate (40.6–40.9%, versus 36.1% for MUON and 38.2% for SOMA), whereas with anisotropic noise they were the least accurate. The robustness of ADAMW to heavy-tailed noise therefore depends on the structure of the noise, while MUON and SOMA change much less between the two cases. We attribute this to the preconditioning: when the noise has the same scale in every direction, ADAMW normalizes each coordinate by the same noise level, so coordinates where the true gradient is strong still receive larger steps, while heavy-tailed outliers are damped. MUON, in contrast, sets all singular values to one, so directions dominated by noise receive the same step as directions carrying a strong gradient, and this equalization brings no benefit when the noise has no spectral structure to correct. Under anisotropic noise, the noise concentrates along a few directions that are mixed across coordinates, so the per-coordinate scaling of ADAMW no longer matches it, while the spectral normalization of MUON does. For , the pattern of the anisotropic case returns: the SGD-based methods reach the lowest training loss but the lowest accuracy, and the random (RSM) and momentum (MSOMA) perturbations perform like MUON. Stale perturbations are again more robust to a large radius: at and , SSM drops to 30.3% and FP-SOMA to 43.6%, while SOMA loses less than one point from its best.
Table 5: Validation accuracy (%): best value over the perturbation radius and the radius where it is attained (median of 8 seeds; Frobenius-ball methods pool the global and per-layer radius modes). Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue); baselines have no . Best value per in bold.
| Algorithm | ||||||||
|---|---|---|---|---|---|---|---|---|
| best acc. | best acc. | best acc. | best acc. | |||||
| MUON | 36.1 | - | 43.3 | - | 45.2 | - | 43.8 | - |
| SSM | 36.6 | 0.2 | 44.2 | 0.5 | 45.5 | 0.005 | 46.2 | 0.5 |
| FP-SOMA | 37.8 | 1 | 44.7 | 1 | 46.6 | 0.5 | 46.1 | 0.5 |
| SOMA | 38.2 | 1 | 44.8 | 1 | 46.6 | 0.5 | 46.6 | 0.5 |
| RSM | 36.3 | 0.05 | 43.6 | 0.1 | 45.2 | 0.2 | 44.8 | 0.2 |
| OPSPRE | 38.6 | 1 | 44.2 | 1 | 45.7 | 0.5 | 46.8 | 0.5 |
| OPSPOST | 37.9 | 1 | 45.2 | 1 | 46.8 | 1 | 48.3 | 1 |
| MSOMA | 36.2 | 0.1 | 43.5 | 0.002 | 45.4 | 0.05 | 44.3 | 0.05 |
| ADAMW | 40.6 | - | 43 | - | 44.1 | - | 45.8 | - |
| SAW | 40.8 | 0.02 | 43.5 | 0.2 | 44.5 | 0.002 | 46 | 0.01 |
| FSAW | 40.9 | 0.2 | 43.4 | 0.05 | 44.6 | 0.05 | 46.2 | 1 |
| SGD | 34.2 | - | 38.7 | - | 39.3 | - | 41.2 | - |
| SAM | 35.6 | 0.5 | 39.6 | 0.1 | 39.8 | 0.05 | 42.1 | 0.01 |
| F-SAM | 35.8 | 0.5 | 40 | 0.5 | 39.6 | 0.5 | 42.7 | 1 |
| MSAM | 36.1 | 0.002 | 39.3 | 0.1 | 39.6 | 0.1 | 42.2 | 0.05 |
Table 6: Training loss: best value over the perturbation radius and the radius where it is attained (median of 8 seeds; Frobenius-ball methods pool the global and per-layer radius modes). Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue); baselines have no . Best value per in bold.
| Algorithm | ||||||||
|---|---|---|---|---|---|---|---|---|
| best loss | best loss | best loss | best loss | |||||
| MUON | 1.58 | - | 0.482 | - | 0.233 | - | 0.114 | - |
| SSM | 1.58 | 0.02 | 0.482 | 0.001 | 0.236 | 0.001 | 0.113 | 0.01 |
| FP-SOMA | 1.57 | 0.2 | 0.481 | 0.001 | 0.234 | 0.02 | 0.112 | 0.02 |
| SOMA | 1.56 | 0.5 | 0.483 | 0.002 | 0.234 | 0.001 | 0.113 | 0.01 |
| RSM | 1.58 | 0.005 | 0.482 | 0.05 | 0.233 | 0.5 | 0.113 | 0.2 |
| OPSPRE | 1.58 | 0.2 | 0.481 | 0.02 | 0.233 | 0.05 | 0.113 | 0.005 |
| OPSPOST | 1.57 | 0.5 | 0.481 | 0.002 | 0.233 | 0.1 | 0.112 | 0.1 |
| MSOMA | 1.56 | 1 | 0.446 | 1 | 0.203 | 1 | 0.0911 | 1 |
| ADAMW | 1.71 | - | 1.17 | - | 0.974 | - | 0.817 | - |
| SAW | 1.71 | 0.002 | 1.17 | 0.002 | 0.974 | 0.002 | 0.817 | 0.001 |
| FSAW | 1.71 | 0.01 | 1.17 | 0.002 | 0.974 | 0.002 | 0.817 | 0.001 |
| SGD | 14.9 | - | 0.0111 | - | 0.00943 | - | 0.0125 | - |
| SAM | 10.7 | 0.2 | 0.00807 | 0.2 | 0.00861 | 0.002 | 0.0109 | 0.2 |
| F-SAM | 11.7 | 1 | 0.0084 | 0.001 | 0.00814 | 0.05 | 0.0111 | 0.2 |
| MSAM | 18 | 0.005 | 0.00956 | 0.05 | 0.0114 | 0.02 | 0.0138 | 1 |
Results for Experiment 2. Figure 5 shows the optimality gap against for the linear two-matrix network. Table 7 reports the best gap over and the radius at which it is attained. The optimality gap shows the same trends as with anisotropic noise. The spectral perturbations reduce MUON's gap at every , by about 38% for SOMA at and by 12% at , while the two-gradient SSM and FP-SOMA keep a larger reduction at light tails (about 25% at ). The SGD-based methods again fail to converge under the heaviest tails, with a gap about 6–9× that of MUON at . As in Experiment 1, ADAMW benefits from isotropic noise: it has the smallest gap at , but it falls behind MUON for . The best radius of SOMA decreases from at to for , and at a radius of makes its gap about 2.7× larger than at , which is again consistent with the -dependent error floor of Theorem 1. The random and momentum perturbations and SAM or F-SAM on ADAMW change the gap of their base optimizer by at most about 5%.
| SOMA | FP-SOMA | MSOMA | OPSPRE | OPSPOST | SSM | RSM |
|---|---|---|---|---|---|---|
| SAM | F-SAM | MSAM | SAW | FSAW | MUON | ADAMW |

perturbation radius
Figure 5: Performance under isotropic heavy-tailed noise (linear setting)(Condition no., ). Optimality gap (log scale) vs . Red, Blue and Green lines indicate ADAMW-based, SGD-based and MUON-based methods, respectively.
Table 7: Optimality gap: best value over the perturbation radius and the radius where it is attained (median of 8 seeds; Frobenius-ball methods pool the global and per-layer radius modes). Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue); baselines have no . Best value per in bold.
| Algorithm | ||||||||
|---|---|---|---|---|---|---|---|---|
| gap | gap | gap | gap | |||||
| MUON | 1.01 | - | 0.231 | - | 0.114 | - | 0.0552 | - |
| SSM | 0.648 | 1 | 0.141 | 1 | 0.0733 | 1 | 0.0412 | 0.5 |
| FP-SOMA | 0.654 | 1 | 0.147 | 1 | 0.0823 | 0.5 | 0.0413 | 0.5 |
| SOMA | 0.63 | 1 | 0.176 | 0.5 | 0.086 | 0.5 | 0.0486 | 0.5 |
| RSM | 1 | 1 | 0.224 | 1 | 0.108 | 1 | 0.0527 | 1 |
| OPSPRE | 0.628 | 1 | 0.177 | 0.5 | 0.0855 | 0.5 | 0.0479 | 0.5 |
| OPSPOST | 0.717 | 1 | 0.162 | 1 | 0.0896 | 0.5 | 0.045 | 0.5 |
| MSOMA | 0.991 | 1 | 0.227 | 1 | 0.11 | 1 | 0.0526 | 1 |
| ADAMW | 0.382 | - | 0.19 | - | 0.14 | - | 0.0986 | - |
| SAW | 0.38 | 1 | 0.186 | 1 | 0.135 | 1 | 0.0958 | 1 |
| FSAW | 0.38 | 1 | 0.187 | 1 | 0.137 | 1 | 0.0973 | 1 |
| SGD | 7.43 | - | 0.866 | - | 0.209 | - | 0.0569 | - |
| SAM | 6.54 | 1 | 0.735 | 1 | 0.204 | 0.2 | 0.0526 | 1 |
| F-SAM | 6.58 | 1 | 0.753 | 1 | 0.203 | 0.2 | 0.0517 | 1 |
| MSAM | 8.98 | 1 | 1 | 0.001 | 0.221 | 1 | 0.0552 | 1 |
E.4 Ablation: Frobenius versus Spectral Geometry
Motivation and setup. MUON is steepest descent under the spectral norm, so a perturbation inside a spectral-norm ball matches its geometry [74], whereas SAM and its variants perturb inside a Frobenius ball. This ablation isolates the effect of this choice. We consider four ways of obtaining the perturbation direction: a random direction, the fresh gradient (SAM-MUON), the friendly residual (SOMA), and the stale gradient (S-SAM-MUON). S-SAM-MUON adapts S-SAM [26] to MUON: it perturbs along the gradient of the previous iteration , so it needs one gradient evaluation per step and corresponds to SOMA with . For each direction, we keep the direction fixed and change only the ball's geometry, and we compare the two versions for the nonlinear (Table 8) and linear (Table 9) problems with anisotropic noise.
Results. The spectral geometry is never worse than the Frobenius one: it gives higher accuracy in all 16 (direction, ) pairs and an equal or lower optimality gap in all of them. Its effect, however, depends on the tail index in opposite ways for the two metrics. For the optimality gap, the benefit is largest under the heaviest tails: at , the spectral geometry lowers the gap of SAM-MUON and SOMA by about a third, and at the two geometries are nearly identical. For validation accuracy, the benefit grows as the tails get lighter, from at most 0.9 points at to
Table 8: Nonlinear anisotropic setting: best validation accuracy (% , ↑) with a Frobenius or a spectral perturbation, for each tail index . The better geometry for each method and is in bold; ties are not marked.
| Direction | Geometry | Tail index | |||
|---|---|---|---|---|---|
| 1.1 | 1.6 | 2.0 | 3.0 | ||
| Random | Frobenius | 38.3 | 43.4 | 44.5 | 44.7 |
| Spectral | 38.5 | 44.7 | 46.5 | 47.2 | |
| SAM-MUON | Frobenius | 38.3 | 43.2 | 45.0 | 45.6 |
| Spectral | 38.6 | 43.7 | 46.3 | 47.0 | |
| SOMA | Frobenius | 38.2 | 43.3 | 45.0 | 45.6 |
| Spectral | 39.1 | 45.0 | 46.3 | 46.5 | |
| -SAM-MUON | Frobenius | 38.2 | 43.3 | 45.0 | 44.9 |
| Spectral | 38.9 | 44.4 | 46.8 | 45.7 | |
Table 9: Linear anisotropic setting: best optimality gap () with a Frobenius or a spectral perturbation, for each tail index . The better geometry for each method and is in bold; ties are not marked.
| Direction | Geometry | Tail index | |||
|---|---|---|---|---|---|
| 1.1 | 1.6 | 2.0 | 3.0 | ||
| Random | Frobenius | 0.410 | 0.0612 | 0.0312 | 0.0163 |
| Spectral | 0.347 | 0.0576 | 0.0301 | 0.0163 | |
| SAM-MUON | Frobenius | 0.404 | 0.0581 | 0.0294 | 0.0149 |
| Spectral | 0.265 | 0.0473 | 0.0253 | 0.0141 | |
| SOMA | Frobenius | 0.399 | 0.0592 | 0.0303 | 0.0163 |
| Spectral | 0.263 | 0.0551 | 0.0299 | 0.0163 | |
| -SAM-MUON | Frobenius | 0.407 | 0.0601 | 0.0312 | 0.0165 |
| Spectral | 0.285 | 0.0588 | 0.0309 | 0.0165 | |
0.8–2.4 points at . Thus, the spectral geometry mainly aids optimization when the noise is heavy and mainly aids generalization when it is light. The direction of the perturbation also interacts with the geometry. For the optimality gap, an informed direction profits far more from the spectral ball than a random one (a reduction of about 34% for SAM-MUON and SOMA versus 15% for the random direction at ). For accuracy, even a random direction yields a substantial gain (up to 2.4 points), indicating that much of the accuracy improvement of the spectral variants comes from the geometry itself.
E.5 Ablation: Fresh versus Stale Perturbations
Motivation and setup. A fresh perturbation direction costs an extra gradient evaluation at every step, whereas a stale direction reuses quantities from the previous step at no extra cost but may be outdated. This ablation measures what staleness costs. We compare three pairs of methods that differ only in whether the direction is fresh or stale: SAM-MUON and -SAM-MUON in the Frobenius ball, and SSM and -SAM-MUON, as well as FP-SOMA and SOMA in the spectral ball. We evaluate them on the nonlinear (Table 10) and linear (Table 11) problems with anisotropic noise.
Results. Staleness costs little in accuracy but more in optimization. In validation accuracy, every fresh–stale pair stays within 1.3 points, and the stale direction is often the more accurate one; in particular, SOMA is within 0.8 points of FP-SOMA at every and ahead of it at . In the optimality gap, the fresh direction is better in every case, and the difference is larger in the spectral ball (a stale gap 4–24% higher) than in the Frobenius ball (1–11%), consistent with Experiment 2, where the two-gradient methods kept an advantage in optimization. The friendly residual reduces this cost under the heaviest tails: at , the gap of SOMA is only 4% above that of FP-SOMA, compared with 7% for -SAM-MUON relative to SSM, and it matches the gap of the fresh SSM (0.263 versus 0.265). For lighter tails, the two spectral pairs lose about the same, so the advantage of the friendly residual is specific to the heavy-tailed regime that our analysis targets.
Table 10: Nonlinear anisotropic setting: best validation accuracy (% , ↑) with fresh or stale perturbation direction, for each tail index . The better direction for each geometry and is in bold; ties are not marked.
| Geometry | Direction | Method | Tail index | |||
|---|---|---|---|---|---|---|
| 1.1 | 1.6 | 2.0 | 3.0 | |||
| Frobenius | Fresh | SAM-MUON | ||||
| Stale | ||||||
| Spectral | Fresh | SSM | ||||
| Stale | ||||||
| Spectral | Fresh | FP-SOMA | ||||
| Stale | SOMA | |||||
Table 11: Linear anisotropic setting: best optimality gap () with a fresh or a stale perturbation direction, for each tail index . The better direction for each geometry and is in bold; ties are not marked.
| Geometry | Direction | Method | Tail index | |||
|---|---|---|---|---|---|---|
| 1.1 | 1.6 | 2.0 | 3.0 | |||
| Frobenius | Fresh | SAM-MUON | ||||
| Stale | ||||||
| Spectral | Fresh | SSM | ||||
| Stale | ||||||
| Spectral | Fresh | FP-SOMA | ||||
| Stale | SOMA | |||||
F Additional LLM Experiments
For language model experiments, we used a single server with 8 NVIDIA H200 GPUs (141 GB memory each), 2 TB of host memory and Linux, using PyTorch 2.13 (CUDA 13.0) with Hugging Face Transformers 4.57 and Python 3.13. Each training run used one GPU, and several runs (with different optimizers or seeds) were executed in parallel on different GPUs on the shared server.
Table 12 gives the final training loss and validation perplexity for pre-training on nanoGPT and Pythia-70M and the final validation accuracy on CIFAR-10, which Section 6.2.1 discusses.
F.1 Catastrophic forgetting.
Setup. When a pretrained model is fine-tuned on new data, it usually becomes worse on the data it was originally trained on. We measure how strongly this happens for models pretrained with different optimizers. For each pretrained model, we record its loss on held-out FineWeb-Edu text, the data it was pretrained on, before () and after () fine-tuning on a new dataset; the larger the increase, the more the model has forgotten. We use four new datasets: Python code (codeparrot, 64), mathematics question answering (stackmathqa, 73), music text (musicpile, 71) and instruction-following chat (tulu3, 35).
Implementation. All runs start from the same model, pretrained with ADAMW, which we then fine-tune with each optimizer under the same schedule and number of steps. Differences in forgetting therefore come only from the fine-tuning optimizer. Since training longer on the new data also increases forgetting, we compare the optimizers at the same fine-tuning loss on each dataset. All results are averaged over three seeds.
Results. Figures 6 and 7 show, for each model, the increase in FineWeb-Edu loss after fine-tuning on each dataset, together with its average. Forgetting depends strongly on the fine-tuning dataset: for almost every optimizer, it is largest after fine-tuning on code (codeparrot) or mathematics (stackmathqa) and smallest after fine-tuning on music (musicpile). It also depends strongly on the fine-tuning optimizer. The SGD-based runs forget the least, but they start from a clearly higher loss (), so they are not comparable. Among the comparable runs, fine-tuning with the MUON-based methods causes much more forgetting than fine-tuning with ADAMW, about as much on nanoGPT and on Pythia-70M. Part of this gap is likely due to optimizer mismatch: the base model was pretrained with ADAMW, so
Table 12: Continued-pretraining results of the fifteen optimizers after the last epoch (FineWeb-Edu NanoGPT 15, FineWeb-Edu Pythia 14, CIFAR-10 Airbench CNN 7 epochs). Lower is better for train loss and validation perplexity (Val ppl), higher for validation accuracy (Val acc); the best validation value of each dataset is in bold. Mean ± std over 3 seeds. Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue).
| Optimizer | FineWeb-Edu NanoGPT | FineWeb-Edu Pythia | CIFAR-10 Airbench CNN | |||
|---|---|---|---|---|---|---|
| Train loss | Val ppl | Train loss | Val ppl | Train loss | Val acc (%) | |
| MUON | 3.303±0.004 | 24.41±0.02 | 3.558±0.003 | 35.72±0.03 | 0.266±0.002 | 87.27±0.08 |
| SSM | 3.305±0.004 | 24.55±0.03 | 3.559±0.003 | 35.78±0.03 | 0.271±0.003 | 87.63±0.34 |
| FP-SOMA | 3.305±0.004 | 24.54±0.03 | 3.560±0.003 | 35.79±0.03 | 0.270±0.001 | 87.37±0.44 |
| SOMA | 3.303±0.004 | 24.40±0.01 | 3.562±0.003 | 35.79±0.03 | 0.269±0.002 | 87.51±0.27 |
| RSM | 3.303±0.004 | 24.41±0.02 | 3.558±0.003 | 35.74±0.03 | 0.266±0.004 | 87.22±0.07 |
| OPSPRE | 3.305±0.004 | 24.42±0.01 | 3.560±0.003 | 35.75±0.03 | 0.266±0.003 | 87.14±0.13 |
| OPSPOST | 3.304±0.004 | 24.41±0.01 | 3.559±0.003 | 35.72±0.03 | 0.266±0.002 | 87.14±0.05 |
| MSOMA | 3.303±0.004 | 24.39±0.02 | 3.743±0.003 | 37.41±0.05 | 0.265±0.002 | 87.39±0.37 |
| ADAMW | 3.311±0.004 | 24.60±0.02 | 3.574±0.003 | 36.20±0.02 | 0.316±0.002 | 87.87±0.53 |
| SAW | 3.310±0.004 | 24.59±0.03 | 3.570±0.003 | 35.96±0.05 | 0.317±0.008 | 87.91±0.50 |
| FSAW | 3.310±0.004 | 24.60±0.03 | 3.570±0.003 | 35.95±0.04 | 0.318±0.004 | 87.70±0.35 |
| SGD | 3.361±0.004 | 25.75±0.02 | 3.664±0.002 | 40.03±0.01 | 0.461±0.003 | 84.66±0.40 |
| SAM | 3.361±0.004 | 25.75±0.01 | 3.666±0.002 | 40.09±0.01 | 0.462±0.002 | 84.72±0.41 |
| F-SAM | 3.361±0.004 | 25.76±0.01 | 3.666±0.002 | 40.09±0.01 | 0.459±0.002 | 84.73±0.29 |
| MSAM | 3.359±0.004 | 25.71±0.01 | 3.657±0.002 | 39.73±0.01 | 0.467±0.002 | 84.03±0.58 |
nanoGPT (GPT-2 small)

Pretraining optimizer
Figure 6: Catastrophic forgetting of nanoGPT (GPT-2 small) models pretrained with each optimizer, after fine-tuning on four datasets. Bars: rise PT of the held-out FineWeb-Edu loss at a common fine-tuning loss (lower is better); diamond: average over datasets; error bars: standard deviation over 3 pretraining seeds. starting model clearly weaker than AdamW's (not comparable).
fine-tuning it with ADAMW keeps the optimizer unchanged, whereas fine-tuning it with MUON switches the optimizer between pretraining and fine-tuning, which is known to erode acquired knowledge [51]. Within the MUON family, an informed perturbation reduces forgetting on nanoGPT: compared with MUON, FP-SOMA lowers the average increase by 16%, SSM by 11%, OPSPRE by 8% and SOMA by 4%, whereas the random perturbation increases it slightly. Almost all of this reduction comes from code, where the increase drops from 0.37 for MUON to 0.24 for SSM and FP-SOMA. On Pythia-70M, all MUON-based methods forget about equally (within 1% of MUON).
Tables 13 and 14 report , on each dataset, their average and the smoothed relative increase (lower means less forgetting). They confirm the same picture: among the comparable runs, fine-tuning with ADAMW ends with the lowest average (3.304 on nanoGPT and 3.811 on Pythia-70M), while the MUON-based methods end higher (3.37–3.42 and 4.10–4.11). Within the MUON family on nanoGPT, the relative increase falls from 4.20% for MUON to 3.50% for FP-SOMA. Overall, sharpness-aware perturbations reduce the forgetting caused by MUON fine-tuning only

Pretraining optimizer
Figure 7: Catastrophic forgetting of Pythia-70M models pretrained with each optimizer, after fine-tuning on four datasets. Bars: rise PT of the held-out FineWeb-Edu loss at a common fine-tuning loss (lower is better); diamond: average over datasets; error bars: standard deviation over 3 pretraining seeds. starting model clearly weaker than AdamW's (not comparable).
Table 13: Catastrophic Forgetting of nanoGPT (GPT-2 small) models pretrained with different optimizers: held-out FineWeb-Edu loss before () and after () fine-tuning on four datasets (lower is better). is the smoothed relative increase of the average . Mean std over 3 seeds. Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue).
| Optimizer | by fine-tuning dataset | Average | |||||
|---|---|---|---|---|---|---|---|
| codeparrot | stackmathqa | musicpile | tulu3 | ||||
| MUON | |||||||
| SSM | |||||||
| FP-SOMA | |||||||
| SOMA | |||||||
| RSM | |||||||
| OPSPRE | |||||||
| OPSPOST | |||||||
| ADAMW | |||||||
| SGD | |||||||
| SAM | |||||||
| F-SAM | |||||||
moderately, and mainly with a fresh gradient, so they do not close the gap to ADAMW, which matches the optimizer used in pretraining.
Runtime. Tables 15 and 16 report the wall-clock time of each optimizer in pretraining (seconds per epoch of 100 steps) and fine-tuning (seconds per run of 64 steps). We compare on nanoGPT, the largest model, where the gradient computation dominates the cost; for Pythia-70M and the CIFAR-10 CNN, the timings are affected by other jobs sharing the GPUs and by data loading, and do not reflect the number of gradient evaluations. The cost is driven by the number of forward–backward passes per step. The methods that need a second pass are the most expensive: on nanoGPT, SAM and F-SAM take about 1.7× the time of SGD per epoch, and SSM and FP-SOMA take 2.4–2.9× the time of MUON (642–773 s against 265 s); in fine-tuning, they take 2.3–2.5× as long. SOMA needs only one pass per step and adds just 3% to the time of MUON per epoch (272 s), and OPSPRE, OPSPOST, MSOMA and RSM are similarly close to MUON.
F.2 Hyperparameter Details
Hyperparameter search. For each optimizer, we select the learning rate and, for the sharpness-aware methods, the perturbation radius by grid search. Each candidate is trained on a single seed (seed 0) with a short proxy run, and we
Table 14: Catastrophic Forgetting of Pythia-70M models pretrained with different optimizers: held-out FineWeb-Edu loss before () and after () fine-tuning on four datasets (lower is better). is the smoothed relative increase of the average . Mean std over 3 seeds. Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue).
| Optimizer | by fine-tuning dataset | Average | |||||
|---|---|---|---|---|---|---|---|
| codeparrot | stackmathqa | musicpile | tulu3 | ||||
| MUON | |||||||
| SSM | |||||||
| FP-SOMA | |||||||
| SOMA | |||||||
| RSM | |||||||
| OPSPRE | |||||||
| OPSPOST | |||||||
| ADAMW | |||||||
| SGD | |||||||
| SAM | |||||||
| F-SAM | |||||||
Table 15: Pretraining runtime of the optimizers: wall-clock seconds per epoch (100 optimizer steps). Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue).
| Optimizer | FineWeb-Edu NanoGPT s / epoch | FineWeb-Edu Pythia s / epoch | CIFAR-10 Airbench CNN s / epoch |
|---|---|---|---|
| MUON | |||
| SSM | |||
| FP-SOMA | |||
| SOMA | |||
| RSM | |||
| OPSPRE | |||
| OPSPOST | |||
| MSOMA | |||
| ADAMW | |||
| SAW | |||
| FSAW | |||
| SGD | |||
| SAM | |||
| F-SAM | |||
| MSAM |
select the hyperparameter with the best final validation loss (validation accuracy for the CNN) at the end of the run. The grids used in each experiment are given below.
Grid for pretraining and PTQ. The initial learning-rate grids on the language models were:
For MUON-based methods: ,
For ADAMW-based methods: ,
For SGD-based methods: .
On CNN, they were:
For MUON-based methods: ,
For ADAMW-based methods: ,
For SGD-based methods: .
If the best value lay at the edge of a grid, the grid was extended by a factor of in that direction, at most twice. The perturbation radius was searched on with the same extension rule; the
Table 16: Fine-tuning runtime of the optimizers: wall-clock seconds per fine-tuning run, taken from the fixed-base fine-tuning study (per job the median over its successful runs, then mean std over 3 pretrained bases 3 seeds). Runs shared the GPUs with other jobs, so only large differences are meaningful. Row colour marks the base optimizer family: MUON-based (Green), ADAMW-based (Red), SGD-based (Blue).
| Optimizer | FineWeb-Edu NanoGPT s / run | FineWeb-Edu Pythia s / run |
|---|---|---|
| MUON | ||
| SSM | ||
| FP-SOMA | ||
| SOMA | ||
| RSM | ||
| OPSPRE | ||
| OPSPOST | ||
| ADAMW | ||
| SGD | ||
| SAM | ||
| F-SAM |
sharpness-aware variants inherit the learning rate, momentum, weight decay and auxiliary learning rate of their base optimizer.
For ADAMW and MUON on the language models, we ran a second, finer search that varied one setting at a time around the values above: the learning rate ( × the current value), the weight decay (0, 0.01, 0.1, 0.3) and, for MUON only, the momentum (0.9, 0.95, 0.98) and the auxiliary ADAMW learning rate ( to the Muon learning rate). We then combined the best value of each setting and checked nearby learning rates ( and ) and, for MUON, nearby auxiliary rates ( and ) around the combination.
Grid for fine-tuning. The learning rate of each optimizer was calibrated on a grid of 19 log-spaced values from to 10 (two per decade), on the ADAMW-pretrained model with seed 42 and the codeparrot and tulu3 datasets, and the value with the lowest mean held-out fine-tuning loss was chosen as the centre of the grid. Fine-tuning then used 11 log-spaced learning rates, from the centre divided by 100 to the centre multiplied by 10, for every dataset, pretrained model, and seed. Among the runs that reach the common target fine-tuning loss, the run with the lowest FineWeb-Edu loss is reported.
Selected Hyperparameters for Pre-training. Table 17 lists the final selected learning rate (lr), weight decay (wd) and perturbation radius of every run for the pre-training experiments. The SGD family uses Nesterov momentum 0.9 on all three datasets. The MUON family uses momentum 0.9 on nanoGPT and 0.95 on Pythia-70M and the CNN, five Newton–Schulz iterations, and an auxiliary AdamW for the embeddings, the output head and all one-dimensional parameters (, , weight decay 0.1 on the language models and on the CNN, learning rate on nanoGPT, on Pythia-70M and on the CNN). ADAMW uses and , and the F-SAM-type methods use and . Learning rates and were selected on a single seed with short proxy runs, not on the three evaluation seeds.
Selected Hyperparameters for Fine-Tuning. Every fine-tuning run takes 64 optimizer steps with a batch of 64 sequences of 512 tokens (two micro-batches of 32), a linear warm-up over the first 10% of the steps followed by a cosine decay to zero, and gradient-norm clipping at 1.0. Table 18 lists the learning rate at the centre of the search grid and the perturbation radius . The SGD family uses Nesterov momentum 0.9 and weight decay 0. The MUON family uses momentum 0.95, weight decay 0, five Newton–Schulz iterations, and an auxiliary AdamW (learning rate equal to the Muon learning rate divided by 25, weight decay 0.1) for the embeddings, the output head and the one-dimensional parameters. ADAMW uses weight decay 0.1. The F-SAM-type methods use and .
Table 17: Selected learning rate, weight decay and perturbation radius of the continued-pretraining experiments.
| Optimizer | nanoGPT | Pythia-70M | CIFAR-10 CNN | ||||||
|---|---|---|---|---|---|---|---|---|---|
| lr | wd | lr | wd | lr | wd | ||||
| MUON | |||||||||
| SSM | |||||||||
| FP-SOMA | |||||||||
| SOMA | |||||||||
| RSM | |||||||||
| OPSPRE | |||||||||
| OPSPOST | |||||||||
| MSOMA | |||||||||
| ADAMW | |||||||||
| SAW | |||||||||
| FSAW | |||||||||
| SGD | |||||||||
| SAM | |||||||||
| F-SAM | |||||||||
| MSAM | |||||||||
Table 18: Selected learning rate and perturbation radius for fine-tuning.
| Optimizer | nanoGPT | Pythia-70M | ||
|---|---|---|---|---|
| lr | lr | |||
| MUON | ||||
| SSM | ||||
| FP-SOMA | ||||
| SOMA | ||||
| RSM | ||||
| OPSPRE | ||||
| OPSPOST | ||||
| ADAMW | ||||
| SGD | ||||
| SAM | ||||
| F-SAM | ||||