Class Incremental Continual Learning with Self-Organizing Maps and Variational Autoencoders Using Synthetic Replay

Pujan Thapa, Alexander Ororbia, Travis Desell · DOI

Abstract

Catastrophic forgetting remains a primary challenge in Class Incremental Learning (CIL), where neural networks abruptly lose previously acquired knowledge upon learning new tasks. This paper introduces a generative continual learning framework that mitigates forgetting through synthetic replay. By integrating Self-Organizing Maps (SOMs) with Variational Autoencoders (VAEs), the proposed method stores statistical summaries of data distributions in a compressed latent space rather than raw image samples. Synthetic data generated from these summaries is replayed during subsequent training phases to preserve past knowledge. Evaluations on MNIST and CIFAR benchmarks show that the framework significantly outperforms memory-free baselines and achieves competitive performance with memory-based techniques while maintaining high storage efficiency.

Introduction

In Class Incremental Learning (CIL), models encounter new classes sequentially without access to the full training sets of previous classes. Standard deep learning models typically suffer from catastrophic forgetting, where new weight updates overwrite the representations of old tasks. Existing solutions generally fall into two categories: memory-based methods, which store a subset of real past images (raising privacy and storage concerns), and memory-free methods, which use regularization to preserve weights but often struggle with high-dimensional data. This work proposes a middle ground: Synthetic Replay, leveraging generative models to reconstruct past examples without storing raw data.

Methodology

The framework employs two distinct strategies based on data complexity:

  1. Low-Dimensional Data: For datasets like MNIST, a standalone SOM tracks the running mean and variance for each unit in its grid. Synthetic training data is created by sampling from these Gaussian distributions.
  2. High-Dimensional Data: For complex datasets like CIFAR-10/100, the system utilizes a VAE to compress images into a low-dimensional latent space. The SOM then operates on these latent codes. Each Best Matching Unit (BMU) in the SOM stores a mean vector and a full covariance matrix.
Visualization of synthetic samples generated from the SOM's statistical summaries for different classes.

During the replay phase, the model performs an eigen-decomposition of the stored covariance matrices to generate high-quality synthetic latent codes. These codes are passed through the VAE decoder to produce images for training. To ensure semantic consistency, a "perceptual loss" is calculated using a frozen VGG-19 network, focusing the VAE on high-level features rather than just pixel-perfect reconstruction.

Experimental Results

The method was evaluated on standard benchmarks including Split-MNIST, Split-CIFAR-10, and Split-CIFAR-100. A key advantage of the SOM-based approach is its topological memory; the spatial organization of the SOM grid allows for localized plasticity, where learning new classes primarily affects specific regions, thereby protecting older representations.

Performance comparison of the proposed VAE-SOM framework against baseline and state-of-the-art continual learning methods across three benchmarks.

As shown in the results table, the VAE-SOM approach achieved 53.01% accuracy on Split-CIFAR-10, outperforming established methods like DER++ (52.01%) and CN-DPM (47.05%) without requiring a physical image buffer. In the challenging single-class incremental setup, the method improved state-of-the-art performance by nearly 10% on CIFAR-10 and 7% on CIFAR-100.

Conclusion

The integration of SOMs and VAEs provides a robust mechanism for synthetic replay in class incremental learning. By storing statistical summaries in a latent space, the model achieves high performance and visualizability without the overhead of raw data storage. Future work will explore "Growing SOMs" to handle increasing data complexity and extending the framework to non-vision domains such as reinforcement learning.

Summary updated

BibTeX
@misc{thapa2025class,
  author = {Pujan Thapa and Alexander Ororbia and Travis Desell},
  title = {{Class Incremental Continual Learning with Self-Organizing Maps and Variational Autoencoders Using Synthetic Replay}},
  year = {2025},
  eprint = {2508.21240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.21240},
}
Figure