[Paper Review] Memory Replay GANs: learning to generate images from new categories without forgetting
MeRGANs prevent forgetting in sequential GAN training by using memory replay, with joint training or replay alignment, achieving competitive and more stable image generation across MNIST, SVHN, and LSUN tasks.
Previous works on sequential learning address the problem of forgetting in discriminative models. In this paper we consider the case of generative models. In particular, we investigate generative adversarial networks (GANs) in the task of learning new categories in a sequential fashion. We first show that sequential fine tuning renders the network unable to properly generate images from previous categories (i.e. forgetting). Addressing this problem, we propose Memory Replay GANs (MeRGANs), a conditional GAN framework that integrates a memory replay generator. We study two methods to prevent forgetting by leveraging these replays, namely joint training with replay and replay alignment. Qualitative and quantitative experimental results in MNIST, SVHN and LSUN datasets show that our memory replay approach can generate competitive images while significantly mitigating the forgetting of previous categories.
Motivation & Objective
- Motivate the problem of catastrophic forgetting in generative models under sequential category learning.
- Propose Memory Replay GANs (MeRGANs) to mitigate forgetting via memory replay mechanisms.
- Develop two strategies—joint training with replay and replay alignment—to leverage replayed memories during training.
- Demonstrate that MeRGANs generate competitive images while significantly reducing forgetting across multiple datasets.
Proposed method
- Use a conditional GAN framework (AC-GAN style) with category conditioning to generate images from a latent vector z and category c.
- Introduce a memory replay generator that reuses past task samples to form replay data.
- Two forgetting-prevention strategies: (a) joint retraining with replayed samples by augmenting the training set with replay data, (b) replay alignment where the current generator is encouraged to produce the same images as the replay generator using a pixelwise loss.
- Explore an EWC baseline as a comparison, adapted to GANs.
- Optimization combines GAN losses (WGAN-GP) with optional classification loss when using an auxiliary classifier.
- (Optional) For sequential tasks, initialize current task parameters from the previous task to simulate continual learning setup.
Experimental results
Research questions
- RQ1Can GANs suffer from catastrophic forgetting when learned sequentially to generate images from new categories?
- RQ2Do memory replay strategies using past task samples help preserve generation quality for earlier categories?
- RQ3Between joint retraining with replays and replay alignment, which yields more stable forgetting mitigation in GANs?
- RQ4How do MeRGAN variants perform on digit (MNIST, SVHN) and scene (LSUN) generation tasks in terms of quality and retention?
Key findings
- MeRGANs substantially mitigate forgetting compared with sequential fine-tuning and several baselines (e.g., EWC, DGR).
- On MNIST and SVHN, MeRGANs retain higher classification accuracy on earlier digits after learning many tasks compared with SFT and EWC, with MeRGAN-JTR and MeRGAN-RA showing improved performance especially on SVHN.
- In LSUN, MeRGAN variants achieve higher accuracy and better FID scores compared with baselines, indicating both quality and diversity are preserved across tasks.
- MeRGAN-RA often provides more stability and slightly better retention than MeRGAN-JTR in complex datasets like LSUN.
- Quantitatively, on LSUN after the 4th task, MeRGAN-JTR and MeRGAN-RA achieve Acc. of 79.19% and 81.03% respectively, Rev acc. of 70.00% and 83.62%, and FID of 49.69 and 37.73, whereas SFT and EWC perform substantially worse on these metrics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.