Breaking the Synthetic-Real Domain Shortcut for Training-Free Generative Replay-based Class Incremental Learning
Abstract
Class-incremental learning (CIL) requires models to continuously acquire new knowledge while avoiding catastrophic forgetting. While exemplar replay is effective, it raises concerns regarding privacy and storage. Thus, generative replay has emerged as a viable alternative, synthesizing old data using frozen pretrained text-to-image (T2I) models without any extra training. However, we observe that directly mixing synthetic old-class data with real new-class data during incremental training leads to significant performance degradation. This issue stems from a ‘’domain shortcut'', where models rely on domain-discriminative features instead of semantic class cues. To address this, we propose DREAM (Domain-Regularized Exemplar-free Alignment Model), which uses a training-free generator to synthesize old-class data and eliminates domain shortcut via subspace rectification and orthogonal projection, while reinforcing semantic alignment through real-anchored prototype regularization. Extensive experiments on 4 datasets demonstrate that DREAM outperforms existing exemplar-free CIL methods and achieves state-of-the-art performance.
Lay Summary
AI models often need to learn new categories over time, but they tend to forget old ones. Storing old training images can reduce forgetting, but it raises privacy and storage concerns. A promising alternative is to generate synthetic images of old categories using frozen image generation models. However, we find that directly mixing generated old images with real new images causes the model to learn a shortcut: it separates images by whether they are real or generated, rather than by what they show. We propose DREAM, a method that removes this misleading real-versus-generated difference and helps the model focus on category information. DREAM enables privacy-friendly continual learning without storing old real data or retraining large generators, and experiments show that it improves performance across multiple benchmarks.