AdamW and the spectral condition

A source-grounded audit of candidate A: alignment argument and candidate B: parameterization argument, followed by an independent elementary re-derivation. The objective is not to rescue either draft, but to expose exactly which quantities control feature motion.
Source basis: Yang, Simon & Bernstein, A Spectral Condition for Feature Learning, paper version 2 • audited 2026-07-29 • rectangular backward and epsilon analysis revised 2026-08-08

1. Executive verdict

The two drafts disagree because they conflate different geometric questions. The claim that Adam inherits the SGD learning rate ηₗ = Θ(d_out / d_in) is unsupported and, in the ordinary sign-normalized low-stable-rank regime, wrong. The second draft's ηₗ = Θ(1 / d_in) is the correct special case, but only after adding three missing assumptions: the preconditioned update has nonvanishing RMS entries, width-independent stable rank, and the optimizer remains in an epsilon-insignificant or controlled mixed state. AdamW then adds a second, independently scaled update whose per-step strength is ηₗ λₗ.

What survives

  • The first-step, batch-one, negligible-epsilon Adam update is a sign outer product.
  • Its action alignment with a dense Gaussian activation tends to √(2/π).
  • Its spectral norm is √(d_out d_in), so the spectral condition asks for η = 1/d_in.

What must be replaced

  • Random square matrices do not have vanishing action alignment.
  • Adam's later update is not generally rank one, even when every individual gradient is rank one.
  • Low stable rank does not imply alignment with the current activation.
  • Inner-product alignment with the gradient does not determine Adam's learning rate.
The corrected matrix learning-rate formula Let Pₜ = m̂ₜ / (√v̂ₜ + ε), let qₜ = ‖Pₜ‖²_F / (d_out d_in) be its mean squared entry, and let rₜ = ‖Pₜ‖²_F / ‖Pₜ‖²_* be its stable rank. Directly imposing the spectral condition gives ηₗ = Θ(√(rₜ/qₜ) / d_in). The familiar Adam rule 1/d_in is the case qₜ = Θ(1) and rₜ = Θ(1). For raw weight coordinates, a clean rectangular backpropagation bound gives RMS(√v̂ₜ)=O(1/d_out). If the normalized bulk d_out√v̂ₜ also stays bounded away from zero, then ε=c/d_out preserves a width-independent epsilon margin; ε=o(1/d_out) makes epsilon asymptotically negligible. The upper bound alone cannot supply that noncollapse condition.

2. What the original paper actually establishes

An elementary re-derivation of AdamW feature motion, with two candidate arguments audited along the way: transferring the SGD learning rate directly, and deriving the Adam rate from its normalized update. The rejected arguments are explained here; no prior drafts are required.

‖hₗ‖₂ = Θ(√d_out) and ‖Δhₗ‖₂ = Θ(√d_out).

Its proposed spectral condition assigns the same operator-scale budget to the current weight and to one optimizer update:

‖Wₗ‖_* = Θ(√(d_out/d_in)) and ‖ΔWₗ‖_* = Θ(√(d_out/d_in)).

This norm condition is only an upper-scale budget until the matrix acts strongly on the relevant vector. Define action alignment

κ(P, h) = ‖P h‖₂ / (‖P‖_* ‖h‖₂), 0 ≤ κ ≤ 1.

If κ = Θ(1), then a spectrally correct update causes a correctly scaled feature change:

‖ΔW h‖₂ = κ(ΔW,h) ‖ΔW‖_* ‖h‖₂ = Θ(1) · Θ(√(d_out/d_in)) · Θ(√d_in) = Θ(√d_out).
Rigor boundary in the paper The elementary MLP argument explicitly assumes no asymptotic cancellation, activation-size preservation through nonlinearities, width-independent batch size, and batch-update alignment. Its general adaptive-optimizer claim moves to a tensor-program theorem under representability and pseudo-Lipschitz assumptions, at fixed training time as width grows. An elementary AdamW extension must state replacements for those assumptions; it cannot simply quote the SGD algebra.

The paper's explicit hyperparameter conversion in the implementation section is for ordinary gradient descent. There, ΔW = -η g, so knowing the gradient norm determines η. Adam breaks exactly that proportionality. The paper says its spectral condition is optimizer-independent; it does not say the raw optimizer learning-rate multiplier is identical for SGD and Adam.

3. Three questions the drafts merge together

Update size
What is ‖Pₜ‖_*, and what η makes ‖ηPₜ‖_* = Θ(√(d_out/d_in))?
→
Feature action
Is κ(Pₜ,hₜ) = Θ(1), so the allowed operator norm is actually felt by the current activation?
→
Loss descent
Is ⟨Pₜ,gₜ⟩ a nonvanishing fraction of ‖Pₜ‖_F ‖gₜ‖_F?

These properties can coexist, but no one of them implies the other two. Stable rank controls the conversion from entry RMS to spectral norm. Action alignment controls feature motion. Gradient inner-product alignment controls the first-order loss response. The Adam learning rate follows from the first property, not the third.

4. Audit of candidate A: alignment argument

