Skip to main content
QUICK REVIEW

[Paper Review] Storing Encoded Episodes as Concepts for Continual Learning

Ali Ayub, Alan R. Wagner|arXiv (Cornell University)|Jun 26, 2020
Domain Adaptation and Few-Shot LearningComputer Science23 references7 citations
TL;DR

This paper proposes Encoding Episodes as Concepts (EEC), a cognitively-inspired continual learning method that uses Neural Style Transfer-trained autoencoders to generate high-quality, non-blurry reconstructed images from encoded episodes for generative replay. The approach reduces catastrophic forgetting and cuts memory usage by 78% by converting stored episodes into centroid and covariance representations, achieving 13–17% higher accuracy than state-of-the-art methods on benchmark datasets.

ABSTRACT

The two main challenges faced by continual learning approaches are catastrophic forgetting and memory limitations on the storage of data. To cope with these challenges, we propose a novel, cognitively-inspired approach which trains autoencoders with Neural Style Transfer to encode and store images. Reconstructed images from encoded episodes are replayed when training the classifier model on a new task to avoid catastrophic forgetting. The loss function for the reconstructed images is weighted to reduce its effect during classifier training to cope with image degradation. When the system runs out of memory the encoded episodes are converted into centroids and covariance matrices, which are used to generate pseudo-images during classifier training, keeping classifier performance stable with less memory. Our approach increases classification accuracy by 13-17% over state-of-the-art methods on benchmark datasets, while requiring 78% less storage space.

Motivation & Objective

  • To address catastrophic forgetting and memory limitations in continual learning without storing real data samples.
  • To develop a biologically inspired method that mimics human memory consolidation through encoded episode storage and transformation.
  • To improve image reconstruction quality beyond standard autoencoders to support effective classifier rehearsal.
  • To reduce memory footprint via centroid and covariance-based compression of encoded episodes.
  • To achieve superior performance on complex RGB datasets like ImageNet-50 under strict class-incremental learning constraints.

Proposed method

  • Train convolutional autoencoders with Neural Style Transfer (NST) loss to generate sharp, class-relevant images instead of blurry reconstructions.
  • Store encoded episodes (low-dimensional embeddings) in memory to enable generative replay during new task training.
  • Apply sample decay weights during classifier training to reduce the influence of degraded reconstructed images.
  • Convert similar encoded episodes into centroids and covariance matrices to compress memory usage when storage limits are reached.
  • Use a clustering-based memory integration technique inspired by hippocampal-neocortical concept learning to merge similar episodes.
  • Reconstruct images from centroids and covariance matrices to generate pseudo-images during classifier training, maintaining performance with minimal storage.

Experimental results

Research questions

  • RQ1Can Neural Style Transfer improve the quality of autoencoder-generated images for generative replay in continual learning?
  • RQ2How does the use of encoded episodes as concepts compare to storing real data or using GANs in terms of forgetting and memory efficiency?
  • RQ3To what extent can centroid and covariance representations replace raw encoded episodes without performance degradation?
  • RQ4Does the proposed method reduce catastrophic forgetting on complex, high-dimensional datasets like ImageNet-50?
  • RQ5Can the system maintain high accuracy under extreme memory constraints through effective memory integration?

Key findings

  • EEC achieves 13.29% and 17.42% higher accuracy than DGMw on ImageNet-50 at A3 and A5, respectively, despite not storing real data.
  • On MNIST, EEC maintains stable performance across 10 tasks with minimal forgetting, suggesting robustness to task sequence length.
  • With a memory budget of K=5000, EEC achieves 31.51% accuracy on A5, only 3.73% lower than the unlimited memory baseline.
  • EEC reduces total system memory usage by 78.01% compared to DGMw (228 MB) and 64.58% compared to real image storage (315 MB) on ImageNet-50.
  • EEC outperforms iCaRL (a state-of-the-art method using real image episodic memory) by 16.01% on A3 and 6.26% on A5, demonstrating the effectiveness of its generative replay.
  • The method shows consistent performance across datasets, unlike DGMw, which exhibits significant performance variance between MNIST and ImageNet-50.

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.