Dynamic Integration of Task-Specific Adapters for Class Incremental Learning

Jiashuo Li, Shaokun Wang, Bo Qian, Yuhang He, Xing Wei, Qiang Wang, Yihong Gong

Introduction

Class Incremental Learning (CIL) is a fundamental challenge in computer vision, requiring models to learn new classes sequentially without forgetting previously acquired knowledge. A particularly difficult variant is Non-Exemplar Class Incremental Learning (NECIL), where privacy or storage constraints prevent the use of a buffer of old data (exemplars). This paper introduces DIA (Dynamic Integration of task-specific Adapters), a framework that addresses the core deficiencies of existing NECIL methods through a novel patch-level routing and alignment strategy.

The Challenge of NECIL

The authors identify two primary hurdles in current NECIL approaches:

  1. Compositionality Deficiency: Shared parameter spaces or global prompts often fail to segregate task-specific knowledge, leading to "task interference" where learning new tasks degrades performance on old ones.
  2. Model Alignment Deficiency: As the model adapts to new data, its internal feature space shifts. Without old data to anchor decision boundaries, the classifier's performance on previous classes collapses.
Figure 1: (a) Visualization of task interference, (b) Comparison of GFLOPS vs. Accuracy across methods, and (c) Illustration of distribution shift between tasks.

As shown in Figure 1(b), existing high-accuracy methods like EASE often come with prohibitive computational costs (GFLOPS), while more efficient methods like L2P suffer from lower accuracy. DIA aims to bridge this gap by achieving state-of-the-art accuracy with significantly reduced overhead.

The DIA Framework

The DIA framework introduces two core components: Task-Specific Adapter Integration (TSAI) and Patch-Level Model Alignment.

Task-Specific Adapter Integration (TSAI)

Instead of a monolithic model, TSAI employs specialized adapters for each task. The key innovation is Patch-Level Routing. For every image patch, the model computes a "signature vector" that determines the relevance of different task-specific adapters. This allows the model to dynamically aggregate information from multiple "experts" at a fine-grained level, rather than relying on a single global [cls] token.

Patch-Level Model Alignment

To maintain accuracy on old classes, DIA uses two sub-mechanisms:

  • Patch-Level Distillation Loss (PDL): This mechanism selectively "freezes" feature space regions that represent old knowledge by ensuring that patches not critical for the new task remain consistent with the previous model state.
  • Patch-Level Feature Reconstruction (PFR): Traditional methods often use random Gaussian noise to simulate old features. PFR instead identifies patches in the current task that are semantically similar to old classes. By combining these "live" patches with stored class prototypes, DIA "rehydrates" accurate features for old classes, allowing for precise decision boundary realignment.
Figure 4: Detailed overview of the DIA architecture, including (a) Task-Specific Adapter Integration, (b) Patch-level Distillation, and (c) Patch-level Feature Reconstruction.

Experimental Results

DIA was evaluated on CIFAR-100, CUB-200, ImageNet-R, and ImageNet-A. The results demonstrate a significant leap in both performance and efficiency:

  • State-of-the-Art Accuracy: On ImageNet-R (10 tasks), DIA achieved 85.61% average accuracy, outperforming the previous best method (EASE) by nearly 4%.
  • Computational Leap: DIA reduces computational complexity (GFLOPS) by approximately 90% compared to EASE. It is also highly parameter-efficient, requiring only 0.17M trainable parameters per task.

Conclusion

DIA represents a significant advancement in NECIL by shifting the focus from global image tokens to fine-grained patch-level integration and alignment. By leveraging "live" patches for feature reconstruction and employing a dynamic routing strategy for task-specific adapters, DIA achieves superior accuracy with a fraction of the computational overhead of previous methods. Future work may explore scaling this approach to hundreds of tasks and extending the patch-level strategy to multi-modal domains.

Summary updated

BibTeX
@inproceedings{li2025dynamic,
  author = {Jiashuo Li and Shaokun Wang and Bo Qian and Yuhang He and Xing Wei and Qiang Wang and Yihong Gong},
  title = {{Dynamic Integration of Task-Specific Adapters for Class Incremental Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02844},
}
Figure