Why Lift so Heavy? Slimming Large Language Models by Cutting Off the Layers
Yuan, Shuzhou, Nie, Ercong, Ma, Bolei, Färber, Michael
–arXiv.org Artificial Intelligence
Large Language Models (LLMs) possess outstanding capabilities in addressing various natural language processing (NLP) tasks. However, the sheer size of these models poses challenges in terms of storage, training and inference due to the inclusion of billions of parameters through layer stacking. While traditional approaches such as model pruning or distillation offer ways for reducing model size, they often come at the expense of performance retention. In our investigation, we systematically explore the approach of reducing the number of layers in LLMs. Surprisingly, we observe that even with fewer layers, LLMs maintain similar or better performance levels, particularly in prompt-based fine-tuning for text classification tasks. Remarkably, in certain cases, models with a single layer outperform their fully layered counterparts. These findings offer valuable insights for future work aimed at mitigating the size constraints of LLMs while preserving their performance, thereby opening avenues for significantly more efficient use of LLMs.
arXiv.org Artificial Intelligence
Apr-18-2025
- Country:
- Asia
- Europe
- Germany > Bavaria
- Upper Bavaria
- Ingolstadt (0.04)
- Munich (0.04)
- Upper Bavaria
- Ireland (0.04)
- Middle East > Malta
- Eastern Region > Northern Harbour District > St. Julian's (0.04)
- Romania > Sud - Muntenia Development Region
- Giurgiu County > Giurgiu (0.04)
- Germany > Bavaria
- North America
- Canada > Ontario
- Toronto (0.04)
- Dominican Republic (0.04)
- United States
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Washington > King County
- Seattle (0.04)
- Minnesota > Hennepin County
- Canada > Ontario
- Genre:
- Research Report > New Finding (0.47)
- Technology: