Skip to main content
QUICK REVIEW

[Paper Review] Deep Generative Dual Memory Network for Continual Learning

Nitin Kamra, Umang Gupta|arXiv (Cornell University)|Oct 28, 2017
Domain Adaptation and Few-Shot LearningComputer Science31 references124 citations
TL;DR

A dual memory architecture with deep generative replay is proposed to mitigate catastrophic forgetting in sequential task learning, showing improved retention across multiple image classification benchmarks.

ABSTRACT

Despite advances in deep learning, neural networks can only learn multiple tasks when trained on them jointly. When tasks arrive sequentially, they lose performance on previously learnt tasks. This phenomenon called catastrophic forgetting is a fundamental challenge to overcome before neural networks can learn continually from incoming data. In this work, we derive inspiration from human memory to develop an architecture capable of learning continuously from sequentially incoming tasks, while averting catastrophic forgetting. Specifically, our contributions are: (i) a dual memory architecture emulating the complementary learning systems (hippocampus and the neocortex) in the human brain, (ii) memory consolidation via generative replay of past experiences, (iii) demonstrating advantages of generative replay and dual memories via experiments, and (iv) improved performance retention on challenging tasks even for low capacity models. Our architecture displays many characteristics of the mammalian memory and provides insights on the connection between sleep and learning.

Motivation & Objective

  • Motivation to overcome catastrophic forgetting in sequential task learning.
  • Introduce a dual memory architecture inspired by hippocampus and neocortex.
  • Use generative replay to consolidate past knowledge into long-term memory.
  • Show that dual memory with generative replay outperforms baselines, including in low-capacity models.
  • Highlight connections between sleep-like consolidation and continual learning.

Proposed method

  • Introduce Deep Generative Memory (DGM) with generator G, learner L, and dictionary D_dgm.
  • Use Deep Generative Replay (DGR) to train on a mix of new data and generated samples from past tasks.
  • Implement a dual memory system: Short-Term Memory (STM) with multiple STTM units for new tasks and Long-Term Memory (LTM) consolidating knowledge.
  • During sleep, STM generates samples and consolidates into LTM via generative replay.
  • Use a Variational Autoencoder (VAE) as generator to reconstruct and denoise samples during replay.
  • Evaluate on sequential task benchmarks and compare with baselines like NN, Dropout, PPR, EWC, and DGR.

Experimental results

Research questions

  • RQ1Can a dual memory architecture paired with generative replay prevent catastrophic forgetting during sequential task learning?
  • RQ2How does the proposed method compare to existing baselines in terms of average accuracy (ACC) and backward transfer (BWT)?
  • RQ3What is the impact of memory constraints and task revision on continual learning performance?
  • RQ4How does sleep-like consolidation (periodic memory integration) influence long-term retention and training efficiency?

Key findings

  • DGDMN and DGR consistently outperform baselines on average accuracy across multiple datasets.
  • DGDMN achieves higher ACC than DGR on several datasets (Digits, Permnist, Shapes, Hindi).
  • DGDMN attains the least negative backward transfer, indicating reduced forgetting compared to baselines.
  • With memory constraints, DGDMN remains more robust and trains faster than DGR, especially over long task sequences.
  • The dual-memory + generative replay approach demonstrates gradual forgetting rather than catastrophic forgetting in long sequences.

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.