Draft claim Verdict Correction
Lines 35–39: a random matrix has alignment ≈ 1/√min(d_in,d_out). False For iid Gaussian M ∈ R^(d_out×d_in) and an independent dense h, κ ≈ √d_out/(√d_out+√d_in). It is about 1/2 for square matrices, vanishes only for strongly wide-to-narrow matrices, and approaches one for tall matrices.
Lines 43–121: first-step Adam becomes a sign outer product with Gaussian action alignment √(2/π). Correct in scope Requires batch one, no zero coordinates, bias correction or width-independent moment constants, and negligible ε. √(2/π) is an asymptotic concentration result, not an exact finite-width equality.
Lines 123–149: repeatedly training one sample keeps the same layer input h. Not a feature-learning model The activation entering an internal layer changes as upstream weights learn, even for the same raw example. The calculation is exact only if that activation is frozen, as at the first layer with fixed raw input or in a deliberately frozen upstream network.
Lines 153–158: the low-rank mixture structure of the first moment explains the later Adam update's singular vectors and alignment decay. Invalid inference The first moment really is a sum of rank-one matrices, with rank at most the number of stored gradients. But dividing it entrywise by √v need not preserve that rank or its singular vectors. In the numerical reproduction, eight rank-one gradients produce a 256×256 Adam update of numerical rank 256, although its stable rank remains about four.
Lines 158–186: diverse samples make current-input alignment decay to o(1). Unsupported and often false The current gradient enters the current moment, and the entrywise denominator can preserve a strong current-input correlation. Alignment is controlled by a conditional correlation stated in §8 below, not by algebraic rank alone.
Lines 247–254: first-step Adam has order-one Frobenius inner-product alignment with the gradient. Correct in scope For iid Gaussian row and column factors, it tends to 2/π. This is useful for first-order loss descent but is not needed to derive Adam's learning rate.
Lines 322–327: if gradients lie in a fixed low-dimensional subspace, the coordinatewise normalized vector cₜ remains in it. False Coordinatewise nonlinear maps do not preserve arbitrary linear subspaces. Even sign(a) is generally outside span(a). Low temporal gradient rank is not a valid proof of Adam-update alignment.
Lines 339–349: once Adam–gradient inner-product alignment is shown, the SGD learning rate d_out/d_in follows. Non sequitur That argument may recover the gradient norm. Adam applies an entrywise history-dependent map to the gradient, so its pre-learning-rate spectral norm is not the gradient spectral norm. One must compute or bound ‖Pₜ‖_* directly.
Line 385: epsilon domination recovers SGD-like alignment. Only at the first step When ε dominates, Pₜ ≈ m̂ₜ/ε. The direction is the momentum history, not necessarily the current gradient, so alignment need not approach one.
Most consequential error The draft correctly notices that Adam is not proportional to the gradient, then later uses a gradient-norm calculation as if proportionality had been restored. Constant cosine is not proportionality.

5. Audit of candidate B: parameterization argument

Draft claim Verdict Correction
Lines 93–116: Adam's later update is rank one for a fixed activation reused at every step. Algebraically correct, structurally narrow It assumes the same internal activation at every step. That suppresses the feature learning the paper is meant to analyze. With changing activations or batches, separability is lost.
Lines 127–134: “typical” backpropagated coordinates aₜ[i] = Θ(1), hence normalized entries are order one. Wrong premise; unnecessary conclusion The paper's scales give ‖aₜ‖₂=Θ(1/√d_out), hence dense-coordinate RMS Θ(1/d_out), not order one. The raw weight-gradient entry RMS is also Θ(1/d_out). Adam cancels this common scale only when epsilon scales with it or is negligible. Measure both qₜ and epsilon occupancy.
Lines 134–160: ‖Pₜ‖_* = Θ(√(d_out d_in)), hence η = Θ(1/d_in). Correct special case The norm conclusion needs both ‖Pₜ‖_F = Θ(√(d_out d_in)) and stable rank rₜ = Θ(1). Entry size alone controls the Frobenius norm, not the spectral norm.
Lines 174–185: Adam always requires a factor d_out smaller learning rate than SGD. True only in the stated matrix regime The ratio also depends on Adam update stable rank, entry RMS, epsilon, parameter multipliers, and matrix shape conventions. It is correct for the low-stable-rank, scale-invariant raw-weight setup used in the derivation.
Implications: standard width-independent Adam learning rates either violate the condition or are explained by epsilon. Incomplete Other possibilities include changing stable rank, parameter multipliers, non-asymptotic widths, a different update target, or a training horizon that changes with width. Epsilon is not the only alternative.
The document extends the result to AdamW. Missing Neither draft analyzes decoupled weight decay. AdamW adds -ηλW, whose spectral scale and cumulative shrinkage must be handled separately.

6. Independent optimizer-agnostic derivation

Let the layer matrix have shape d_out × d_in. Write an arbitrary optimizer step before its scalar learning rate as Pₜ:

ΔW_adapt = -η Pₜ.

For Adam, Pₜ = m̂ₜ / (√v̂ₜ + ε), with every operation in the quotient entrywise. Define two directly measurable quantities:

qₜ = ‖Pₜ‖²_F / (d_out d_in) (mean squared entry) rₜ = ‖Pₜ‖²_F / ‖Pₜ‖²_* (stable rank).

Step A — convert entry RMS and stable rank to spectral norm

‖Pₜ‖_F = √(d_out d_in qₜ) ‖Pₜ‖_* = ‖Pₜ‖_F / √rₜ = √(d_out d_in qₜ / rₜ).

This is an identity, not a probabilistic approximation. All modeling assumptions are isolated in how qₜ and rₜ scale with width.

Step B — impose the spectral update budget directly

