CLoRA: Parameter-Efficient Continual Learning with Low-Rank Adaptation

Shishir Muralidhara, René Schuster, Didier Stricker

TL;DR

CLoRA introduces a parameter-efficient approach to class-incremental semantic segmentation by leveraging a single, continually updated Low-Rank Adaptation (LoRA) module. By training only ~1% of the network's parameters and mathematically merging them at inference, it matches or exceeds full fine-tuning performance while drastically reducing memory, storage, and computational overhead during training.

What Problem Does This Paper Address?

Continual Learning (CL) focuses on teaching neural networks new tasks sequentially without destroying their ability to perform previously learned ones—a phenomenon known as catastrophic forgetting. While most CL research focuses purely on maintaining accuracy, real-world deployments on edge devices face severe hardware, storage, and computational constraints.

Parameter-Efficient Continual Learning (PECL) methods like LoRA have successfully addressed this in image classification by training small, task-specific adapter modules. However, extending this to semantic segmentation introduces unique hurdles:

  1. No Unique Task-ID: Unlike classification images, which typically contain a single subject, a single segmentation image can contain multiple objects belonging to entirely different tasks.
  2. Conflicting Predictions: If you deploy multiple task-specific adapters, they will output conflicting pixel-level predictions because they are blind to classes introduced in other tasks.
  3. Background Shift: In incremental segmentation, any class not currently being learned is treated as "background." This definition changes dynamically with every new task, confusing isolated adapters.

CLoRA tackles these challenges to make continual semantic segmentation viable in resource-constrained environments.

Methods

Instead of dynamically adding new task-specific adapters, CLoRA utilizes a single, shared LoRA module across all incremental tasks.

CLoRA Architecture and Workflow

The method operates as follows:

  • Frozen Backbone, Lightweight Tuning: The main weights of a Vision Transformer (ViT) or SegFormer encoder are frozen. LoRA matrices ($A$ and $B$) are injected into the query and value projection layers of the attention blocks. Only these low-rank matrices and a small decoder head are trained.
  • Sequential Knowledge Distillation: When a new task arrives, the same LoRA weights are reused and updated. To prevent the model from forgetting older classes, CLoRA applies a knowledge distillation loss (borrowed from the Modeling the Background (MiB) framework) that reconciles the changing definition of the background class.
  • Zero Inference Overhead: Once training concludes, the low-rank matrices are mathematically folded back into the frozen backbone weights ($W' = W + BA$). This completely eliminates inference latency and removes any need to predict a task-ID at test time.

Datasets

The authors evaluated CLoRA across three standard computer vision benchmarks using various class-incremental configurations (e.g., learning a large base of classes followed by small increments):

  • PASCAL VOC 2012: Evaluated on 15-5 (2 steps), 15-1 (6 steps), 5-3 (6 steps), and 10-1 (11 steps) splits.
  • ADE20K: A complex scene-parsing dataset evaluated on 100-50, 50-50, 25-25, and 100-10 splits.
  • Cityscapes: An urban driving dataset evaluated on 14-5, 14-1, 7-3, and 10-1 splits.
  • ACDC: Used alongside Cityscapes to evaluate robustness against severe input domain shifts (fog, rain, night, snow).

Key Insights and Ideas

  • The Power of One: A single, shared adapter module is highly capable of learning sequential tasks if paired with proper background-aware regularization. This bypasses the complex and flawed process of trying to merge separate pixel-level predictions from multiple task-specific experts.
  • Architecture and Approach Agnostic: CLoRA acts as a modular wrapper. The authors successfully integrated it across diverse backbones (ViT, SegFormer, DeepLabV3/V3+) and different CL distillation algorithms (MiB, SATS), proving its broad utility.
  • Holistic Evaluation via NetScore: The authors advocate looking beyond standard accuracy metrics by using NetScore, which evaluates models based on a balance of performance, parameter count, and computational complexity (MACs). CLoRA drastically improves NetScore, proving that massive resource savings can be achieved with negligible performance trade-offs.

Key Results

  • Dramatic Efficiency Gains: At a rank of $r=32$, CLoRA trains only 1.04% of the total parameters required by full fine-tuning. As shown in Figure 1, it slashes storage requirements from 1.64 GB to 0.01 GB and significantly lowers peak GPU memory usage during training.
Resource Efficiency Comparison
  • On-Par or Superior Accuracy: CLoRA consistently matches or beats full fine-tuning baselines, particularly on longer, more challenging task sequences. For instance, on the PASCAL VOC 10-1 split (11 steps), CLoRA achieved an overall mIoU of 30.35%, significantly outperforming the standard MiB baseline at 23.24%.
  • Substantial NetScore Improvements: On PASCAL VOC 15-5, adding CLoRA to a ViT-based MiB model boosted its NetScore from 23.19 to 42.79, demonstrating its exceptional optimization capability for larger models.

Limitations and Future Work

  • Scalability on Massive Datasets: In offline joint training on the massive ADE20K dataset, CLoRA slightly underperformed compared to full fine-tuning. This suggests a potential capacity bottleneck when a single low-rank module is forced to represent an exceptionally large number of diverse classes simultaneously.
  • Future Work: The authors suggest exploring dynamic rank allocation (adjusting the rank $r$ based on task complexity) and extending the single-module approach to handle more extreme open-world continual learning setups.

Summary updated

BibTeX
@inproceedings{muralidhara2025clora,
  author = {Shishir Muralidhara and René Schuster and Didier Stricker},
  title = {{CLoRA: Parameter-Efficient Continual Learning with Low-Rank Adaptation}},
  booktitle = {CoLLAs},
  year = {2025},
  url = {https://openreview.net/forum?id=qOwFJHoPuq},
}
Figure