A Dynamical Theory of LoRA in Continual Learning
Théo Marchetta, Filippo Alessandroni, Alessandro Breccia, Alessandro Ingrosso, Federica Gerace
Abstract
Despite the widespread use of Low-Rank Adaptation (LoRA), little is known about its dynamics in continual learning and the mechanisms by which low-rank updates affect catastrophic forgetting. We provide an asymptotically exact dynamical characterization of LoRA in a solvable two-task teacher-student model. In the high-dimensional online-learning limit, we derive a closed system of ordinary differential equations for a finite set of macroscopic order parameters, yielding exact expressions for the generalization errors throughout both the initial Task 1 learning phase and the subsequent LoRA fine-tuning on Task 2. The theory quantitatively matches finite-dimensional simulations and exposes two characteristic effects of LoRA: when the first-task representation is not yet specialized, low-rank adaptation reduces interference with features learned on the first task, but its initialization slows adaptation to the second task. Building on this mechanistic picture, we analyze a state-dependent masking strategy that freezes hidden units carrying the strongest first-task representations and restricts adaptation to the complementary subspace. This structural partitioning markedly reduces forgetting, while preserving plasticity on the new task. Our framework further clarifies the role of adapter rank: transfer improves only up to the intrinsic dimensionality of the target task and saturates beyond it, while forgetting continues to grow with rank. These results provide a dynamical and geometric account of how low-rank adaptation organizes information across sequential tasks, and are qualitatively reproduced on sequential MNIST and CIFAR-100 using a shallow network and ResNet-18, respectively.
Create a lesson
Related papers
Flow Matching from Non-Gaussian Sources: A Theory of Efficient Sampling
Shared title terminology · Yuchen Zhou, Lili Zheng, Yuxin Chen et al.
Decomposing SGD Dynamics in Neural Networks: Teacher-Induced Spikes and Variance Inflation
Shared title terminology · Samet Demir, Zafer Dogan
A Generative Model for Higher-Order Network Dynamics
Shared title terminology · Valentina Sánchez, Theodore Papamarkou, Gonzalo Nápoles et al.
A Differential Theory of Quality-Resource Trade-offs for AI Model Selection: The Multiresource Frontier and Its Minimax Price
Shared title terminology · Dmitry Ignatov
Uncertainty-Aware Continual Learning for 2D XRD Interpretation Using Simulated and Experimental Data
Shared title terminology · Zihan Wang, Hyun Sang Park, Ali Rachidi et al.
Multifidelity Operator Inference for Dynamical Systems
Shared title terminology · Vignesh Sella, Anirban Chaudhuri, Karen Willcox