η ‖Pₜ‖_* = Θ(√(d_out/d_in)) η √(d_out d_in qₜ / rₜ) = Θ(√(d_out/d_in)) η = Θ( √(rₜ/qₜ) / d_in ).
Preconditioned update geometry Stable rank Learning-rate scaling when qₜ=Θ(1)
One or finitely many dominant singular modes rₜ = Θ(1) η = Θ(1/d_in)
Intermediate effective rank rₜ = Θ(d_in^γ) η = Θ(d_in^(γ/2 - 1))
Diffuse square random-like matrix rₜ = Θ(d_in) η = Θ(1/√d_in)
Why stable rank is the missing variable Two matrices can have the same order-one entry RMS while differing by a factor √d_in in spectral norm. A sign outer product concentrates all Frobenius energy in one singular value. An iid sign matrix spreads it across order d_in singular directions. Entry size alone cannot choose between 1/d_in and 1/√d_in.

Feature motion is a second condition

Define κₜ = κ(Pₜ,hₜ). Once η satisfies the spectral budget,

‖ηPₜ hₜ‖₂ = κₜ η‖Pₜ‖_* ‖hₜ‖₂ = κₜ · Θ(√(d_out/d_in)) · Θ(√d_in) = Θ(κₜ √d_out).

Therefore the update learns features at maximal scale precisely when κₜ = Θ(1). Low stable rank is not enough: the dominant right singular space could be orthogonal to hₜ.

7. Exact first-step Adam calculation

For batch one at one layer, write the gradient as g = a hᵀ. After bias correction, m̂ = g and v̂ = g⊙g. If ε = 0 and no coordinate product vanishes,

Pᵢⱼ = gᵢⱼ / |gᵢⱼ| = sign(aᵢ) sign(hⱼ), P = sign(a) sign(h)ᵀ.

It follows exactly that r=1, q=1, and ‖P‖_* = √(d_out d_in). Thus

η = Θ(1/d_in).

The action alignment is also exact at finite width:

κ(P,h) = ‖h‖₁ / (√d_in ‖h‖₂).

If the coordinates of h are iid with E|H| = μ₁ and E[H²] = μ₂ ∈ (0,∞), the law of large numbers gives

κ(P,h) → μ₁ / √μ₂.
Activation coordinatesAsymptotic action alignmentInterpretation
Gaussian N(0,σ²) √(2/π) ≈ 0.798 Dense sign structure gives constant alignment.
ReLU of a standard Gaussian 1/√π ≈ 0.564 The zero half reduces but does not destroy alignment.
Fraction p nonzero, equal magnitude √p If p=Θ(1), alignment remains constant; if p→0, it vanishes.
One coordinate carries nearly all norm ≈ 1/√d_in Spiky features defeat the sign-alignment argument.

Gradient inner-product alignment, kept in its proper role

⟨P,g⟩ / (‖P‖_F ‖g‖_F) = [‖a‖₁/(√d_out ‖a‖₂)] · [‖h‖₁/(√d_in ‖h‖₂)].

For dense iid Gaussian factors this tends to 2/π. This supports a first-order descent calculation. It does not alter the learning-rate derivation, which already followed from ‖P‖_*.

8. Multiple steps, multiple examples, and why full rank is compatible with low stable rank

First define the objects locally

Consider one batch-one training step s at a linear map zₛ = W hₛ. Here

hₛ ∈ R^d_in aₛ = ∇_(zₛ) Lₛ ∈ R^d_out gₛ = aₛ hₛᵀ ∈ R^(d_out × d_in).

Your interpretation is therefore right about aₛ and hₛ. The one correction is that Aᵢ is not a tuple of whole column vectors. It is the scalar time-history of coordinate i across the column vectors a₁,…,aₜ. Likewise, Hⱼ is the scalar time-history of coordinate j across h₁,…,hₜ:

Aᵢ = (a₁[i], a₂[i], …, aₜ[i]) ∈ R^t, one history for every output row i, Hⱼ = (h₁[j], h₂[j], …, hₜ[j]) ∈ R^t, one history for every input column j.

Collecting all Aᵢ gives a d_out × t history table; collecting all Hⱼ gives a d_in × t history table.

The explicit formula for Qₜ

For ordinary Adam with bias correction, the scalar function applied to row history A=(A₁,…,Aₜ) and column history H=(H₁,…,Hₜ) is

numerator: Nₜ(A,H) = [(1-β₁)/(1-β₁^t)] Σ_(s=1)^t β₁^(t-s) A[s]H[s] second moment: Vₜ(A,H) = [(1-β₂)/(1-β₂^t)] Σ_(s=1)^t β₂^(t-s) A[s]²H[s]² Adam kernel: Qₜ(A,H) = Nₜ(A,H) / [√Vₜ(A,H) + ε].

Substituting row i and column j gives exactly

Pₜ[i,j] = Qₜ(Aᵢ,Hⱼ) = m̂ₜ[i,j] / (√v̂ₜ[i,j] + ε).

Omitting bias correction only removes the two width-independent prefactors. It does not change the structural argument.

Why separate a and h instead of keeping g?

For computing one Adam entry, you do not have to separate them. Since gₛ[i,j] = Aᵢ[s]Hⱼ[s], the scalar history (g₁[i,j],…,gₜ[i,j]) is sufficient to compute Pₜ[i,j]. Adam itself stores moment matrices, not Aᵢ and Hⱼ.

The separation is useful for understanding the whole matrix. It reveals that every entry is obtained by evaluating the same function Qₜ on one row history and one column history. This shared row/column structure is what can concentrate singular energy into a few modes. It also keeps the current activation coordinate hₜ[j]=Hⱼ[t] visible when we analyze Pₜhₜ. A history of product matrices gₛ hides both facts, and gₛ alone does not uniquely recover its two factors because (c aₛ)(hₛ/c)ᵀ = aₛhₛᵀ.

Analytic re-indexing, not an optimizer implementation

We introduce Aᵢ and Hⱼ to expose geometry. The formula above is exact for batch one at each step. For batch size greater than one, gₛ = B⁻¹Σ_b aₛ,b hₛ,bᵀ, so the latent history must also retain the example index or be replaced by the full gradient-entry history.

Because Qₜ contains a square root of a sum followed by an entrywise quotient, it generally does not factor as one row function times one column function. Thus Pₜ is a nonlinear kernel matrix, not a finite sum of the original rank-one gradients.

Algebraic rank

A nonlinear kernel evaluated on distinct row and column histories is generically full rank. Thus “eight past rank-one gradients” does not imply “Adam update rank at most eight.”

Stable rank

For fixed t, a regular bounded kernel can often be approximated by a finite sum Σₖ φₖ(Aᵢ)ψₖ(Hⱼ). Its singular energy can therefore remain concentrated in a width-independent number of modes even while every singular value is technically nonzero.

This is a justification, not a universal theorem The elementary finite-kernel picture needs a fixed training time or fixed effective history, regular moments, a denominator kept away from its singular point, and coordinate distributions that settle as width grows. Stable rank can grow if the history, batch diversity, task complexity, or learned coordinate structure grows with width.

The elementary action-alignment condition

Fix output row i. Multiplying the Adam update by the current activation adds one contribution from every input coordinate:

(Pₜhₜ)[i] = Σ_(j=1)^d_in Xᵢⱼ, where Xᵢⱼ = Qₜ(Aᵢ,Hⱼ) hₜ[j] = Qₜ(Aᵢ,Hⱼ) Hⱼ[t].

Now make the elementary approximation that, after conditioning on row history Aᵢ, the column histories behave like comparable draws from some random history H. Define the mean and variance of one summand:

μₜ(Aᵢ) = E[Qₜ(Aᵢ,H) H[t] | Aᵢ], σₜ²(Aᵢ) = Var[Qₜ(Aᵢ,H) H[t] | Aᵢ].

A sum of d_in such terms has mean d_in μₜ(Aᵢ) and standard deviation approximately √d_in σₜ(Aᵢ):

(Pₜhₜ)[i] = d_in μₜ(Aᵢ) + O_probability(√d_in σₜ(Aᵢ)).

Coherent case: μₜ(Aᵢ) is nonzero

Each column contribution has a small but systematic signed bias. Adding d_in of them produces an order-d_in result. The random disagreement is only order √d_in, so it becomes relatively negligible.

(+0.7) + (+1.1) + (+0.4) + … ≈ d_in × positive mean.

Cancellation case: μₜ(Aᵢ)=0

Positive and negative contributions are balanced. There is no order-d_in mean, so only the random order-√d_in residual remains.

(+0.7) + (−1.1) + (+0.4) + … ≈ zero mean ± √d_in fluctuation.

How this becomes an alignment statement

In the low-stable-rank, order-one-entry regime, ‖Pₜ‖_* = Θ(√(d_out d_in)) and ‖hₜ‖₂ = Θ(√d_in). Their product—the alignment denominator—is therefore Θ(d_in√d_out).

If the root-mean-square of μₜ(Aᵢ) across output rows stays nonzero, each output coordinate is order d_in and ‖Pₜhₜ‖₂ = Θ(d_in√d_out). Numerator and denominator match, so κ(Pₜ,hₜ)=Θ(1). The signs of μₜ(Aᵢ) may differ between rows; the Euclidean norm squares them, so cross-row sign cancellation is irrelevant.

If every conditional mean is zero, each output coordinate is only order √d_in, giving ‖Pₜhₜ‖₂ = Θ(√(d_out d_in)). Dividing by the same Θ(d_in√d_out) denominator gives κ(Pₜ,hₜ)=Θ(1/√d_in).

Concrete coherent example: the first step

With negligible epsilon, Q₁(A,H)=sign(A[1]H[1]). Therefore Q₁(A,H)H[1]=sign(A[1])|H[1]|, whose conditional mean is sign(A[1])E|H[1]|, not zero. Every column contributes with the row's same sign.

Concrete stale example

Suppose Pₜ depends only on past activations and the current hₜ is a fresh symmetric vector independent of that history. Conditional on Pₜ, E[Pₜ[i,j]hₜ[j]]=0. The products cancel and alignment has the 1/√d_in scale.

What must be checked at later steps The Adam extension needs two independent empirical/theoretical facts: rₜ = Θ(1) for update size and κ(Pₜ,hₜ)=Θ(1) for feature action. The original drafts substitute informal “low rank” language for both.

9. What the numerical reproductions actually show

The script's multiple-step check is a controlled synthetic experiment, not a trained neural network. At each of eight steps it samples independent Gaussian vectors aₛ and hₛ, constructs the exact rank-one gradient gₛ=aₛhₛᵀ, and updates Adam moments with β₁=0.9, β₂=0.999, and ε=0. It omits bias correction because the resulting scalar prefactors do not change rank or alignment. This deliberately isolates the matrix geometry from network dynamics.

