LEMON: Lossless model expansion

Yite Wang, Jiahao Su, Hanlin Lu, Cong Xie, Tianyi Liu +4 more
2/12/2026

No official code found. Best implementation: YiteWang/lemon-pytorch (13 stars, last commit 2024-04-14).

Abstract

Scaling of deep neural networks, especially Transformers, is pivotal for their surging performance and has further led to the emergence of sophisticated reasoning capabilities in foundation models. Such scaling generally requires training large models from scratch with random initialization, failing to leverage the knowledge acquired by their smaller counterparts, which are already resource-intensive to obtain. To tackle this inefficiency, we present $\textbf{L}$ossl$\textbf{E}$ss $\textbf{MO}$del Expansio$\textbf{N}$ (LEMON), a recipe to initialize scaled models using the weights of their smaller but pre-trained counterparts. This is followed by model training with an optimized learning rate scheduler tailored explicitly for the scaled models, substantially reducing the training time compared to training from scratch. Notably, LEMON is versatile, ensuring compatibility with various network structures, including models like Vision Transformers and BERT. Our empirical results demonstrate that LEMON reduces computational costs by 56.7% for Vision Transformers and 33.2% for BERT when compared to training from scratch.

View on arXivView PDF

Code Implementations(1)

This is the unofficial implementation of LEMON (ICLR'2024).

131Shell, PythonFeb 3, 20242 years ago

Cite this paper

@article{wang2026lemon,
  title  = {LEMON: Lossless model expansion},
  author = {Yite Wang and Jiahao Su and Hanlin Lu and Cong Xie and Tianyi Liu and Jianbo Yuan and Haibin Lin and Ruoyu Sun and Hongxia Yang},
  year   = {2026},
  eprint = {2310.07999},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.07999},
  journal = {ICLR 2023 2023}
}

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

Discussion