Task-Driven Subspace Decomposition for Knowledge Sharing and Isolation in LoRA-based Continual Learning

arXiv:2603.00191 · cs.LG, cs.CV · Submitted 2026-02-27 · Read on arXiv

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: "Task-Driven Subspace Decomposition for Knowledge Sharing and Isolation in LoRA-based Continual Learning".

Jane: The gist The proposed Low-rank Decomposition and Adaptation (LoDA) framework performs a task-driven decomposition to build general and truly task-specific LoRA subspaces by solving two energy-based objectives,

Tom: First, who's behind it and why it matters.

Paper summary: Tom: So wrapping up the "Task-Driven Subspace Decomposition for Knowledge Sharing and Isolation in LoRA-based Continual Learning" paper, the core idea is using two distinct subspaces, UG and UI, to manage how LoRA updates interact with old knowledge.

Jane: It’s about decoupling those directions so you get a general space for sharing what’s common and a specific space for learning what’s new without messing up the past. The authors claim this approach finds a better stability-plasticity trade-off than previous methods.

Lu: The implication is that we can design the LoRA subspaces based on task statistics—the projection energy—rather than just assuming a random split, which helps preserve transferable directions while still learning new things <ref:2603.00191#pg2>.

Meng: For deployment, this means models could adapt to new data more reliably because they are explicitly constrained from interfering with past tasks in certain ways. But the paper also notes a limitation, which is that it relies on estimating statistics from past tasks and then deriving the subspaces based on those estimates.

Lalam: Yes, one limitation mentioned is that the framework requires running a frozen backbone weight Wt-one on Dt to cache per-layer inputs and compute statistics S t before deriving UG and UI <ref:2603.00191#pg3>.

Tom: So, while it's theoretically sound with these two energy objectives, the practical cost is the need for that pre-processing step to get those statistics before you can even start learning for the new task.

Jane: That’s a fair point. The paper shows that LoDA outperforms existing continual learning methods on their experiments, but whether it’s efficient enough to run on a massive scale remains something we have to test further.

Conclusion: Jane: So, to wrap up this paper on Task-Driven Subspace Decomposition for Knowledge Sharing and Isolation in LoRA-based Continual Learning, they’ve essentially figured out how to build two separate learning spaces for a single model update.

Tom: Right, so it takes the old knowledge and the new task and creates a general space that lets them share stuff, but also a separate space that keeps things isolated for the new task.

Lu: Exactly. They solve two energy objectives to find those subspaces: one subspace for general directions, UG, which captures what’s common across all tasks.

Meng: And another subspace, UI, which they define as having the biggest ratio of new-to-old relative energy. That’s the part that should isolate the new task's learning.

Lalam: I see how it works conceptually; they use projection energy to gate which directions are learnable and which are fixed. It seems robust because it’s driven by data statistics, not just a random guess.

Jane: But what does this actually mean for someone just listening? It means we can design the model's update structure itself based on how the tasks overlap, instead of just hoping the standard LoRA setup works fine across different learning steps.

Tom: It’s about controlling that interference you talked about earlier. They use a Gradient Aligned Optimization technique to make sure those specific isolated updates are actually useful for the new task without hurting old ones.

Lu: The math shows that they can even derive a closed-form recalibration for the general update after each task, which helps approximate the best possible joint optimum.

Meng: For me, if we could build a system where we know exactly which directions are safe to change and which are strictly for new information, deployment would be much less risky at scale.

Lalam: It confirms that this decomposition is not just theoretical; the visualization of the loss landscapes shows those isolated directions actually lead to task-specific changes while keeping old tasks stable.

Jane: It’s a solid approach for making continual learning more principled by explicitly separating knowledge transfer from adaptation. But we need to see how this scales with a whole library of tasks.

Tom: Yeah, the authors are proving that by using energy-based objectives, you can get both general and task-specific directions simultaneously in LoRA.

Lu: The big implication is that the structure of the adaptation mechanism matters just as much as the data itself for continual learning systems.

Jane: Next up, we're going to look at how these subspace ideas compare to other ways people are tackling forgetting in AI models.

Lingfeng He, De ChengB, Huaijie Wang, Xi Yang, Nannan Wang, Xinbo Gao

Xidian University

cs.LG, cs.CV

Submitted: 2026-02-27

Updated: 2026-10-14

Comments: Accepted by ICML 2026

Code: https://github.com/HHHLF/LoDA_ICML2026

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 83/100

The gist: The gist The proposed Low-rank Decomposition and Adaptation (LoDA) framework performs a task-driven decomposition to build general and truly task-specific LoRA subspaces by solving two energy-based

Key concepts