Observed multiple-step width sweep

Width Numerical rank Stable rank Alignment with current hₜ RMS alignment with fresh independent h
64643.6040.8420.242
1281283.8880.8890.177
2562563.8090.9400.119
5125124.5170.9560.097

Reading those results

  1. Adam's later matrix is full algebraic rank. Numerical rank equals width at every tested size. Entrywise division by √v destroys the literal rank-at-most-eight property of the first moment.
  2. Its stable rank nevertheless stays near four. The small singular values make the matrix technically full rank, but a few leading modes still hold most of the squared singular-value energy. This is the precise sense in which “full rank but low-effective-rank” occurs here.
  3. The update acts strongly on the current activation. The current hₜ helped form the current gradient and therefore the moment matrices. Its alignment remains order one (0.84–0.96) rather than decaying.
  4. The same update acts weakly on a fresh independent activation. Its RMS alignment falls from 0.242 to 0.097. For an isotropic independent vector, the expected squared alignment is approximately rₜ/d_in, so the expected scale is √(rₜ/d_in). With stable rank near four, that decays like 1/√d_in, exactly matching the zero-mean explanation above.

Other checks in the script

CheckObserved resultMeaning
Gaussian random-matrix action Measured alignments 0.202, 0.511, 0.832 versus aspect-ratio predictions 0.200, 0.500, 0.800. Confirms that random-matrix alignment depends on shape and does not vanish for square or tall matrices.
First Adam step at width 256 Measured alignment 0.780229, exactly equal to the finite-vector formula; Gaussian limit 0.797885. Spectral norm exactly 256. Checks the sign-outer-product calculation directly.
Stable-rank learning rate at width 256 Rank-one update gives η=0.00390625=1/256. Diffuse sign matrix has stable rank about 66 and η≈0.03175. Checks the identity η=√r/d_in when entry RMS is one and shows why entry scale alone does not determine η.
Exact epsilon crossover toy For aᵢ=±1/d, hⱼ=±1, the script checks |Pᵢⱼ|=1/(1+εd) and the exact required learning rate η=(1+εd)/d. With fixed ε=10⁻³, η bends from 1/d toward 10⁻³; with ε∝1/d, it remains proportional to 1/d. Shows the regime change without random matrices, training assumptions, or a fitted power law.
AdamW decay arithmetic With η=1/256, weight decays 0.1, 256, and 2560 give per-step shrinkage 0.000391, 1, and 10. Checks that the operative decay quantity is ηλ.
What this does not establish about real training Independent Gaussian histories are friendlier than learned, data-correlated histories and omit minibatches, changing feature distributions, epsilon, parameter multipliers, residual paths, and attention structure. The reproduction demonstrates that the proposed mechanisms are internally consistent and that the draft's literal rank argument is false. Establishing actual LLM behavior requires logging qₜ, rₜ, current-activation alignment, fresh or shuffled-activation baselines, epsilon occupancy, and decay ratios across width during training.

10. Rectangular gradient bound and epsilon regimes

Short answer Scaling outside-the-root epsilon as 1/d_out is a sensible state-preserving default in raw weight coordinates. The theorem below proves the shape-general ceiling RMS(√v̂ₜ)=O(1/d_out) without square matrices, random initialization, or maximal backward action. To conclude that epsilon is actually insignificant, however, the bulk of d_out√v̂ₜ must also stay away from zero. Under that empirically checkable noncollapse condition, ε=c/d_out preserves a fixed margin and ε=o(1/d_out) makes epsilon disappear. An upper bound alone cannot rule out a smaller or zero gradient.

A shape-general upper-bound theorem

Consider one example at layer l, with arbitrary rectangular shape. Let

Wₗ ∈ R^(dₗ × dₗ₋₁), zₗ = Wₗhₗ₋₁, aₗ = ∂L/∂zₗ, Gₗ = ∂L/∂Wₗ = aₗhₗ₋₁ᵀ. Fₗ₋₁ = ‖hₗ₋₁‖₂/√dₗ₋₁ (normalized forward size), Bₗ = √dₗ ‖aₗ‖₂ (normalized backward size).

Because Gₗ is rank one, these are exact identities, not independence or typical-coordinate approximations:

‖Gₗ‖_* = Fₗ₋₁ Bₗ √(dₗ₋₁/dₗ), RMS(Gₗ) = ‖Gₗ‖_F/√(dₗdₗ₋₁) = Fₗ₋₁ Bₗ/dₗ.

For a chain network, write the activation Jacobian ∂hₗ/∂zₗ as Dₗ and define a dimensionless spectral-weight constant and realized backward-action fraction:

aₗ = DₗᵀWₗ₊₁ᵀaₗ₊₁, Cₗ₊₁ = ‖Wₗ₊₁‖_*/√(dₗ₊₁/dₗ), Tₗ = ‖DₗᵀWₗ₊₁ᵀaₗ₊₁‖₂ / (‖Wₗ₊₁‖_* ‖aₗ₊₁‖₂), Bₗ = Cₗ₊₁ Tₗ Bₗ₊₁, 0 ≤ Tₗ ≤ ‖Dₗ‖_*.

Theorem — fixed-depth rectangular gradient ceiling

Suppose, uniformly over a width family, that the terminal normalized loss signal satisfies B_L=O(1), the forward features satisfy Fₗ=O(1), the weights satisfy the spectral upper condition Cₗ=O(1), and the activation Jacobians have ‖Dₗ‖_*=O(1). At fixed depth,

Bₗ = O(1), ‖Gₗ‖_* = O(√(dₗ₋₁/dₗ)), RMS(Gₗ) = O(1/dₗ).

Proof: iterate Bₗ≤Cₗ₊₁‖Dₗ‖_*Bₗ₊₁ from the output, then substitute into the two exact rank-one identities. For a fixed-size minibatch, the same upper orders follow by the triangle inequality. If the output width grows, B_L=O(1) is a real loss normalization assumption; a fixed-dimensional output with bounded loss derivative satisfies it automatically.

At fixed optimizer time, let the bias-corrected Adam second moment use nonnegative weights wₛ summing to one. The RMS statement propagates exactly through the elementwise squares:

RMS(√v̂ₜ)² = (1/(d_out d_in)) Σᵢⱼ v̂ₜ[i,j] = Σₛ wₛ RMS(Gₛ)² = O(1/d_out²). Therefore RMS(√v̂ₜ) = O(1/d_out).

Temporal sign cancellation is absent here because Adam squares before averaging. Minibatch examples can still cancel inside Gₛ before the square, which only makes the upper bound easier to satisfy.

Why this is only a ceiling The spectral condition controls the largest action, not the action on the backpropagated vector. For example, W=[√2,0]ᵀ∈R^(2×1) has exactly the target norm √(2/1), but Wᵀ[0,1]ᵀ=0. Thus the backward signal, gradient, and second moment can collapse while every spectral upper condition holds. A matching Θ result needs the additional backward-noncollapse condition Bₗ=Ω(1), which we call backward faithfulness here. Equivalently, at fixed depth it follows from a nonvanishing cumulative product of the relevant T's when B_L and the C's also have nonzero lower scales. This only asks for a width-independent fraction of maximal action, not Tₗ→1, and it is not supplied by the paper's elementary spectral argument.

Define the epsilon-insignificant state directly

For the standard denominator √v̂+ε, define each coordinate's exact fractional attenuation relative to epsilon-free Adam. On coordinates with √v̂>0:

Eₜ[i,j] = ε/(√v̂ₜ[i,j]+ε), m̂ₜ[i,j]/(√v̂ₜ[i,j]+ε) = (1-Eₜ[i,j]) · m̂ₜ[i,j]/√v̂ₜ[i,j].

Choose tolerances δ,ρ∈(0,1). Call a layer I(δ,ρ), an epsilon-insignificant state, if at least a fraction 1-ρ of the relevant coordinates have Eₜ[i,j]≤δ. Equivalently, that bulk has √v̂ₜ[i,j]≥((1-δ)/δ)ε. For sparse updates, “fraction” should be weighted by epsilon-free update energy so that inactive zero coordinates do not dominate the diagnostic.

StateBulk diagnosticOptimizer behavior
Epsilon-insignificant √v̂≫ε; small high quantile of E Approximately scale-invariant preconditioning
Mixed √v̂≈ε on a material fraction Coordinate attenuation can change both RMS and stable rank
Epsilon-dominated √v̂≪ε P≈m̂/ε, a linear momentum-like regime
State-preservation proposition Suppose at least a fraction 1-ρ of the relevant coordinates obey √v̂ₜ[i,j]≥c/d_out, uniformly over the intended widths and times. With ε=e/d_out, those coordinates have Eₜ[i,j]≤e/(c+e). Thus a small constant e/c preserves an epsilon-insignificant state, while ε=o(1/d_out) drives the attenuation to zero. This captures the practical intuition that epsilon is usually already insignificant: scale it at the upper-bound rate to avoid introducing a width trend, then verify that the normalized bulk did not collapse. The upper bound √v̂=O(1/d_out) by itself gives no positive c.

In the stronger empirical transfer model where the bulk distribution of d_out√v̂ is width-invariant, a reference choice transfers transparently:

ε(d_out) = ε(d_ref) · d_ref/d_out ⇒ the bulk distribution of ε(d_out)/√v̂(d_out) is unchanged.

If backward faithfulness and forward feature scale strengthen Fₗ,Bₗ=O(1) to Θ(1), then the exact identities give ‖Gₗ‖_*=Θ(√(d_in/d_out)) and RMS(Gₗ)=Θ(1/d_out). Calling individual coordinates “typical” still needs a dense, nonspiky distribution; an RMS lower bound can be carried by a small fraction of coordinates.

The easy-to-miss matrix fact In a square width-d hidden layer, every dense gradient entry can be Θ(1/d) while ‖G‖_*=Θ(1). Rank-one coherence builds an order-one operator from many small entries. The spectral condition sees the operator norm; Adam's epsilon sees the entries.

An exact crossover with no probability or asymptotic shorthand

Let m=d_out, n=d_in, choose signs sᵢ,tⱼ∈{−1,+1}, and set aᵢ=sᵢ/m, hⱼ=tⱼ. Then all of the paper's scales hold exactly up to unit constants:

gᵢⱼ = sᵢtⱼ/m, ‖g‖_* = √(n/m), Pᵢⱼ = gᵢⱼ/(|gᵢⱼ|+ε) = sᵢtⱼ/(1+εm), ‖P‖_* = √(mn)/(1+εm). Imposing η‖P‖_* = √(m/n) gives exactly η_required = (1+εm)/n.

Equal magnitudes make this toy rank one even when epsilon is nonzero; that choice isolates the scale transition. With heterogeneous |aᵢ| and |hⱼ|, the additive denominator is not separable, and P is generally higher rank. The exact q,r learning-rate formula from Section 6 then handles the changed geometry.

Limit of εd_outAdam regimeRequired η in the exact toy
εd_out → 0, equivalently ε=o(1/d_out) Sign-normalized; epsilon vanishes η ∼ 1/d_in
εd_out → c∈(0,∞), equivalently ε=Θ(1/d_out) Width-independent mixed regime η ∼ (1+c)/d_in = Θ(1/d_in)
εd_out → ∞, including fixed positive epsilon Linear: P≈g/ε η ∼ εd_out/d_in; for equal widths, η∼ε

This also explains why fixed epsilon can look harmless throughout a finite sweep. In this unit-constant toy, ε=10⁻⁸ crosses over only near d_out=10⁸. That number is not a prediction for a network: loss reduction, batch averaging, clipping, sparsity, parameter multipliers, and the coordinate distribution all change the constant. The empirical comparison is always the distribution of √v̂ᵢⱼ/ε in the optimizer's actual coordinates.

Scaling epsilon and scaling gradients are the same convention change

Suppose every gradient in one layer is multiplied by a positive width-dependent constant c before Adam updates its moments. Bias-corrected moments then scale as m̂→c m̂ and √v̂→c√v̂, so exactly

Q(cg₀,…,cgₜ; ε) = Q(g₀,…,gₜ; ε/c).

Thus raw gradients with ε∝1/d_out are equivalent, for the normalized quotient, to multiplying gradients by c∝d_out and keeping epsilon fixed. This is why an adaptive-optimizer theorem can use a width-independent entrywise function while an ordinary raw-gradient Adam implementation cannot: the paper's recalled abcd convention explicitly permits a width-dependent gradient multiplier before the entrywise optimizer.

A brief μP cross-check

This elementary result matches the role of scale in μP, but does not replace its theory. Tensor Programs IVb formalizes a broader notion of faithfulness: after the prescribed parameter and gradient scalings, optimizer inputs remain order one at each fixed training time under its representability and regularity assumptions. Its Remark 2.2.6 also notes the exact convention change above: multiplying gradients by a positive width power is equivalent to dividing epsilon by the same power.

Tensor Programs V, Appendix B.3 says its Adam derivation assumes epsilon is negligible and, when it is not, prescribes an outside-the-root epsilon scaling of 1/fan_in (or 1/fan_in² inside the root) in its μP optimizer coordinates. That is not a competing raw-weight d_out law: μP includes parameter and gradient multipliers. Once optimizer coordinates are translated with Q(cg;ε)=Q(g;ε/c), the statements are compatible. Neither μP citation by itself proves that the raw-weight bulk d_out√v̂ stays nonzero in a particular trained network. The same appendix recommends width-independent AdamW weight decay; with η=Θ(1/d_in) and growing d_in, that is the spectrally subleading ηλ=o(1) row of Section 11, not a claim that decay itself saturates the per-step spectral budget.

Parameter multipliers require the same bookkeeping. If the model uses W=αw and Adam optimizes w, then

g_w = αg_W, ΔW_adapt = -αη Q(g_W history; ε_w/α).

The effective epsilon in actual-weight gradient units is ε_w/α, while the effective adaptive learning rate on W is αη. Therefore “scale epsilon by 1/d_out” is correct only after naming the parameter seen by Adam. For the convention used throughout this audit—Adam directly optimizes W—the rule is literal.

Denominator convention The derivation assumes standard outside-the-root epsilon, √v̂+ε. An implementation using √(v̂+ε) gives epsilon squared-gradient units. Under the same normalized-bulk noncollapse condition, its analogous state-preserving scale is ε=O(1/d_out²), with little-o for an asymptotically negligible term.

The AdamW consequence is immediate. The decay strength is ηλ, so a fixed-epsilon crossover also changes how weight decay transfers. In equal-width sign-normalized layers η=Θ(1/d); in the fixed-epsilon linear limit the exact toy instead has η→ε. Any width rule for λ must name which of these optimizer regimes it is intended to accompany.

11. The AdamW extension

For decoupled AdamW applied to the actual layer matrix, write

Wₜ₊₁ = Wₜ - ηₗ Pₜ - ηₗ λₗ Wₜ, ΔW_total = ΔW_adapt + ΔW_decay = -ηₗPₜ - ηₗλₗWₜ.

Let sₗ = √(d_out/d_in). If the current weights already obey ‖Wₜ‖_* = Θ(sₗ) and the adaptive learning rate is chosen so ‖ηₗPₜ‖_* = Θ(sₗ), then

‖ΔW_decay‖_* = ηₗλₗ ‖Wₜ‖_* = Θ((ηₗλₗ) sₗ).

Define the dimensionless per-step decay strength δₗ = ηₗλₗ. The spectral budget is transparent:

Decay regimeUpdate scaleInterpretation
δₗ = o(1) Decay is spectrally subleading. The adaptive update controls feature motion. With ηₗ=Θ(1/d_in), fixed λ, and growing d_in, this is the large-width regime.
δₗ = Θ(1) Decay and adaptive update are both leading order. The total still satisfies the condition provided they do not asymptotically cancel. To keep this regime under ηₗ=Θ(1/d_in), use λₗ=Θ(d_in).
δₗ → ∞ Decay exceeds the spectral update budget. Weights shrink or flip at a width-growing rate; the proposed maximal-update scaling is violated absent a compensating redefinition.
No-cancellation assumption The triangle inequality gives an upper bound on the total update. A matching lower bound needs the same kind of no-fine-cancellation assumption used in the paper: -ηPₜ and -ηλWₜ must not cancel in the leading singular directions.

