Skip to main content
QUICK REVIEW

[Paper Review] Class-Incremental Learning via Knowledge Amalgamation

Marcus de Carvalho, Mahardhika Pratama|arXiv (Cornell University)|Sep 5, 2022
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes Class-Incremental Learning via Knowledge Amalgamation (CFA), a post-processing method that distills knowledge from multiple heterogeneous teacher models—each trained on prior tasks—into a single compact student model using only a small memory of unlabeled samples. CFA achieves state-of-the-art performance with minimal memory usage and seamless integration into existing offline learning pipelines, demonstrating strong generalization and backward/forward knowledge transfer.

ABSTRACT

Catastrophic forgetting has been a significant problem hindering the deployment of deep learning algorithms in the continual learning setting. Numerous methods have been proposed to address the catastrophic forgetting problem where an agent loses its generalization power of old tasks while learning new tasks. We put forward an alternative strategy to handle the catastrophic forgetting with knowledge amalgamation (CFA), which learns a student network from multiple heterogeneous teacher models specializing in previous tasks and can be applied to current offline methods. The knowledge amalgamation process is carried out in a single-head manner with only a selected number of memorized samples and no annotations. The teachers and students do not need to share the same network structure, allowing heterogeneous tasks to be adapted to a compact or sparse data representation. We compare our method with competitive baselines from different strategies, demonstrating our approach's advantages.

Motivation & Objective

  • Address catastrophic forgetting in class-incremental learning by enabling knowledge distillation from multiple heterogeneous teacher models into a single student.
  • Develop a method that integrates smoothly into existing offline learning pipelines without requiring a full shift to online continual learning.
  • Maintain high performance across all tasks with bounded computational and memory costs, even when teachers and students have different architectures.
  • Enable zero-shot generalization and effective backward/forward knowledge transfer across tasks without task identifiers during inference.
  • Provide a post-processing solution that avoids retraining the entire model from scratch when new classes are introduced.

Proposed method

  • Train multiple task-specific teacher models independently on previous tasks using standard offline training.
  • Select a small, fixed set of unlabeled samples from previous tasks to serve as memory for knowledge amalgamation.
  • Train a single student model to mimic the outputs of all teacher models on the memorized samples using knowledge distillation.
  • Introduce a joint representation learning (JRL) loss to align the student’s latent space across tasks, improving generalization.
  • Apply soft domain adaptation (SDA) to reduce distribution shift between teacher and student features, enhancing knowledge transfer.
  • Allow heterogeneous architectures between teachers and student, enabling compact or sparse student models without architectural constraints.

Experimental results

Research questions

  • RQ1Can knowledge from multiple heterogeneous teacher models be effectively amalgamated into a single student model to mitigate catastrophic forgetting in class-incremental learning?
  • RQ2How does the proposed method perform under limited memory budgets compared to existing continual learning baselines?
  • RQ3To what extent does the student model generalize to unseen classes (zero-shot learning) without fine-tuning?
  • RQ4How do the components JRL and SDA contribute to knowledge transfer and stability in the student model?
  • RQ5Can the method be seamlessly integrated into existing offline learning pipelines without requiring architectural or training pipeline changes?

Key findings

  • CFA achieves 74.96% accuracy on Split CIFAR-10 with a 1000-sample memory budget, outperforming DER (72.99%), DER++ (77.86%), and FDR (41.91%) under the same conditions.
  • With a fixed memory budget of 1000 samples, CFA${}_{\text{fixed}}$ maintains 74.96% accuracy on Split CIFAR-10 and 27.76% on Split CIFAR-100, demonstrating strong performance with minimal memory usage.
  • The ablation study confirms that Joint Representation Learning (JRL) is the primary driver of performance, as disabling JRL reduces accuracy to 69.68% even with SDA.
  • CFA${}_{\text{grow}}$ shows improved performance with increasing memory, reaching 79.40% on Split CIFAR-10 with 2000 samples, indicating scalability under growing memory budgets.
  • The method enables effective backward and forward knowledge transfer, with strong generalization across tasks and evidence of zero-shot learning capability.
  • CFA demonstrates superior memory efficiency and integration potential, as it can be applied as a post-processing step to existing offline models without retraining.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.