General Subspace (UG)
This subspace captures directions salient across all tasks by maximizing the overall projection energy of both old and new tasks. It enables effective knowledge transfer between different learning stages by identifying common features that are relevant to multiple previous and current tasks.
Isolated Subspace (UI)
This subspace identifies truly task-specific updates by maximizing the ratio of new-to-old relative energy. This isolates directions that are highly effective for the new task while having minimal impact on previously learned tasks, ensuring strong adaptation without interference.
Projection Energy
Projection energy quantifies how much a feature vector lies within a specific subspace defined by a set of vectors. It is used to motivate the design of the decomposition, guiding the selection of subspaces that capture either general knowledge (high energy across tasks) or task-specific novelty (high relative energy).
Gradient-Aligned Optimization (GAO)
GAO is an optimization approach used to train the up-projections in LoDA. It encourages gradient consistency across label-disjoint subsets, which promotes shared directions between different tasks. This helps enlarge the set of safe update directions for the current task, making it more robust.

Terminology

Summary

The gist The proposed Low-rank Decomposition and Adaptation (LoDA) framework performs a task-driven decomposition to build general and truly task-specific LoRA subspaces by solving two energy-based objectives, decoupling directions for knowledge sharing and isolation.

How it works

The LoDA framework addresses the limitations of existing methods that either overlook task-shared directions or fail to capture truly effective task-specific directions by performing a task-driven decomposition to build general and truly isolated LoRA subspaces. This is achieved by revealing that the impact of a LoRA update on the loss is governed by the projection energy of the task features onto the down-projection’s row subspace, which motivates a data-driven design to freeze down-projections as a gate that selects learnable new feature components while controlling interference with past tasks.

The decomposition involves two subspaces:

  1. A general subspace UG that yields high projection energy across both old and new tasks, capturing directions salient across all tasks and enabling knowledge transfer. This is derived by maximizing the overall projection energy (Eold + Enew) of both old and new tasks onto UG=span(UG).

  2. An isolated subspace UI that exhibits the largest new-to-old relative energy (UI = arg max U(Enew/Eold)), identifying updates effective for the new task with little impact on past tasks. This is derived by maximizing the ratio between (i) the projection energy Enew of task t and (ii) the accumulated energy Eold of all previous tasks 1: t − 1: UI = arg max U∈RD×r XtU2F / Xt−1i=1 XiU2F.

LoRA Optimization and Integration

Based on this decomposition, LoDA builds a dual-branch LoRA module where each branch’s down-projection is fixed on decomposed subspace bases and the up-projection is learnable. To steer the learning of up-projections toward robust and cross-class conflict-free directions, Gradient Aligned Optimization (GAO) is designed to encourage its gradient consistency across label-disjoint subsets.

The training pipeline involves several steps:

  1. Before training, the frozen backbone f(Wt−1) on Dt is run to cache per-layer inputs and compute statistics S t.

  2. The general and isolated subspace bases UG and UI are derived via optimization objectives in Eq. 4 and Eq. 6 using S 1:t−1 and S t.

  3. LoRAG is initialized by freezing the down-projection on UG, while LoRAI is initialized by fixing the down-projection on UI.

  4. During training, trainable parameters BG and BI are optimized on Dt with GAO.

  5. After training, LoDA integrates the decoupled updates into the backbone: the general branch is recalibrated by a closed-form rescaling matrix ΛG to approximate a feature-level joint optimum, while the isolated branch is directly merged.

Key Theoretical Insights

The analysis reveals several key theoretical findings regarding the LoRA mechanism:

