Steepest descent under four norms
To first order a step Δ changes the loss by ⟨g, Δ⟩. The steepest-descent step of size η is the point of the norm ball of radius η that lies furthest along −g. Change the ball and the direction changes: the Euclidean ball gives −g, the ℓ∞ box gives −sign(g), the ℓ1 diamond gives a single coordinate, and an ellipse (a Mahalanobis or Fisher norm) gives −M−1g.
Drag the black arrow tip, or tap anywhere, to set the gradient g. Arrow keys nudge it when the plot has focus.
Try:
| norm | ‖g‖* | step Δ | ⟨g,Δ⟩ | ∠(Δ,−g) |
|---|
Trust region vs squared penalty. The trust-region step minimizes ⟨g,Δ⟩ subject to ‖Δ‖ ≤ η and always has length η in its own norm. The penalty step minimizes ⟨g,Δ⟩ + ‖Δ‖²/(2η); it points the same way but is η‖g‖* long, so it shrinks as the gradient does. In ℓ2 the penalty step is plain gradient descent, −ηg; in the Mahalanobis norm it is −ηM−1g (natural gradient when M is the Fisher matrix); in ℓ∞ it is −η‖g‖1sign(g).
Where Muon fits. Read the two coordinates as the diagonal entries of a 2×2 weight matrix diag(θ1, θ2). Its spectral norm is max(|θ1|, |θ2|), so the spectral-norm ball is the ℓ∞ box, and the exact spectral steepest direction UV⊤ = diag(sign g1, sign g2) is the sign-descent step. Where spectral steepest descent and sign descent differ (matrices with off-diagonal structure, §4.1.C), and where practical Muon differs from both (its approximate Newton–Schulz orthogonalization, §4.4), a 2D picture cannot show.
Things to notice. Rotate g slowly: the ℓ∞ direction jumps between corners when a gradient component changes sign, and near that point the whole edge of the box is almost as good, which is why sign descent is sensitive to small gradient components. The Mahalanobis direction is pulled toward the long axis of the ellipse, the direction in which the norm counts steps as cheap; set the aspect to 1 and it coincides with ℓ2.