Introduction
Class-Incremental Learning (CIL) presents a significant challenge in machine learning: enabling models to learn new categories sequentially without suffering from "catastrophic forgetting." Traditional rehearsal-based methods mitigate this by storing old data, but this raises privacy and storage concerns. Recent shifts toward rehearsal-free methods leverage frozen Pre-trained Models (PTMs), such as Vision Transformers (ViTs), combined with Parameter-Efficient Fine-Tuning (PEFT) techniques like Low-Rank Adaptation (LoRA). However, standard LoRA applications in CIL often create separate adapters for every task, leading to linear parameter growth and a failure to share common features across tasks.
Methodology: The CL-LoRA Framework
CL-LoRA addresses these limitations through a dual-adapter architecture that exploits the hierarchical nature of transformer blocks.
Dual-Adapter Architecture
The framework splits the ViT backbone into two segments. In the first $l$ blocks, Task-Shared Adapters are employed. These use a fixed, random orthogonal matrix for down-projection and a shared, trainable up-projection matrix. This design encourages the model to learn generalizable features applicable across all tasks. In the subsequent $N-l$ blocks, Task-Specific Adapters capture fine-grained, task-unique details. To prevent interference between tasks in these layers, the authors utilize learnable block-wise weights with orthogonality constraints.
Knowledge Preservation Mechanisms
To prevent "drift" in the shared adapters during sequential updates, CL-LoRA introduces two key techniques:
- Early Exit Knowledge Distillation (KD): Distillation is applied at the transition point between shared and specific blocks, protecting the shared foundation without over-constraining the specialized layers.
- Gradient Reassignment: Instead of standard KD, gradients are redistributed based on the $L_2$ norm of previous weights. This effectively "shields" critical weight dimensions from drastic changes when learning new tasks.
Experimental Results
CL-LoRA was evaluated on diverse benchmarks including CIFAR-100, ImageNet-R, ImageNet-A, and VTAB.
Performance and Efficiency
The model consistently outperformed state-of-the-art (SOTA) methods. On ImageNet-R with 40 tasks, CL-LoRA achieved a final accuracy of 81.58%, surpassing RanPAC's 78.53%. Remarkably, this performance is achieved with extreme parameter efficiency, requiring only 0.3% additional trainable parameters relative to the backbone—significantly less than RanPAC (3.1%) or CODA-Prompt (4.6%).
Inference Scalability
A major advantage of the dual-adapter approach is inference efficiency. Since the initial $l$ blocks are shared, the model avoids redundant adapter passes for every task in those layers, offering better scalability as the task count grows.
Conclusion
CL-LoRA demonstrates that a hierarchical approach to adapter sharing can effectively balance stability and plasticity in rehearsal-free CIL. By combining shared early-layer features with task-specific deep-layer specialization, the method achieves superior accuracy and scalability. Future work will explore task-free learning and more dynamic knowledge-sharing mechanisms.
Summary updated