**-Theorem 3.1 reveals that Updating B changes the output Y exactly along the steepest descent direction −∂L/∂Y; L(Y′) − L(Y) = -η AX⊤22 ∂L/∂Y + o(∆Y). (B.1.7). This shows that the magnitude of change is modulated by the projection energy E = AX⊤22, which quantifies how much the input feature X lies in the subspace selected by A. If rows of A are orthonormal, AX⊤22 is exactly the squared Euclidean norm of the projection of X onto the row space of A. This motivates controlling plasticity on new data and interference with past tasks by designing the down-projection A in a task-driven manner. (B.2.5) The optimal solution for the general subspace UG is achieved when U′ = Ir0 and UG = US[:,1:r], i.e., UG consists of the top-r singular vectors of matrix S 1:t−1 + S t. (B.2.6) The optimal merged update for each rank-1 unit is a re-scaling of the current unit, i.e., B(j)⋆G = γ(j)⋆B(j)G. This coefficient γ(j)⋆ is determined by the energy of the current-task covariance S t and the accumulated past covariance S 1:t−1 along the same input-side direction A(j)G. (B.3.6) The GAO algorithm implements a stochastic first-order optimization of gradient alignment, which directly promotes larger cross-group inner products g⊤i gj. This encourages shared directions across groups effectively enlarges the safe set of update directions in which the current task is less likely to be harmed, improving robustness to future optimization steps. (B.4.9) The closed-form solution for Eq. 12 reveals that the optimal merged update for each rank-1 unit is a re-scaling of the current unit, i.e., B(j)⋆G = γ(j)⋆B(j)G. (B.3.6) The coefficient γ(j)⋆ is determined by the energy of the current-task covariance S t and the accumulated past covariance S 1:t−1 along the same input-side direction A(j)G. (B.3.6) The visualization of loss landscapes demonstrates that the isolated direction lies in a region where the loss on D1 varies minimally while the loss on D2 changes obviously, indicating that it indeed captures truly task-specific knowledge that effectively adapts to the new task with limited interference to previous tasks. (Fig. 12) The general direction induces large loss variations on both tasks, reflecting its role as a shared subspace that captures general knowledge. (Fig. 12) The isolated direction lies in a region where the loss on D1 varies minimally while the loss on D2 changes obviously, indicating that it indeed captures truly task-specific knowledge that effectively adapts to the new task with limited interference to previous tasks. (Fig. 12) The visualization of the loss landscapes demonstrates that LoDA’s effectiveness on finding a joint optimum during continual adaptation. (Fig. 6) The visualization of the loss landscapes on the first task D1, the second task D2, and two tasks on 10S-ImageNetA. (Fig. 12) The general direction induces large loss variations on both tasks, reflecting its role as a shared subspace that captures general knowledge. (Fig. 6) The isolated direction lies in a region where the loss on D1 varies minimally while the loss on D2 changes obviously, indicating that it indeed captures truly task-specific knowledge that effectively adapts to the new task with limited interference to previous tasks. (Fig. 6) The visualization of the loss landscapes along the general directions (LoRAG) and the isolated directions (LoRAI) on 10S-ImageNetA and 10SImageNetR datasets. (Fig. 12) The isolated direction lies in a region where the loss on D1 varies minimally while the loss on D2 changes obviously, indicating that it indeed captures truly task-specific knowledge that effectively adapts to the new task with limited interference to previous tasks. (Fig.

Improvements for AI systems

  1. Better stability-plasticity trade-off management: The LoDA framework decomposes the update space into general and truly isolated subspaces by solving two energy-based objectives, which allows for a principled control over knowledge sharing and isolation, as visualized in Figure 12 where the isolated direction lies in a region where the loss on D1 varies minimally while the loss on D2 changes obviously.

  2. Robust task adaptation via Gradient-Aligned Optimization (GAO): The GAO approach encourages gradient consistency across label-disjoint subsets, which is shown to improve robustness by ensuring that any future update whose gradient direction admits the cone decomposition (B.4.7) tends to induce a smaller increase or even a decrease on the current-task loss.

  3. Joint optimum approximation for general updates: The method derives a closed-form rescaling matrix to recalibrate it by minimizing feature optimization errors on all tasks to approximate a joint optimum, which addresses the issue that the general update inevitably induces feature drift of old tasks when learning the new task.

  4. Efficient and parameter-free inference: LoDA achieves an efficient inference stage because, after training, we derive a closed-form diagonal rescaling matrix ΛG to rescale each rank-1 unit in LoRAG, allowing the system to operate with no extra parameters and overhead for inference (0.00M, 17.60 GFLOPs), while achieving the best performances.

  5. Scalability across model sizes: The framework is model size-agnostic CL framework that brings consistent performance improvements, demonstrating that LoDA delivers consistent and clear improvements over Seq-LoRA across 4 model sizes on both ALast and AAvg, with gains ranging from +7.21% to +28.52% on ALast.

Abstract

Continual Learning (CL) requires models to sequentially adapt to new tasks without forgetting old knowledge. Recently, Low-Rank Adaptation (LoRA), a representative Parameter-Efficient Fine-Tuning (PEFT) method, has gained increasing attention in CL. Several LoRA-based CL methods reduce interference across tasks by separating their update spaces, typically building the new space from the estimated null space of past tasks. However, they (i) overlook task-shared directions, which suppresses knowledge transfer, and (ii) fail to capture truly effective task-specific directions since these ``null bases" of old tasks can remain nearly inactive for new task under correlated tasks. To address this, we study LoRA learning capability from a projection energy perspective, and propose Low-rank Decomposition and Adaptation (LoDA). It performs a task-driven decomposition to build general and truly task-specific LoRA subspaces by solving two energy-based objectives, decoupling directions for knowledge sharing and isolation. LoDA fixes LoRA down-projections on two subspaces and learns robust up-projections via a Gradient-Aligned Optimization (GAO) approach. After each task, before integrating the LoRA updates into the backbone, LoDA derives a closed-form recalibration for the general update, approximating a feature-level joint optimum along this task-shared direction. Experiments indicate that LoDA outperforms existing CL methods. Our code is available at https://github.com/HHHLF/LoDA ICML2026.

Sources

Related papers