One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs

Di He, Songjun Tu, Keyu Wang, Lu Yin, Shiwei Liu
5/21/2026
8 citations
cs.LGcs.AI
transformer-attention

Official code: hed-ucas/Layer-wise-Learning-Rate (9 stars, Python, last commit 2026-05-27).

Abstract

Learning rate configuration is a fundamental aspect of modern deep learning. The prevailing practice of applying a uniform learning rate across all layers overlooks the structural heterogeneity of Transformers, potentially limiting their effectiveness as the backbone of Large Language Models (LLMs).

Show full abstract

In this paper, we introduce Layerwise Learning Rate (LLR), an adaptive scheme that assigns distinct learning rates to individual Transformer layers. Our method is grounded in Heavy-Tailed Self-Regularization (HT-SR) theory, which characterizes the empirical spectral density (ESD) of weight correlation matrices to quantify heavy-tailedness. Layers with weaker heavy-tailedness are assigned larger learning rates to accelerate training, while layers with stronger heavy-tailedness receive smaller learning rates. By tailoring learning rates in this manner, LLR promotes more balanced training across layers, leading to faster convergence and improved generalization. Extensive experiments across architectures ranging from LLaMA to GPT-nano, optimizers including AdamW and Muon, and model scales from 60M to 3B parameters with up to 100B training tokens demonstrate the effectiveness of LLR. LLR achieves up to 1.5x training speedup and consistently outperforms uniform-learning-rate baselines. In particular, it improves the average zero-shot accuracy of 1B models from 47.09% to 49.02%, and that of 3B models from 48.58% to 50.61%. A key advantage of LLR is its low tuning overhead: it can transfer nearly optimal learning-rate settings directly from the uniform baseline. Code is available at https://github.com/hed-ucas/Layer-wise-Learning-Rate.

View on arXivView PDF

Code Implementations(1)

92Python, Jupyter NotebookMar 5, 20266 months ago

Similar Papers

Cite this paper

@article{he2026doesnt,
  title  = {One LR Doesn't Fit All: Heavy-Tail Guided Layerwise Learning Rates for LLMs},
  author = {Di He and Songjun Tu and Keyu Wang and Lu Yin and Shiwei Liu},
  year   = {2026},
  eprint = {2605.22297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.22297v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.22297.svg)](https://codeofpaper.com/paper/2605.22297)

Discussion