Balancing Learning Rates Across Layers: Exact Two-Step Dynamics and Optimal Scaling in Linear Neural Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pang, Tianyu, Kothapalli, Vignesh, Deng, Shenyang, Wang, Haohui, Zhou, Dawei, Yang, Yaoqing
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913174929801216
author Pang, Tianyu
Kothapalli, Vignesh
Deng, Shenyang
Wang, Haohui
Zhou, Dawei
Yang, Yaoqing
author_facet Pang, Tianyu
Kothapalli, Vignesh
Deng, Shenyang
Wang, Haohui
Zhou, Dawei
Yang, Yaoqing
contents We study optimal learning-rate selection in two-layer and three-layer linear neural networks trained to learn linear target functions. In particular, we derive the exact closed-form expressions for the gradients and test loss after one and two steps of gradient descent, enabling a precise characterization of early training dynamics. We characterize how learning rates should scale under the gradient approximation in the first two steps, and prove that performing updates with this approximation yields a tractable surrogate loss with a tight, small approximation error. This formulation enables the theoretical analysis of layer-wise learning rates and reveals a distinct early-training regime: test loss can be minimized by unequal learning rates at the initial step, while equal learning rates become optimal in subsequent steps. Our numerical experiments validate the theory and demonstrate the importance of balancing layer-wise learning rates early during training. The code is available at: https://github.com/TDCSZ327/Layer-Balancing.
format Preprint
id arxiv_https___arxiv_org_abs_2606_00340
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Balancing Learning Rates Across Layers: Exact Two-Step Dynamics and Optimal Scaling in Linear Neural Networks
Pang, Tianyu
Kothapalli, Vignesh
Deng, Shenyang
Wang, Haohui
Zhou, Dawei
Yang, Yaoqing
Machine Learning
We study optimal learning-rate selection in two-layer and three-layer linear neural networks trained to learn linear target functions. In particular, we derive the exact closed-form expressions for the gradients and test loss after one and two steps of gradient descent, enabling a precise characterization of early training dynamics. We characterize how learning rates should scale under the gradient approximation in the first two steps, and prove that performing updates with this approximation yields a tractable surrogate loss with a tight, small approximation error. This formulation enables the theoretical analysis of layer-wise learning rates and reveals a distinct early-training regime: test loss can be minimized by unequal learning rates at the initial step, while equal learning rates become optimal in subsequent steps. Our numerical experiments validate the theory and demonstrate the importance of balancing layer-wise learning rates early during training. The code is available at: https://github.com/TDCSZ327/Layer-Balancing.
title Balancing Learning Rates Across Layers: Exact Two-Step Dynamics and Optimal Scaling in Linear Neural Networks
topic Machine Learning
url https://arxiv.org/abs/2606.00340