ShortGPT: Layers in Large Language Models are More Redundant Than You Expect

22Citations
Citations of this article
55Readers
Mendeley users who have this article in their library.
Get full text

Abstract

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. The code is publicly available at https://github.com/icipcas/ShortGPT.

Cite

CITATION STYLE

APA

Men, X., Xu, M., Zhang, Q., Yuan, Q., Wang, B., Lin, H., … Chen, W. (2025). ShortGPT: Layers in Large Language Models are More Redundant Than You Expect. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 20192–20204). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2025.findings-acl.1035

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free