Measuring the local shape of learning-rate transfer curves

Satoki Ishikawa, Rio Yokota, Ryo KarakidaarXiv 2026

TL;DR

Researchers have developed two new mathematical frameworks to quantify the "LR gradient"—the slope of the U-shaped curve that relates learning rate (LR) to final model loss. By treating the Edge of Stability (EoS) as a constraint and using a stable fixed-point approximation, they can now pinpoint which specific layers in a neural network are most sensitive to learning rate changes and explain why normalization layers make models easier to tune.

What Problem Does This Paper Address?

Tuning the learning rate is arguably the most critical step in training deep neural networks. Practitioners often sweep multiple LRs to find the "sweet spot" on a U-shaped loss curve. If this curve remains the same shape as you scale up a model (LR transfer), you can save massive amounts of compute by tuning on a small model and reusing the LR on a large one.

However, we’ve lacked a rigorous way to characterize the shape of these curves. Why are some curves flat and others steep? Why do some architectures transfer better than others? Standard methods to calculate these sensitivities (hypergradients) usually fail in deep learning because they either explode numerically or suffer from "short-horizon bias," where they only look at immediate loss decreases rather than long-term performance.

Methods

The authors propose two complementary relational equations to measure the LR gradient ($dL/d\eta$):

  1. EoS-LR Gradient: This theoretical formula assumes the model is training at the Edge of Stability (EoS)—a regime where the LR is just large enough that the loss oscillates but eventually decreases. By using the EoS condition as a constraint in a Lagrange multiplier framework, they derive a formula for the gradient that depends on the gradient norm and the third derivatives of the loss (sharpness of the sharpness).
  2. FP-LR Gradient (Fixed-Point LR): To handle a broader range of settings (like AdamW or signGD), the authors introduce a heuristic based on a time-averaged fixed-point approximation. Unlike standard hypergradients that differentiate through the entire training path, this method looks at a stable "stationary" point of the training dynamics, making it computationally feasible and robust.
Figure 3. The FP-LR gradient (red) remains stable and matches finite-difference estimates, whereas naive forward-mode differentiation (blue) diverges at large learning rates.

Datasets

The researchers validated their formulas across several standard benchmarks and architectures:

  • CIFAR-10: Used for training CNNs and ResNets (including ResNet8 and AirBench implementations).
  • Fashion-MNIST: Used for MLPs and small CNN experiments.
  • FineWeb: Used to train GPT-style Transformer models to test LR sensitivity in large-scale language modeling.

Key Insights and Ideas

  • The "Zero Gradient" of Normalization: The paper provides a formal proof for a common intuition: layers followed by normalization (like BatchNorm or LayerNorm) are scale-invariant. This means their specific LR gradient is theoretically zero, explaining why these layers contribute to flatter, more transferable LR curves.
  • Layer-wise Profiling: The FP-LR method allows researchers to decompose the total LR sensitivity into layer-by-layer contributions.
  • Universal Scaling: Across CNNs, ResNets, and GPTs, the LR gradient amplitudes seem to scale following a power law ($\eta^{-3/2}$), suggesting a fundamental underlying geometry in how loss landscapes respond to learning rate changes.
  • EoS as a Geometric Tool: Instead of just viewing EoS as an optimization nuisance, this paper uses it as a mathematical tool to simplify complex hypergradient calculations into tractable geometric properties of the loss landscape.

Key Results

  • Accuracy in Prediction: The EoS-LR gradient closely tracks finite-difference estimates (the "ground truth" obtained by brute-force sweeping LRs), especially as training progresses.
  • Identifying Bottlenecks: In ResNets, the final classifier layer is the primary driver of LR sensitivity. In GPT models, the embedding and output layers, along with the MLP input layers, show the highest sensitivity.
Figure 3. FP-LR gradients agree with finite-difference estimates. (a,b) FP-LR captures LR sensitivity for both SGD and signGD. (c) Increasing the averaging window improves agreement between the FP-LR gradient and the finite-difference estimate.
  • Batch Size Robustness: The EoS-LR gradient remains accurate even as batch sizes change, provided the EoS condition is adjusted for "batch sharpness" (Figure 2).

Limitations and Future Work

  • First-Order Only: This work focuses on the slope (first derivative) of the LR curve. Characterizing the curvature (second derivative) would provide a more complete picture of the U-shape but involves even higher-order derivatives that are difficult to compute.
  • EoS for Complex Optimizers: While the theory works well for SGD, the EoS behavior for preconditioned optimizers like AdamW in practical, noisy settings is still an active area of research.
  • Computational Cost: Calculating the EoS-LR gradient requires third-order information, which the authors approximate using finite differences. Finding more efficient ways to compute these "sharpness gradients" is a key next step.

Summary updated

Abstract

Understanding the learning-rate (LR) dependence of trained model performance is essential for better optimization of neural networks, but the appropriate size of the LR depends on learning dynamics, architecture, and their hidden biases, and thus our understanding of this complex dependence remains limited. The behavior of the loss curve as a function of the LR has recently been observed in extensive experiments on LR transfer across different settings, such as model sizes, and it is becoming more important to explore methodologies for quantitatively characterizing the shape of this LR curve. In this work, we provide two relational equations that give a good empirical explanation of the gradient of the LR transfer curve, i.e., the LR gradient. One is a theoretical formula that holds at the edge of stability, and the other is an approximate expression obtained by naively treating this gradient as a hyper-parameter gradient. Using these two relational equations in a complementary manner, we show a lower bound on the gradient of the curve and a zero gradient under specific conditions for normalization layers in theory. The approximate expression also applies to a wide range of experimental settings and allows us to decompose the LR gradient into layer-wise components and quantify the strong contribution of specific layers to the curve shape. Thus, this serves as a foundation for better understanding the internal mechanisms of LR dependence.
BibTeX
@misc{ishikawa2026measuring,
  author = {Satoki Ishikawa and Rio Yokota and Ryo Karakida},
  title = {{Measuring the local shape of learning-rate transfer curves}},
  year = {2026},
  eprint = {2610.21814},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.21814},
}
Figure