TL;DR
This paper presents a comprehensive empirical survey of online continual learning (CL) methods for image classification, where models must learn from a continuous, non-stationary stream of data without revisiting past datasets. By systematically comparing state-of-the-art algorithms and simple architectural "tricks," the authors reveal that while a surprisingly simple baseline (GDumb) often beats complex methods in class-incremental settings, combining replay-based methods (like MIR) with specific tricks (like the Review trick) yields the most robust, versatile performance across the board.
What Problem Does This Paper Address?
Standard deep learning relies on offline training: models iterate over a static, shuffled dataset for multiple epochs. However, real-world edge devices (like smartphones or robots) receive data in a continuous, online stream. If you update a standard neural network with new data, it suffers from catastrophic forgetting (CF)—it rapidly overwrites the knowledge it learned from older data.
While many Continual Learning (CL) methods exist, the literature is fragmented. Many methods are evaluated under unrealistic conditions, such as allowing multiple passes over the data, or using a "multi-head" setup where the model is explicitly told which task it is being tested on (providing a Task-ID). This paper tackles the highly realistic and challenging Online Continual Learning setting with a single-head configuration (no Task-IDs at inference, single pass over data). It systematically evaluates how well current methods handle two distinct scenarios:
- Online Class Incremental (OCI): The data stream introduces completely new classes over time.
- Online Domain Incremental (ODI): The classes remain the same, but the input distribution shifts (e.g., changing lighting, added noise, or blur).
Methods
Because this is a survey, the "methods" are the evaluation framework and the algorithms compared. The authors tested algorithms across three main CL paradigms:
- Regularization-based: EWC++ and LwF (Learning without Forgetting).
- Memory-based (Replay): Methods that keep a small buffer of past data. Includes ER (Experience Replay), A-GEM, iCaRL, MIR (Maximally Interfered Retrieval), GSS, and GDumb.
- Parameter-isolation: CN-DPM (dynamically expands the network architecture).
Crucially, the authors also evaluated 7 simple "tricks" designed to alleviate class imbalance in the memory buffer. The most notable are:
- Nearest Class Mean (NCM) Classifier: Replaces the standard Softmax layer by classifying based on the distance to class prototypes in the latent space.
- Review Trick (RV): A post-processing step that fine-tunes the model using only the balanced memory buffer at the end of a task.
Datasets
The authors evaluated the methods on several benchmarks, ensuring a mix of OCI and ODI scenarios:
- OCI Datasets: Split CIFAR-100, Split Mini-ImageNet, and CORe50-NC (a larger, more realistic robotics dataset).
- ODI Datasets: CORe50-NI, and a newly proposed dataset: NS-MiniImageNet (NonStationary-MiniImageNet), which introduces gradual domain shifts using increasing levels of noise, blur, and occlusion.
Key Insights and Ideas
- The Root of Forgetting is Recency Bias: The authors theoretically and empirically prove that in OCI, catastrophic forgetting isn't just the feature extractor "forgetting" how to see old objects. Instead, the final Fully Connected (FC) classification layer becomes massively biased. Because new classes outnumber the few old examples stored in the memory buffer, the network's weights and biases for new classes explode, causing it to blindly guess "new class" for almost everything.
- The "GDumb" Surprise: GDumb is a baseline that simply stores a perfectly balanced buffer of data and trains a model from scratch using only that buffer at inference time. Surprisingly, it dominates complex, state-of-the-art methods in OCI settings with larger memory buffers. This raises serious questions about the actual progress being made by complex CL algorithms.
- Different Settings Require Different Tools: While GDumb wins in OCI, it completely fails in ODI. Why? Because ODI doesn't suffer from class imbalance (the classes are the same across tasks); it suffers from domain shift. In ODI, replay-based methods (like ER and MIR) that mix new and old data to adapt to the shifting distribution are vastly superior.
Key Results
- Small Memory: iCaRL is the most competitive method when the memory buffer is highly constrained (e.g., 1k samples).
- Large Memory (OCI): GDumb achieves the highest accuracy on medium datasets (e.g., 28.8% on Split CIFAR-100 with 10k memory, compared to MIR's 19.3%).
- The Best All-Rounder: MIR (Maximally Interfered Retrieval) is the most versatile. It performs best on the large-scale CORe50-NC dataset and dominates in the ODI settings where GDumb fails.
- Tricks are Game-Changers: Applying the NCM classifier or the Review (RV) trick to base methods yields massive gains. For example, adding the RV trick to MIR on CIFAR-100 (10k memory) boosts its accuracy from 19.3% to 35.2%—an 82% relative improvement, allowing it to easily surpass the GDumb baseline.
Limitations and Future Work
- Regularization Fails Online: The authors found that regularization methods like EWC++ fail completely in this strict online setting, often suffering from gradient explosion when trying to protect past weights.
- Privacy Constraints: All the winning methods rely on a memory buffer of raw images. The authors acknowledge that in many real-world edge applications (e.g., healthcare, personal devices), storing raw user data is a privacy violation.
- Future Directions: To bypass privacy issues, the authors point toward "raw-data-free" methods, such as feature replay (storing compressed latent vectors instead of images) or generative replay (training a GAN to dream up past data). They also highlight Meta-Learning as a highly promising frontier for teaching networks how to update without forgetting.
Summary updated