[Paper Review] LoRA-drop: Efficient LoRA Parameter Pruning based on Output Evaluation
LoRA-drop proposes a parameter-efficient fine-tuning method that prunes LoRA parameters by evaluating their output impact via the norm of ΔWx, retaining LoRA only for high-impact layers and sharing parameters across low-impact layers. This reduces LoRA parameters by 50% while maintaining performance comparable to full LoRA on NLU and NLG tasks.
Low-Rank Adaptation (LoRA) is currently the most commonly used Parameter-efficient fine-tuning (PEFT) method, it introduces auxiliary parameters for each layer to fine-tune the pre-trained model under limited computing resources. However, it still faces resource consumption challenges during training when scaling up to larger models. Most previous studies have tackled this issue by using pruning techniques, which involve removing LoRA parameters deemed unimportant. Nonetheless, these efforts only analyze LoRA parameter features to evaluate their importance, such as parameter count, size, and gradient. In fact, the output of LoRA (product of LoRA parameter and hidden state), directly impacts the final results. Preliminary experiments indicate that a fraction of LoRA elements possesses significantly high output values, substantially influencing the layer output. Motivated by the observation, we propose LoRA-drop. Concretely, LoRA-drop evaluates the importance of LoRA based on the LoRA output. Then we retain LoRA for important layers and the other layers share the same LoRA. We conduct abundant experiments with models of different scales on NLU and NLG tasks. Results demonstrate that LoRA-drop can achieve performance comparable to full fine-tuning and LoRA, while retaining 50\% of the LoRA parameters on average.
Motivation & Objective
- To address the high parameter cost of LoRA in large models despite its parameter efficiency.
- To improve parameter efficiency by identifying and pruning LoRA parameters that contribute minimally to model output.
- To develop a pruning strategy that evaluates LoRA importance based on output impact (ΔWx) rather than just parameter features.
- To maintain model performance while significantly reducing the number of trainable LoRA parameters through shared parameterization.
Proposed method
- LoRA-drop evaluates the importance of each layer's LoRA by computing the squared norm of the output ΔWx, which reflects its influence on the frozen model.
- It performs a limited number of fine-tuning updates on a sampled dataset to estimate the output impact of LoRA parameters.
- Layers with high importance (large ||ΔWx||²) retain their individual LoRA parameters, while low-importance layers share a single set of LoRA parameters.
- The method uses a threshold T to select the top layers based on output importance, with the remaining layers sharing parameters to reduce parameter count.
- The shared LoRA parameters are updated during fine-tuning, and the approach is robust to varying sample proportions for importance estimation.
- It introduces a hyperparameter T to control the number of retained LoRA layers, with empirical validation showing T=0.9 as optimal for balancing performance and efficiency.
Experimental results
Research questions
- RQ1Can LoRA parameter pruning based on output impact (ΔWx) achieve better parameter efficiency than pruning based solely on parameter features?
- RQ2Does sharing LoRA parameters across low-impact layers preserve model performance while reducing trainable parameters?
- RQ3How sensitive is the importance estimation to the size of the sampled dataset used for evaluation?
- RQ4Is the output-based importance metric more effective than random selection or top-layer selection for LoRA retention?
- RQ5What is the optimal threshold T for selecting high-impact LoRA layers in terms of performance and parameter reduction?
Key findings
- LoRA-drop achieves performance comparable to full LoRA on the GLUE benchmark, with 50% fewer LoRA parameters.
- On RoBERTa-base, LoRA-drop achieves 81.4% accuracy on RTE (vs. 80.8% for full LoRA), with a 50% reduction in LoRA parameters.
- The method maintains strong performance across diverse NLU and NLG tasks, including STS-B, MRPC, CoLA, SST-2, QNLI, MNLI, and QQP.
- Abllation studies confirm that sharing LoRA parameters across low-importance layers is superior to direct removal, improving performance by up to 1.2% on average.
- The importance ranking of LoRA layers remains stable across different sample proportions, indicating robustness to data sampling size.
- Setting the threshold T to 0.9 achieves optimal trade-off, retaining approximately half of the LoRA layers while maximizing performance.
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.