Skip to main content
QUICK REVIEW

[Paper Review] Learning Invariant Representation for Continual Learning

Ghada Sokar, Decebal Constantin Mocanu|University of Twente Research Information|Jan 15, 2021
Domain Adaptation and Few-Shot LearningComputer Science28 references4 citations
TL;DR

This paper proposes IRCL, a pseudo-rehearsal method for continual learning that disentangles class-invariant representations from a conditional variational autoencoder (cVAE) and jointly uses them with task-specific representations for classification. By generating high-quality, class-conditioned pseudo-samples and leveraging the invariant representation during inference, IRCL outperforms regularization and state-of-the-art pseudo-rehearsal methods by 3.5–5.5% in accuracy and backward transfer on split MNIST and Fashion MNIST, especially when replayed sample sizes are small.

ABSTRACT

Continual learning aims to provide intelligent agents that are capable of learning continually a sequence of tasks, building on previously learned knowledge. A key challenge in this learning paradigm is catastrophically forgetting previously learned tasks when the agent faces a new one. Current rehearsal-based methods show their success in mitigating the catastrophic forgetting problem by replaying samples from previous tasks during learning a new one. However, these methods are infeasible when the data of previous tasks is not accessible. In this work, we propose a new pseudo-rehearsal-based method, named learning Invariant Representation for Continual Learning (IRCL), in which class-invariant representation is disentangled from a conditional generative model and jointly used with class-specific representation to learn the sequential tasks. Disentangling the shared invariant representation helps to learn continually a sequence of tasks, while being more robust to forgetting and having better knowledge transfer. We focus on class incremental learning where there is no knowledge about task identity during inference. We empirically evaluate our proposed method on two well-known benchmarks for continual learning: split MNIST and split Fashion MNIST. The experimental results show that our proposed method outperforms regularization-based methods by a big margin and is better than the state-of-the-art pseudo-rehearsal-based method. Finally, we analyze the role of the shared invariant representation in mitigating the forgetting problem especially when the number of replayed samples for each previous task is small.

Motivation & Objective

  • To address catastrophic forgetting in continual learning when real data from previous tasks is unavailable.
  • To develop a pseudo-rehearsal method that avoids reliance on storing real past samples.
  • To improve robustness to forgetting by disentangling a class-invariant representation from data using a conditional generative model.
  • To enable class-incremental learning without task identity during inference.
  • To enhance knowledge transfer and reduce negative backward transfer, especially with limited replay samples.

Proposed method

  • A conditional variational autoencoder (cVAE) is used to disentangle a shared, class-invariant representation (z) from input data.
  • The invariant representation z is jointly combined with a task-specific classifier head for recognition.
  • Pseudo-replay is performed using generated samples from the cVAE conditioned on class labels, replacing real data replay.
  • The model is trained end-to-end with a reconstruction loss for the cVAE and a classification loss for the task head.
  • The disentangled invariant representation is fed into the classifier to stabilize learning and reduce forgetting.
  • The method is evaluated under class-incremental learning with no task identity available at inference time.

Experimental results

Research questions

  • RQ1Can a disentangled invariant representation learned via a conditional generative model reduce catastrophic forgetting in continual learning?
  • RQ2How does the quality of pseudo-samples generated by a cVAE affect performance when real data is unavailable?
  • RQ3Does providing the shared invariant representation to the classifier improve generalization and reduce forgetting, especially with few replayed samples?
  • RQ4How does IRCL compare to regularization-based and state-of-the-art pseudo-rehearsal methods in terms of accuracy and backward transfer?
  • RQ5Can conditional generation allow controlled generation of replay samples per class to balance learning interference?

Key findings

  • IRCL outperforms regularization-based methods by a large margin on both split MNIST and split Fashion MNIST benchmarks.
  • IRCL achieves 3.5% higher accuracy and 5.5% better backward transfer than the state-of-the-art pseudo-rehearsal method on split MNIST.
  • On split Fashion MNIST, IRCL improves accuracy by 4% and backward transfer by 3% over the SOTA pseudo-rehearsal method.
  • The inclusion of the shared invariant representation (z) in the classifier consistently improves accuracy and reduces negative backward transfer, especially when replay sample sizes are small.
  • Conditional generation leads to higher-quality pseudo-samples, which contributes to better performance and reduced forgetting.
  • The ablation study confirms that the invariant representation is less prone to forgetting and plays a key role in maintaining performance on previous tasks.

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.