Mitigating Forgetting in Low Rank Adaptation
Joanna Sliwa, Frank Schneider, Philipp Hennig, Jose Miguel Hernandez-Lobato
TL;DR
LaLoRA introduces a lightweight, curvature-aware regularizer for LoRA-based fine-tuning by applying a Laplace approximation to the trainable LoRA adapters. By estimating parameter importance from surrogate source data and penalizing changes in high-curvature directions, it preserves pre-trained knowledge while enabling target-domain learning. The method yields a superior learning-forgetting Pareto frontier compared to baselines across multiple tasks and models, and demonstrates robustness to hyperparameters and surrogate data choices. Its modular design supports several curvature schemes (Diag, B-KFAC, B-Tri-KFAC) and remains practical with minimal source data. This approach provides a principled path toward more robust, uncertainty-aware parameter-efficient fine-tuning for large language models.
Abstract
Parameter-efficient fine-tuning methods, such as Low-Rank Adaptation (LoRA), enable fast specialization of large pre-trained models to different downstream applications. However, this process often leads to catastrophic forgetting of the model's prior domain knowledge. We address this issue with LaLoRA, a weight-space regularization technique that applies a Laplace approximation to Low-Rank Adaptation. Our approach estimates the model's confidence in each parameter and constrains updates in high-curvature directions, preserving prior knowledge while enabling efficient target-domain learning. By applying the Laplace approximation only to the LoRA weights, the method remains lightweight. We evaluate LaLoRA by fine-tuning a Llama model for mathematical reasoning and demonstrate an improved learning-forgetting trade-off, which can be directly controlled via the method's regularization strength. We further explore different loss landscape curvature approximations for estimating parameter confidence, analyze the effect of the data used for the Laplace approximation, and study robustness across hyperparameters.
