Qianhao Yuan


2025

pdf bib
ShortGPT: Layers in Large Language Models are More Redundant Than You Expect
Xin Men | Mingyu Xu | Qingyu Zhang | Qianhao Yuan | Bingning Wang | Hongyu Lin | Yaojie Lu | Xianpei Han | Weipeng Chen
Findings of the Association for Computational Linguistics: ACL 2025

As Large Language Models (LLMs) continue to advance, their computational overhead has increased significantly. In this study, we identify notable redundancy across the layers of LLMs, where some layers contribute minimally to the overall network functionality. To quantify this, we introduce a metric called Block Influence (BI), which measures the importance of each layer based on the similarity between its input and output. Based on the observation of layer redundancy, we propose straightforward pruning methods for different tasks: ShortGPT for multiple-choice tasks and ShortGPT-gen for generative tasks. They prune redundant layers based on their BI scores. Our methods demonstrate superior performance over previous pruning methods. The ability to achieve better results through simple layer pruning, as opposed to more complex pruning techniques, suggests a high degree of redundancy across layers. We hope this work will contribute to future research for improving LLM efficiency.