LESA: Learnable LLM Layer Scaling-Up

Yifei Yang, Zouying Cao, Xinbei Ma, Yao Yao, Libo Qin +2 more
2/19/2025
cs.LGcs.AIcs.CL

No official code found. Best implementation: yangyifei729/LESA (0 stars, last commit 2025-02-19).

Abstract

Training Large Language Models (LLMs) from scratch requires immense computational resources, making it prohibitively expensive. Model scaling-up offers a promising solution by leveraging the parameters of smaller models to create larger ones. However, existing depth scaling-up methods rely on empirical heuristic rules for layer duplication, which result in poorer initialization and slower convergence during continual pre-training. We propose \textbf{LESA}, a novel learnable method for depth scaling-up. By concatenating parameters from each layer and applying Singular Value Decomposition, we uncover latent patterns between layers, suggesting that inter-layer parameters can be learned. LESA uses a neural network to predict the parameters inserted between adjacent layers, enabling better initialization and faster training. Experiments show that LESA outperforms existing baselines, achieving superior performance with less than half the computational cost during continual pre-training. Extensive analyses demonstrate its effectiveness across different model sizes and tasks.

View on arXivView PDF

Code Implementations(1)

yangyifei729/LESACommunity100%

Source code for "LESA: Learnable LLM Layer Scaling-Up"

00Jupyter NotebookFeb 19, 20251 years ago

Similar Papers

Cite this paper

@article{yang2025lesa,
  title  = {LESA: Learnable LLM Layer Scaling-Up},
  author = {Yifei Yang and Zouying Cao and Xinbei Ma and Yao Yao and Libo Qin and Zhi Chen and Hai Zhao},
  year   = {2025},
  eprint = {2502.13794},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.13794v1}
}

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/2502.13794.svg)](https://codeofpaper.com/paper/2502.13794)

Discussion