Skip to main content
QUICK REVIEW

[Paper Review] Prototype-Sample Relation Distillation: Towards Replay-Free Continual Learning

Nader Asadi, MohammadReza Davar|arXiv (Cornell University)|Mar 26, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper proposes Prototype-Sample Relation Distillation (PRD), a replay-free continual learning method that maintains class prototypes in a shared embedding space using a novel distillation loss to preserve relative similarity between old prototypes and new samples. PRD achieves state-of-the-art performance in both task- and class-incremental learning without storing any prior task data, outperforming even replay-based methods on benchmarks like Split-CIFAR100 and ImageNet-32.

ABSTRACT

In Continual learning (CL) balancing effective adaptation while combating catastrophic forgetting is a central challenge. Many of the recent best-performing methods utilize various forms of prior task data, e.g. a replay buffer, to tackle the catastrophic forgetting problem. Having access to previous task data can be restrictive in many real-world scenarios, for example when task data is sensitive or proprietary. To overcome the necessity of using previous tasks' data, in this work, we start with strong representation learning methods that have been shown to be less prone to forgetting. We propose a holistic approach to jointly learn the representation and class prototypes while maintaining the relevance of old class prototypes and their embedded similarities. Specifically, samples are mapped to an embedding space where the representations are learned using a supervised contrastive loss. Class prototypes are evolved continually in the same latent space, enabling learning and prediction at any point. To continually adapt the prototypes without keeping any prior task data, we propose a novel distillation loss that constrains class prototypes to maintain relative similarities as compared to new task data. This method yields state-of-the-art performance in the task-incremental setting, outperforming methods relying on large amounts of data, and provides strong performance in the class-incremental setting without using any stored data points.

Motivation & Objective

  • Address catastrophic forgetting in continual learning without relying on replay buffers or stored task data.
  • Overcome limitations of existing replay-free methods that struggle with long task sequences and high forgetting.
  • Leverage strong representation learning via supervised contrastive loss to maintain effective features for old tasks.
  • Develop a mechanism to preserve the relative ordering of old class prototypes with respect to new samples, ensuring stable and plastic learning.
  • Achieve state-of-the-art performance in both task- and class-incremental settings without any prior data storage.

Proposed method

  • Use supervised contrastive loss to learn robust, generalizable representations in a shared embedding space.
  • Maintain evolving class prototypes for each task in the same latent space, updating them incrementally without storing data.
  • Introduce a novel distillation loss that preserves the relative similarity ranking between new task samples and old class prototypes.
  • Minimize changes in the softmax distribution over samples to maintain the relative ordering of prototypes, ensuring old knowledge remains relevant.
  • Train the model end-to-end with a joint objective combining contrastive loss and prototype relation distillation.
  • Apply the method in both task-incremental and class-incremental settings across multiple benchmarks including Split-CIFAR100 and ImageNet-32.

Experimental results

Research questions

  • RQ1Can a replay-free continual learning method achieve performance comparable to or better than replay-based baselines?
  • RQ2How effectively can prototype-based classification maintain old task performance without storing past data?
  • RQ3To what extent does preserving relative similarity between prototypes and new samples reduce forgetting?
  • RQ4Can strong representation learning via supervised contrastive loss be combined with prototype distillation to improve both plasticity and stability?
  • RQ5Does the proposed method generalize across diverse datasets and task sequence lengths in both task- and class-incremental settings?

Key findings

  • PRD achieves state-of-the-art cumulative incremental accuracy on Split-CIFAR100 and ImageNet-Subset, outperforming both replay-free and replay-based baselines.
  • On the ImageNet-32 dataset with 200 tasks, PRD shows significantly lower representation forgetting than naive fine-tuning and strong baselines, with superior performance on the first task throughout the sequence.
  • PRD maintains the lowest forgetting rate on CIFAR-100 among all evaluated methods, slightly better than ER-M50 with a large replay buffer.
  • The method demonstrates strong plasticity, with current task accuracy consistently higher than EWC and ER-M50, while maintaining high stability on old tasks.
  • PRD achieves strong performance in the class-incremental setting without any stored data, and can further improve when combined with additional replay samples.
  • Linear probe evaluation confirms that PRD effectively reduces representation-level forgetting, indicating that the model's internal representations are robust to continual learning.

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.