TL;DR
Existing multi-adapter methods for Class-Incremental Learning (CIL) typically average adapter outputs uniformly during inference, leading to catastrophic knowledge interference. This paper introduces NoFA-BC, a method that uses a recursive least-squares formulation to build a non-forgetting allocator, combined with a bi-level competition mechanism to dynamically select and weight the most relevant adapters for each input. The approach achieves state-of-the-art accuracy across standard benchmarks while completely avoiding allocator forgetting.
What Problem Does This Paper Address?
Class-Incremental Learning (CIL) requires machine learning models to learn new tasks sequentially without forgetting previously acquired knowledge. When leveraging massive Pre-trained Models (PTMs), a popular strategy is to keep the backbone frozen and train lightweight, task-specific "adapters" for each new set of classes.
However, a major bottleneck arises during inference: how do we combine the knowledge from these multiple adapters? Most existing methods simply average their outputs uniformly. As illustrated in Figure 1, if the model encounters an image of a "shark" (learned in Task 2), treating all adapters equally dilutes the specific shark-related features and introduces harmful noise from irrelevant adapters (like those trained on cats or dogs).
Simply training a neural network to dynamically allocate weights doesn't work either; under CIL constraints, the allocator itself will suffer from catastrophic forgetting as new tasks stream in.
Methods
The authors propose NoFA-BC (Non-Forgetting Allocation with Bi-Level Competition) to dynamically manage adapter contributions without forgetting historical tasks. The architecture is split into three core components:
- Non-Forgetting Allocator (NFA): Instead of using standard gradient descent to train an allocation network, the authors formulate allocation as a recursive least-squares problem. By continuously updating autocorrelation and cross-correlation matrices, the NFA mathematically guarantees that sequential training yields the exact same optimal weights as joint training on all data at once.
- Bi-Level Competition (BLC): To turn the NFA's raw outputs into clean, effective adapter weights, the model runs a two-stage competition:
- Intra-task Level (Winner-Takes-All / WTA): Instead of averaging all class probabilities within a task, WTA extracts only the maximum logit to represent that task's adapter contribution.
- Inter-task Level (Last-Ones-Fall / LOF): It ranks all the task weights and completely eliminates the lowest $o$-percent (setting them to 0), filtering out irrelevant background noise.
- Stability Enhancement (SE): Finally, the system fuses the NFA's direct classification output with the BLC-weighted adapter output. A hyperparameter ($\beta$) balances these two streams to ensure the model maintains high stability for old tasks while preserving plasticity for new ones.
Datasets
The authors evaluated NoFA-BC on four standard CIL benchmarks that exhibit significant domain gaps from the original pre-training data (ImageNet-21K):
- CIFAR-100
- ImageNet-R (including long-sequence splits like 5 or 20 classes per incremental step)
- ImageNet-A (highly complex, adversarial examples)
- VTAB (Visual Task Adaptation Benchmark)
Key Insights and Ideas
- The Power of Recursive Least Squares: Applying recursive least squares to allocation weights rather than just final classification features is a clever way to bypass backpropagation-induced forgetting entirely.
- Fault Tolerance Over Absolute Selection: A surprising finding emerged during the inter-task competition study: completely selecting only the single highest-weighted adapter ("Highest Adapter") performed worse than keeping a top-50% pool. Retaining a few runner-up adapters provides a critical error-correction mechanism if the absolute top choice is slightly off.
- Mitigating Interference: Uniformly averaging adapters introduces massive negative interference. Tailoring the participation ratio dynamically per input sample is essential for scaling multi-adapter systems.
Key Results
NoFA-BC consistently outperformed state-of-the-art methods like EASE, ACMap, and CODA-Prompt across all benchmarks:
- Long-Sequence Scenarios: On ImageNet-R (B0 Inc5), NoFA-BC outperformed the runner-up by 4.09% in final accuracy.
- High-Complexity Scenarios: On the challenging ImageNet-A (B0 Inc20) dataset, it surpassed the second-best method by a staggering 7.87%.
- Ablation Validation: Sequential addition of the NFA, BLC, and SE modules demonstrated steady, cumulative accuracy gains, proving that each component plays a vital role in balancing stability and plasticity.
Limitations and Future Work
The primary limitation of NoFA-BC is parameter growth. Because it instantiates a new adapter for every single task, the model size grows linearly over long task sequences.
To address this, the authors conducted a preliminary study showing that NoFA-BC can actually operate effectively using a fixed, smaller pool of adapters (e.g., using only 10 adapters instead of 40 over a 40-task sequence) while retaining competitive accuracy. The authors point to bounded-capacity multi-adapter allocation as a highly promising direction for future research.
Summary updated