\documentclass{svnotes}
\usepackage{booktabs}
\title{Adam, Muon and friends}
\date{2026-11-09}
\updated{2026-11-18}
\keywords{optimization}
\svmeta{description}{Introduction to adaptive methods}
\svmeta{status}{draft}
\svmeta{ailvl}{3}
\svmeta{pdf}{media:notes/adam-muon-unified/adam-muon-unified.pdf}
\svmeta{numbered}{true}
\svmeta{head}{}
\svmeta{head}{}
\svmeta{head}{}
\addbibresource{adam-muon-unified.bib}
\begin{document}
\maketitle
\tableofcontents
\begin{abstract}
In these lecture notes, I introduce adaptive methods from the simple perspective of the choice of a descent direction in a specified geometry.
This allows us to cover Adam(W), SignSGD and Muon.
\end{abstract}
In the previous lectures, we saw some foundations behind \lecture{following-the-steepest-direction}{gradient descent} (and accelerated version of it), proximal methods, and \lecture{adding-some-noise}{stochastic gradient descent} (and variance reductions methods).
In the deep learning ``era'', i.e., post-2015, most large networks have been trained with more complicated versions known as Adam(W), and recently with the advent of LLMs, new optimizers such as Shampoo, Scion, and Muon are taking an important place.
The goal of this notes is to take a principled way to present most of these optimizers from a single point-of-view.
Note that we are not going to cover convergence guarantees of these methods, but merely try to understand their behavior from a qualitative perspective.
\section{Local-model step}
\subsection{Gradient descent step as minimization problem}
Gradient descent can be thought as a multi-step linear approximation + a quadratic penalty.
More precisely, given a previous iterate $x_t$ and a learning-rate $\eta > 0$, we have
\begin{equation}\label{eq:min-quad-gd}
x_{t+1} = x_t- \eta \nabla f(x_t)
\quad \Longleftrightarrow \quad
x_{t+1}-x_t=\arg\min_d\Big\{\dotp{\nabla f(x_t)}d+\frac1{2\eta}\norm d_2^2\Big\}.
\end{equation}
You can think of the quantity in the argmin as the sum of two terms:
\begin{itemize}
\item The first term predicts (by linearization) how much the loss changes if we move by $d$.
\item The second term says: do not trust that prediction far away ($d$ becoming large).
\end{itemize}
All the optimizers that we are going to consider are going to be a variation of this interpretation.
We are going to essentially see three possible modifications:
\begin{itemize}
\item \emph{what we linearize}: for GD, we use the ``raw'' gradient $\nabla f(x_t)$. Other possibilities includes stochastic gradient, averaged past gradients, etc.
\item \emph{we we pay for a ``bad'' prediction}: Instead of the Euclidean norm $\norm d_2^2$ we could have a different norm or something involving a more complicated value.
\item \emph{how we solve the argmin problem}: solving exactly or approximately leads to different complexity requirements.
\end{itemize}
\subsection{Definition of a local model}
Let us be more concrete and express gradient descent, Forward-Backward and stochastic gradient descent this way.
\textbf{Gradient descent}: As stated above, the direction $d_t = -\eta \nabla f(x_t)$ minimizes the linear + quadratic term on the right-hand side of \eqref{eq:min-quad-gd}.
\textbf{Forward-backward}: Let $F = f + R$ with $R$ convex but potentially nonsmooth (say lower semicontinuous and proper).
Forward-backward is a linearization of the smooth part $f$ of $F$:
\[
d_t=\arg\min_d\Big\{\dotp{\nabla f(x_t)}d+R(x_t+d)+\frac1{2\eta}\norm d_2^2\Big\} .
\]
Solving exactly this gives us the proximal operator (of level $\eta$) applied to a gradient step $x_{t+1}=\operatorname{prox}_{\eta R}(x_t-\eta\nabla f(x_t))$.
Here instead of just looking of the displacement $\norm d_2^2$ we also have the nonsmooth part.
\textbf{Stochastic gradient descent}: The step is as \eqref{eq:min-quad-gd} with the difference that the gradient is replaced by the stochastic version.
\[
d_t=\arg\min_d\Big\{\dotp{h_t}d+\frac1{2\eta}\norm d_2^2\Big\}.
\]
where $h_t$ is a stochastic estimate of $\nabla f(x_t)$, i.e., $\mathbb{E}[h_t \mid x_t] = \nabla f(x_t)$.
To summarize this, we are going to define local-model step as follows.
\begin{definition}\label{def-local-model-step}
Given an input vector $g_t$, a learning rate $\eta_t>0$ and a convex cost of moving $\Psi_t$, the \textbf{local-model step} associated is
\begin{equation}\label{eq:template} d_t\in\arg\min_{d}\Big\{\dotp{g_t}{d}+\frac{\Psi_t(d)}{\eta_t}\Big\}.
\end{equation}
\end{definition}
To summarize the discussion above, we have:
\begin{itemize}
\item GD: $g_t=\nabla f(x_t)$, $\Psi_t=\tfrac12\norm\cdot_2^2$.
\item SGD: $g_t=h_t$ with the same $\Psi_t$.
\item FB: $g_t=\nabla f(x_t)$, $\Psi_t(d)=\tfrac12\norm d_2^2+\eta_t R(x_t+d)$.
\end{itemize}
Note that i) $\Psi_t$ may depends from the past, ii) it is not guaranteed that \eqref{eq:template} has a solution (take $\Psi_t = 0$).
\begin{figure}
\centering
\webfigure{pipeline}
\caption{Local-model step allows use to think of gradient-like methods as a four-step recipe. i) we sample the true gradient ($h_t$). ii) we eventually filter the history of these samples ($g_t$). iii) we solve a local model ($d_t$). iv) we update our iterate ($x_{t+1})$.}
\label{fig:pipeline}
\end{figure}
\subsection{Beyond Euclidean cost-of-moving}
Why would you use a different cost, despite instances like partial minimization as in the forward-backward interpretation?
Remark that the quadratic cost $\frac1{2\eta}\norm d_2^2$ is isotropic: moving in each direction of the ambient space has exactly the same cost.
This could be a bad assumptions if the loss is much steeper in a direction w.r.t the others.
Consider the following example
\begin{eg}[An ill-conditioned quadratic]\label{eg:ill}
Let $f(x)=\tfrac12(x_1^2+25x_2^2)$.
Gradient descent multiplies $x_1$ by $1-\eta$ and $x_2$ by $1-25\eta$ at each step.
It is stable only if $|1-25\eta|<1$, i.e., $\eta<2/25=0.08$.
With $\eta=0.075$, the steep coordinate $x_2$ flips sign at every step (factor $-0.875$), while the flat coordinate $x_1$ shrinks by only $7.5\%$ per step.
After 25 steps from $(-8,2)$ we are still at $x_1\approx-1.14$ (see \cref{fig:ill}).
\begin{figure}
\centering
\webfigure{ill}
\caption{Gradient descent on $f=\frac12(x_1^2+25x_2^2)$ zigzags across the valley. Charging more for moving in the steep direction, with $H=\diag(1,25)$, sends the iterates faster to the minimizer.}
\label{fig:ill}
\end{figure}
\end{eg}
The learning rate is limited by the steepest direction, and progress is limited by the flattest one.
The number of steps grows like the condition number.
A fix is to make moving in steep directions more expensive: replace $\tfrac12\norm d_2^2$ by a weighted cost.
Consider any symmetric positive definite matrix $H_t$ and consider the cost-of-moving $\Psi_t = \tfrac12 \dotp{H_t d}{d}$.
Then, the step defined in \eqref{eq:template} has a unique solution $d_t = - \eta_t H_t^{-1} g_t$ (check it!).
In \cref{eg:ill}, $H=\diag(1,25)$ makes the step $-\eta(x_1,x_2)$: both coordinates now shrink at the same rate, and $\eta=1$ would jump to the minimizer in one step.
This is Newton's method since $H$ is the Hessian!
In deep learning we cannot afford the Hessian\footnote{You are going to study Newton \& quasi-Newton methods in a further lecture for non-deep applications.}, and the next sections build $H_t$ from gradients (samples) instead.
Beyond the preconditioned version, two others choices are interesting for us:
\begin{itemize}
\item \emph{Constrained cost-of-moving}: Instead of a scalar penalty, we impose a constraint\footnote{Remember that $\iota$ indicates the convex indicator of a set, i.e., zero inside, $+ \infty$ outside.} $\Phi_t = \iota_{\eta_t B}$. Thus, \eqref{eq:template} becames minimization of a linear function overs a constraints. We will later that sign descent and Muon are of this type XXX.
\item \emph{Bregman cost}: We could use a Bregman divergence as a cost-of-moving, see Exercice XXX
\end{itemize}
\section{Momentum}\label{sec:momentum}
Several way are existing to introduce momentum.
Let us concentrate on the case when we deal with SGD.
With SGD, the linear term $\dotp{h_t}{d}$ is computed in practice on a unbiased minibatch $\mathbb{E}[h_t \mid x_t] = \nabla f(x_t)$.
However, the variance may much larger than the squared norm of the true gradient, hence the direction may be quite noisy.
A natural idea is thus to average recents gradients at the price of making the reaction slower when there is a true change of direction.
This is the idea of momentum.
\subsection{Exponential Moving Average (EMA)}
Arithmetic average puts too much importance to old samples.
A possible way to alleviate this is to \emph{exponential} averaging.
Let $\beta \in (0,1)$ and $m_0=0$, and define
\begin{equation}\label{eq:ema}
m_t:=\beta m_{t-1}+(1-\beta)h_t
=(1-\beta)\sum_{s=1}^t\beta^{t-s}h_s.
\end{equation}
The newest gradient has weight $1-\beta$, the one before $(1-\beta)\beta$, and so on.
The weights decay geometrically.
As a rule of thumbs, it means\footnote{To see that, observe that their average age is $\sum_{k\geq0}k(1-\beta)\beta^k=\beta/(1-\beta)$.} that $m_t$ remembers roughly the last $1/(1-\beta)$ gradients.
Momemtum SGD is using this construction $g_t = m_t$ with the same cost-of-moving than regular SGD, i.e., $\Psi_t =\tfrac12\norm\cdot_2^2$.
\begin{figure}
\centering
\webfigure{ema_noise}
\caption{Noisy gradients whose mean jumps from $1$ to $-1$ at $t=60$, with noise of standard deviation $1.5$, and their exponential moving average with $\beta=0.9$.}
\label{fig:ema_noise}
\end{figure}
\cref{fig:ema_noise} shows the trade-off we will are going to quantify: larger $\beta$ means less noise and more lag.
\subsection{Bias and momentum}
The following proposition shows that under stationarity: \emph{i)} momentum induced a bias, \emph{ii)} it is easy fixable by bias-correction, and will be the basis of (\cref{sec:adam}).
\begin{proposition}\label{prop:ema-stats}
Suppose the gradients have a fixed mean, $h_s=\mu+\varepsilon_s$, with independent centered noise $\varepsilon_s$ of covariance $\Sigma$.
Then for $t\geq1$
\[
\mathbb{E} m_t=(1-\beta^t)\mu,\qquad
\operatorname{Cov}(m_t)=\frac{1-\beta}{1+\beta}(1-\beta^{2t})\,\Sigma.
\]
The bias-corrected average $\widehat m_t=m_t/(1-\beta^t)$ has mean $\mu$ and covariance
\[
\operatorname{Cov}(\widehat m_t)=\frac{1-\beta}{1+\beta}\cdot\frac{1+\beta^t}{1-\beta^t}\,\Sigma.
\]
\end{proposition}
\begin{proof}
The mean follows directly from \eqref{eq:ema} and $\sum_{s=1}^t(1-\beta)\beta^{t-s}=1-\beta^t$.
By independence, $\operatorname{Cov}(m_t)=(1-\beta)^2\sum_{s=1}^t\beta^{2(t-s)}\Sigma=(1-\beta)^2\frac{1-\beta^{2t}}{1-\beta^2}\Sigma$, and $1-\beta^2=(1-\beta)(1+\beta)$.
For $\widehat m_t$, divide by $(1-\beta^t)^2$ and use $1-\beta^{2t}=(1-\beta^t)(1+\beta^t)$.
\end{proof}
\section{Adaptive methods: learning the cost of moving}
\subsection{Principle}\label{sec:scaling}
\cref{eg:ill} showed that a single learning rate is a bad idea when directions have very different curvature.
Neural networks make this worse, indeed, parameters in different layers can receive gradients whose might differ by orders of magnitude.
Computing the Hessian is out of the question for millions of parameters.
Adaptive methods choose a diagonal $H_t$, one scale $\text{scale}_t$ per coordinate\footnote{Note that this choice can be seen as arbitrary, and particular, may not be optimal from a theoretical perspective, see for instance the discussion on~\href{https://parameterfree.com/2026/11/18/the-wrong-explanation-of-preconditioning/}{Francesco Orabona blog}.}, and estimate that scale from the gradients we have already seen.
All methods in this section are of the form
\[
H_t=\diag(\text{scale}_t+\varepsilon\mathbf1),\qquad d_t=-\eta_tH_t^{-1}g_t ,
\]
where $\varepsilon>0$ is a small constant that avoids division by zero.
They differ in how they compute the scale and what they use as $g_t$.
\subsection{AdaGrad and RMSProp}
AdaGrad \cite{duchi2011} was designed for online learning with sparse features.
Its scale\footnote{Every operations here should be considered coordinatewise.} is the root of the sum of all past squared gradients:
\[
a_t=\sum_{s=1}^th_s^{\odot2},\qquad
d_t=-\eta_t\frac{h_t}{\sqrt{a_t}+\varepsilon}.
\]
A coordinate that has seen large gradients gets a small coefficient; a coordinate that is rarely active keeps a large one, so rare features still learn.
The main weakness is that $a_t$ only grows.
Indeed, with a fixed $\eta$ the coefficient $\eta/(\sqrt{a_{t,i}}+\varepsilon)$ of each coordinate $i$ can only decrease.
If a coordinate always sees $h_{s,i}=c\neq0$, then $\sqrt{a_{t,i}}=|c|\sqrt t$ and thus shrink like $1/\sqrt t$.
And we are back to classical decreasing stepsizes!
This behaviour is what gives AdaGrad its good regret bounds in convex online learning, but in deep learning the gradient scale changes over training and old gradients become irrelevant.
RMSProp \cite{hinton2012} replaces the sum by an exponential average, i.e., momentum but on squared gradients:
\[
v_t=\beta_2v_{t-1}+(1-\beta_2)h_t^{\odot2},\qquad
d_t=-\eta_t\frac{h_t}{\sqrt{v_t}+\varepsilon}.
\]
Now the scale follows the recent gradient size: for a constant value $c$, $v_{t,i}=(1-\beta_2^t)c^2\to c^2$ instead of growing like $tc^2$.
If a coordinate's gradients become small, $v_{t,i}$ decreases and its coefficient grows again.
\subsection{Adam}\label{sec:adam}
Adam \cite{kingma2015} combines the two ideas we have: average the gradients (momentum, \cref{sec:momentum}) and divide by an average of their squares (RMSProp).
Both averages start at zero, so both are bias-corrected (\cref{prop:ema-stats}):
\begin{align*}
m_t&=\beta_1m_{t-1}+(1-\beta_1)h_t, &
v_t&=\beta_2v_{t-1}+(1-\beta_2)h_t^{\odot2},\\
\widehat m_t&=\frac{m_t}{1-\beta_1^t}, &
\widehat v_t&=\frac{v_t}{1-\beta_2^t},\\
d_t&=-\eta_t\frac{\widehat m_t}{\sqrt{\widehat v_t}+\varepsilon}.
\end{align*}
Note that $v_t$ is an average of squared gradients, i.e., a second order moment (and \emph{not} a variance).
Typical values are $\beta_1=0.9$, $\beta_2=0.999$, $\varepsilon=10^{-8}$.
\Cref{tab:comp-met} compares SGD, AdaGrad, RMSProp and Adam viewed as perturbation of a quadratic cost.
\begin{table}
\begin{center}
\begin{tabular}{@{}lll@{}}
Method & input $g_t$ & cost $H_t$\\
SGD & $h_t$ & $I$\\
AdaGrad & $h_t$ & $\diag(\sqrt{a_t}+\varepsilon\mathbf1)$\\
RMSProp & $h_t$ & $\diag(\sqrt{v_t}+\varepsilon\mathbf1)$\\
Adam & $\widehat m_t$ & $\diag(\sqrt{\widehat v_t}+\varepsilon\mathbf1)$\\
\end{tabular}
\end{center}
\caption{From SGD to Adam. AdaGrad $\to$ RMSProp changes the cost. RMSProp $\to$ Adam changes the input and adds bias correction to the cost. Note that Adam with $\beta_1=0$ is \emph{not} RMSProp: its denominator still contains the factor $1/(1-\beta_2^t)$.}
\label{tab:comp-met}
\end{table}
\begin{eg}[Qualitative differences between AdaGrad, RMSProp, and Adam]\label{eg:slope}
Let $f(x)=\sqrt{1+x^2}-1$, whose gradient $h=x/\sqrt{1+x^2}$ is close to $1$ for $x\gg1$ and to $x$ near $0$, and start from $x_0=10$ with exact gradients, $\eta=0.5$ and $\beta_2=0.99$ (\cref{fig:adaptive}).
\begin{itemize}
\item AdaGrad: far from the minimizer $|x_t| \gg 1$, we have $h_t\approx1$, so $a_t\approx t$ and the step is about $\eta/\sqrt t$. After $t$ steps it has travelled about $2\eta\sqrt t$ instead of $\eta t$: it needs about $100$ steps to reach the bottom.
\item RMSProp: $v_1=(1-\beta_2)h_1^2$, so the first step has length $\eta/\sqrt{1-\beta_2}=10\eta=5$. The early steps are far too large and the iterate overshoots the minimizer. Near $0$, the iterates fall into a cycle $x_t=\pm\eta/2$ (modulo $\varepsilon$): there $|h_t|$ is constant, so $v_t\to h_t^2$ and every step has length $\approx \eta$.
\item Adam: bias correction makes the first steps of length $\eta$, as on the slope, and $\widehat v_t$ remembers the larger gradients of the slope, so the steps shrink once $h_t$ does. Momentum makes it overshoot once, then the alternating signs cancel in $m_t$ and the iterates settle at $0$.
\end{itemize}
\begin{figure}
\centering
\webfigure{adaptive}
\caption{AdaGrad, RMSProp (without bias correction) and Adam on $f(x)=\sqrt{1+x^2}-1$ from $x_0=10$, with $\eta=0.5$, $\beta_1=0.9$ and $\beta_2=0.99$. AdaGrad slows down on the slope, RMSProp overshoots and then bounces between $\pm\eta/2$, Adam walks down at speed $\eta$ and settles.}
\label{fig:adaptive}
\end{figure}
\end{eg}
An interesting property of Adam is that it is (almost) scale invariant.
When $\varepsilon = 0$, multiplying $f$ by a constant leaves invariant the trajectory.
Note that: \emph{i)} it is false for $\varepsilon > 0$, and \emph{ii)} it is only ``contrast'' invariant (scalar multiplication) and not true for a general linear operator.
\subsection{Alternative interpretation of Adam and SignSGD}
\textbf{Heuristic for stationary case.}
Consider one coordinate and imagine that, over the averaging window, the gradient has roughly constant mean $\mu$ and variance $\sigma^2$. If the moving averages are representative of these moments, then, neglecting $\varepsilon$,
\[
\widehat m_t\approx\mu,\qquad
\widehat v_t\approx\mu^2+\sigma^2,\qquad
d_t\approx-\eta_t\frac{\mu}{\sqrt{\mu^2+\sigma^2}}.
\]
This suggests two regimes. When the mean dominates the fluctuations, $|\mu| \gg \sigma$, the normalization nearly cancels the magnitude: the step is approximately $-\eta_t\operatorname{sgn}(\mu)$.
When fluctuations dominate, $|\mu|\ll\sigma$, the signed gradients largely cancel in the numerator while their squares accumulate in the denominator, giving a much smaller step.
\textbf{Limit case: signSGD.}
This is a heuristic picture, to be more precise, set $\beta_1=\beta_2=0$.
Then, coordinatewise,
\[
\widehat m_t=h_t,\qquad
\widehat v_t=h_t^{\odot 2},\qquad
d_{t,i}=-\eta_t\frac{h_{t,i}}{|h_{t,i}|+\varepsilon}.
\]
As $\varepsilon$ tends to zero, this becomes
\[
d_t=-\eta_t\operatorname{sgn}(h_t),
\]
with $\operatorname{sgn}(0)=0$.
This is signSGD: every nonzero coordinate moves by the same amount, regardless of the gradient's magnitude.
signSGD is thus a degenerate, memoryless version of Adam.
It isolates the effect of coordinatewise normalization.
\textbf{Interpretation as local-step model.}
This simplified update has a direct interpretation in our local-model framework.
Suppose we allow every coordinate to move by at most $\eta_t$. Minimizing the linear model gives
\[
-\eta_t\operatorname{sgn}(g_t)
\in
\arg\min_{|d|\infty\leq\eta_t}\langle g_t,d\rangle.
\]
Indeed, each term $g_{t,i}d_i$ is minimized by moving to the endpoint opposite to the sign of $g_{t,i}$.
When $g_{t,i}=0$, any displacement in the allowed interval is optimal.
Taking $g_t=h_t$ gives SignSGD.
Taking $g_t=m_t$ gives its momentum variant, Signum.
\subsection{Weight decay}\label{sec:adamw}
Weight decay is an important tool for training models.
With SGD, adding $\tfrac\lambda2\norm x^2$ to the loss and shrinking the weights by a factor $1-\eta\lambda$ at each step are the same thing (check it!).
With an adaptive method they are not like Adam, and this matters in practice.
Adding the $L_2$ term to the loss gives the current gradient to be $g_t+\lambda x_t$, thus the iterates reads:
\[
x_{t+1}=x_t-\eta_tH_t^{-1}(g_t+\lambda x_t).
\]
So coordinates with a large $H_t$ entry (large past gradients) are barely regularized.
AdamW \cite{loshchilov2019} applies the decay outside the preconditioner,
\[
x_{t+1}=(1-\eta_t\lambda)x_t-\eta_tH_t^{-1}\widehat m_t,
\]
and its moment buffers see only loss gradients.
So this is not equivalent anymore to just adding $\tfrac\lambda2\norm x^2$ to the loss.
\section{Steepest descent in a norm}
During our encounter with adaptive methods, we saw two kinds of local-step:
\begin{itemize}
\item Gradient descent-like penalizes $\tfrac12\norm d_2^2$ and moves along $-g$.
\item Sign descent constrains $\norm d_\infty\leq\eta$ and moves along $-\operatorname{sgn}(g)$.
\end{itemize}
We can observe that they differ at least in two way: the norm that is used $\ell_\infty$ vs $\ell_2$, and the fact one is a constraint wheras the other not.
This section is dedicated to provide some general theory around these choices, before going to matrix spaces.
\subsection{Reminders on dual norms and support directions}
Let $N$ be any norm.
Moving by a step $u$ with $N(u)\leq1$ changes the linear model by $\langle g, u \rangle$.
The largest possible change is the \emph{dual norm} of $g$, and the steps that achieve it are the \emph{support directions}:
\[
N_*(g)=\max_{N(u)\leq1}\ip gu,\qquad
\mathcal U(g)=\arg\max_{N(u)\leq1}\ip gu.
\]
The maximum exists because the unit ball in finite dimension is compact.
Directly from the definition, $|\ip gd|\leq N_*(g)N(d)$ for all $g,d$ (Hölder's inequality for general norms).
Note that for $g\neq0$, each support direction has $N(u)=1$.
Some examples:
\begin{itemize}
\item $N=\ell_2$: $N_*=\ell_2$ and $\mathcal U(g)=\{g/\norm g_2\}$.
\item $N=\ell_\infty$: $N_*=\ell_1$ and $\operatorname{sgn}(g)\in\mathcal U(g)$ (any value is allowed where $g_i=0$).
\item $N=\ell_1$: $N_*=\ell_\infty$ and $\operatorname{sgn}(g_j)e_j\in\mathcal U(g)$ for any $j$ with $|g_j|=\norm g_\infty$.
\end{itemize}
\subsection{Local-model step: length and direction}
One can thinks of steepest-descent step in a given norm as a a direction times a length.
The norm $N$ will control the direction (a support direction). The form of the cost chooses the length ($\eta$ for a hard budget, $\eta N_*(g)$ for a squared penalty).
More precisely:
\begin{proposition}\label{prop:norm-steps}
Let $g\neq0$ and $\eta>0$.
\begin{enumerate}
\item \emph{Hard budget.} $\displaystyle\arg\min_{N(d)\leq\eta}\ip gd=-\eta\,\mathcal U(g)$, with minimum value $-\eta N_*(g)$.
\item \emph{Squared penalty.} $\displaystyle\arg\min_d\Big\{\ip gd+\frac{N(d)^2}{2\eta}\Big\}=-\eta N_*(g)\,\mathcal U(g)$, with minimum value $-\tfrac\eta2N_*(g)^2$.
\end{enumerate}
At $g=0$, every point of the ball solves (1.) and $d=0$ is the unique solution of (2.).
\end{proposition}
\begin{proof}
(1.) Substitute $d=-\eta u$.
(2.) Fix a length $r\geq0$.
By (i) with radius $r$, the smallest value of $\ip gd$ with $N(d)\leq r$ is $-rN_*(g)$, reached exactly on $-r\,\mathcal U(g)$, whose points have $N(d)=r$.
So among steps of length $r$, the objective is at least $\phi(r)=-rN_*(g)+r^2/(2\eta)$, with equality exactly on $-r\,\mathcal U(g)$.
The scalar function $\phi$ has its unique minimum at $r^\star=\eta N_*(g)$, with value $-\tfrac\eta2N_*(g)^2$. So every minimizer has length $r^\star$ and lies in $-r^\star\,\mathcal U(g)$.
\end{proof}
For the Euclidean norm the two forms give $-\eta g/\norm g_2$ (normalized gradient descent) and $-\eta g$ (plain gradient descent).
For $\ell_\infty$ they give $-\eta\operatorname{sgn}(g)$ and $-\eta\norm g_1\operatorname{sgn}(g)$.
\begin{figure}
\centering
\webfigure{norms_ball}
\caption{Steepest descent with the same gradient $g=(3,1)$ and three unit balls. Slide the dashed level line of $\ip gd$ downhill until it last touches the ball; the touching point is the step. Euclidean: along $-g$. Box: every coordinate moves fully. Diamond: only the largest coordinate moves.}
\label{fig:norms_ball}
\end{figure}
\subsection{Steepest descent for matrices}\label{sec:matrix}
Most parameters of a neural network are in fact weight matrices $W\in\R^{m\times n}$.
Adam (and sign descent) treat $W$ as a vector of $mn$ numbers: each entry gets its own scale, and the geometry ignores that $W$ represents a linear map.
If we want to take into account this geometry, we need to use an appropriate norm\footnote{\textcite{bernstein2024old,bernstein2024modular} develop this ``choose the norm from the layer's role'' view in detail}.
If we consider an input $a$, the output changes by $Da$ can be controlled by
\[
\norm{Da}_2\leq\norm D_\text{op}\norm a_2,\qquad \norm D_\text{op}=\sigma_1(D)=\max_{\norm a_2=1}\norm{Da}_2.
\]
So the \emph\text{operator norm} (largest singular value) measures the worst-case effect of $D$ on the layer's output. This suggests steepest descent with a hard budget on $\norm D_\text{op}$:
\begin{equation}\label{eq:spectral-step}
\min_D\ \ip GD\quad\text{subject to}\quad\norm D_\text{op}\leq\eta,
\end{equation}
where $G$ is the gradient with respect to $W$.
We now discuss how to solve \eqref{eq:spectral-step}.
A key component of the analysis is the so-called polar factor of a matrix.
\begin{definition}[Polar factor]
For $G=U_r\Sigma_rV_r^\top$ the singular value decomposition of a matrix $G$, the \emph{polar factor} of $G$ is defined as $\operatorname{Pol}(G)=U_rV_r^\top$, with the convention $\operatorname{Pol}(0)=0$.
\end{definition}
Polar decomposition keeps the singular directions of $G$ and replace every positive singular value by $1$.
Geometrically, $G$ maps the unit sphere to an ellipsoid with semi-axes $\sigma_i$.
$\operatorname{Pol}(G)$ maps it to a sphere, with the same axes (\cref{fig:polar_geometry}).
If $G$ is square and invertible, $\operatorname{Pol}(G)$ is the orthogonal matrix closest to $G$ in Frobenius norm (that is why computing it is often called ``orthogonalizing'' $G$).
Remark that $\ip G{\operatorname{Pol}(G)}=\operatorname{tr}(V_r\Sigma_rU_r^\top U_rV_r^\top)=\sum_i\sigma_i=\norm G_\text{nuc}$.
\begin{figure}
\centering
\webfigure{polar_geometry}
\caption{The polar factor preserves singular directions and replaces positive singular values by one. Initially, $G=R_{30^\circ}\diag(2,0.6)$ maps the unit circle to an ellipse, while $\operatorname{Pol}(G)=R_{30^\circ}$ maps it to the unit circle. If a singular value is zero, it stays zero, then the image is then a line segment.}
\label{fig:polar_geometry}
\end{figure}
We are now equipped to solve~\eqref{eq:spectral-step}.
\begin{theorem}\label{thm:spectral}
Let $G=U_r\Sigma_rV_r^\top$ and $\eta>0$.
The minimum of \eqref{eq:spectral-step} is $-\eta\norm G_\text{nuc}$, and it is attained at $D=-\eta\operatorname{Pol}(G)$.
More precisely, $D$ is a minimizer if, and only if
\[
D=-\eta\operatorname{Pol}(G)+(I-U_rU_r^\top)\,C\,(I-V_rV_r^\top)
\]
for some $C$ with $\norm{(I-U_rU_r^\top)C(I-V_rV_r^\top)}_\text{op}\leq\eta$. In particular the minimizer is unique when $G$ has full rank.
\end{theorem}
\emph{Idea of the proof.}
Write $G$ as a sum of rank-one pieces $\sigma_iu_iv_i^\top$.
The inner product $\ip GD$ becomes $\sum_i\sigma_i\,u_i^\top Dv_i$.
Each number $u_i^\top Dv_i$ can be at most $\norm D_\text{op}$ in absolute value, so the best we can do is make every one of them equal to $-\eta$, and $D=-\eta\sum_iu_iv_i^\top$ does exactly that.
\begin{proof}[Proof of \cref{thm:spectral}]
With $G=\sum_{i=1}^r\sigma_iu_iv_i^\top$, $\ip GD=\sum_i\sigma_iu_i^\top Dv_i\geq-\eta\sum_i\sigma_i$ whenever $\norm D_\text{op}\leq\eta$, since $|u_i^\top Dv_i|\leq\norm D_\text{op}$.
The bound is attained by $D=-\eta U_rV_r^\top$.
To prove that every minimizer has the stated form, fix a minimizer $D$.
Then, $u_i^\top Dv_i=-\eta$ for each $i$. Since $\norm{Dv_i}_2\leq\eta$, equality in Cauchy--Schwarz forces $Dv_i=-\eta u_i$; likewise $D^\top u_i=-\eta v_i$.
So $DV_r=-\eta U_r$ and $U_r^\top D=-\eta V_r^\top$. With $P_U=U_rU_r^\top$ and $P_V=V_rV_r^\top$, split
\[
D=P_UDP_V+P_UD(I-P_V)+(I-P_U)DP_V+(I-P_U)D(I-P_V).
\]
The first term is $U_r(U_r^\top DV_r)V_r^\top=-\eta U_rV_r^\top$.
The second is $-\eta U_rV_r^\top(I-P_V)=0$, and the third is $-\eta(I-P_U)U_rV_r^\top=0$.
Define the residual $C:=D+\eta\operatorname{Pol}(G)\in\R^{m\times n}$.
The decomposition above gives $C=(I-P_U)D(I-P_V)$, hence $(I-P_U)C(I-P_V)=C$.
Since orthogonal projections have operator norm at most one, $\norm C_\text{op}\leq\norm D_\text{op}\leq\eta$.
Thus this choice of $C$ gives the claimed representation and satisfies its norm bound.
Conversely, let $C\in\R^{m\times n}$ satisfy $\norm{(I-P_U)C(I-P_V)}_\text{op}\leq\eta$, and define $D=-\eta\operatorname{Pol}(G)+(I-P_U)C(I-P_V)$.
Then $\ip GD=-\eta\norm G_\text{nuc}$, and since the two pieces of $D$ act between orthogonal pairs of subspaces, $\norm D_\text{op}$ is the larger of their norms, at most $\eta$.
Therefore $D$ is a minimizer.
If $G$ has full rank, $I-P_U$ or $I-P_V$ is zero and the free part vanishes.
\end{proof}
The polar step keeps singular directions and replaces positive singular values by one.
It therefore gives weak and strong singular directions the same step size, while leaving the kernel unchanged.
For example,
\[
G=\operatorname{diag}(4,1,0)
\quad\Longrightarrow\quad
-\eta\operatorname{Pol}(G)
=-\eta\operatorname{diag}(1,1,0).
\]
Remark that applying \cref{prop:norm-steps}, the squared-penalty version has the step $-\eta\norm G_\text{nuc}\operatorname{Pol}(G)$.
Indeed, $\max_{\norm D_\text{op}\leq1}\ip GD=\norm G_\text{nuc}$ because the nuclear norm is the dual of the operator norm, and $\operatorname{Pol}(G)$ is a support direction.
The following tabular summarizes the link between sign and polar decomposition.
\begin{center}
\begin{tabular}{@{}llll@{}}
& budget & steepest-descent step & interpretation\\\midrule
vectors & $\norm d_\infty\leq\eta$ & $-\eta\operatorname{sgn}(g)$& every nonzero coordinate moves by $\eta$\\
matrices & $\norm D_\text{op}\leq\eta$ & $-\eta\operatorname{Pol}(G)$& every nonzero singular direction moves by $\eta$
\end{tabular}
\end{center}
\section{Muon}
We now have most of the ingredients to discuss Muon.
Muon \parencite{jordan2024} is the local-model step with
\begin{itemize}
\item \emph{input}: a momentum average of the matrix gradient (\cref{sec:momentum}), to reduce variance.
\item \emph{cost}: a hard constraint on the operator norm (\cref{sec:matrix}), so the step is a polar factor.
\item \emph{solver}: a few iterations of a matrix polynomial instead of a SVD (we are going to discuss it later \cref{sec:ns}).
\end{itemize}
Jordan \parencite{jordan2024} reports training speed records: from 3.3 to 2.6 A100-seconds for 94\% accuracy on CIFAR-10, and a $1.35\times$ speedup for reaching a validation loss of 3.28 on FineWeb in the NanoGPT speedrun.
Liu et al.\ \parencite{liu2025} report roughly $2\times$ compute efficiency over AdamW in compute-optimal training.
\subsection{Muon iterations}
With the exact polar map, no decay and $s_t>0$ a scaling factor (\cref{sec:scaling}), each local step solves
\[
\min_D \ip{B_t}D\quad\text{subject to}\quad\norm D_\text{op}\leq \eta_t s_t
\]
by \cref{thm:spectral}.
For a weight matrix $W_t\in\R^{m\times n}$ at time $t$ with raw gradient $G_t$:
\begin{align*}
M_t&=\beta M_{t-1}+(1-\beta)G_t, & M_0&=0,\\
B_t&=M_t\quad\text{or}\quad B_t=(1-\beta)G_t+\beta M_t &&\text{ (``Nesterov'' option)},\\
W_{t+1}&=(1-\eta_t\lambda)W_t-\eta_ts_t\,\widetilde Q(B_t),
\end{align*}
where $\widetilde Q$ approximates the polar operator $\operatorname{Pol}$, and $\lambda\geq0$ is decoupled weight decay as in AdamW (\cref{sec:adamw}).
The second choice of $B_t$ puts more weight on the current gradient, which reduces the lag of the average\footnote{There is no theory at the moment providing an acceleration theorem like classical Nesterov method.}.
Muon is meant for the weight matrices of hidden layers (feedforward networks and attention).
In the reference implementation \cite{jordanrepo}, biases and normalization gains use AdamW, and so do the embedding and output layers, for which the operator-norm geometry does not make sense.
The factor $s_t$ adjusts the update to the matrix shape.
To control the change in the layer's output, measure inputs and outputs by their RMS size.
For $D\in\R^{m\times n}$,
\[
\sup_{a\neq0}\frac{\norm{Da}_2/\sqrt m}{\norm a_2/\sqrt n}
=\sqrt{\frac nm}\,\norm D_{\mathrm{op}}.
\]
A budget of $\eta$ on this ratio gives $D=-\eta\sqrt{m/n}\,\operatorname{Pol}(B)$.
The reference implementation \parencite{jordanrepo} uses $s_t=s=\sqrt{\max(1,m/n)}$, i.e., the same factor when $m\geq n$, and $1$ otherwise.
% Note that another possible goal is to control the RMS size of the update's entries.
% A rank-$r$ polar factor has squared Frobenius norm $r$, so the entrywise RMS of $s\operatorname{Pol}(B)$ is $s\sqrt{r/(mn)}$.
% For full-rank $B$, choosing $s=0.2\sqrt{\max(m,n)}$ makes this RMS equal to $0.2$, independently of the matrix shape.
% \textcite{liu2025} use this scaling to approximately match AdamW's update size and reuse its learning-rate and weight-decay settings.
\subsection{Computing the polar factor without an SVD}\label{sec:ns}
The elephant in the room is that computing a SVD is costly!
Can we compute $\operatorname{Pol}(B)$, or something close to it, with matrix products only?
The key idea is to remember that we can act on matrices with polynomials, with \emph{explicit} link to the eigenvalues/singular values.
In particular, the following lemma shows this for odd polynomials of degree $\leq 5$.
\begin{lemma}\label{lem:poly}
Let $\varphi(s)=as+bs^3+cs^5$ and $X=U_r\diag(s_i)V_r^\top$. Then
\[
U_r\diag(\varphi(s_i))V_r^\top = aX+b(XX^\top)X+c(XX^\top)^2X.
\]
\end{lemma}
\begin{proof}
$XX^\top=U_r\diag(s_i^2)U_r^\top$, hence $(XX^\top)^jX=U_r\diag(s_i^{2j+1})V_r^\top$.
\end{proof}
So applying the polynomial keeps the singular vectors and applies $\varphi$ to each singular value separately.
To approximate $\operatorname{Pol}(B)=U_rV_r^\top$, we need a scalar iteration $s\mapsto\varphi(s)$ that sends every positive starting value to $1$ and keeps $0$ at $0$.
The matrix problem has become a one-dimensional problem!
We want to map $s$ to $1=s\,(s^2)^{-1/2}$. Write $s^2=1-u$, where $u$ is the error towards our objective to be 1.
For small $u$, $(1-u)^{-1/2}\approx1+u/2$, so a natural update is
\[
s\ \mapsto\ s\Big(1+\frac{1-s^2}2\Big)=\tfrac12s(3-s^2)=:p(s).
\]
In matrix form, this is the classical \href{https://en.wikipedia.org/wiki/Matrix_sign_function#Newton–Schulz_iteration}{Newton--Schulz iteration} \parencite{higham2008}
\[
X_{j+1}=\tfrac12X_j(3I-X_j^\top X_j)=\tfrac32X_j-\tfrac12(X_jX_j^\top)X_j.
\]
\begin{theorem}[Convergence of the cubic iteration]\label{thm:cubic}
For every nonzero real matrix $B$, the iterates started at $X_0=B/\norm B_F$ converge to $\operatorname{Pol}(B)$.
For each positive singular value, the error $u_j=1-s_j^2$ satisfies
\[
u_{j+1}=\tfrac14u_j^2(3+u_j),
\]
and zero singular values stay zero.
\end{theorem}
\begin{proof}
By \cref{lem:poly} it suffices to study $s_{j+1}=p(s_j)$ with $s_0\in(0,1]$. With $s^2=1-e$,
\[
p(s)^2=\tfrac14(1-e)(2+e)^2=\tfrac14(4-3e^2-e^3),\qquad\text{so}\qquad 1-p(s)^2=\tfrac14e^2(3+e).
\]
For $e\in[0,1)$ we get $0\leq e_{j+1}\leq e_j\cdot\tfrac{e_j(3+e_j)}40$.
So $(e_j)$ decreases to a limit $e^\star\in[0,1)$ with $e^\star=\tfrac14e^{\star2}(3+e^\star)$, whose only solution in $[0,1)$ is $0$.
Hence $s_j\to1$.
Since $p(0)=0$, zero singular values stay at zero.
\end{proof}
The error recursion tells us how the iteration behaves.
Near the target, $u_{j+1}\approx\tfrac34u_j^2$, i.e., the number of correct digits roughly doubles at each step.
Far from the target, for a tiny singular value $s$, $p(s)\approx1.5s$ so it grows only by $50\%$ per step.
So small directions may be badly estimated (\cref{fig:ns_iterates}).
\parencite{jordan2024}'s nice idea is to give up exact convergence.
Instead, choose a quintic $q(s)=as+bs^3+cs^5$ with the largest possible slope $a=q'(0)$, so that small singular values grow fast, under the constraint that after a few steps all values land roughly in $[0.7,1.3]$ instead of exactly at $1$.
The coefficients used in practice are
\[
q(s)=3.4445\,s-4.7750\,s^3+2.0315\,s^5.
\]
\cref{fig:ns_iterates} show the difference of behavior between the "exact" choice and Jordan's coefficients.
\begin{figure}
\centering
\webfigure{ns_iterates}
\caption{Both scalar iterations from $s_0=0.01$. The cubic first comes within $1\%$ of $1$ after fourteen steps; the quintic enters $[0.7,1.3]$ after four steps, then oscillates near $1$, sometimes leaving this interval.}
\label{fig:ns_iterates}
\label{fig:n_iterates}
\end{figure}
\printbibliography
\end{document}