Skip to main content
QUICK REVIEW

[Paper Review] Generative Replay-based Continual Zero-Shot Learning

Chandan Gautam, Sethupathy Parameswaran|arXiv (Cornell University)|Jan 22, 2021
Domain Adaptation and Few-Shot LearningComputer Science44 references10 citations
TL;DR

This paper proposes Generative Replay-based Continual Zero-Shot Learning (GRCZSL), a method that enables zero-shot learning in a continual, class-incremental setting by using a conditional variational autoencoder (CVAE) to generate synthetic samples from the previous task's decoder, mitigating catastrophic forgetting. The approach achieves state-of-the-art performance on five benchmark datasets under both fixed and dynamic class-incremental settings, significantly outperforming prior methods with gains up to 8% in harmonic mean accuracy.

ABSTRACT

Zero-shot learning is a new paradigm to classify objects from classes that are not available at training time. Zero-shot learning (ZSL) methods have attracted considerable attention in recent years because of their ability to classify unseen/novel class examples. Most of the existing approaches on ZSL works when all the samples from seen classes are available to train the model, which does not suit real life. In this paper, we tackle this hindrance by developing a generative replay-based continual ZSL (GRCZSL). The proposed method endows traditional ZSL to learn from streaming data and acquire new knowledge without forgetting the previous tasks' gained experience. We handle catastrophic forgetting in GRCZSL by replaying the synthetic samples of seen classes, which have appeared in the earlier tasks. These synthetic samples are synthesized using the trained conditional variational autoencoder (VAE) over the immediate past task. Moreover, we only require the current and immediate previous VAE at any time for training and testing. The proposed GRZSL method is developed for a single-head setting of continual learning, simulating a real-world problem setting. In this setting, task identity is given during training but unavailable during testing. GRCZSL performance is evaluated on five benchmark datasets for the generalized setup of ZSL with fixed and dynamic (incremental class) settings of continual learning. The existing class setting presented recently in the literature is not suitable for a class-incremental setting. Therefore, this paper proposes a new setting to address this issue. Experimental results show that the proposed method significantly outperforms the baseline and the state-of-the-art method and makes it more suitable for real-world applications.

Motivation & Objective

  • To address the limitation of existing zero-shot learning (ZSL) methods that require all seen-class data at training, which is impractical in real-world streaming scenarios.
  • To develop a continual ZSL framework that prevents catastrophic forgetting while learning from incremental classes without retraining.
  • To propose a new evaluation setting for class-incremental continual ZSL that enables fair comparison with offline ZSL baselines.
  • To demonstrate the effectiveness of using only the previous task's decoder for generative replay, minimizing memory and computational costs.

Proposed method

  • The method employs a conditional variational autoencoder (CVAE) to generate synthetic visual samples for previously learned seen classes using the immediate past task's decoder.
  • Generative replay is applied by training the current model on a combination of real data from the current task and synthetic data from the previous task’s CVAE.
  • Only the current task’s full model and the previous task’s decoder are stored, reducing memory footprint compared to full model replay.
  • The model is trained in a single-head setting where task identity is not available during inference, simulating real-world deployment.
  • A task importance hyperparameter (α) is introduced to balance the contribution of current and previous task samples during training.
  • The framework supports both fixed and dynamic class-incremental settings, with the latter allowing incremental growth in both seen and unseen classes.

Experimental results

Research questions

  • RQ1Can a generative replay-based approach effectively prevent catastrophic forgetting in continual zero-shot learning without storing full models?
  • RQ2How does the performance of a continual ZSL model compare to its offline, non-continual counterpart under the same test split?
  • RQ3What is the impact of varying task importance (α) on the model's ability to retain knowledge of previous tasks while learning new ones?
  • RQ4Can the proposed method handle class-incremental learning where both seen and unseen classes grow over time, unlike prior methods that assume fixed class sets?
  • RQ5Does using only the previous decoder for replay provide a strong enough signal to maintain performance on previously learned classes?

Key findings

  • GRCZSL outperforms all baseline methods on all five benchmark datasets (CUB, aPY, AWA1, AWA2, SUN) in both fixed and dynamic class-incremental settings.
  • In the dynamic setting, GRCZSL achieves a significant improvement of over 8% in harmonic mean accuracy on the CUB dataset compared to baselines.
  • On the aPY and SUN datasets, GRCZSL shows improvements of more than 1.5% and 0.3% respectively in harmonic mean over baselines in the fixed setting.
  • The ablation study reveals that task importance (α) in the range [0.3, 0.5] yields the best performance, with α=0 or α=1 resulting in the worst performance.
  • Despite strong performance, GRCZSL still lags behind the offline CVAE upper bound on the last task, indicating room for improvement in lifelong generalization.
  • The model maintains stable performance on unseen classes across tasks, with mUA (mean unseen accuracy) following a similar trend to mH (harmonic mean), confirming robustness in zero-shot generalization.

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.