Papers
Topics
Authors
Recent
Search
2000 character limit reached

DeMuon: Decentralized Matrix Optimization

Updated 14 July 2026
  • DeMuon is a decentralized matrix optimization algorithm that extends the Muon optimizer to peer-to-peer networks while preserving matrix structure.
  • It employs gradient tracking, the matrix sign map, and Newton–Schulz orthogonalization to improve consensus and convergence in noisy, heterogeneous environments.
  • The algorithm achieves iteration-complexity guarantees comparable to centralized methods, making it a practical choice for large-scale, decentralized optimization.

Searching arXiv for DeMuon and closely related decentralized Muon work. DeMuon is a decentralized matrix optimization algorithm that extends the centralized Muon optimizer to peer-to-peer optimization over a communication graph. It is formulated for finite-sum matrix problems of the form

minXRm×nf(X):=1Ni=1Nfi(X),\min_{X\in\mathbb{R}^{m\times n}} f(X):=\frac1N\sum_{i=1}^N f_i(X),

where node ii holds a local objective fif_i, communication is performed without a central coordinator, and each node observes noisy stochastic gradients. DeMuon preserves Muon’s matrix-structured update through the matrix sign map and Newton–Schulz orthogonalization, while adding gradient tracking to mitigate heterogeneity among local functions. Under heavy-tailed noise with finite α\alpha-th moments, it provides an iteration-complexity guarantee for reaching an approximate stochastic stationary point in nuclear norm, with dependence on the target tolerance matching the best-known centralized dependence. It is presented as the first direct extension of Muon to decentralized optimization over graphs with provable complexity guarantees (He et al., 1 Oct 2025).

1. Problem class and motivation

DeMuon is motivated by three observations. First, Muon is matrix-native: rather than vectorizing parameters, it operates directly on matrices and uses orthogonalized updates. Second, most decentralized methods, including DSGD, EXTRA, and gradient-tracking variants, are typically applied after vectorization and therefore do not preserve matrix structure. Third, DeMuon explicitly targets stochastic gradients with only finite α\alpha-th moments, α(1,2]\alpha\in(1,2], rather than sub-Gaussian noise, placing heavy-tailed stochasticity at the center of the analysis (He et al., 1 Oct 2025).

The communication model is encoded by a mixing matrix WRN×NW\in\mathbb{R}^{N\times N} satisfying W0W\ge 0, primitiveness, and doubly stochasticity: W1N=1N,1NW=1N.W\mathbf 1_N=\mathbf 1_N,\qquad \mathbf 1_N^\top W=\mathbf 1_N^\top. Its consensus rate is controlled by

λ:=W1N1N1N<1.\lambda := \left\|W-\frac{1}{N}\mathbf 1_N\mathbf 1_N^\top\right\| < 1.

This places DeMuon in the standard decentralized optimization setting over graphs, but its update geometry is explicitly matrix-based rather than Euclidean-vector-based (He et al., 1 Oct 2025).

A central design objective is therefore to combine three ingredients that are usually studied separately: Muon-style matrix orthogonalization, decentralized communication over a graph, and gradient tracking for heterogeneous local objectives. This suggests that DeMuon is best understood not as a minor variant of DSGD, but as a graph-based control mechanism wrapped around a matrix-aware update rule.

2. Update structure and local state

Each node ii0 maintains three matrix-valued states: the parameter matrix ii1, a momentum or EMA state ii2, and a gradient-tracking variable ii3. The algorithm uses the recursions

ii4

ii5

ii6

with ii7, ii8, stepsize ii9, and smoothing parameter fif_i0 (He et al., 1 Oct 2025).

The matrix sign map is defined through the reduced SVD fif_i1 by

fif_i2

In the algorithmic interpretation, this is the Muon-style orthogonalized direction. The paper states that DeMuon inherits Muon’s Newton–Schulz orthogonalization idea, but its analysis works abstractly with fif_i3 rather than unfolding the internal Newton–Schulz iterations in detail (He et al., 1 Oct 2025).

In stacked notation,

fif_i4

the updates become

fif_i5

fif_i6

fif_i7

where

fif_i8

Because fif_i9 is doubly stochastic,

α\alpha0

with

α\alpha1

This decomposition separates local tracking dynamics from the network-average dynamics and makes clear that DeMuon’s descent direction is an average of orthogonalized tracked signals rather than raw gradients (He et al., 1 Oct 2025).

3. Assumptions, geometry, and stationarity

The analysis is carried out under four assumptions. The global objective is lower bounded: α\alpha2 Each local gradient is α\alpha3-Lipschitz in matrix form: α\alpha4 which yields the descent inequality

α\alpha5

The stochastic gradient oracle is unbiased and heavy-tailed in nuclear norm: α\alpha6

α\alpha7

Finally, the network mixing matrix α\alpha8 is primitive and doubly stochastic (He et al., 1 Oct 2025).

The stationarity notion is adapted to matrix optimization. An α\alpha9-stationary point is defined by

α\alpha0

for a uniformly random output index α\alpha1, where

α\alpha2

The use of the nuclear norm is consistent with Muon’s matrix geometry and with the identity

α\alpha3

together with

α\alpha4

which are the key operator-level properties used in the analysis (He et al., 1 Oct 2025).

A noteworthy network-control result is the uniform consensus bound

α\alpha5

The paper highlights this as a spectral-norm disagreement bound, rather than the more common Frobenius-norm control. This suggests that DeMuon’s consensus analysis is aligned with the same matrix-operator viewpoint that defines its update rule.

4. Non-asymptotic analysis under heavy-tailed noise

The proof uses a Lyapunov-like potential

α\alpha6

for suitable α\alpha7. This combines objective decrease, momentum-estimation error, and tracking error into a single quantity (He et al., 1 Oct 2025).

A central descent inequality is

α\alpha8

This makes the analytical structure explicit: the desired stationarity term appears with a negative sign, while the perturbations arise from EMA error, tracking error, and smoothness (He et al., 1 Oct 2025).

The gradient-tracking recursion satisfies

α\alpha9

and the momentum error obeys both first-moment and α(1,2]\alpha\in(1,2]0-moment bounds: α(1,2]\alpha\in(1,2]1

α(1,2]\alpha\in(1,2]2

These recursions quantify how network disagreement, smoothing, and heavy-tailed stochasticity interact (He et al., 1 Oct 2025).

The main complexity theorem chooses

α(1,2]\alpha\in(1,2]3

and shows that for α(1,2]\alpha\in(1,2]4,

α(1,2]\alpha\in(1,2]5

whenever

α(1,2]\alpha\in(1,2]6

Equivalently,

α(1,2]\alpha\in(1,2]7

The paper emphasizes that this matches the best-known centralized dependence on α(1,2]\alpha\in(1,2]8 under heavy-tailed noise. In that sense, DeMuon’s graph-based decentralization does not worsen the tolerance scaling of the leading complexity order (He et al., 1 Oct 2025).

5. Position within decentralized Muon design space

Relative to centralized Muon, DeMuon adds two mechanisms absent from the centralized setting: peer-to-peer consensus through α(1,2]\alpha\in(1,2]9 and gradient tracking through WRN×NW\in\mathbb{R}^{N\times N}0. Relative to DSGD, it replaces raw stochastic-gradient steps with momentum-smoothed, tracked, and orthogonalized matrix updates. Relative to DSGD_Clip, it does not rely on scalar clipping as the core response to heavy tails. Relative to conventional gradient-tracking methods, it retains the matrix geometry through WRN×NW\in\mathbb{R}^{N\times N}1 rather than using vectorized Euclidean updates (He et al., 1 Oct 2025).

A subsequent paper, "SUDA-Muon: Structural Design Principles and Boundaries for Fully Decentralized Muon" (Zhang et al., 27 Apr 2026), treats DeMuon as the main reference point for what a fully decentralized Muon method already looks like in the literature. In that terminology, DeMuon is a “closely related gradient-tracking mechanism combined with Muon directions,” operating on general communication graphs without a central server. The later paper argues, however, that DeMuon is structurally different from its SUDA-based design because DeMuon applies gossip-style mixing directly to the primal variables after the Muon update and does not maintain the SUDA dual variable WRN×NW\in\mathbb{R}^{N\times N}2 (Zhang et al., 27 Apr 2026).

