The Muon optimizer applies spectral orthogonalization to matrix-valued updates and has shown strong performance in large-scale neural network training, yet the mechanisms of this transformation in feature learning remain poorly understood. In this work, we investigate this question through a tractable factual-recall model, where a fact maps each subject–relation pair to an answer, and a linear transformer learns the subject- and relation-dependent information required to recover this mapping. The transformer is optimized with gradient flow (GF), spectral GF, or Sign GF, which are continuous-time limits of gradient descent, Muon, and Adam, respectively. Prior studies (Nichani et al., 2025) have shown that when the number of subjects exceeds the number of relations, GF learns relation-dependent information before subject-dependent information, producing a feature-separation phase during training. We characterize this separation with the learning times when the subject- and relation-dependent components of the prediction reach a target accuracy. With S subjects and R relations, GF has a learning-time ratio of Θ(S/R), whereas Spectral GF reduces this ratio to Θ(1). In addition, for fixed S and R, the subject- and relation-dependent errors decay as 1/(TlogT) in training time T under GF, but as exp(−poly(T)) under spectral GF. Finally, we show that GF and spectral GF are equivariant under orthogonal transformations of the token embeddings, whereas Sign GF is not: Different orthonormal embeddings can potentially produce no feature separation, a large feature-separation phase, or even a reversed learning order. These results provide a mechanistic view of how spectral orthogonalization can fundamentally reshape feature-learning dynamics.
1 Introduction
The Muon optimizer (Jordan et al., 2024) has been widely applied to training large language models (Liu et al., 2025; Zeng et al., 2025; Team et al., 2025; Xu et al., 2026). At the core of Muon is the spectral orthogonalization applied to momentum of matrix-valued parameters, e.g., QKV projections in self-attention and the linear weights in feed-forward networks. For the corresponding momentum M corresponding to the weight W, let M=UΣV⊤ be its singular value decomposition (SVD), where Σ is a diagonal matrix with positive entries, and U and V have
*Department of Computer Science, University of California, Los Angeles, CA 90095, USA; e-mail: xuheng.li@cs.ucla.edu
†Department of Computer Science, University of California, Los Angeles, CA 90095, USA; e-mail: qiwei2000@cs.ucla.edu
‡School of Computing and Data Science, the University of Hong Kong; e-mail: yuancao@hku.hk
§Department of Computer Science, University of California, Los Angeles, CA 90095, USA; e-mail: qgu@cs.ucla.edu
(a) Subject vs. relation accura- (b) Dynamics of subject and relation com- (c) Dynamics of subject and relation com- cies ponents accuracies in GF ponent accuracies in Spectral GF
Figure 1: Illustration of feature separation and softmax saturation. (a): Subject vs. relation components of model prediction accuracy. The top left portion of the plot for GF stands for feature separation, i.e., high accuracy of relation component but low accuracy of subject component; plot of Spectral GF is closer to the diagonal, indicating weaker feature separation; different embeddings in Sign GF can cause strong feature separation, weak separation, or reversed learning order (bottom right). (b, c): Dynamics of subject and relation component accuracies in GF and Spectral GF. For (S,R)=(64,16), the learning-time ratio of GF is approximately 2 (consistent with theoretical prediction Θ(S/R)); the ratio is close to 1 in Spectral GF. Additionally, GF slows down when entering the high-accuracy regime due to softmax saturation, while Spectral GF does not.
orthonormal columns. Muon then calculates an approximation of the spectral orthogonalization msign(M)≈msign(M):=UV⊤, usually with Newton-Schulz iterations (Guo and Higham, 2006; Bernstein and Newhouse, 2024), and performs update
W←W−γ⋅msign(M).
Despite the empirical success of the Muon optimizer, the mechanism of the spectral orthogonalization is not fully understood. A recent line of work suggests that spectral orthogonalization prevents frequent data from dominating the update, and achieves better performance on data with lower frequency, including Wang et al. (2025); Vasudeva et al. (2026); Li et al. (2026).
In practice, however, a prediction is not usually a simple mapping from the example to the class label. Instead, it can depend on several different features hidden in a single example. The factual recall model (Nichani et al., 2025) models these tasks as a mapping (s,r)↦a from the subject-relation pair to the answer, e.g., (France, capital) ↦ Paris. The factual recall model facilitates separate characterizations of the acquisition of subject- and relation-dependent information during training, which can occur at different timescales. Nichani et al. (2025) studied how the attention block, whose weights have been interpreted as associative memory (Geva et al., 2021; Bietti et al., 2023; Cabannes et al., 2024b), learns the factual recall task when trained with gradient flow (GF). They showed that the attention module learns the subject-dependent features later than relation-dependent features if the set of subjects is significantly larger than the set of relations. We refer to this phenomenon as feature separation (See Figure 1). We then raise the following questions about Muon:
Table 1: Comparison of learning times of GF, Spectral GF, and Sign GF dynamics in the factual recall task with S subjects and R relations, assuming S≥R≥4. The triplet after Sign GF stands for the embeddings corresponding to the subject, relation, and answer tokens: “O” and “H” stand for one-hot and Hadamard embeddings, respectively (See Section 5.1 for definition). We use TSδ and TRδ to denote the learning times when the subject- and relation-dependent components of the prediction reach the target accuracy of 1−δ under assumptions about the model initialization, and the ratio TSδ/TRδ measures the duration of the feature-separation phase.
Optimization dynamics
GF
Spectral GF
Sign GF (O, O, O)
Sign GF (H, O, H)
Sign GF (O, H, H)
TSδ
Θ(SR⋅δ−1)
Θ((SR)1/4)
Θ(1)
Θ((SR)1/4)
Θ((R/S)1/4)
TRδ
Θ(RS⋅δ−1)
Θ((SR)1/4)
Θ(1)
Θ((S/R)1/4)
Θ((SR)1/4)
TSδ/TRδ
Θ(S/R)
Θ(1)
Θ(1)
Θ(R)
Θ(1/S)
How does the Muon optimizer behave on the factual recall task? Does the similar feature separation phenomenon occur?
To answer this question, we study the GF, Spectral GF, and Sign GF, which are continuous-time limits of GD, Muon, and Adam, respectively. We show that compared with GF, Spectral GF significantly reduces the learning-time ratio for the subject and relation components to reach the same target accuracy, indicating that spectral orthogonalization can suppress feature separation and save the training budget spent waiting for later-learned features to catch up. More detailed contributions are summarized as follows:
We first compare GF and Spectral GF in a factual recall task with S subject tokens and R relation tokens (S≥R≥4). We show that the matrix orthogonalization of Muon/Spectral GF has two effects in the factual recall task: (i) it balances the learning of subject- and relation-dependent features, and reduces the learning-time ratio to Θ(1), while the learning-time ratio of GF is Θ(S/R); (ii) it additionally weakens the slowdown caused by softmax saturation, and reduces the δ−1-dependency in the learning times of GF to a logarithmic scale.
We show that both GF and Spectral GF are equivariant under orthogonal transformations of embeddings, while Sign GF is not. Sign GF combined with different orthonormal embeddings can thus display different dynamics, including a long feature-separation phase, no feature separation as in Spectral GF, or even reversed learning times of subject and relation.
Technically, we identify a low-dimension manifold M from the data symmetry. On this manifold, the model prediction probability can be factored into the product of subject- and relation-dependent components. We further show that M is an invariant manifold for all the learning dynamics of interest, including the Sign GF dynamics under different embeddings. This enables us to study the high-dimensional dynamics of the attention weights by focusing on the small number scalar parameters defining the manifold M.
Notations. We use normal-face letters for scalars, boldface lower-case letters for vectors, and boldface upper-case letters for matrices. 1 denotes the all-one vector or matrix; ei denotes the one-hot vector with the i-th entry being 1. δi,j denotes the Kronecker delta, i.e., δi,j=1 iff. i=j; otherwise δi,j=0. For N∈N+, [N] denotes the set {1,2,…,N}. ⊙ and ⊘ denotes element-wise product and division, and ⊗ denotes the Kronecker product. We use the standard asymptotic notation Θ(⋅), and Θ(⋅) hides logarithmic factors. We use ≃, ≲, and ≳ to hide constant factors in =, ≤, and ≥.
2 Related Work
2.1 Understanding the Muon Optimizer
Implicit bias and operator-norm margins. One line of work characterizes the solutions selected by spectral optimization as the training loss approaches zero. For multiclass linear classification on separable data with cross-entropy loss, Fan et al. (2025) show that spectral descent and Muon achieve maximum margin with respect to the spectral, or operator, norm of the classifier matrix. For homogeneous neural networks, Tsilivis et al. (2024) relate steepest-descent flows under general norms to the corresponding margin-maximization problems. Gronich and Vardi (2026) extend this perspective to momentum-based methods, including Muon, under suitable decaying learning-rate schedules. In these nonlinear settings, the guarantees concern KKT points of the margin problem rather than global maximizers. These results characterize asymptotic implicit bias, whereas our analysis resolves the finite-time acquisition of subject- and relation-dependent information and the learning times required to reach a prescribed accuracy.
Optimization geometry, convergence, and empirical behavior. Another line of work studies the geometry and convergence properties of matrix-valued updates. Bernstein and Newhouse (2024) interpret several optimizers through steepest descent under different norms, and Kovalev (2025) places gradient orthogonalization in a spectral-norm trust-region framework. Shen et al. (2025) derive convergence guarantees and identify Hessian structures under which Muon can improve over GD, while Shulgin et al. (2026) quantify the effects of inexact orthogonalization. Empirically, Khona et al. (2026) compare SOAP, Muon, and AdamW at large pretraining scales, including their stability and orthogonalization behavior. Ruan et al. (2026) investigate robustness and transferability and connect these properties to margins and feature diversity. Our work complements these perspectives by explicitly characterizing how spectral orthogonalization changes the coupled feature-learning dynamics of an attention model.
Balancing components and learning infrequent data. A closely related line of work explains Muon's benefits through more balanced learning across classes or spectral components. Wang et al. (2025) study class-imbalanced linear associative memories and show that Muon learns tail classes more effectively, while Adam's behavior can depend strongly on the embeddings. Vasudeva et al. (2026) analyze spectral gradient descent on Gaussian-mixture data with linear and deep linear models, showing that it learns principal components at equal rates and improves class-balanced performance early in training. Li et al. (2026) study linear associative memories with hierarchical query-answer frequencies, obtaining faster learning of low-frequency components and improved scaling laws. In matrix factorization, Rhee et al. (2026) likewise show that Muon avoids slow saddle-to-saddle dynamics and learns spectral modes concurrently.
Our results extend this picture to complementary features within a single prediction. In our factual-recall task, subject-relation pairs and answer classes are sampled uniformly, and every example contains both a subject and a relation. Nevertheless, when S>R, each particular subject occurs less often than each particular relation, and GF acquires the two components on different timescales. We characterize how this asymmetry propagates through the coupled attention weights:
Spectral GF reduces the learning-time ratio from Θ(S/R) to Θ(1) and weakens the slowdown caused by softmax saturation. Thus, balancing the acquisition of features needed to identify one answer complements previous analyses of balancing errors across frequent and infrequent answer classes.
More balanced learning need not improve every task. Dragutinović et al. (2026) analyze simplified Muon in deep linear networks and linear attention and show that it can remove the sequential simplicity bias of GD. Their experiments demonstrate that this can impair the discovery of shared representations across tasks or encourage reliance on spurious features; the relative strengths of the features also influence which optimizer performs better. Our findings are consistent with theirs because the tasks reward different behavior. Their routing task evaluates generalization to unseen input-output domain pairings, while their spurious-feature experiments examine reliance on features that may fail under distribution shift. Our population factual-recall task requires learning both subject and relation information to identify the correct answer, and our guarantees concern recall under the same data distribution. Accelerating the later-learned component is beneficial in this setting without implying that removing simplicity bias universally improves generalization.
2.2 Factual Recall and Associative Memory
Linear associative memory. A linear associative memory stores mappings between fixed input and output embeddings in a trainable matrix, with retrieval determined by scores between transformed inputs and candidate outputs. This setting isolates storage and retrieval from the surrounding sequence-processing architecture. Cabannes et al. (2024a) study memories formed from outer products of embeddings and derive scaling laws in sample size and parameter count. Cabannes et al. (2024b) analyze gradient-descent training of a single memory module, showing how token frequencies and embedding correlations affect learning dynamics and interference between stored associations. The Muon analyses of Wang et al. (2025) and Li et al. (2026) use this setting to study optimization under frequency imbalance. Going beyond orthogonal embeddings, Kim et al. (2026) consider Gaussian input and output embeddings, allowing the number of associations to exceed the embedding dimension. They characterize one-step recovery and storage capacity under power-law frequencies and analyze multi-step dynamics under a thresholded-gradient approximation. These studies clarify how an optimizer learns associations stored in one matrix; our setting additionally requires learning interacting attention weights that combine subject and relation information from a sequence.
Associative memory in transformer architectures. Associative memory also provides a framework for understanding how transformer components store and retrieve information. Geva et al. (2021) interpret feed-forward layers as key-value memories, with keys detecting textual patterns and values contributing to the output-token distribution. Bietti et al. (2023) use a memory viewpoint to study a simplified transformer, explaining the learning of global bigram statistics and the subsequent emergence of an induction-head mechanism for in-context prediction. These works connect individual memory modules to the computations performed by a sequence model.
Our closest architectural and task-level antecedent is Nichani et al. (2025). They show that a shallow transformer can combine attention and MLP associative memories to store facts with capacity nearly proportional to its parameter count. They also analyze a simplified linear-attention model that learns relation information before subject information under GF. We adopt their factual-recall setting and study how optimizer geometry changes this sequential learning behavior. Specifically, we compare GF, Spectral GF, and Sign GF on an invariant manifold, quantify the subject and relation learning times, and identify the embedding dependence of Sign GF. Our focus is therefore the dynamics of acquiring complementary factual information through attention.
3 Problem Setting
In this section, we sketch the data model and the linear attention model, following Nichani et al. (2025). We then introduce the continuous-time limits of different optimizers and their interplay with the embedding selection.
3.1 Data Model
We use the factual recall task (Nichani et al., 2025) to model predictions depending on multiple features. Let S, R, and A be the sets of subject, relation, and answer tokens, respectively. A fact is a mapping a∗:S×R→A from a subject-relation pair to an answer, e.g., (France, Capital) ↦ Paris. We assume that a∗ is a bijection.
The facts represented by triplets can be easily learned by a simple classification model, but in reality, facts are stored in sentences with complex structures and irrelevant information, e.g., “the capital of France is Paris”. To model such sentences, we study the following model where subject-relation pair is hidden in a sequence: Let T≥2 be the context length. Let N be the set of noise tokens, and EOS be a special token denoting the end of sequence. The sequence (zt)t∈[T+1] is generated as follows:
Sample subject token s∼Uniform(S) and relation token r∼Uniform(R). The answer, which is the label of prediction represented by the next token of the sequence, is given by zT+1=a∗(s,r).
Uniformly sample two distinct indices i,j∈[T−1] Set zi=s and zj=r, and set zT=EOS.
For any index k∈[T−1] such that k=i,j, draw zk uniformly from the noise tokens.
In this data model, all subjects, relations, and answers have equal probabilities. Therefore, the behavior of the optimizers on this data model is not affected by the data imbalance, and we can isolate the effect of feature imbalance with different optimizers because the only asymmetry lies in the different sizes of the subject and relation sets.
3.2 Linear Attention
We use a single-head linear attention to learn the factual recall task. Let V=S∪R∪A∪N∪{EOS} denote the vocabulary, and ϕ:V→Rd is an embedding mapping that is fixed during training. We assume that the embeddings are orthonormal, i.e., for any v,v′∈V, we have ⟨ϕ(v),ϕ(v′)⟩=δv,v′. For input sequence z1:T, let X=[x1,x2,…,xT]⊤∈RT×d be the embedded sequence with xk=ϕ(zk). Position embedding is not considered because the answer zT+1 is irrelevant to the ordering of the sequence z1:T. The linear attention model is given by
f(X;Θ)=WOVX⊤XWKQxT,
where Θ=(WOV,WKQ) are trainable parameters. WOV merges the O and V parameters, and WKQ merges the K and Q parameters, following Elhage et al. (2021); Von Oswald et al. (2023).
Let pΘ(⋅∣z1:T) be the predicted next token distribution on the input sequence z1:T:
We consider the continuous-time limit of the GD, Adam, and Muon optimizers using the gradient of the population loss L(Θ). Let γ>0 denote the learning rate.
Gradient Flow (GF). GF is the continuous-time limit of GD, given by Θ˙(t)=−∇L(Θ(t)).
Sign Gradient Flow (Sign GF). We follow Zou et al. (2021); Ma et al. (2022); Cattaneo et al. (2023); Xie and Li (2024) and study Sign GF as an idealized continuous-time model of Adam. Let Gt=∇L(Θt−1). The Adam update is given by
where β1,β2∈(0,1) are hyperparameters for the first-order and second-order momentum, respectively. If (β1,β2) are fixed and γ→0, these gradients are evaluated at nearly the same point and are thus all close to Gt. Thus, Mt≈Gt and Vt≈Gt⊙2. If we also let ϵ→0, then M⊘(Vt+ϵ)≈sign(Gt), where sign(⋅) denotes the element-wise sign of a matrix. The Sign GF dynamics are thus given by Θ˙(t)=−sign(∇L(Θ(t))).
Spectral Gradient Flow (Spectral GF). The update of the Muon optimizer is
where β∈(0,1) is momentum hyperparameter. We study the ideal setting where the calculation of msign(⋅) is exact. Similar to modeling Adam as Sign GF, we model Muon as Spectral GF:
3.4 Orthogonal Equivariance and Embedding Dependence
In this section, we discuss how the choice of embeddings ϕ(⋅) can affect the learning dynamics. The following proposition shows that GF and Spectral GF are equivariant under different embeddings.
Proposition 3.1. Suppose that Θ(t) follows either GF or Spectral GF dynamics under the embedding ϕ(⋅). Let Q∈Rd×d be an orthogonal matrix. Then Θ(t)=(QWOV(t)Q⊤,QWKQ(t)Q⊤) also follows the GF or Spectral GF dynamics under the embedding ϕ(⋅)=Qϕ(⋅).
Proposition 3.1 establishes that both GF and Spectral GF are equivariant under orthogonal transformations of embeddings (even when the embeddings are not orthonormal). Thus, for any two sets of orthonormal embeddings ϕ and ϕ, let Q be the orthogonal matrix satisfying ϕ(⋅)=Qϕ(⋅). Then by Proposition 3.1, there is a bijection between the dynamics under embeddings ϕ(⋅) and ϕ(⋅).
Remark 3.2. In general, Proposition 3.1 does not hold for Sign GF. A crucial property for Proposition 3.1 to hold for Spectral GF is that for any matrix M and orthogonal matrices U, V, the spectral orthogonalization satisfies msign(UMV⊤)=U⋅msign(M)⋅V⊤ (Lemma E.1). However, this property does not hold for the element-wise sign operator in general. In Section 5, we will study how the Sign GF dynamics change across different orthonormal embeddings of the same dictionary.
4 GF versus Spectral GF
We compare the GF and Spectral GF dynamics in this section. In general, the dynamics of (WOV,WKQ) are high-dimensional and coupled, obscuring how the model learns subject- and relation-dependent information. Our data model, however, treats all subjects and relations symmetrically, suggesting that this learning process can be described by a small number of shared quantities rather than separate parameters for each subject and relation.
Motivated by this symmetry, we introduce a low-dimensional manifold M that isolates the feature directions relevant to factual recall. By comparing the dynamics of GF and Spectral GF reduced to the manifold and their learning times, we identify two mechanisms of Spectral GF: reweighing different features in the update and alleviating softmax saturation.
4.1 Reduced Parameterization and Learning Times
We first define a low-dimensional manifold M, which plays a central role in our later analysis.
On this manifold, the model predictions can be expressed using only the scalar coefficients governing subject and relation learning, which allows us to define and analyze their respective learning times. The subsequent sections show that the optimization dynamics of interest preserve this manifold, i.e., if Θ(0)∈M, then Θ(t)∈M for all t≥0 (See Propositions 4.3, 4.7, and 5.1). Therefore, the reduced dynamics exactly describe training from the corresponding initialization.
The following proposition provides a clean expression of the model predictions and accuracy, provided that the model parameters Θ∈M:
Proposition 4.1. Suppose Θ∈M. Then the prediction of the linear attention model satisfies that for any (s′,r′),
Proposition 4.1 shows that the model prediction p(a∣z1:T) is related to four parameters of the manifold M, namely (αS,βS,αR,βR). The other parameters of the manifold M, including γS,γR,γN, and βN, are irrelevant to the model prediction or accuracy. Therefore, to study the dynamics of the model accuracy, it suffices to study the dynamics of the parameters (αS,βS,αR,βR).
Proposition 4.1 also shows that the model prediction p(a∣z1:T) can be factored into the product of subject- and relation-dependent components. Thus, the model accuracy is also the product of two components. We define the margins as
Learning times and feature-separation phase. To achieve the target accuracy of 1−δ, we require both (1+e−qs)−1≥1−δ and (1+e−qR)−1≥1−δ, i.e., min{qS,qR}≥log(δ−1−1). Additionally, if the condition min{qS,qR}≥log(δ−1−1) holds, then the model accuracy is at least 1−2δ. Therefore, we consider the time when qS and qR reach the threshold log(δ−1−1):
The interval between TRδ and TSδ characterizes a feature-separation phase where the relation-dependent component of the prediction has already reached accuracy 1−δ, while the subject-dependent component has not. In this regime, the model has acquired substantially more information about the faster one of the two components, even though overall prediction accuracy is still limited by the slower component. This phase is referred to the hallucination phase in the literature (Nichani et al., 2025) because the model output a∼pΘ(⋅∣z1:T) corresponds to the correct relation token, while the subject token corresponding to a is highly randomized. Intuitively, the model produces an answer of the right type but fails to associate it with the queried subject, yielding a plausible yet potentially factually incorrect response.
In subsequent sections, we use the ratio TSδ/TRδ to quantify the duration of the feature-separation phase. This ratio largely removes the effect of the learning-rate because the constant learning rate γ in the continuous-time dynamics is equivalent to time reparameterization, which introduces a shared factor of γ−1 to both TSδ and TRδ (See Appendix A for details).
Initialization. Throughout our analysis, we assume small, positive, and symmetric initializations of subject parameters ( αS,βS) and relation parameters ( αR,βR). The following assumption characterizes the positivity and symmetry of initializations, and we leave the discussion of the initialization scale to detailed analysis of optimization dynamics in subsequent sections.
Assumption 4.2. The model parameters satisfy Θ(0)∈M, and there exist α0,β0>0 such that
αS(0)=αR(0)=α0,βS(0)=βR(0)=β0.
This initialization places the two sets of manifold parameters at the same magnitude at initialization, so differences between the learning times arise from the data and optimization dynamics exclusively. The positivity assumption avoids sign changes in the reduced dynamics on the manifold and simplifies the expressions of learning times.
4.2 GF Dynamics
In this section, we study the GF dynamics in the manifold M. We will calculate the expression of the gradient ∇L(Θ) and show that Θ(t)∈M throughout training as long as Θ(0)∈M. We then immediately obtain the dynamics of the parameters (αS,βS,αR,βR). Finally, we use the dynamics to characterize TSδ and TRδ, and show that the feature separation ratio satisfies TSδ/TRδ=Θ(S/R).
The following proposition provides the expression of the gradient ∇L(Θ) when Θ∈M:
Proposition 4.3. Suppose the model parameters Θ∈M. Define vs and vr as
Proposition 4.3 shows that due to the definition of vs and vr in (4.6), the gradient ∇L(Θ)∈M as long as Θ∈M. Combined with the assumption that Θ(0)∈M, we conclude that M is an invariant manifold of the GF dynamics. From the expression of the gradient, we also obtain the dynamics of (αS,βS,αR,βR) expressed by the following ODE:
Although the parameters γS and γR change during training due to the presence of vˉ in vs and vr, their change does not affect the model accuracy, as is shown by Proposition 4.1. We also notice that the dynamics of (αS,βS,αR,βR) are irrelevant to other manifold parameters. Therefore, to characterize the learning times TSδ and TRδ, it suffices to study the above ODE. The following theorem provides an accurate estimate of TSδ and TRδ:
Theorem 4.4. Assume that S,R≥2, δ≤0.5, and Assumption 4.2 holds with α0,β0<1. Then the learning times of the GF dynamics satisfy
The assumption of the initialization can be relaxed to ∣αS(0)∣,∣βS(0)∣,∣αR(0)∣,∣βR(0)∣≤1, and the results are similar with minor changes to the term α0+β0. We do not further analyze more general initializations because α0+β0 contributes to only a logarithmic factor in TSδ and TRδ.
Remark 4.5. We notice from the ODE that the subject parameters (αS,βS) and the relation parameters (αR,βR) form two isolated systems (the dynamics are independent from each other). We hereby interpret the behavior of the subject and relation parameters in Theorem 4.4 separately, each consisting of two phases. For the subject parameters (αS,βS), the term
SR(S−1)logα0+β0Rlog(S−1)≃TS0.5
corresponds to Phase I where qS≤1. In this phase, the term S−1+eαSβS/R, which stems from the normalizing factor of softmax, satisfies S−1≥eαSβS/R, so the evolution of (αS,βS) is close to a linear ODE system. The term
SR(S−1)⋅log[(δ−1−1)(S−1)]δ−1−1
corresponds to Phase II where qS≥1. In this phase, we have eαSβS/R≥S−1, so the increase of αS and βS slows down due to the saturated softmax. It takes time Θ(δ−1), ignoring factors other than δ, for the subject-dependent component in the model accuracy to reach 1−δ, which is consistent with prior works (Soudry et al., 2018; Ji and Telgarsky, 2018, 2019; Lyu and Li, 2019). Interpretations for the relation-dependent parameters (αR,βR) are similar.
Remark 4.6. We now consider the learning time ratio TSδ/TRδ. If the target error rate δ is viewed as a constant, then the terms in TSδ and TRδ corresponding to Phase II can be ignored. If we further assume that the initialization is in the order of constants, i.e., α0+β0=Θ(1), then
If we aim for high accuracy, i.e., δ−1≥max{S,R,log(α0+β0)−1}, then the term corresponding to Phase II is dominating. In this case, the learning-time ratio satisfies
TSδ/TRδ≃(S−1)/(R−1).
In both cases, the learning-time ratio is Θ(S/R).
4.3 Spectral GF Dynamics
Similar to the analysis of GF, we first provide closed-form expressions of msign(−∇WOVL(Θ)) and msign(−∇WKQL(Θ)) in the following proposition:
Proposition 4.7. Suppose the model parameters Θ∈M. Let vs and vr be defined in (4.6). Then the spectral orthogonalization of the gradient at Θ satisfies
To calculate msign(−∇WOVL(Θ)), we notice that the spectral orthogonalization of both ∑s∈Svsϕ(s)⊤ and ∑r∈Rvrϕ(r)⊤ are themselves, and the two matrices have orthogonal rows (See Lemma B.1). To calculate msign(−∇WKQL(Θ)), we notice that the gradient is a rank-one matrix u⋅ϕ(EOS)⊤, so its spectral orthogonalization is (u/∥u∥2)⋅ϕ(EOS)⊤, i.e., the original matrix normalized by the magnitude of u.
Similar to Proposition 4.3 in the GF dynamics, Proposition 4.7 shows that if the model initialization satisfies Θ(0)∈M, then Θ(t)∈M throughout the Spectral GF dynamics. Therefore, M is an invariant manifold of the Spectral GF dynamics. We then obtain dynamics of (αS,βS,αR,βR):
If we assume the symmetric and positive initialization in Assumption 4.2, then for all t>0, we have αS(t)=αR(t)=t+α0, and the αS and αR terms in the dynamics of βS and βR are canceled. The analysis of the spectral GF is based on the simplified dynamics of βS and βR, so it depends more directly on the symmetric initialization in Assumption 4.2. Without Assumption 4.2, the asymmetric initialization of αS and αR can complicate the analysis of the dynamics βS and βR in the early training phase. We leave the study of the general initialization for future work.
From the simplified dynamics of βS and βR, we observe that spectral orthogonalization affects the training dynamics with two major mechanisms:
Spectral orthogonalization reweighs subject- and relation-dependent factors in the gradient of WOV. It removes coefficients before ∑s∈Svsϕ(s) and ∑r∈Rvrϕ(r), which cause the relation parameters to receive larger updates than subject parameters in the GF dynamics. This mechanism is consistent with the observations of prior works on GD/GF in classification tasks.
Spectral orthogonalization weakens the slowdown caused by softmax saturation. The dynamics of αS and αR are explicitly free of the terms 1+eqS and 1+eqR that cause softmax saturation in GF; although the ODEs of βS and βR contain such terms, their dynamics are coupled due to the spectral orthogonalization, satisfying (Sβ˙S)2+(Rβ˙R)2=1. We further observe that if qS≤qR, then β˙S≥1/2S, and if qS>qR, then β˙R≥1/2R, i.e., the β parameter corresponding to the smaller margin increases almost linearly. Therefore, the dependence of the learning times on the target error rate is much milder in the spectral GF dynamics.
Based on the ODE above, the following theorem characterizes the learning times TSδ and TRδ:
Theorem 4.8. Suppose S≥R≥4, and Assumption 4.2 holds with α0≤(SR)1/4 and β0≤(R/S)1/4. Then for any target error rate δ≤0.5, the learning times of spectral GF satisfy
Remark 4.9. Compared with the GF dynamics, the learning times under the Spectral GF dynamics has no polynomial dependence on δ−1, which is attributed to the spectral orthogonalization weakening the effect of softmax saturation. Unlike GF, the phase transition behavior of the learning times TSδ and TRδ under Spectral GF is asymmetric, due to the coupled dynamics of βS and βR. We show that βS increases almost linearly in t (See Lemma C.1), so TSδ has no phase transition behavior. The two phases of TRδ are determined by whether the desired relation accuracy is reached before or after the subject-dependent component becomes well learned (See proof for details).
Remark 4.10. We now consider the learning-time ratio under the Spectral GF dynamics. If the target error rate δ is viewed as a constant, then
We also consider the asymptotics of δ→0. In this case, the learning-time ratio is TSδ/TRδ≃1. In both cases, we have TSδ/TRδ=Θ(1). Therefore, compared with the GF dynamics, the learning-time ratio under the spectral GF dynamics has no polynomial dependence on S/R. This effect is mainly attributed to the spectral orthogonalization reweighing the subject- and relation-dependent components in the gradient of WOV.
5 Sign GF and Embedding Dependence
5.1 Orthonormal Embedding Constructions
As is shown in Remark 3.2, the Sign GF dynamics rely on the choice of the embedding. In this section, we construct different embeddings ϕ(⋅) where the Sign GF dynamics have different behavior.
To construct the full embedding mapping ϕ(⋅), we first construct embeddings for subject tokens ϕS:S→RS, for relation tokens ϕR:R→RR, and for answer tokens ϕA:A→RSR, separately. We then select orthonormal embeddings ϕN for the noise tokens (they are irrelevant to the training dynamics, so the choice is arbitrary). We then lift ϕS, ϕR, ϕA, and ϕN to a higher-dimensional space (with ϕ(EOS) as a one-hot vector) by padding the vectors with zeros, so that the subspaces are orthogonal to each other.
Table 2: Summary of dynamics and learning times for the eight possible combinations of embeddings. “O” and “H” stand for the one-hot and the Hadamard embeddings, respectively. The Θ(⋅) in the learning times hides logarithmic factors of δ−1 as well as S and R.
ϕS
ϕR
ϕA
α˙S
α˙R
β˙S
β˙R
TSδ
TRδ
TSδ/TRδ
O
O
O
2R
2S
1
1
Θ(1)
Θ(1)
Θ(1)
O
O
H
S
R
1
1
Θ((R/S)1/4)
Θ((S/R)1/4)
Θ(R/S)
O
H
O
2R
SR
1
1/R
Θ(1)
Θ(1)
Θ(1)
O
H
H
S
1
1
1/R
Θ((R/S)1/4)
Θ((SR)1/4)
Θ(1/S)
H
O
O
SR
2S
1/S
1
Θ(1)
Θ(1)
Θ(1)
H
O
H
1
R
1/S
1
Θ((SR)1/4)
Θ((S/R)1/4)
Θ(R)
H
H
O
SR
SR
1/S
1/R
Θ(1)
Θ(1)
Θ(1)
H
H
H
1
1
1/S
1/R
Θ((SR)1/4)
Θ((SR)1/4)
Θ(1)
We construct one-hot embeddings and Hadamard embeddings for ϕS, ϕR, and ϕA. We assume that S=2p and R=2q for convenience of the Hadamard embedding construction.
One-hot embeddings. All embeddings are distinct one-hot vectors. Specifically, for any (s,r),
ϕSO(s)=es,ϕRO(r)=er,ϕAO(a∗(s,r))=es⊗er.
Hadamard embeddings. Hadamard embeddings are defined by columns of Hadamard matrices:
The embedding for each family of tokens ϕS, ϕR, and ϕA can independently be one-hot or Hadamard, yielding 23=8 possible combinations. The following proposition justifies that M is an invariant manifold under the Sign GF dynamics with all combinations of embeddings, and gives a general form of the learning times:
Proposition 5.1. In all possible combinations of the embeddings defined above, if Θ∈M, then the element-wise sign of the gradient satisfies sign(−∇L(Θ))∈M. Furthermore, if Assumptions 4.2 holds, then the Sign GF dynamics satisfy α˙S=CαS,β˙S=CβS,α˙R=CαR, and β˙R=CβR (details given in Table 2). If α0 and β0 are sufficiently small, then the learning times satisfy
Assumption 4.2 is not essential and serves to avoid the sign change of the manifold parameters. Table 2 gives the learning times and the learning-time ratios for all combinations of embeddings derived from Proposition 5.1. With certain embeddings, the learning-time ratio is TSδ/TRδ=Θ(1), matching the result of Spectral GF. However, the ratio can be as large as Θ(R) when the embeddings are (ϕS,ϕR,ϕA)=(ϕSH,ϕRO,ϕAH). Additionally, different from the GF and Spectral GF dynamics, TSδ/TRδ can be smaller than 1, indicating that the subject component can achieve the target accuracy earlier than the relation component. The embedding-dependency of Sign GD is also discussed in Wang et al. (2025).
We notice that with the embeddings of interest, the learning times has only logarithmic dependence on δ−1. We conjecture that the element-wise sign can weaken the effect of softmax saturation similar to the spectral orthogonalization even with general embeddings, which is left as future work.
6 Experiments
In this section, we provide experiments to justify the theoretical findings. We first simulate the GF and spectral GF dynamics on the invariant manifold M and verify the scaling of learning times. We then perform the experiments on the single-layer attention module learning the factual recall task studied in the theoretical part, but study more realistic optimizers with stochastic gradients, momentum, and trajectories out of the invariant manifold. Finally, we perform experiments on a realistic task with synthetic biographical data learned by a small language model.
6.1 (Normalized) Gradient Flow Dynamics
The experiment setting is exactly that considered in theoretical studies, so it suffices to simulate the ODEs. We focus on the GF and Spectral GF dynamics.
6.1.1 Learning-Time Ratio Scaling with S and R
(a) GF dynamics
(b) Spectral GF dynamics
Figure 2: Scaling of learning-time ratio with S.
(a) GF dynamics
(b) Spectral GF dynamics
Figure 3: Scaling of learning-time ratio with R.
In this section, we examine the scaling of learning-time ratio with S and R. We vary both S and R between 4 and 1024 (including the case where S<R), and fix δ=0.1, i.e., the target accuracy is 90%. The results are shown in the log-log plots in Figures 2 and 3. In the log-log plot of TSδ/TRδ against S for the GF dynamics, the curves are almost straight lines with slope close to 0.5, indicating the ratio's S-dependence on S. Similarly, the log-log plot of TSδ/TRδ against R indicates the ratio's 1/R-dependence on R. The learning-time ratio of the Spectral GF dynamics remain close to 1 for all S and R.
6.1.2 Learning-Time Scaling with δ
In this section, we examine the scaling of learning time with the target error rate δ. We fix (S,R)=(64,16). Results are shown in Figure 4.
For the GF dynamics, we observe from the log-log plot that for small δ, both TSδ and TRδ scales with δ−1, while there is a phase transition for large δ, which is consistent with the phase transition given in Theorem 4.4. For Spectral GF, Figure 4(b) shows a logarithmic dependence of the learning times on δ−1. Additionally, TRδ is close to TSδ for small δ, but for larger δ, we have TRδ<TSδ. This phenomenon is consistent with the phase transition of TRδ in Theorem 4.8.
GF: S = 64, R = 16
(a) GF dynamics
Spectral GF: S = 64, R = 16
(b) Spectral GF dynamics
Figure 4: Scaling of learning times with δ.
6.2 Single-Layer Attention Training
In this section, our goal is to show that the theoretical findings hold for more realistic training scenarios with stochastic gradient, momentum updates, and iterates out of the invariant manifold. We still focus on the original recall data model learned by the single-layer linear attention module. We use a cosine learning schedule for all optimizers, with the peak learning rate being 0.01 for SGD, 0.02 for Muon, and 0.0003 for SGD. Following Team et al. (2025), we apply a 0.2 multiplier to the updates of attention weights optimized with Muon, which balances the updates of weights optimized with Muon and Adam. We use the standard 5-step Newton-Schulz iteration to approximate msign( ⋅), following the standard implementation (Jordan et al., 2024). We train the model for 50000 steps with batch size 128. Experiment results are averaged over 3 random seeds of initializations.
We calculate the learning times TSδ and TRδ as the cumulative learning rate. We show the results in Figures 5, 6, and 7. We observe that the scaling of the learning-time ratio with S and R is consistent with the ODE simulations and the theoretical predictions. For scaling of learning times with δ, we can observe the phase transition of the learning times in the SGD dynamics, while the all other optimizers scale logarithmically with δ−1.
(a) SGD
(b) Muon
(c) AdamW (O, O, O)
(d) AdamW (O, H, H)
(e) AdamW (H, O, H)
Figure 5: Scaling of learning-time ratio with S.
(a) SGD
(b) Muon
(c) AdamW (O, O, O)
(d) AdamW (O, H, H)
(e) AdamW (H, O, H)
Figure 6: Scaling of learning-time ratio with R.
(a) SGD
(b) Muon
(c) AdamW (O, O, O)
(d) AdamW (O, H, H)
(e) AdamW (H, O, H)
Figure 7: Scaling of learning times with δ.
6.3 Realistic Factual Recall in Transformers
In this section, we verify the theoretical findings on natural language data learned with a small language model Pythia (Biderman et al., 2023) with 35M trainable parameters.
Data model. Inspired by Wang et al. (2025), we consider a biographical dataset with 8192 fictional people, each with 6 attributes including data of birth, birthplace, university, major, employer, and workplace, so there are 49152 facts in total. The dataset is made up from question-answer pairs, where each attribute corresponds 4 question templates for training and 2 question templates for evaluation. The training and test data are sampled uniformly from the dataset.
Optimizer details. The optimizer setup is identical to the previous experiment. We apply Muon to each attention head rather than the fused attention weights, which is reported in Jordan et al. (2024) to achieve better performance.
The results are shown in Figure 8. In such a task with much larger number of subjects (8192 people) than relations (6 attributes), the errors of the relation component are much smaller than those of the subject component for all three optimizer. The overall error is thus close to the error of the subject component. We observe that the subject error of SGD does not significantly decay until step 10000, while the subject error decays much earlier in the Muon training dynamics. The performance of AdamW is between SGD and Adam. Although all three optimizers reach similar accuracies after step 30000, Muon has the advantage of learning the subject-dependent component faster than SGD and Adam, indicating that Muon can save the training budget spent on training.
Figure 8: SGD, AdamW, and Muon in realistic factual recall task learned by Pythia 35M. The solid line stands for the overall error rate, the dashed line stands for the error probability of the prediction having the wrong subject entity, and the dotted line stands for the error probability of the prediction having the wrong relation entity.
the subject component.
7 Conclusion
In this work, we study the GF, Spectral GF, and Sign GF dynamics in the factual recall task reduced to the invariant manifold, where the model prediction factors into subject and relation components. We show that Spectral GF, the continuous-time limit of the Muon optimizer, learns the two components at a more balanced rate, thus weakening phase separation of GF. Additionally, the spectral normalization of Muon and Spectral GF avoids the δ−1 dependence in the learning times caused by softmax saturation. The Sign GF dynamics, a continuous-time model of Adam, can have diverse behavior due to its dependence on the token embedding. Our analysis is currently restricted to an ideal setting with a simple data model, the single-head linear attention with merged K-Q and O-V weights in an invariant manifold, access to full gradient, and continuous-time dynamics. We leave as future work to generalize these assumptions.
A Discussion about Learning Rate Schedule
The learning rate schedule can be incorporated into the training dynamics through time reparameterization. For a general learning dynamics with learning rate schedule γ(t) given by
Θ˙(t)=−γ(t)⋅F(Θ(t)),
where F(⋅) is a mapping from the parameter space to the (normalized) gradient, consider the time reparameterization
τ=g(t):=∫0tγ(s)ds,Θ=Θ∘g−1.
Then
dΘ(τ)/dτ=−F(Θ(τ)).
Therefore, under the time reparameterization, the dynamics with an arbitrary learning rate schedule can be transformed into the dynamics with unit learning rate.
Therefore, the relative separation TSδ/TRδ can be viewed as the ratio of the cumulative learning rates for qS and qR to achieve the threshold log(δ−1−1), and is more intrinsic to the optimization dynamics than either learning time alone.
B Proof of Structural Results
B.1 Proof of Proposition 3.1
Proof of Proposition 3.1. Let X denote the embedding matrix under the embedding ϕ(⋅), then
X=[Qϕ(z1),…,Qϕ(T)]⊤=XQ⊤.
We first notice that for any a, the logit satisfies
where the third equality holds by Lemma E.1. Similarly,
dtdWKQ(t)=−γSpectralGF⋅msign(∇WkQL(Θ)).
Therefore, Θ~ follows the Spectral GF dynamics.
B.2 Proof of Proposition 4.1 and Proposition 4.3
Proof of Proposition 4.1 and Proposition 4.3. We use s(z1:T) and r(z1:T) to denote the subject and relation tokens of the sequence z1:T, respectively. Let C(z,z1:T) be the number of occurrences of the token z in the sequence z1:T. Then
where the last equality holds due to Lemma E.2(a). Since C is a constant for all (s′,r′), we omit C in subsequent calculations. The normalizing constant is
We then take the expectations over z1:T+1 to obtain the negative gradient −∇WOVL(Θ). We consider the three terms in the last bracket separately, and we first calculate the expectation of the noise term: for each n∈N, the term C(n,z1:T)⋅ϕ(n) is independent with the tokens s(z1:T), r(z1:T) and zT+1. Therefore,
Calculation of −∇WKQL(Θ). We also start from the stochastic gradient. Similar to the analysis of the noise-related terms in −∇WOVℓ(z1:T+1;Θ), the noise-related term in X⊤XWOV⊤, i.e.,
n∈N∑C(n,z1:T)⋅ϕ(n)vˉ⊤
is independent from s(z1:T), r(z1:T), and zT+1, and thus has zero contribution in the expectation. We also notice that due to Lemma E.2(a, b),
In this section, we provide the proof of Proposition 5.1, which is essentially the calculation of sign(−∇L(Θ)). Due to the expression of the gradient in Proposition 4.3 and the construction of the embeddings where the subject and relation tokens have disjoint supports, it suffices to calculate the element-wise signs of the following matrices:
Without loss of generality, we can define vs and vr on ϕA, and replace ϕ(s), ϕ(r) with ϕS(s), ϕR(r), instead of on the full embedding. The following lemmas based on these notations give the exact expressions of ∑s∈Svsϕ(s)⊤ and ∑r∈Rvrϕ(r)⊤.
Lemma B.2. With different combinations of the embeddings, the element-wise sign of the matrix ∑s∈Svsϕ(s)⊤ satisfy
• Subject one-hot, answer one-hot:
sign(s∈S∑vsϕ(s)⊤)=s∈S∑(2R⋅vˉs−SR⋅vˉ)ϕ(s)⊤.
• Subject one-hot, answer Hadamard:
sign(s∈S∑vsϕ(s)⊤)=Ss∈S∑vsϕ(s)⊤.
• Subject Hadamard, answer one-hot:
sign(s∈S∑vsϕ(s)⊤)=SRs∈S∑vsϕ(s)⊤.
• Subject Hadamard, answer Hadamard:
sign(s∈S∑vsϕ(s)⊤)=s∈S∑vsϕ(s)⊤.
Lemma B.3. With different combinations of the embeddings, the element-wise sign of the matrix ∑r∈Rvrϕ(r)⊤ satisfy
• Subject one-hot, answer one-hot:
sign(r∈R∑vrϕ(r)⊤)=r∈R∑(2S⋅vˉr−SR⋅vˉ)ϕ(r)⊤.
• Relation one-hot, answer Hadamard:
sign(r∈R∑vrϕ(r)⊤)=Sr∈R∑vrϕ(r)⊤.
• Relation Hadamard, answer one-hot:
sign(r∈R∑vrϕ(r)⊤)=SRr∈R∑vrϕ(r)⊤.
• Relation Hadamard, answer Hadamard:
sign(r∈R∑vrϕ(r)⊤)=r∈R∑vrϕ(r)⊤.
Lemma B.4. With different embeddings, the element-wise sign of (∑s∈Sϕ(s))ϕ(EOS)⊤ satisfies
• When the subject embeddings are one-hot, then
sign([s∈S∑ϕ(s)]ϕ(EOS)⊤)=[s∈S∑ϕ(s)]ϕ(EOS)⊤.
• When the subject embeddings are Hadamard, then
sign([s∈S∑ϕ(s)]ϕ(EOS)⊤)=S1[s∈S∑ϕ(s)]ϕ(EOS)⊤.
The relation embeddings satisfy similar properties.
Lemma B.4 holds by noticing that
s∈S∑es=1S,s∈S∑HSes=HS1S=Se1.
Proof of Proposition 5.1. Proposition 5.1 holds by combining the three lemmas above.
C Proof of Learning Time Results
C.1 Proof of Theorem 4.4
Proof of Theorem 4.4. We first consider the ODE of αS and βS, and the ODE of αR and βR can be analyzed similarly. The derivative of the margin qS satisfies
where the first inequality holds because ∣A−B∣≤max{A,B}, the second inequality holds due to the assumption α0,β0≤1, and the last inequality holds because S,R≥2. We also have
where the first equality holds because 4RS(S−1)CS2≲1 but qS+log(S−1)≥1, and the last equality holds due to Lemma E.3. Combining (C.2), (C.3), and (C.4), we have
The following lemma characterizes the learning times TS0.5 and TR0.5, as well as the corresponding manifold parameters:
Lemma C.2. Under the same assumptions as Theorem 4.8, the learning times of the spectral GF for the subject and relation component to reach 0.5 accuracy satisfy
where the third line holds because α0=(SR)1/4≲TR0.5≤TRδ, and the last line holds due to Lemma C.2. We thus have
TRδ≲(SR)1/4log(R−1)log(δ−1−1)(R−1).(C.5)
Step 2: The above upper bound is tight when TRδ<TS0.5. The above upper bound relies on using βR(TR0.5) to lower bound βR(TRδ). We now show that when TRδ<TS0.5, we have βR(TRδ)≃βR(TR0.5), so the above upper bound is tight. Note that when TR0.5≤t≤TS0.5, we have qS≤0≤qR, and
where the first inequality holds because qS≥1, and the second inequality holds because 1+(21+eqR)2≥4e2qR. We then derive a lower bound for qR when TR0.5≤t≤TS0.5:
where the second equality holds due to the definition of TR0.5, and inequality holds because βR(t)≥βR(TR0.5) for t≥TR0.5, and the last equality holds due to the definition of TR0.5 and αR(t)=t+α0. Plugging (C.7) into (C.6), we have
where the last equality holds due to Lemma C.2. Since βR(TR0.5)≃(S/R)1/4log(R−1) according to Lemma C.2, we have β(TRδ)≃βR(TR0.5), and the derivation of the upper bound is tight, i.e.,
TRδ≃(SR)1/4logR−1log(δ−1−1)(R−1).
Step 3: Lower bound of TRδ when TRδ≥TS0.5. Due to the definition of TRδ, we have
where the first equality holds due to Lemma C.2, and the last equality holds because max{A,B}≃A+B and S≥R.
Step 4: Upper bound of TRδ when TRδ≥TS0.5. In Step 3, we derived the lower bound of TRδ which has the same order as TSδ. If TSδ≥TRδ, then the bound is tight, so we focus on the case where TSδ<TRδ. We study the dynamics of m(t):=min{qS(t),qR(t)} for t≥τ:=max{TS0.5,TR0.5}. Due to the definition and the assumption TSδ<TRδ, we immediately have
m(τ)=0,m(TRδ)=qR(TRδ)=log(δ−1−1).(C.8)
We then calculate the derivative of m(t), and it suffices to consider the derivatives of qS and qR. Suppose that qS(t)≤qR(t) for a given t, then we have
where the second inequality holds because A2+B2≤A+B, and the second equality holds due to Lemma C.2.
Step 5: Combining all results together. We have so far derived matching upper and lower bounds of TRδ under two regimes TRδ<TS0.5 and TRδ≥TS0.5. However, these two regimes are given by conditions that are not directly related to S, R, and δ. We now discuss when these two approximations apply. We first notice that Steps 1-4 indicate that
where the first two inequalities hold because log(R−1)≤log(S−1)≲log(δ−1−1), and the last equality holds because log(S−1)≤log(δ−1−1). Therefore, the final result is
Proof of Lemma B.1. We assume without loss of generality that CS,CR=0. The case of CS=0 or CR=0 can be handled in a similar way. Let VS∈Rd×S and VR∈Rd×R be the matrices formed by horizontally stacking {v~s}s∈S and {v~r}r∈R, respectively. Let ΦS∈Rd×S and ΦR∈Rd×R be the matrices formed by horizontally stacking {ϕ(s)}s∈S and {ϕ(r)}r∈R, respectively. Then
We will show that (D.3) provides an SVD of CSVSΦS⊤+CRVRΦR⊤, and it suffices to show that the first and last terms are left and right singular vectors:
Note that the first row of HS is exactly 1S⊤/S, so the first row of HS−e11S⊤/S is zero. All other entries of the matrix are ±1/S. Thus, the element-wise sign is
Similar to the previous case, the first column of HS−1Se1⊤/S is zero, and all other entries are ±1/S. Considering the additional 1/R factor on 1/R, we have
Proof of Lemma C.1. We first show that SβS≥RβR. If S=R, then βS≡βR. We now assume that S>R. At initialization, we have Sβ0>Rβ0. Suppose there exists time when SβS≤RβR, then define
where the last equality holds due to the definition of qS and qR as well as αS(t)=αR(t)=t+α0. Since at t=t0, we have SβS(t0)−RβR(t0)=0, the derivative at t=t0 satisfies
This means that there exists ϵ>0 such that SβS(t0−ϵ)−RβR(t0−ϵ)<0, which contradicts against definition of t0. Therefore, SβS≥RβR at any time, and we have
2RβR(t)≤SβS(t)+RβR(t)≤2SβS(t).(D.5)
We now get back to the proof of the upper and lower bounds, and we notice that
[dtd(SβS)]2+[dtd(RβR)]2=1.
Note that for positive numbers A, B, we have A2+B2≤A+B≤2(A2+B2). Therefore,
where the first inequality holds because eqs≤1, and the second inequality holds because eqR≥0. We also trivially have dβS/dt≤1/S. Therefore, for any t≤TS0.5, we have
where the first inequality holds because u≤M/2. For the term J2, we have
J2≤∫M/2M(M/2)2eudu≤M24eM≲MeM.
where the first inequality holds because u≥M/2, and the second inequality holds because ∫M/2Meudu=eM−eM/2≤eM.
References
BERNSTEIN, J. and NEWHOUSE, L. (2024). Old optimizer, new norm: An anthology. arXiv preprint arXiv:2409.20325.
BIDERMAN, S., SCHOELKOPF, H., ANTHONY, Q. G., BRADLEY, H., O'BRIEN, K., HALLAHAN, E., KHAN, M. A., PUROHIT, S., PRASHANTH, U. S., RAFF, E., SKOWRON, A., SUTAWIKA, L. and VAN DER WAL, O. (2023). Pythia: A suite for analyzing large language models across training and scaling. In Proceedings of the 40th International Conference on Machine Learning, vol. 202 of Proceedings of Machine Learning Research. PMLR.
BIETTI, A., CABANNES, V., BOUCHACOURT, D., JEGOU, H. and BOTTOU, L. (2023). Birth of a transformer: A memory viewpoint. Advances in Neural Information Processing Systems 36 1560–1588.
CABANNES, V., DOHMATOB, E. and BIETTI, A. (2024a). Scaling laws for associative memories. In International Conference on Learning Representations, vol. 2024.
CABANNES, V., SIMSEK, B. and BIETTI, A. (2024b). Learning associative memories with gradient descent. arXiv preprint arXiv:2402.18724.
CATTANEO, M. D., KLUSOWSKI, J. M. and SHIGIDA, B. (2023). On the implicit bias of adam. arXiv preprint arXiv:2309.00079.
DRAGUTINOVIC, S., ZHANG, Y. and RANGANATH, R. (2026). To use or not to use Muon: How simplicity bias in optimizers matters. arXiv preprint arXiv:2603.00742.
ELHAGE, N., NANDA, N., OLSSON, C., HENIGHAN, T., JOSEPH, N., MANN, B., ASKELL, A., BAI, Y., CHEN, A., CONERLY, T. ET AL. (2021). A mathematical framework for transformer circuits. Transformer Circuits Thread 1 12.
FAN, C., SCHMIDT, M. and THRAMPOULIDIS, C. (2025). Implicit bias of spectral descent and muon on multiclass separable data. arXiv preprint arXiv:2502.04664.
GEVA, M., SCHUSTER, R., BERANT, J. and LEVY, O. (2021). Transformer feed-forward layers are key-value memories. In Proceedings of the 2021 conference on empirical methods in natural language processing.
GRONICH, E. and VARDI, G. (2026). The implicit bias of Adam and Muon on smooth homogeneous neural networks. In International Conference on Machine Learning.
GUO, C.-H. and HIGHAM, N. J. (2006). A schur-newton method for the matrix\boldmath p th root and its inverse. SIAM Journal on Matrix Analysis and Applications 28 788–804.
JI, Z. and TELGARSKY, M. (2018). Risk and parameter convergence of logistic regression. arXiv preprint arXiv:1803.07300.
JI, Z. and TELGARSKY, M. (2019). The implicit bias of gradient descent on nonseparable data. In Conference on learning theory. PMLR.
JORDAN, K., JIN, Y., BOZA, V., YOU, J., CESISTA, F., NEWHOUSE, L. and BERNSTEIN, J. (2024). Muon: An optimizer for hidden layers in neural networks.
KHONA, M., VAVRE, A., WANG, B., FU, D., WU, H., CHRZANOWSKI, M., CATANZARO, B., MUDIGERE, D., POOL, J., LIGHTSTONE, M. ET AL. (2026). Soap, muon, and beyond: Pushing llm pretraining scales. arXiv preprint arXiv:2607.20548.
KIM, J., NICHANI, E., WU, D., BIETTI, A. and LEE, J. D. (2026). Sharp capacity scaling of spectral optimizers in learning associative memory. arXiv preprint arXiv:2603.26554.
KOVALEV, D. (2025). Understanding gradient orthogonalization for deep learning via non-euclidean trust-region optimization. arXiv preprint arXiv:2503.12645.
LI, B., WANG, K., ZHONG, H., LU, P. and WANG, L. (2026). Muon in associative memory learning: Training dynamics and scaling laws. arXiv preprint arXiv:2602.05725.
LIU, J., SU, J., YAO, X., JIANG, Z., LAI, G., DU, Y., QIN, Y., XU, W., LU, E., YAN, J. ET AL. (2025). Muon is scalable for llm training. arXiv preprint arXiv:2502.16982.
LYU, K. and LI, J. (2019). Gradient descent maximizes the margin of homogeneous neural networks. arXiv preprint arXiv:1906.05890.
MA, C., WU, L. ET AL. (2022). A qualitative study of the dynamic behavior for adaptive gradient algorithms. In Mathematical and scientific machine learning. PMLR.
NICHANI, E., LEE, J. and BIETTI, A. (2025). Understanding factual recall in transformers via associative memories. In International Conference on Learning Representations, vol. 2025.
RHEE, M., SIMON, J. and KARKADA, D. (2026). Muon learns balanced solutions in matrix factorization without slow saddle-to-saddle dynamics. arXiv preprint arXiv:2606.30509.
RUAN, T., ZHANG, F., WANG, S. and ZHANG, S. (2026). Muon learns more robust and transferable features than adam. arXiv preprint arXiv:2606.09658.
SHEN, W., HUANG, R., HUANG, M., SHEN, C. and ZHANG, J. (2025). On the convergence analysis of muon. arXiv preprint arXiv:2505.23737.
SHULGIN, E., ALRASHED, S., RICHTÁRIK, P. and ORABONA, F. (2026). Beyond the ideal: Analyzing the inexact Muon update. In Proceedings of the 29th International Conference on Artificial Intelligence and Statistics, vol. 300 of Proceedings of Machine Learning Research.
SOUDRY, D., HOFFER, E., NACSON, M. S., GUNASEKAR, S. and SREBRO, N. (2018). The implicit bias of gradient descent on separable data. Journal of Machine Learning Research 19 1–57.
TEAM, K., BAI, Y., BAO, Y., CHARLES, Y., CHEN, C., CHEN, G., CHEN, H., CHEN, H., CHEN, J., CHEN, N. ET AL. (2025). Kimi k2: Open agentic intelligence. arXiv preprint arXiv:2507.20534.
TSILIVIS, N., GRONICH, E., KEMPE, J. and VARDI, G. (2024). Flavors of margin: Implicit bias of steepest descent in homogeneous neural networks. arXiv preprint arXiv:2410.22069.
VASUDEVA, B., DEORA, P., ZHAO, Y., SHARAN, V. and THRAMPOULIDIS, C. (2026). How muon's spectral design benefits generalization: A study on imbalanced data. In International Conference on Learning Representations, vol. 2026.
VON OSWALD, J., NIKLASSON, E., RANDAZZO, E., SACRAMENTO, J., MORDVINTSEV, A., ZH-MOGINOV, A. and VLADYMYROV, M. (2023). Transformers learn in-context by gradient descent. In International Conference on Machine Learning. PMLR.
WANG, S., ZHANG, F., LI, J., DU, C., DU, C., PANG, T., YANG, Z., HONG, M. and TAN, V. Y. (2025). Muon outperforms adam in tail-end associative memory learning. arXiv preprint arXiv:2509.26030.
XIE, S. and LI, Z. (2024). Implicit bias of adamw: ℓ∞ norm constrained optimization. arXiv preprint arXiv:2404.04454.
Xu, A., Lin, B., Xue, B., Wang, B., Xu, B., Wu, B., Zhang, B., Lin, C., Dong, C., Ling, C. ET AL. (2026). Deepseek-v4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348.
ZENG, A., LV, X., ZHENG, Q., HOU, Z., CHEN, B., XIE, C., WANG, C., YIN, D., ZENG, H., ZHANG, J. ET AL. (2025). Glm-4.5: Agentic, reasoning, and coding (arc) foundation models. arXiv preprint arXiv:2508.06471.
ZOU, D., CAO, Y., LI, Y. and GU, Q. (2021). Understanding the generalization of adam in learning neural networks with proper regularization. arXiv preprint arXiv:2108.11371.