Work

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

Year: 2025
Type: conference-paper
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/icip- cas/ShortGPT.
Language: English
Open Access status: gold
OpenAlex ID: W4412887764
FWCI: 35.94
Cites:
Cited by: 56
Related to: 10