That later analysis frames the difference as structural rather than cosmetic. Because the nonlinear matrix-sign operator WRN×NW\in\mathbb{R}^{N\times N}3 does not commute with linear averaging, the ordering of communication, tracking, and polarization becomes a design principle. The SUDA paper identifies two non-modular boundaries relevant to DeMuon’s interpretation: internally, tracking-before-polarization is necessary to avoid non-stationary fixed points under heterogeneous objectives; externally, fully decentralized local-polarize-then-average cannot reproduce federated average-then-polarize and therefore may fail to exhibit linear speedup even on a complete graph with exact averaging (Zhang et al., 27 Apr 2026).

This reinterpretation does not invalidate DeMuon. Rather, it places DeMuon within a broader taxonomy of decentralized Muon methods and suggests that its behavior is constrained by the noncommutativity of matrix polarization and averaging. It should also be distinguished from DMuon, which is a distributed systems layer for exact Muon semantics with owner-based execution and near-AdamW overhead, not a graph-decentralized optimizer (Chen et al., 25 Jun 2026).

6. Empirical behavior, scope, and limitations

The original empirical evaluation of DeMuon is a decentralized transformer-pretraining study using a 3M-parameter GPT model on Multi30k for auto-regressive language modeling. Three graph topologies are considered: a complete graph, a directed exponential graph, and a ring graph. The baselines are DSGD, DSGD_Clip, and GT_NSGDm (He et al., 1 Oct 2025).

The reported pattern is that DeMuon converges rapidly at the beginning and reaches low validation loss in roughly 500 rounds. On directed exponential and ring graphs, it performs close to GT_NSGDm and clearly outperforms DSGD and DSGD_Clip. On the complete graph, it also converges quickly, but shows some later-round instability relative to GT_NSGDm while still outperforming DSGD and DSGD_Clip (He et al., 1 Oct 2025).

The later SUDA-Muon study provides a second empirical reference point. On CIFAR-100 with a 10-node ring and strong heterogeneity (WRN×NW\in\mathbb{R}^{N\times N}4), SUDA--Muon-ED, SUDA--Muon-ATC-GT, and DeMuon perform similarly after 25 epochs: SUDA--Muon-ED achieves WRN×NW\in\mathbb{R}^{N\times N}5, SUDA--Muon-ATC-GT achieves WRN×NW\in\mathbb{R}^{N\times N}6, and DeMuon achieves WRN×NW\in\mathbb{R}^{N\times N}7. In a longer 20-node, 100-epoch non-IID CIFAR-100 run, SUDA--Muon-ED reaches WRN×NW\in\mathbb{R}^{N\times N}8 training loss and WRN×NW\in\mathbb{R}^{N\times N}9 accuracy, while DeMuon reaches W0W\ge 00 and W0W\ge 01. On GPT-2 fine-tuning for Wikitext-2 in a mild near-IID regime, the three methods are nearly indistinguishable, with validation perplexities after four epochs all around W0W\ge 02 and SUDA--Muon-ED slightly best at W0W\ge 03 (Zhang et al., 27 Apr 2026).

The practical significance claimed for DeMuon is specific. It is the first direct decentralized extension of Muon with theory, it is designed for matrix-valued optimization under graph communication, and it accommodates heavy-tailed stochastic gradients. The stated limitations are also specific: the constant W0W\ge 04 in the complexity bound is complicated, the schedules W0W\ge 05 are theory-driven, the experiments are preliminary, and the internal Newton–Schulz implementation is not expanded in the algorithmic description because the analysis is carried out at the level of the abstract sign map W0W\ge 06 (He et al., 1 Oct 2025).

In subsequent synthesis, DeMuon is characterized as a valid fully decentralized Muon method, but not the final word on decentralized Muon design (Zhang et al., 27 Apr 2026). A plausible implication is that its long-term significance lies less in being a terminal algorithmic form than in establishing the first rigorous bridge between Muon’s matrix-aware geometry and decentralized stochastic optimization over graphs.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to DeMuon.