[Paper Review] The Unreasonable Ineffectiveness of the Deeper Layers
The paper shows that open-weight LLMs can lose up to about half of their deepest layers with minimal drop in QA performance, especially after a small amount of PEFT finetuning (QLoRA), suggesting deeper layers are not always essential.
How is knowledge stored in an LLM's weights? We study this via layer pruning: if removing a certain layer does not affect model performance in common question-answering benchmarks, then the weights in that layer are not necessary for storing the knowledge needed to answer those questions. To find these unnecessary parameters, we identify the optimal block of layers to prune by considering similarity across layers; then, to "heal" the damage, we perform a small amount of finetuning. Surprisingly, with this method we find minimal degradation of performance until after a large fraction (up to half) of the layers are removed for some common open-weight models. From a scientific perspective, the robustness of these LLMs to the deletion of layers implies either that current pretraining methods are not properly leveraging the parameters in the deeper layers of the network or that the shallow layers play a critical role in storing knowledge. For our study, we use parameter-efficient finetuning (PEFT) methods, specifically quantization and Low Rank Adapters (QLoRA), such that each of our experiments can be performed on a single 40GB A100 GPU.
Motivation & Objective
- Assess how pruning deeper transformer layers affects performance on QA benchmarks (MMLU and BoolQ) for open-weight LLMs
- Develop a similarity-based method to identify which layers to prune
- Demonstrate a simple, resource-efficient healing step using parameter-efficient finetuning (QLoRA)
- Evaluate the interaction of pruning with quantization and LoRA-based finetuning across multiple model families
Proposed method
- Define a simple pruning algorithm that selects the optimal block of layers to remove by minimizing angular distance between inputs to layer pairs separated by the pruning block
- Remove the identified block of layers and reconnect the surrounding layers to preserve computation flow
- Optionally apply a healing step using a small amount of finetuning with QLoRA on a pretraining dataset or task data
- Quantize parameters to 4-bit and finetune with QLoRA to enable experiments on a single A100 GPU
- Evaluate pruning effects on MMLU and BoolQ as downstream tasks and on C4 validation loss as the pretraining objective
- Compare a similarity-informed pruning strategy with a simpler deepest-layers pruning strategy
Experimental results
Research questions
- RQ1How far can deeper transformer layers be pruned before downstream QA performance collapses?
- RQ2Do deeper layers become increasingly similar to neighboring layers, enabling safe removal?
- RQ3Does a small amount of PEFT finetuning (QLoRA) heal pruning-induced damage across tasks and metrics?
- RQ4Can pruning be effectively combined with quantization and LoRA-based fine-tuning to maintain performance with lower resource use?
Key findings
- Models tolerate substantial pruning of deepest layers with minimal QA performance loss until a critical threshold (varying by model family, typically around 20–55% pruning in QA tasks)
- Healing with QLoRA significantly restores next-token prediction loss and smooths performance across pruning fractions, decoupling QA jumps from autoregressive loss
- Angular-distance analysis shows deeper layers are more similar to each other, while the final layer remains dissimilar, guiding which blocks to prune
- A simple heuristic of pruning the deepest layers behaves similarly to the similarity-informed method after healing, underscoring that pruning targets are about interface damage repair rather than knowledge acquisition
- Layer pruning reduces memory footprint and inference time linearly with removed layers and is compatible with PEFT and quantization, enabling practical open-weight LLM efficiency
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.