DDCAdam: Gauge-Equivariant Adam Optimizer
- DDCAdam is a gauge-equivariant variant of Adam that restores symmetry covariance by splitting gradients into orbit-tangent and horizontal components.
- It leverages a G-invariant metric to construct adaptive preconditioners, ensuring that optimization occurs on the quotient manifold rather than drifting along gauge orbits.
- Empirical tests demonstrate that DDCAdam significantly reduces loss gaps and improves dead-direction rate readability compared to standard Adam.
Searching arXiv for the specified papers and closely related work to ground the article. Searching arXiv for “Dead-Direction Conditioner DDCAdam” and related singular-learning papers. DDCAdam, short for Dead-Direction Conditioner Adam, is a gauge-equivariant variant of Adam for deep-network optimization. It is designed for models whose loss is invariant under continuous parameter symmetries, so that optimization effectively lives on the quotient manifold rather than on the full parameter space . The method constructs a preconditioner in the orbit decomposition of a -invariant metric, splitting updates into orbit-tangent and quotient-relevant components, with the stated goal that the trajectory remain a preconditioned gradient flow on the symmetry quotient rather than drifting along gauge orbits (Shirodkar, 28 Jun 2026). Within the accompanying theory of dead directions, DDCAdam is presented as the Adam-family construction that restores the symmetry covariance needed to read singular-learning rates directly from training trajectories (Shirodkar, 4 Jun 2026).
1. Concept and problem setting
In the formulation used for DDCAdam, is the open parameter set of a network computing with loss
A Lie group acts freely and properly on by architectural gauges that leave invariant. The paper identifies four main continuous symmetries: cross-entropy row-shift, ReLU and SwiGLU rescaling, LayerNorm and RMSNorm scale, and a per-head attention rotation matched to RoPE (Shirodkar, 28 Jun 2026).
The motivation is that these symmetries generate orbit directions along which the loss remains constant, while the Fisher metric develops zero modes. In the associated singular-learning framework, such directions are “dead directions”: parameter-space directions in which Fisher curvature decays to zero as one approaches the singular set. DDCAdam is therefore not merely an optimizer modification for numerical stability; it is a geometric intervention aimed at preserving the quotient structure that standard per-coordinate adaptive preconditioning obscures (Shirodkar, 4 Jun 2026).
2. Quotient geometry and dead directions
The geometric setup introduces a 0-invariant Riemannian metric 1 on 2 and the quotient manifold
3
At each 4, the tangent space splits into a vertical subspace 5, tangent to the group orbit, and a horizontal complement 6, so that
7
Here 8 and 9 are the 0-orthogonal projectors onto the vertical and horizontal subspaces (Shirodkar, 28 Jun 2026).
This decomposition matters because dead directions are defined through the vanishing rate of KL divergence and Fisher curvature near singularities. Along a smooth path 1 with 2,
3
and 4 is then a dead direction of KL-order 5. The “Fisher rate decay” theorem states that along this path
6
so the log-log slope of the directional Fisher curvature recovers the KL order. The quotient theorem further states that this rate exponent is intrinsic on 7, that SGD on any 8-invariant metric realizes gradient flow on the quotient, and that standard Adam does not; DDCAdam is introduced specifically to restore this property (Shirodkar, 4 Jun 2026).
3. Algorithmic construction
Standard Adam maintains
9
and updates
0
The cited work argues that this per-coordinate second-moment construction breaks 1-equivariance under non-axis-aligned symmetries, producing “gauge-mode drift” (Shirodkar, 4 Jun 2026).
DDCAdam replaces that coordinatewise treatment by a gauge decomposition. Each gradient is split into vertical and horizontal parts,
2
Two second-moment EMAs are then maintained: one on a collapsed representation of the vertical component and one on the horizontal coordinates,
3
Here 4 collapses a vertical vector to one scalar per orbit dimension, and 5 is the corresponding lift back to parameter space. After bias correction, the update is
6
Equivalently, the method defines a block-diagonal conditioner
7
so that 8 (Shirodkar, 28 Jun 2026).
A closely related presentation uses a gauge specification for each parameter block 9: a projector 0 onto orbit directions, a projector 1 onto horizontals, a collapse map 2, and its inverse 3. In that form, DDCAdam applies decoupled weight decay, decomposes 4 and 5, updates separate Adam moments for the vertical scalars and horizontal coordinates, chooses a vertical update mode, and recombines via
6
The paper explicitly allows three vertical modes: frozen, sgd, and adam; for multiplicative gauges such as ReLU-rescale and LN-scale, recombination is performed in log-norm coordinates so that the update commutes with rescaling (Shirodkar, 4 Jun 2026).
4. Equivariance properties and quotient dynamics
The central theoretical claim is exact 7-equivariance on an Adam base. Writing the DDCAdam preconditioner as 8, the construction is stated to make 9, 0, the vertical collapser, the lift, and the per-frame second-moment EMAs all 1-equivariant. Consequently, for all 2,
3
The associated continuous-time ODE 4 is then 5-equivariant and descends under 6 to a well-defined preconditioned gradient flow of the quotient loss 7 on 8; the vertical summand projects to zero (Shirodkar, 28 Jun 2026).
This quotient interpretation is the bridge to geometric singular learning. On such a quotient preconditioned flow, the smallest Fisher eigenvalue is stated to decay as 9 along any KL-order-0 horizontal canonical direction, which is presented as recovering the singular learning coefficient from the trajectory. The discrete Euler step inherits the same rate up to 1, with 2 the per-step condition number of the preconditioner. In the companion theory paper, the corresponding conclusion is that DDCAdam restores the symmetry covariance needed for direct trajectory-rate readout on 3, whereas standard Adam does not (Shirodkar, 4 Jun 2026).
A useful distinction follows from the construction itself. DDCAdam does not remove gauge directions from the optimizer state; it conditions them jointly through a reduced set of orbit scalars while keeping ordinary adaptive conditioning on the horizontal remainder. This suggests that the method aims to preserve gauge structure without turning the optimizer into a purely projected first-order method.
5. Empirical behavior
The reported experiments focus on three settings: over-training in a LLM, training a vision transformer from scratch, and composition with Muon on grokking transformers. The headline claim is that respecting the symmetry changes both the minimum the optimizer reaches and what it leaves measurable there (Shirodkar, 28 Jun 2026).
| Setting | Baseline | DDC result |
|---|---|---|
| Depth-12 LM over-train | AdamW: gap 4 | DDCAdam: gap 5 |
| Depth-8 ViT-100 | AdamW: val loss 6 | DDCAdam: val loss 7 |
| Depth-24 modular-addition grok | Muon: 8 seeds grok | DDCMuon: 9 |
In the depth-12 LLM of approximately 75 M parameters, AdamW is reported to fall into over-training collapse with validation–train loss gap approximately 0, whereas DDCAdam resists collapse with gap approximately 1. For “dead-direction rate” readability, among 2 layer-by-observable cells, AdamW reads a finite-slope decay in only 3, while DDCAdam reads it in 4, with no overlap (Shirodkar, 28 Jun 2026).
On ImageNet-100 with a vision transformer trained from scratch, matched-decay DDCAdam reaches lower validation loss, 5 nats versus 6 nats, with an accuracy tie. At the same decay, DDCAdam is reported to compress spare MLP capacity much more strongly, with activation 7 approximately 8 smaller and thousands of dead units versus single-digit for the matched AdamW run (Shirodkar, 28 Jun 2026).
On a Muon base, where the rotation gauge is stated to compose exactly, DDCMuon groks ten of eleven seeds at depth 9 that a plain Muon never reaches. In the curvature comparison, DDCMuon settles at a measurably less singular minimum, with smallest quotient-Fisher eigenvalue approximately 0 versus 1 (Shirodkar, 28 Jun 2026). These latter results are not DDCAdam proper, but they delimit the broader DDC construction and indicate which components of the theory extend beyond Adam.
6. Integration, cost, and limitations
The implementation prescription is operationally simple: wrap a base optimizer by providing 2, 3, and the collapse and lift maps for each gauge; track two EMAs 4 and 5; and replace the usual preconditioned update by the DDC recombination. The paper states that, in popular frameworks, this is a 200–400 LoC addition covering the four architectural gauges (Shirodkar, 28 Jun 2026).
The stated computational overhead depends on the gauge. Abelian gauges such as cross-entropy shift and ReLU/LN rescale add 6 work per layer. The non-abelian rotation gauge requires an eigendecomposition per head; with an adaptive trigger that recomputes only when the Gram matrix drifts, the overhead is approximately 7–8 per step, falling to approximately 9 at large scale. On a Muon base, the scaled-polar orthogonalizer adds approximately 0–1 wall-clock, at parity on many GPUs, versus 2 cost for exact per-head SVD (Shirodkar, 28 Jun 2026).
The scope of the guarantees is narrower than the overall DDC template. Exact equivariance and the step-bias guarantee are stated to hold only for the Adam base; on a Muon base, the method still holds the orbit but loses the per-step metric conditioning. The rigorous discrete-step bias bound 3 is stated for 4, with standard Adam hyperparameters keeping one safely in that regime, while larger 5 incurs 6 corrections that remain equivariant. For the body-frame rotation gauge, equivariance is reported up to 7 over 8 steps because of eigenvector sign ambiguity, and sign-pinning fixes this to machine precision. The same source describes extension to Shampoo, KFAC, and other second-order methods as straightforward by replacing the per-coordinate step with an orbit-decomposed split, while also noting that reading full dead-direction order and multiplicity from canonical misalignment remains open (Shirodkar, 28 Jun 2026).