Dataset Knowledge Transfer for Class-Incremental Learning without Memory

Habib Slim, Eden Belouadah, Adrian Popescu, Darian M. Onchis

TL;DR

Researchers have developed TransIL, a method that fixes "catastrophic forgetting" in AI models that learn new classes over time without storing any old data. By "transferring" bias-correction parameters learned from separate reference datasets, they allow models to remain accurate on old tasks without the privacy or storage overhead of a data memory.

What Problem Does This Paper Address?

In Class-Incremental Learning (CIL), an AI agent learns new groups of classes in a sequence (e.g., learning to identify dogs, then birds, then cars). The "holy grail" of this field is doing so without memory—meaning the agent cannot store any images from previous stages.

The primary obstacle is catastrophic forgetting: when the model learns new classes, it overwrites the weights used for old ones. This creates a massive prediction bias where the model becomes "overconfident" in new classes simply because they are the only things it has seen recently.

While researchers previously solved this using a "Bias Correction" (BiC) layer, that layer requires a small "memory" of old samples to calibrate itself. In a truly memoryless scenario (often required for strict privacy or extreme storage limits), these standard fixes break down.

Methods

The authors introduce a two-pronged approach called TransIL (Dataset Knowledge Transfer for Class-Incremental Learning):

  1. Dataset Knowledge Transfer: The core "aha" moment is that prediction bias follows a predictable pattern across different datasets. The authors train a model offline on "reference" datasets where they are allowed to use a memory. They extract the optimal bias-correction parameters ($\alpha$ and $\beta$) and then simply apply the average of these parameters to a "target" dataset where memory is forbidden.
  2. Adaptive BiC (adBiC): Standard bias correction treats all "past" classes as one big group. The authors argue that forgetting isn't uniform; you might forget what you learned in "Stage 1" more than what you learned in "Stage 4." Their adBiC layer learns a unique pair of correction parameters for every incremental state, allowing for much finer-grained calibration.

This method is "plug-and-play"—it can be added on top of existing incremental learning algorithms like LwF (Learning without Forgetting) or LUCIR.

Datasets

The study uses a robust suite of benchmarks to prove the transferability of bias:

  • Reference Datasets: 10 different subsets of ImageNet, each containing 100 randomly selected classes. These are used to "pre-learn" the bias patterns.
  • Target Datasets:
    • CIFAR-100: A standard object recognition benchmark.
  • IMN-100: A subset of ImageNet (no overlap with reference sets).
  • BIRDS-100 & FOOD-100: Fine-grained, domain-specific datasets used to test if bias parameters from general objects (ImageNet) still work on specialized categories.
  • PLACES-100: A scene recognition dataset (included in supplementary material).

Key Insights and Ideas

  • Bias is Universal: The most surprising finding is that the "shape" of forgetting is remarkably stable. Even if you learn bias parameters on a dataset of dogs and cats, those same parameters effectively correct the bias when the model later learns about different types of aircraft or food.
  • State-wise Calibration Matters: Forgetting is a gradient. By moving from a binary "past vs. new" correction to a "state-by-state" correction, the authors significantly improved the comparability of prediction scores across the model's entire "lifespan."
  • Zero Overhead: Because the parameters are learned offline and consist of only a few dozen floating-point numbers, TransIL adds virtually zero computational or memory cost during the actual incremental learning process.

Key Results

The authors tested TransIL on four backbone methods across various "step" configurations (5, 10, and 20 incremental states):

  • Massive Gains for LUCIR: On the IMN-100 dataset with 10 states, adding adBiC improved the accuracy of the LUCIR backbone by a staggering 16 percentage points.
  • Consistency: The method provided consistent improvements across all four target datasets, proving that the transferred knowledge is robust to "domain shift" (e.g., using object-based bias to fix a bird-classification model).
  • Oracle Proximity: The performance of the transferred parameters was very close to an "Oracle" version (which picks the absolute best reference dataset for each state), suggesting that simple averaging is a highly effective way to aggregate this knowledge.

Limitations and Future Work

While TransIL significantly narrows the gap, memoryless CIL still lags behind models that are allowed to keep a small memory of old images. The "Joint" training baseline (where the model sees all data at once) is still much higher, showing that bias correction is only one piece of the forgetting puzzle.

The authors suggest that future work could involve more sophisticated ways to select or weight reference datasets—perhaps by automatically matching the "style" of the reference data to the target data to find even more precise correction parameters.

Summary updated

BibTeX
@inproceedings{slim2022dataset,
  author = {Habib Slim and Eden Belouadah and Adrian Popescu and Darian M. Onchis},
  title = {{Dataset Knowledge Transfer for Class-Incremental Learning without Memory}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=Ey2OnT1BTH},
}

Loading related content...

Figure