arXiv:2610.17588cs.LGOct 2026

Manuscript Offprint

arXiv:2610.17588

Taming Softmax at the Limits of Muon: A Unified Approach through Hilbert Geometry

Aditya Somasundaram, Charles Guille-Escuret, Alexander Moreno, Zhengzhong Liu, Eric Xing

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Muon controls weight updates through the RMS movement of a linear layer's output. This implicitly treats the linear output as a proxy for the full module, including the nonlinearity that follows. This proxy can be misleading for softmax, where the RMS shift in activations does not faithfully measure the change in the output distribution. We propose Hilbert distance as a natural metric for bounding changes in these output distributions. Hilbert distance bounds changes in cross-entropy loss and limits probability redistribution. For softmax, it takes the form of the variation seminorm of the preactivation perturbation, allowing probability constraints to be expressed as parameter constraints. Formulating the steepest descent problem with a Hilbert distance constraint brings two recently proposed methods under a unified mathematical framework. For the LM head, solving a row-wise approximation to the resulting diameter-constrained problem leads us to RowNorm (Pethick et al., 2025). For scaled dot-product attention, the same principle yields the first-order query-key steepest descent problem underlying Compositional Muon (Keigwin et al., 2026). These connections motivate using Hilbert distance as a guiding principle for optimizer design in softmax modules.

1 INTRODUCTION

An important consideration for stable training is the extent to which a single update changes the network's intermediate representations. Each intermediate representation is both the output of one layer and the input to the next. This dependence is especially important in deep sequential models, where changing one representation alters the inputs processed by every layer that follows. Without proper control, these representation shifts can accumulate across layers and destabilize training. Muon formalizes this idea for linear layers by controlling the worst-case RMS movement of the layer's output over inputs of bounded size (Jordan et al., 2024; Bernstein, 2025a). This requirement leads to a suitably scaled spectral norm constraint on the weight update.

This spectral constraint is not arbitrary: it follows from choosing RMS to measure the functional change produced by the update. More broadly, it illustrates how the geometry of an optimizer depends on the notion of change assigned to a module. The Modula project and Scion generalize this perspective by advocating update geometries that reflect the function of each module (Bernstein, 2025b; Pethick et al., 2025).

Muon's standard update geometry, however, is derived for the linear map and does not explicitly adapt to architectural operations such as normalization and nonlinear activations. As a result, Muon does not yet provide a single optimization rule for every parameter group in the model. In standard Muon training recipes, the LM head, embeddings, and scalar or vector parameters are typically optimized with AdamW (Jordan et al., 2024). Large-scale Muon training can also require additional stabilization. For example, Kimi K2 introduced MuonClip to address excessive attention-score growth by rescaling query and key weights after an update (Team et al., 2026).

We focus on how optimizer design changes when a linear map is followed by softmax. The linear layer's output is an intermediate state, and its RMS displacement does not faithfully measure the change in the probability distribution produced by softmax. We instead directly constrain the change in the output probability distribution. We propose using Hilbert's projective metric, or Hilbert distance, for this purpose.

Our contributions are threefold:

• We formulate the steepest descent problem using Hilbert distance to constrain changes in softmax output distributions. This single formulation brings two seemingly independent optimization methods under a unified mathematical framework.

• For the LM head, we show that this probability constraint becomes a row diameter constraint. Its exact dual scales quadratically with vocabulary size. A tighter common-ball constraint instead leads to RowNorm in closed form (Pethick et al., 2025).

• For standard attention, we show that this probability constraint produces a spectral constraint on the first-order change in the QK product, recovering the steepest descent problem posed in Compositional Muon (Keigwin et al., 2026).

Beyond unifying these recent methods, we provide a guiding principle for optimizer design for any neural network module that outputs a probability distribution.

We first expose the mismatch between RMS and softmax (Section 2). Next, we introduce Hilbert geometry and establish its suitability for measuring changes in softmax output distributions (Section 3). We subsequently formulate the corresponding steepest descent problems for the LM head and attention. For the LM head, a tighter approximation leads to RowNorm in closed form. For attention, our formulation recovers the QK steepest descent problem studied by Compositional Muon (Sections 4 and 5).

References (50)