[Paper Review] EEC: Learning to Encode and Regenerate Images for Continual Learning
This paper proposes EEC, a cognitively-inspired continual learning framework that uses Neural Style Transfer-trained autoencoders to generate high-quality, non-blurry reconstructed images for rehearsal, reducing catastrophic forgetting. By combining content-aware image reconstruction with memory-efficient centroid/covariance encoding and adaptive loss weighting, EEC achieves 13–17% higher accuracy than state-of-the-art methods while using 78% less memory on benchmark datasets.
The two main impediments to continual learning 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. During training on a new task, reconstructed images from encoded episodes are replayed in order 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 while using 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 from previous classes.
- To develop a biologically inspired method that mimics human memory consolidation through encoded episodic representations.
- To generate high-fidelity, class-relevant images for rehearsal using Neural Style Transfer, avoiding the blur typical of standard autoencoders.
- To reduce memory usage via centroid and covariance-based memory integration of similar encoded episodes.
- To stabilize performance during training by applying sample weight decay to mitigate degradation of reconstructed images.
Proposed method
- Trains convolutional autoencoders using Neural Style Transfer to produce sharp, content-aware image reconstructions that reflect learned classes.
- Uses reconstructed images as pseudo-rehearsal data during classifier training to prevent catastrophic forgetting.
- Applies a weighted loss function during classifier training, reducing the influence of degraded reconstructed images on the final prediction.
- When memory is exhausted, compresses encoded episodes into centroids and covariance matrices to represent clusters of similar data.
- Employs a hybrid memory management strategy: store encoded episodes initially, then replace them with compact statistical summaries to reduce storage.
- Introduces sample weight decay during classifier training to downweight low-quality reconstructed images and improve generalization.
Experimental results
Research questions
- RQ1Can Neural Style Transfer improve the quality of autoencoder-generated images for continual learning rehearsal?
- RQ2How does content-aware image reconstruction compare to standard autoencoders in reducing image degradation and improving classification accuracy?
- RQ3To what extent can centroid and covariance representations replace raw encoded episodes in maintaining performance while reducing memory usage?
- RQ4How effective is adaptive loss weighting in mitigating performance degradation from low-quality reconstructed images during training?
- RQ5Can a fully data-free, strict class-incremental learning system achieve state-of-the-art accuracy with significantly reduced memory footprint?
Key findings
- EEC achieves 45.39% and 35.24% accuracy on $A_{30}$ and $A_{50}$ for ImageNet-50, respectively, outperforming state-of-the-art methods by 13–17%.
- The ablation study shows that removing the NST-based autoencoder (EEC-noNST) reduces accuracy by ~5.8% on $A_{30}$, demonstrating its critical role.
- Using conditional GANs instead of NST-based autoencoders (EEC-CGAN) results in a 7.80% accuracy gain over DGMw, but still underperforms full EEC.
- Removing pseudo-rehearsal (EEC-noPseudo) leads to a 4.98% drop in $A_{30}$ accuracy, confirming its importance in mitigating forgetting.
- On 224×224 ImageNet-50 images, EEC achieves 70.75% and 56.89% accuracy on $A_{30}$ and $A_{50}$, a 25.36% and 21.65% improvement over 32×32 results.
- EEC uses only 13.04 GB for high-resolution images, 66% less than storing real 224×224 images (39.13 GB), while maintaining high performance.
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.