Introduction
Class-Incremental Learning (CIL) presents a fundamental challenge in computer vision: how to enable models to learn new classes sequentially without suffering from "catastrophic forgetting" of previously acquired knowledge. While modern approaches leveraging pre-trained Vision Transformers and task-specific adapters have achieved high accuracy, they face a significant scalability bottleneck. As the number of tasks grows, the model accumulates dozens of adapters, leading to a linear increase in inference time and memory consumption.
Existing methods typically force a trade-off: either maintain high accuracy with an ensemble of adapters (slow) or prioritize speed with a single-module approach (lower accuracy). Adapter Merging with Centroid Prototype Mapping (ACMap) breaks this trade-off, achieving state-of-the-art accuracy with constant, $O(1)$ inference complexity.
The ACMap Framework
ACMap introduces a novel architecture that merges multiple task-specific adapters into a single unified module. This process is supported by two primary technical innovations:
1. Adapter Merging via Initial Weight Replacement
Simply averaging the weights of models trained on different data usually results in poor performance. ACMap overcomes this by ensuring all adapters reside within the same "low-loss basin" in the parameter space. This is achieved through Initial Weight Replacement, where every new task's adapter is initialized with the weights learned from the very first task. This alignment allows the adapters to be merged via simple weight averaging without destroying the model's predictive capabilities.
2. Centroid Prototype Mapping (CPM)
In CIL, models often use "prototypes" (the mean feature vector of a class) for classification. However, when adapters are merged, the underlying feature space shifts, rendering old prototypes obsolete. Since ACMap is an "exemplar-free" method (it does not store old training data), it cannot re-calculate these prototypes directly.
CPM solves this by observing how the current task's prototypes shift between the original adapter space and the merged space. By applying this calculated "delta" ($\Delta \bar{P}$) to the stored prototypes of previous tasks, the model accurately aligns old knowledge with the new unified feature space.
Experimental Evaluation
The researchers evaluated ACMap across five standard benchmarks, including CIFAR-100, CUB-200, ImageNet-R, ImageNet-A, and the diverse VTAB suite.
Key Results
- Efficiency and Speed: On ImageNet-R (40 tasks), ACMap achieved a 39-fold speedup over the previous state-of-the-art method, EASE. Unlike EASE, which slows down as more tasks are added, ACMap maintains a constant inference speed regardless of the number of tasks learned.
- Accuracy: ACMap significantly outperforms other "fast" methods. For instance, it improved top-1 accuracy by over 16% compared to APER on ImageNet-R, while matching or exceeding the accuracy of heavy multi-adapter ensembles.
- Complexity: By reducing inference complexity from $O(T)$ (where $T$ is the number of tasks) to $O(1)$, ACMap provides a truly scalable solution for long-term incremental learning.
Conclusion and Future Work
ACMap demonstrates that it is possible to achieve high-performance class-incremental learning without the computational overhead of growing adapter banks. While the method excels in most scenarios, it faces challenges with the VTAB dataset, where tasks come from highly divergent domains (e.g., satellite vs. natural imagery). In such cases, forcing all knowledge into a single merged adapter can lead to interference.
Future research will explore the concept of an "Adapter Bank," where the model maintains a small, diverse pool of adapters and dynamically selects or merges the most relevant ones for a given input, potentially bridging the gap for extreme cross-domain adaptation.
Summary updated