C-LoRA: Continual Low-Rank Adaptation for Pre-trained Visual Models
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: Today's paper: "C-LoRA: Continual Low-Rank Adaptation for Pre-trained Visual Models".
Jane: The gist The Continual Low-Rank Adaptation (C-LoRA) method enables a single,
Tom: First, who's behind it and why it matters.
Paper summary: Tom: Looking at this whole paper, C-LoRA: Continual Low-Rank Adaptation for Pre-trained Visual Models is about taking a standard LoRA and fixing its instability issue in continual learning scenarios. The main contribution is the learnable routing matrix R that splits into a stability component Rbase and a plasticity component Rdelta.
Jane: It tackles the naive question of why applying single LoRA to a sequence of tasks leads to rapid forgetting, showing it's because standard LoRA assigns uniform weights to every rank-one subspace, which doesn't distinguish important knowledge from underutilized parts.
Lu: The authors show that by introducing R and controlling the flow through Rbase versus Rdelta—especially stopping gradient flow through Rbase during new task training—they can manage the conflict where important subspaces for stability also amplify gradients, risking catastrophic forgetting.
Meng: From a production standpoint, C-LoRA offers a fixed parameter budget, which is better than methods that expand their parameters linearly with the number of tasks. This means we're not constantly growing our adaptation layer just to keep up with new data streams.
Tom: And they quantify the success by showing smaller update magnitudes and lower variance when routing through Rdelta compared to Rbase, plus they report a Backward Transfer of-three point seven eight on ImageNet-A. That’s concrete evidence that it works better for retention than standard methods.
Jane: So what does this mean for the world? It means that these powerful pre-trained visual models can be used in dynamic environments where data and tasks evolve, and we don't have to worry about them forgetting the general knowledge they gained before.
Lu: The paper highlights that the design of that routing matrix is critical for solving gradient amplification and achieving reliable continual learning performance.
Tom: It’s a significant step because it moves beyond just adding more parameters or merging adapters, focusing instead on learning how to manage the update process itself within a fixed size adapter structure.
Conclusion: Tom: So we’re wrapping up on C-LoRA, which is about keeping one LoRA adapter stable when you’re doing many different tasks in a row without forgetting what it learned earlier, and the authors are Xin Zhang and Liang Bai at Shanxi University.
Jane: It seems like they tackled that stability thing by splitting the adaptation into two parts, a stability component Rbase that keeps old knowledge, and a plasticity component Rdelta that handles the new task updates.
Lu: The core idea is using this learnable routing matrix R to explicitly control how each rank-one subspace feeds into the weight update. It’s not just letting everything update equally anymore.
Meng: So, instead of every part of the adaptation layer getting a fair shot at changing for the new task, they’re learning which parts should be stable and which parts should change quickly.
Tom: Exactly. The paper shows that by stopping gradient flow through Rbase during new task training, you actually get updates modulated only by Rdelta, and that results in smaller update magnitudes and lower variance compared to just routing through Rbase.
Jane: It’s interesting because they even have an importance-aware gate Gamma that looks at how important each subspace is based on the magnitude of the base matrix Rbase before deciding how much gradient goes into Rdelta.
Lu: That's a clever way to prevent those large gradients from destabilizing things, by suppressing flow into Rdelta in dimensions that are crucial for stability.
Tom: So, the main implication here is that you can use a single fixed-size LoRA adapter for a long sequence of tasks without the knowledge from earlier tasks getting wiped out.
Jane: It means these visual models can be used in ways we haven't explored yet, where they have to learn continuously as they see new things.
Meng: From an engineering standpoint, if this works reliably across different architectures and many tasks, that’s a big win for deployment because we don't have to constantly manage a growing set of adapters.
Lu: It suggests that the structure of the adaptation itself—how you design the routing matrix—is more important than just adding more parameters or finding new ways to fuse models.
Tom: It really boils down to learning how to manage that stability-plasticity trade-off within a single parameter budget, and it sets up some interesting questions about what that means for future continual learning systems.
Xin Zhang, Liang Bai, Xian Yang
Institute of Intelligent Information Processing Shanxi University · Alliance Manchester Business School The University of Manchester
cs.LG
Submitted: 2025-02-25
Updated: 2026-10-08
Code: https://github.com/lambor9973/C-LoRA
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 89/100
The gist: The gist The Continual Low-Rank Adaptation (C-LoRA) method enables a single, shared LoRA adapter to handle sequential tasks without catastrophic forgetting by using a learnable routing matrix R that
Key concepts
- Learnable Routing Matrix R
- This matrix acts as a switch that decides how much each low-rank subspace contributes to the weight update. It is split into two parts: Rbase for stability (keeping old knowledge) and Rδ for plasticity (adapting to the current task). This allows the model to learn which parts of its parameters should be updated and which should remain stable.
- Stability Component (Rbase)
- Rbase accumulates knowledge from previous tasks. During training on a new task, gradient flow is stopped through Rbase. This component ensures that important, consolidated knowledge from prior tasks is not disrupted or overwritten by the updates needed for the current task.
- Plasticity Component (Rδ)
- Rδ drives the adaptation specifically for the current task. It allows for changes and learning relevant to the new data without interfering with Rbase. The method uses this component to modulate updates, ensuring that only necessary changes occur, which helps reduce forgetting.
- Importance-Aware Gating (Γ)
- This gate uses an importance score derived from Rbase to suppress gradient flow into Rδ at dimensions critical for prior tasks. This prevents the plasticity component from causing large, disruptive updates in areas that hold essential historical knowledge.
Terminology
Summary
The gist The Continual Low-Rank Adaptation (C-LoRA) method enables a single, shared LoRA adapter to handle sequential tasks without catastrophic forgetting by using a learnable routing matrix R that explicitly controls how each rank-one subspace contributes to the weight update
How it works
The core innovation of C-LoRA is a learnable routing matrix R that decomposes into a stability component (Rbase) and a plasticity component (Rδ), which drives adaptation to the current task without disrupting consolidated knowledge The update is formulated as ∆W = ARB, where R controls how each rank-one subspace contributes to the weight update This matrix R is decomposed into a stability component (Rbase), which accumulates knowledge from prior tasks and is excluded from gradient flow during new-task training The plasticity component (Rδ) drives adaptation to the current task without disrupting consolidated knowledge
Gradient Flow Control and Stability
The standard LoRA update implicitly assigns a uniform weight to every rank-one subspace, causing all subspaces to be equally exposed to gradient updates from new tasks Introducing the routing matrix R addresses this by allowing the model to learn differential subspace weights Theorem 1 shows that the gradients flowing into the shared bases A and B scale with∥R∥2 As knowledge accumulates,∥R∥2 grows, and the subspaces most critical for stability are paradoxically the most vulnerable to disruption The decomposition strategy breaks this conflict by stopping gradient flow through Rbase during new-task training, modulating updates only by Rδ Theorem 3 demonstrates that if σ2base > σ2δ, then the total variance of the gradient updates modulated by Rδ is strictly smaller than if they were modulated by Rbase
Importance-Aware Gating
To further mitigate gradient magnitude, C-LoRA introduces an importance-aware gate Γ ∈ [0, 1]r×r that suppresses gradient flow into Rδ at dimensions important to prior tasks The importance of each subspace is estimated by the magnitude of the corresponding element, Iij = Rbase,ij This importance score is then Z-score normalized to compute Γ using an element-wise sigmoid function The effective routing component for the current task, R′δ, is calculated as R′δ = Γ ⊙ Rδ + (1 − Γ) ⊙ ϕ(Rδ), where ϕ(·) denotes the stop-gradient operator
Empirical Performance and Efficiency
C-LoRA demonstrates competitive performance across multiple benchmarks, achieving high Last-Acc values on CIFAR-100, ImageNet-A, CUB-200, and CAR196 datasets The fixed parameter budget of C-LoRA is a key advantage over expansion methods like EASE or SD-LoRA, which incur linear parameter growth with the number of tasks For instance, C-LoRA maintains a constant overhead parameter regardless of sequence length Furthermore, the analysis shows that routing through Rδ produces updates that are both smaller in magnitude and lower in variance compared to routing through Rbase The method's ability to reduce forgetting is quantified by the Backward Transfer (BWT) metric, where C-LoRA achieves a BWT of-3.78 on ImageNet-A
Conclusion
C-LoRA successfully mitigates the stability-plasticity conflict within a single, fixed-size adapter by decoupling R into Rbase and Rδ By employing a learnable routing matrix R, C-LoRA significantly enhances knowledge retention during sequential task adaptation The work concludes that the design of the routing matrix is crucial for resolving gradient amplification and achieving robust continual learning performance
--- Page 1 ---
C-LoRA: Continual Low-Rank Adaptation for Pre-trained Visual Models Xin Zhang Institute of Intelligent Information Processing Shanxi University Taiyuan 030006, China zhangxin8572@sxu.edu.cn Liang Bai∗ Institute of Intelligent Information Processing Shanxi University Taiyuan 030006, China bailiang@sxu.edu.cn Xian Yang Alliance Manchester Business School The University of Manchester Manchester M13 9PL, United Kingdom xian.yang@manchester.ac.uk Abstract Pre-trained visual models have become fundamental in computer vision, but they face challenges in continual learning scenarios where data and tasks evolve over time Low-Rank Adaptation (LoRA) offers efficient fine-tuning capabilities but remains limited for such dynamic environments Standard LoRA cannot distinguish important subspaces, causing critical knowledge to be overwritten in sequential training We propose Continual Low-Rank Adaptation (C-LoRA), a method that enables a single, shared LoRA adapter to handle sequential tasks without catastrophic forgetting—without requiring any module selection or fusion at inference The core of C-LoRA is a learnable routing matrix R that explicitly controls how each rank-one subspace contributes to the weight update This matrix is decomposed into a stability component (Rbase), which preserves knowledge from prior tasks, and a plasticity component (Rδ), which drives adaptation to the current task—providing direct control over the stability-plasticity trade-off We analyze how R governs gradient flow during sequential training, and demonstrate competitive performance across multiple benchmarks The code is available at https://github.com/lambor9973/C-LoRA 1 Introduction Pre-trained visual models Dosovitskiy [2020], Wang et al. [2022a,b] have revolutionized computer vision applications, but they face fundamental limitations when deployed in dynamic environments where tasks and data distributions continuously evolve Parisi et al. [2019] This challenge, known as continual learning Wang et al. [2024], requires models to progressively accumulate knowledge while preserving performance on previously learned tasks Low-Rank Adaptation (LoRA) Hu et al. [2021] is a parameter-efficient fine-tuning method that adapts large-scale pre-trained models to downstream tasks by introducing low-rank matrices to update a small subset of parameters while keeping the core pre-trained weights frozen This approach preserves the general knowledge captured during pre-training, reduces computational and storage costs, and mitigates the risk of overfitting by limiting updates to task-specific components Ayoub Kamal et al. [2502.17920] LoRA has proven highly effective in fields such as computer vision, where pre-trained models are commonly deployed for diverse and evolving applications Yu et al. [2502.17920], Zhou et al. [2502.17920], Aljundi et al. [2502.17920], Hu et al. [2502.
Improvements for AI systems
-
Continuous knowledge preservation in sequential tasks: The C-LoRA framework enables
a single, shared LoRA adapter to handle sequential tasks without catastrophic forgetting,
specifically by decomposing the routing matrix into a stability component (Rbase) and a plasticity component (Rδ), allowing Rbaseto accumulate knowledge from prior tasks and is excluded from gradient flow during new-task training.
-
Gradient flow control for stability: The system mitigates catastrophic forgetting through
decoupled routing,
where updates are modulated by Rδ alone, which ensures that the resulting parameter shifts aresignificantly smaller
compared to joint strategies, as shown by Theorem 2:If Rδ is initialized such that∥Rδ∥2 ≪∥Rbase∥2, the decomposition strategy achieves a significantly tighter upper bound on the stability loss.
-
Importance-aware subspace gating: The C-LoRA system protects critical knowledge by introducing an
importance-aware gate Γ,
which suppresses gradient flow into Rδ at dimensions important to prior tasks, allowing for fine-grained control as defined byR′δ = Γ ⊙ Rδ + (1 − Γ) ⊙ ϕ(Rδ).
-
Fixed parameter budget efficiency: Unlike existing approaches that incur linear parameter growth, C-LoRA maintains a constant overhead parameter regardless of sequence length, which is demonstrated by the finding that
C-LoRA (Ours) maintains a fixed parameter budget
while othersgrow linearly with the number of tasks.
-
Enhanced performance across task sequences: The method achieves superior continual learning performance, as evidenced by its results on CUB-200 where
C-LoRA’s Last-Acc slightly increases with the number of sessions,
and it shows competitive results against state-of-the-art methods like Adam+adapter. -
Reduced gradient variance: The decomposition strategy leads to
smaller in magnitude and lower in variance
updates, as formalized by Theorem 3: "If σ2 base > σ2 δ, then the total variance of the gradient updates modulated by Rδ is strictly smaller than if they were modulated by Rbase."
Sources
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- LoRA: Low-Rank Adaptation of Large Language Models
- SD-LoRA: Scalable Decoupled Low-Rank Adaptation for Class Incremental Learning
- Memory Replay with Data Compression for Continual Learning
- LoRA+: Efficient Low Rank Adaptation of Large Models
- LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Models
- VeRA: Vector-based Random Matrix Adaptation
- Make LoRA Great Again: Boosting LoRA with Adaptive Singular Values and Mixture-of-Experts Optimization Alignment
- Online-LoRA: Task-free Online Continual Learning via Low Rank Adaptation
- ImageNet-21K Pretraining for the Masses
- Revisiting Class-Incremental Learning with Pre-Trained Models: Generalizability and Adaptivity are All You Need
- AdaLoRA: Adaptive Budget Allocation for Parameter-Efficient Fine-Tuning
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks