Papers
Topics
Authors
Recent
Search
2000 character limit reached

LiLoRA in LoRA: Continual Visual Tuning

Updated 8 July 2026
  • LiLoRA is a continual learning method for multimodal instruction tuning that employs low-rank matrix sharing and task-specific decompositions to preserve past knowledge.
  • By factorizing task-specific LoRA modules into a shared matrix A and a compressed residual, LiLoRA achieves significant parameter efficiency over traditional DirLoRA approaches.
  • Empirical results on diverse vision-language benchmarks demonstrate that LiLoRA improves key metrics such as AP, MAP, BWT, and MIF while reducing memory overhead.

Searching arXiv for the LiLoRA paper and closely related CA-LoRA work to ground the article in current preprints. {"query":"arXiv (Che et al., 8 Aug 2025) LoRA in LoRA continual visual instruction tuning", "max_results": 5} LoRA in LoRA (LiLoRA) is a continual-learning architecture expansion method for Continual Visual Instruction Tuning (CVIT) in multimodal LLMs (MLLMs). It is designed for sequential learning over heterogeneous vision-language instruction tasks, where catastrophic forgetting degrades performance on earlier tasks as the model adapts to later ones. LiLoRA preserves the isolation benefits of architecture expansion while reducing parameter growth by sharing the LoRA matrix AA across tasks, applying an additional low-rank decomposition to the task-specific matrix BB, and constraining shared-basis drift with a cosine-regularized stability loss (Che et al., 8 Aug 2025).

1. CVIT setting and the rationale for expansion

In the CVIT formulation, the model is exposed to a task stream

T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},

where each task τt\tau_t has a dataset

Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},

consisting of instruction text, multimodal inputs, and the ground-truth response. Training is sequential: when task tt arrives, the model updates its parameters using only Dt\mathcal{D}_t (Che et al., 8 Aug 2025).

The central difficulty is catastrophic forgetting. Parameters that were useful for earlier tasks are overwritten while learning new tasks, so accuracy on old tasks drops as training proceeds. The problem is particularly acute in CVIT because tasks are often diverse and not naturally class-incremental; they can differ in reasoning style, output format, and domain.

LiLoRA is motivated by the observation that architecture expansion is a natural way to mitigate forgetting. Rather than forcing all tasks to share exactly the same capacity, expansion allocates task-specific parameters, which isolates task-specific knowledge and reduces interference. The difficulty, as the paper states, is that prior CVIT expansion methods often expand whole layers or large modules per task, leading to substantial parameter overhead and poor scalability. LiLoRA is introduced to preserve the isolation benefit of expansion while making it much more parameter-efficient (Che et al., 8 Aug 2025).

2. Baseline LoRA and the nested low-rank structure of LiLoRA

LiLoRA is built on the standard LoRA parameterization. For a frozen weight matrix W0Rd×kW_0 \in \mathbb{R}^{d \times k}, LoRA introduces

BRd×r,ARr×k,B \in \mathbb{R}^{d \times r}, \qquad A \in \mathbb{R}^{r \times k},

with rmin(d,k)r \ll \min(d,k), and defines

BB0

The paper notes the usual initialization pattern: BB1 is initialized to zeros, while BB2 is drawn from a standard Gaussian distribution (Che et al., 8 Aug 2025).

A direct continual-learning extension, termed DirLoRA, assigns each task its own LoRA module: BB3 This prevents interference by construction, but the parameter cost grows linearly with the number of tasks because every task stores a full pair BB4.

LiLoRA reduces this redundancy in two stages. First, it shares the matrix BB5 globally across tasks: BB6 The justification given in the paper is empirical: via CKA similarity analysis, the LoRA matrices BB7 learned by different tasks are highly similar, while BB8 matrices are much less similar. This makes BB9 the reusable factor and T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},0 the task-adaptive factor.

Second, LiLoRA factorizes the task-specific T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},1 again. For task T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},2, it introduces

T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},3

with T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},4, and writes

T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},5

where T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},6 and T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},7 are shared across tasks, while T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},8 are task-specific. A learnable fusion coefficient T={τ1,τ2,,τn},\mathcal{T} = \{\tau_1, \tau_2, \dots, \tau_n\},9, initialized as

τt\tau_t0

balances the shared basis and the task-specific residual, yielding the final update

τt\tau_t1

This is the literal sense in which LiLoRA is “LoRA in LoRA”: the outer LoRA uses τt\tau_t2 and τt\tau_t3, and then τt\tau_t4 is itself expanded into a shared basis plus a low-rank task-specific correction. A plausible implication is that LiLoRA treats the LoRA factors themselves as structured objects, rather than as monolithic task-local parameters (Che et al., 8 Aug 2025).

