Abstract
Class-Incremental Learning (CIL) requires models to learn new classes sequentially without forgetting previous ones. Traditional exemplar replay methods suffer from linear memory growth, while generative replay often produces low-quality samples. We present Autoencoder-Based Hybrid Replay (AHR), which stores compressed latent representations and employs a physics-inspired Repulsive Force Algorithm (RFA) to separate class embeddings. AHR reduces memory overhead by up to 90% while outperforming existing state-of-the-art methods on standard benchmarks.
Introduction
In Class-Incremental Learning (CIL), an AI model must learn new classes from a continuous stream of data. This setting introduces two primary challenges: Catastrophic Forgetting (CF), where new knowledge overwrites old information, and Task Confusion (TC), where the model fails to distinguish between classes from different tasks.
The standard solution, exemplar replay, stores a subset of raw images to "rehearse" previous tasks. However, memory requirements scale linearly ($O(t)$) with the number of tasks, making it unsuitable for long-term deployment on edge devices. While generative replay offers better scaling, it frequently generates low-fidelity samples that degrade performance.
Methodology: Autoencoder-Based Hybrid Replay
AHR introduces a Hybrid Autoencoder (HAE) designed to balance memory efficiency with high-fidelity reconstruction.
Latent Space Compression
Instead of storing raw pixels, AHR encodes images into a low-dimensional latent space. This approach achieves approximately 10x more "exemplars" within the same memory footprint ($O(0.1t)$ complexity).
Physics-Inspired Embedding (RFA)
To mitigate task confusion, AHR treats class centroids in the latent space as charged particles. The Repulsive Force Algorithm (RFA) ensures these centroids repel each other during training, maximizing inter-class distance. This structured latent space allows for classification using simple Euclidean distance during inference.
Memorization-Focused Decoder
Unlike standard Variational Autoencoders (VAEs) that prioritize generalization, the HAE in AHR is optimized to memorize training data. This ensures that reconstructed images used for rehearsal maintain high fidelity, effectively serving as high-quality training data.
Experimental Results
The researchers evaluated AHR on several benchmarks, including CIFAR-10, CIFAR-100, and miniImageNet.
Performance and Efficiency
AHR consistently outperformed baselines such as iCaRL, BiC, and LUCIR. On CIFAR-100, AHR reached 54.43% accuracy, compared to iCaRL's 49.38%. Notably, AHR maintains this performance while operating at $O(0.1t)$ memory complexity. For miniImageNet, AHR could store 20,000 latent exemplars in the space typically required for 2,000 raw images.
Ablation Study
An "AHR-lossless" variant demonstrated that the RFA-structured latent space alone provides a significant boost (reaching 56.71% on CIFAR-100), confirming that the physics-inspired embedding is a critical component of the system's success.
Conclusion and Future Work
AHR provides a scalable solution for CIL by combining the benefits of exemplar and generative replay. While it introduces some computational overhead for image reconstruction and requires storing the decoder parameters, the memory savings and performance gains are substantial. Future work will explore applying RFA-structured latent spaces to higher-resolution datasets and non-visual modalities.
Summary updated