Lune

EMNLP Findings2025

Layer Duplication in LLMs

Neo Eyal, Nachum Dershowitz, Kfir Bar

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper6

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

相关 Paper

  1. BlockPruner: Fine-grained Pruning for Large Language ModelsLongguang Zhong, Fanqi Wan, Ruijun Chen, Xiaojun Quan 等ACL Findings 2025 · 7 次引用
  2. LESA: Learnable LLM Layer Scaling-UpYifei Yang, Zouying Cao, Xinbei Ma, Yao Yao 等ACL 2025 · 6 次引用
  3. SoftDedup: an Efficient Data Reweighting Method for Speeding Up Language Model Pre-trainingNan He, Weichen Xiong, Hanwen Liu, Yi Liao 等ACL 2024 · 1 次引用
  4. To Repeat or Not To Repeat: Insights from Scaling LLM under Token-CrisisFuzhao Xue, Yao Fu, Wangchunshu Zhou, Zangwei Zheng 等NeurIPS 2023 · 149 次引用
  5. When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language ModelsHaoran You, Yichao Fu, Zheng Wang, Amir Yazdanbakhsh 等ICML 2024 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