1. Executive verdict
ηₗ = Θ(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.
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.
Its proposed spectral condition assigns the same operator-scale budget to the current weight and to one optimizer update:
This norm condition is only an upper-scale budget until the matrix acts strongly on the relevant vector. Define action alignment
If κ = Θ(1), then a spectrally correct update causes a
correctly scaled feature change:
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
What is
‖Pₜ‖_*, and what η makes
‖ηPₜ‖_* = Θ(√(d_out/d_in))?
Is
κ(Pₜ,hₜ) = Θ(1), so the allowed operator norm is
actually felt by the current activation?
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. |
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ₜ:
For Adam, Pₜ = m̂ₜ / (√v̂ₜ + ε), with every operation in
the quotient entrywise. Define two directly measurable quantities:
Step A — convert entry RMS and stable rank to spectral norm
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
| 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) |
√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,
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,
It follows exactly that r=1, q=1, and
‖P‖_* = √(d_out d_in). Thus
The action alignment is also exact at finite width:
If the coordinates of h are iid with
E|H| = μ₁ and E[H²] = μ₂ ∈ (0,∞), the law of
large numbers gives
| Activation coordinates | Asymptotic action alignment | Interpretation |
|---|---|---|
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
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
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ₜ:
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
Substituting row i and column j gives exactly
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ₛᵀ.
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.
The elementary action-alignment condition
Fix output row i. Multiplying the Adam update by the
current activation adds one contribution from every input coordinate:
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 sum of d_in such terms has mean
d_in μₜ(Aᵢ) and standard deviation approximately
√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.
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.
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.
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 |
|---|---|---|---|---|
| 64 | 64 | 3.604 | 0.842 | 0.242 |
| 128 | 128 | 3.888 | 0.889 | 0.177 |
| 256 | 256 | 3.809 | 0.940 | 0.119 |
| 512 | 512 | 4.517 | 0.956 | 0.097 |
Reading those results
-
Adam's later matrix is full algebraic rank.
Numerical rank equals width at every tested size. Entrywise division
by
√vdestroys the literal rank-at-most-eight property of the first moment. - 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.
-
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. -
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 like1/√d_in, exactly matching the zero-mean explanation above.
Other checks in the script
| Check | Observed result | Meaning |
|---|---|---|
| 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
ηλ. |
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
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
Because Gₗ is rank one, these are exact identities, not
independence or typical-coordinate approximations:
For a chain network, write the activation Jacobian
∂hₗ/∂zₗ as Dₗ
and define a dimensionless spectral-weight constant and realized
backward-action fraction:
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,
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:
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.
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:
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.
| State | Bulk diagnostic | Optimizer 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 |
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:
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.
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:
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_out | Adam regime | Required η 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
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
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.
√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
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
Define the dimensionless per-step decay strength
δₗ = ηₗλₗ. The spectral budget is transparent:
| Decay regime | Update scale | Interpretation |
|---|---|---|
δₗ = 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. |
-η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
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
λₗ Σₜηₗ,tconstant, which also depends on the number of steps and schedule.
λ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
| Claim | Status | Needed 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:
| Quantity | Formula | Question 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? |