For a deeper understanding of ELR, I recommend the Hunyuan team’s From LR to ELR, which is full of concrete, interesting derivations.
The starting point
Take a scale-invariant block of weights: doubling it leaves every prediction unchanged. Now take one SGD step from each copy, using the same learning rate. The two models can immediately part ways.
That is the puzzle behind effective learning rate: the number in the optimizer config doesn’t tell us how far the model actually moves.
Defining scale invariance of the loss
Let be a model with input and weight block , keeping all other parameters fixed. Its training loss is
where is the target and measures prediction error. Backpropagation gives the gradient ; the optimizer uses it to move from to .
A block is scale-invariant when multiplying its weights by any positive number leaves the model unchanged. Its loss satisfies:[1]
Normalization gives a simple example. If a projection produces and the next operation is , multiplying the projection weights by has no effect on the normalized output.
For a block with this property, length is redundant. Direction carries the information. But equal predictions today don’t guarantee equal predictions after the next update.
Representing equivalent weights as rays
Write a nonzero weight vector as its length times its unit direction:
The points lie on the same ray and represent the same function. Choose a radius , perhaps the initial weight norm, and keep just . Every ray meets this sphere once. We have removed redundant copies without losing any functions the block can represent.
Training can now be pictured as moving around a sphere. The useful step size is how much we turn.
Deriving how gradients change with weight scale
Scale invariance gives us two facts about the gradient. First, differentiate with respect to at :
The gradient is perpendicular to the weights: it points along the sphere’s tangent plane.
Next, differentiate with respect to . The chain rule contributes a factor of on the left:
Double the weights, halve the gradient. Now take an SGD step with learning rate from each copy, writing :
To stay in sync, the second update would need to land at . Instead, it moves by . Matching the two requires a learning rate of for the scaled copy.
Doubling the weights requires four times the learning rate to reproduce the same change in direction. The starting predictions are identical; the training steps are not.
Defining scale-equivariant updates
Let denote the updated weights. A rule that respects the scaling symmetry should satisfy[2]
This is scale equivariance: scaling before the update gives the same result as scaling afterward. With the same batches and step-size schedule, applying this relation at every step keeps the two runs on the same path through model functions.
Geometrically, put the two copies on spheres of radius and . Turn both in the same direction through the same angle. They stay on the same ray, so they still represent the same model.
Constructing a fixed-norm update
For a nonzero gradient, define . Rescaling changes neither nor . We can therefore build an update using just these two directions.
Write and choose a shared, nonnegative step size :
Take a step in the negative gradient direction, normalize, and restore the radius. Both copies compute exactly the same new unit direction, so
The update satisfies (6) by construction.
Replacing the raw gradient with an optimizer direction gives the fixed-norm form discussed in the ELR work:[1]
Here indexes training steps. The same scaling argument holds when the two runs produce matching normalized directions , including any effect of optimizer state. A zero update direction simply leaves the weights unchanged.
Relating effective learning rate to the rotation angle
Before projecting back onto the sphere, the step in (9) has length . Relative to the weight norm , its size is exactly .
When is perpendicular to , the turn angle obeys . The angular update size (AUS) measures the distance between the old and new unit directions:
For small steps, . A raw gradient meets the perpendicularity condition by (4); momentum or preconditioning need not preserve it.
This gives the step-size knob a geometric meaning: controls the relative step, and for a tangential direction, the turn itself. Changing the radius no longer changes what that knob does.
References
-
Zhanpeng Zhou, Wenjie Zhou, Yufei Gu, Juqiu Wang, Guanwei Zhang, Ruobing Xie, Xianbiao Qi, Yushi Bai, Kaifeng Lyu, and Shunyu Yao. From LR to ELR: A Better Heuristic for Pretraining Dynamics. 2026.
-
Su Jianlin (苏剑林). 从参数对称性到有效学习率. October 2026.