TL;DR
Memory-based continual learning methods often forget past tasks because storing only a few examples leads to "representation collapse"—where the network overfits to a handful of old data points. This paper introduces MOCA, a plug-and-play framework that artificially injects intra-class diversity into the latent representation space. By diversifying old class features using model-agnostic or model-based perturbations, MOCA significantly mitigates catastrophic forgetting across multiple benchmarks.
What Problem Does This Paper Address?
When deep neural networks learn tasks sequentially, they suffer from catastrophic forgetting—abruptly losing the ability to perform previous tasks as they adapt to new data. To combat this, memory-based continual learning methods maintain a small buffer of past data points (prototypes) to replay during training.
However, approximating an entire data distribution with just a few samples creates a massive drop in intra-class diversity for old classes. The authors identify two severe consequences of this lack of diversity:
- Representation Collapse: The features of old classes shrink tightly together in the latent space, leading to severe overfitting.
- Gradient Collapse: Because the representations collapse, their corresponding backpropagation gradients also collapse into just a few directions, losing informative features needed to maintain robust decision boundaries.
The goal of this paper is to bridge this variation gap between old and new classes, restoring the rich gradient dynamics of standard i.i.d. (independent and identically distributed) joint training.
Methods
Instead of trying to generate complex raw images to fill the memory buffer, the authors propose MOCA (Modeling Intra-Class Variation), which applies perturbations directly to features in the latent representation space. To keep these perturbations semantically meaningful, MOCA projects them onto a feature hypersphere.
The authors develop two main strategies for generating these perturbations:
1. Model-Agnostic MOCA
This approach uses standard parametric distributions to add noise to old class features without needing knowledge of the current network state.
- Isotropic Gaussian: Adds random Gaussian noise scaled by a variance hyperparameter.
- von Mises-Fisher (vMF): Specifically designed for directional statistics on hyperspheres, making the magnitude of the perturbation easier to control.
2. Model-Based MOCA
This advanced approach conditions perturbations on the current state of the neural network to find more informative directions:
- Dropout-based Augmentation (DOA): Randomly masks network neurons during a second forward pass to naturally create feature variations.
- Weight-Adversarial Perturbation (WAP): Adversarially perturbs the network's weights to push old features toward the current decision boundary, generating highly effective gradients to defend past knowledge.
- Variation Transfer (VT): Measures the rich intra-class variation of newly arriving classes and directly transfers that structural variance to the depleted old classes.
Datasets
The authors evaluated MOCA across three standard continual learning image datasets:
- CIFAR-10
- CIFAR-100
- TinyImageNet
- MNIST (used primarily for 2D feature visualization)
Key Insights and Ideas
- Latent Space is Easier to Augment: Perturbing the latent representation space is far more effective than generating raw input images. The latent space is lower-dimensional, highly regularized, and features from different classes share a similar hyperspherical structure.
- Implicit Data Augmentation: Because neural networks have a many-to-one mapping property, a single perturbed feature vector implicitly corresponds to a massive variety of potential augmented input images. This provides powerful regularization without the heavy computational cost of generative models like GANs.
- Direction Matters: Simply adding random noise helps, but directing perturbations towards the new class manifold (as WAP and VT do) yields much more informative gradients. This forces the model to create large, distinct margins between old and new classes.
Key Results
MOCA serves as a flexible, plug-and-play component that consistently improves popular memory-based baselines like Experience Replay (ER), DER++, and ER-ACE across offline, online, and proxy-based settings.
- Offline Continual Learning: On CIFAR-100 (with a buffer size of 500), adding WAP to standard Experience Replay (ER) boosted final classification accuracy from 31.02% to 40.24%. When added to the state-of-the-art DER++, accuracy improved from 39.08% to 43.78%.
- Online Continual Learning: WAP consistently provided a 1–4% accuracy gain across benchmarks, even though online settings only allow data to be seen once.
- Proxy-Based Setting: In memory-free scenarios where raw data cannot be saved, Variation Transfer (VT) outperformed existing prototype augmentation methods (like PASS), proving that model-based variation is superior to simple Gaussian noise.
Limitations and Future Work
- Online Learning Bottlenecks: While MOCA significantly mitigates catastrophic forgetting, its performance gains are less pronounced in online continual learning. This is because online learning also suffers heavily from data under-fitting (since data is seen only once), which MOCA is not designed to fix.
- Simple Variants: The authors only explored a few straightforward distribution models and perturbation methods. They suggest that exploring more complex structural regularities in the representation space—such as discrete representation learning or causal modeling—could be a promising direction for future research.
Summary updated