Per-step versus whole-run regularization

Ignoring the adaptive update, repeated AdamW decay multiplies the weight by

W_T = [∏ₜ (1 - ηₜλ)] W₀ ≈ exp(-λ Σₜηₜ) W₀ when every ηₜλ is small.

Consequently, fixed λ plus η=Θ(1/d_in) weakens decay over a fixed number of steps. There are three distinct transfer targets:

  • Keep decay spectrally harmless: require only ηₗλₗ = O(1).
  • Keep per-step fractional shrinkage constant: hold ηₗλₗ constant, so λₗ ∝ 1/ηₗ.
  • Keep whole-run shrinkage constant: hold λₗ Σₜηₗ,t constant, which also depends on the number of steps and schedule.
AdamW is not “Adam with L2 added to the gradient” If λW is inserted into the gradient before the moment estimates, it is transformed by momentum and coordinatewise preconditioning. The clean decomposition above no longer holds. The extension here is specifically for decoupled AdamW semantics.

12. Corrected claims and limitations

ClaimStatusNeeded assumptions
Rectangular raw gradients satisfy ‖Gₗ‖_*=O(√(d_in/d_out)) and RMS(Gₗ)=O(1/d_out). Upper bound derived Fixed depth, B_L=O(1), bounded normalized forward features, spectral-weight constants, and activation Jacobian norms. A matching lower bound additionally needs backward faithfulness.
First-step Adam has learning rate Θ(1/d_in). Derived Batch one, dense nondegenerate row/column factors, actual weight matrix as optimized parameter, and an epsilon-insignificant or controlled mixed state. ε=O(1/d_out) preserves that state only when the normalized bulk does not collapse; little-o gives the literal epsilon-free limit.
Later Adam has learning rate Θ(1/d_in). Conditional qₜ=Θ(1) and rₜ=Θ(1) over the intended width family and training horizon.
Later Adam achieves maximal feature motion. Additional condition All size assumptions above plus κ(Pₜ,hₜ)=Θ(1) and no cancellation with other feature update paths.
Adam has an order-one first-order loss effect. Separate condition Nonvanishing Frobenius cosine with the current gradient and controlled Taylor remainder. Momentum can violate descent at an individual step.
AdamW preserves the spectral condition. Conditional Adaptive conditions above, ηₗλₗ=O(1), stable constant factors, and no leading cancellation. Constant whole-run regularization requires a separate schedule decision.

Architectural and asymptotic limits

  • The derivation is for dense matrix parameters. Bias vectors, embeddings with sparse row access, convolution kernels, tied weights, attention tensors, and parameterized multipliers need their own shape map.
  • The clean backward theorem is for a fixed-depth chain. Residual or attention branches introduce path sums; growing depth requires control of products and sums of layer constants rather than a fixed-number iteration.
  • All Θ statements refer to a specified family of models as widths grow. They say nothing by themselves about constants, finite-width optima, depth scaling, batch scaling, or training-time scaling.
  • Epsilon scaling is coordinate-dependent. Raw weights, normalized trainable parameters, and explicit gradient multipliers describe different optimizer inputs even when they implement the same forward matrix.
  • Fixed finite time is materially easier than a number of optimizer steps that grows with width. History complexity and stable rank can grow with the horizon.
  • Algebraic low rank, stable rank, activation alignment, and gradient-descent alignment are different measurements and should be logged separately.
  • Weight decay mostly rescales existing feature maps. A leading decay update can satisfy an operator-norm budget while failing to represent task-directed feature learning.

13. Minimal empirical audit for a real training run

For every matrix layer and selected steps, log the following against width. These measurements directly test every assumption used above:

QuantityFormulaQuestion answered
Forward/backward scales F=‖h‖/√d_in and B=√d_out‖a‖ Is the rectangular gradient ceiling tight, or is the backward signal collapsing?
Backward action fraction T=‖DᵀWᵀa_next‖/(‖W‖_*‖a_next‖) Does backprop retain a width-independent fraction of the available spectral action?
Normalized entry energy qₜ = ‖Pₜ‖²_F/(d_out d_in) Is Adam in the order-one-entry regime?
Stable rank rₜ = ‖Pₜ‖²_F/‖Pₜ‖²_* Does 1/d_in, an intermediate rule, or 1/√d_in follow?
Action alignment κₜ = ‖Pₜhₜ‖/(‖Pₜ‖_*‖hₜ‖) Does the update actually move current features?
Gradient cosine χₜ = ⟨Pₜ,gₜ⟩/(‖Pₜ‖_F‖gₜ‖_F) Is the first-order step a nonvanishing descent direction?
Epsilon attenuation quantiles of d_out√v̂ and E=ε/(√v̂+ε), plus unweighted and update-energy-weighted fractions exceeding a chosen tolerance Is the layer in an I(δ,ρ) state, mixed, or epsilon-dominated?
Decay ratio ‖ηλW‖_*/‖ηP‖_* and ηλ Is AdamW decay negligible, leading, or excessive?
Total-update cancellation ‖ηP+ηλW‖_*/(‖ηP‖_*+‖ηλW‖_*) Does the lower-bound assumption hold?