[Paper Review] LoRA Dropout as a Sparsity Regularizer for Overfitting Control
The paper introduces LoRA Dropout, a sparsity-based regularizer for LoRA-based parameter-efficient fine-tuning, with theory and test-time ensemble to improve generalization and calibration across NLP tasks.
Parameter-efficient fine-tuning methods, represented by LoRA, play an essential role in adapting large-scale pre-trained models to downstream tasks. However, fine-tuning LoRA-series models also faces the risk of overfitting on the training dataset, and yet there's still a lack of theoretical guidance and practical mechanism to control overfitting on LoRA-based PEFT methods. In this paper, we propose a LoRA Dropout mechanism for the LoRA-based methods by introducing random noises to the learnable low-rank matrices and increasing parameter sparsity. We then demonstrate the theoretical mechanism of our LoRA Dropout mechanism from the perspective of sparsity regularization by providing a generalization error bound under this framework. Theoretical results show that appropriate sparsity would help tighten the gap between empirical and generalization risks and thereby control overfitting. Furthermore, based on the LoRA Dropout framework, we introduce a test-time ensemble strategy and provide theoretical evidence demonstrating that the ensemble method can further compress the error bound, and lead to better performance during inference time. Extensive experiments on various NLP tasks provide practical validations of the effectiveness of our LoRA Dropout framework in improving model accuracy and calibration.
Motivation & Objective
- Motivate and address overfitting in LoRA- and AdaLoRA-based fine-tuning of large pre-trained language models.
- Develop a dropout mechanism that induces sparsity in learnable LoRA matrices without reducing expressive power.
- Provide theoretical generalization guarantees under sparsity regularization for LoRA Dropout.
- Propose a test-time ensemble strategy to further improve inference performance and generalization.
- Empirically validate the framework on diverse NLP tasks, including GLUE, SQuAD, and instruction tuning.
Proposed method
- Apply dropout to the input/output dimensions of LoRA low-rank matrices by masking rows/columns with Bernoulli(p) draws.
- Express the forward pass as h = W0x + Ãx with à = B A, and dropout-applied versions Ã̂ = B̂ Â̂, where  and B̂ are masked versions of A and B.
- Train with an objective that averages losses over N dropout instances: L(x) = (1/N) Σr ℓ(x; θ0 + Δθ(mr)).
- Adapt the dropout framework to AdaLoRA by masking its P and Q matrices while keeping the diagonal Λ fixed during dropout.
- Develop a sparsity-regularized optimization view that leads to a generalization error bound (Theorem 4.4).
- Introduce a test-time ensemble by averaging outputs across dropout-instantiated models, yielding a tighter error bound (Theorem 4.5).
Experimental results
Research questions
- RQ1Can LoRA-based fine-tuning be regularized via dropout to balance empirical risk and model complexity?
- RQ2Does sparsity regularization induced by LoRA Dropout improve generalization and calibration for PEFT methods?
- RQ3Can a test-time dropout ensemble further reduce generalization error and improve performance?
- RQ4How does LoRA Dropout interact with AdaLoRA and other LoRA variants in practice across NLP tasks?
Key findings
- LoRA Dropout provides a sparsity-regularized fine-tuning objective that can reduce overfitting in LoRA-based methods.
- Theoretical analysis yields a generalization error bound showing the trade-off between empirical risk and model complexity controlled by dropout rate p and sparsity strength λ.
- A test-time ensemble of dropout-instantiated models further tightens the error bound and improves test-time generalization.
- Empirical results across GLUE tasks, SQuAD, and instruction tuning show LoRA Dropout consistently improves accuracy and calibration over baseline LoRA and AdaLoRA methods.
- LoRA Dropout reduces expected calibration error (ECE) on several GLUE tasks, indicating better-calibrated predictions.
- Across SQuAD v1.1/v2.0 and instruction tuning, LoRA Dropout attains higher EM/F1 and MMLU 0-shot accuracy, respectively, than non-dropout baselines.
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.