arXiv · 2402.15415
Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics
Abstract
Low-Rank Adaptation (LoRA) is the dominant parameter-efficient fine-tuning method due to its favorable compute-performance trade-off, yet it suffers from catastrophic forgetting. We study forgetting through a tractable _mean-field self-attention_ toy model, where tokens evolve as an interacting particle system and LoRA acts as a low-rank perturbation. Using tools from partial differential equations and dynamical systems, we characterize regimes suggesting a phase transition between forgetting and non-forgetting behavior. We show that one phase transition appears with respect to the norm of the perturbation, and the other with respect to the depth of the Transformers. We further bound the time-to-deviation in terms of the perturbation size and spectral quantities, and corroborate the predicted trends with experiments and exploratory analyses on real models under LoRA fine-tuning.
Explore related subjects
Keep this discovery
Hugo Koubbi, Louis Hernandez, Matthieu Boussard. 2024-02-23. Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics. https://arxiv.org/abs/2402.15415
Cite the original work for its findings. Save a collection to share your selection of sources.