Lune

EMNLP Findings2025

Layer Duplication in LLMs

Neo Eyal, Nachum Dershowitz, Kfir Bar

Abstract

We investigate the effect of duplicating multihead self-attention layers in large language models (LLMs) across a range of language tasks, with and without fine-tuning.The results demonstrate that duplicating the initial layers once or twice often yields a significant performance boost.Attention analysis uncovered the underlying mechanisms driving the improvement when performing layer duplication.This method enhances LLM capabilities with or without additional training or labeled data. IntroductionLarge language models (LLMs) have become a cornerstone of natural language processing (NLP), achieving state-of-the-art results across a wide range of tasks, such as question answering, language generation, and classification.These models, characterized by their deep architectures, large number of parameters, and attention mechanisms (Vaswani et al., 2017), show improvements with increased scale (Kaplan et al., 2020).However, this growth in model size also leads to increased computational training costs, raising challenges in optimizing performance while maintaining efficiency.Common strategies for enhancing LLMs include data augmentation (Wei et al., 2022), prompt engineering (Reynolds and McDonell, 2021), and scaling models prior to pretraining (Kaplan et al., 2020).In addition, few-shot and in-context learning (Brown et al., 2020) have enabled models to generalize effectively without further training.Another, less explored, technique is layer duplication, Views and opinions expressed are, however, those of the authors only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency.Neither the European Union nor the granting authorities can be held responsible for them.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on6

  1. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  2. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu et al.ICLR 2022 · 4,966 citations
  3. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley et al.ICML 2023 · 1,822 citations
  4. LayerSkip: Enabling Early Exit Inference and Self-Speculative DecodingMostafa Elhoushi, Akshat Shrivastava, Diana Liskovich, Basil Hosmer et al.ACL 2024 · 22 citations
  5. Mix-LN: Unleashing the Power of Deeper Layers by Combining Pre-LN and Post-LNPengxiang Li, Lu Yin, Shiwei LiuICLR 2025

Related papers

  1. BlockPruner: Fine-grained Pruning for Large Language ModelsLongguang Zhong, Fanqi Wan, Ruijun Chen, Xiaojun Quan et al.ACL Findings 2025 · 7 citations
  2. LESA: Learnable LLM Layer Scaling-UpYifei Yang, Zouying Cao, Xinbei Ma, Yao Yao et al.ACL 2025 · 6 citations
  3. SoftDedup: an Efficient Data Reweighting Method for Speeding Up Language Model Pre-trainingNan He, Weichen Xiong, Hanwen Liu, Yi Liao et al.ACL 2024 · 1 citation
  4. To Repeat or Not To Repeat: Insights from Scaling LLM under Token-CrisisFuzhao Xue, Yao Fu, Wangchunshu Zhou, Zangwei Zheng et al.NeurIPS 2023 · 149 citations
  5. When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language ModelsHaoran You, Yichao Fu, Zheng Wang, Amir Yazdanbakhsh et al.ICML 2024 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines