Non-Forgetting Knowledge Allocation with Bi-level Competition for Class-Incremental Learning

Xiang Tan, Run He, Yawen Cui, Mengchen Zhao, Yan Wu, Tianyi Chen, Huiping Zhuang, Xiaonan Luo, Guanbin LiarXiv 2026

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).

Fig. 1: When aggregating multiple adapters for inference, uniform utilization of all adapters leads to insufficient application of task-relevant knowledge. Conversely, prop- erly allocating adapters optimally leverages task-specific knowledge, thereby enhancing classification accuracy.

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:

  1. 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.
  2. Bi-Level Competition (BLC): To turn the NFA's raw outputs into clean, effective adapter weights, the model runs a two-stage competition:
  3. 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.
  4. 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.
  5. 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.
Fig. 2: The Overview of NoFA-BC. Left: Training Phase, assuming current task is 3. Task-specific adapters are trained per incremental stage while the autocorrelation and cross correlation matrix is continuously updated with the help of adapter A1. Right: The NoFA-BC dynamically regulates the participation of each adapters with the help of Bi-level Competition mechanism. SE is utilized to enhance the stability of final output.

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

BibTeX
@misc{tan2026non,
  author = {Xiang Tan and Run He and Yawen Cui and Mengchen Zhao and Yan Wu and Tianyi Chen and Huiping Zhuang and Xiaonan Luo and Guanbin Li},
  title = {{Non-Forgetting Knowledge Allocation with Bi-level Competition for Class-Incremental Learning}},
  year = {2026},
  eprint = {2605.29592},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.29592},
}
Figure