3. Objective function, stability regularization, and sequential optimization

For task τt\tau_t5, the effective LiLoRA update is

τt\tau_t6

The training objective combines the task loss with a basis-stability regularizer: τt\tau_t7 where τt\tau_t8 is a regularization weight and τt\tau_t9 is described as an autoregressive loss for the instruction-tuning objective (Che et al., 8 Aug 2025).

The regularizer addresses a specific continual-learning failure mode. Since Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},0 is shared across sequential tasks, updating it for a new task can disrupt representations needed by previous tasks. LiLoRA therefore computes

Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},1

and defines

Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},2

If the current task’s residual representation is similar to the previous one, Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},3 is large and the penalty on changing Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},4 is weaker; if it is dissimilar, the penalty is stronger. The mechanism therefore preserves shared representations over time by conditioning permissible basis drift on similarity between consecutive task-specific subspaces (Che et al., 8 Aug 2025).

The training procedure is sequential. The pretrained MLLM backbone Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},5 is frozen. For the first task, Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},6 and Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},7 are initialized, together with task-specific Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},8. For each later task Dt={(Xins,Xinputs,Xgt)},\mathcal{D}_t = \{(X^{\text{ins}}, X^{\text{inputs}}, X^{\text{gt}})\},9, previously learned shared parameters are retained, new task-specific matrices tt0 are added, the task update tt1 is computed, and optimization proceeds with

tt2

The shared parameters tt3 and tt4 are updated throughout training but constrained by tt5; task-specific matrices are added as tasks arrive and retained for future use.

At inference time, LiLoRA can be merged into the pretrained weights, so there is no extra runtime overhead. For a given task, the model uses that task’s corresponding low-rank residual together with the shared components, but these can be folded into the weights before inference (Che et al., 8 Aug 2025).

4. Parameter efficiency and empirical evaluation

The parameter-efficiency argument in LiLoRA is explicit. Relative to DirLoRA, which stores a full tt6 per task, LiLoRA reuses one shared tt7, one shared basis tt8, and only stores a reduced-rank pair tt9 per task. The paper does not derive a symbolic closed-form parameter-count formula in the text, but it states the qualitative comparison:

  • DirLoRA per task: Dt\mathcal{D}_t0
  • LiLoRA per task: Dt\mathcal{D}_t1, plus shared overhead Dt\mathcal{D}_t2 amortized across tasks

Since Dt\mathcal{D}_t3, the task-specific storage is much smaller than a full Dt\mathcal{D}_t4 matrix. This suggests that LiLoRA’s main compression lever is not eliminating task-specificity, but compressing the task-specific component into a lower-rank residual (Che et al., 8 Aug 2025).

Experiments are conducted on the CVIT Benchmark with six instruction datasets: ScienceQA, TextVQA, Flickr30k, ImageNet, GQA, and VQAv2. Two sequential settings are used: Single-type instruction and Five-type instruction. The base model is LLaVA-v1.5-7B without instruction tuning. LiLoRA adapters are inserted into the FFN layers of the LLM and the projection layer between the vision encoder and the LLM. Reported hyperparameters are shared rank Dt\mathcal{D}_t5, task-specific rank Dt\mathcal{D}_t6 by default, Adam optimizer, learning rate Dt\mathcal{D}_t7, batch size 64, and one epoch per task (Che et al., 8 Aug 2025).

The paper reports four metrics: Dt\mathcal{D}_t8

Dt\mathcal{D}_t9

These correspond respectively to Average Performance, Mean Average Performance, Backward Transfer, and Mean Instruction Following.

The main empirical claim is that LiLoRA consistently outperforms all baselines on both sequential settings. Against SMoLoRA in the Single-type setting, LiLoRA improves by W0Rd×kW_0 \in \mathbb{R}^{d \times k}0 AP, W0Rd×kW_0 \in \mathbb{R}^{d \times k}1 MAP, W0Rd×kW_0 \in \mathbb{R}^{d \times k}2 BWT, and W0Rd×kW_0 \in \mathbb{R}^{d \times k}3 MIF. In the Five-type setting, it improves over SMoLoRA by W0Rd×kW_0 \in \mathbb{R}^{d \times k}4 AP, W0Rd×kW_0 \in \mathbb{R}^{d \times k}5 MAP, W0Rd×kW_0 \in \mathbb{R}^{d \times k}6 BWT, and W0Rd×kW_0 \in \mathbb{R}^{d \times k}7 MIF. The paper also emphasizes that LiLoRA remains close to the upper-bound DirLoRA while using much less memory, and that it again outperforms SeqLo

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to LoRA in LoRA (LiLoRA).