TL;DR
This paper summarizes the CVPR 2023 CLVision challenge, which shifted the focus of Continual Learning (CL) from strictly sequential tasks to a more realistic setting: Class-Incremental learning with Repetition (CIR). The results reveal that while standard rehearsal-based methods dominate traditional benchmarks, ensemble-based strategies that leverage natural data re-occurrence can achieve performance near that of joint training, even without large replay buffers.
What Problem Does This Paper Address?
Traditional Continual Learning research often relies on "academic scenarios" where a model learns a sequence of distinct tasks or classes (e.g., first all dogs, then all cats) and never sees them again. The primary goal is to prevent catastrophic forgetting—the tendency of neural networks to abruptly lose old knowledge when learning new information.
However, real-world environments are rarely so tidy. A robot exploring a house will see the same kitchen chairs and coffee mugs repeatedly in different contexts. This paper addresses the gap between artificial sequential benchmarks and real-world data streams by formalizing repetition in the data stream. The authors argue that repetition shouldn't just be something the model does (like replaying samples from a buffer); it's something the environment provides.
Methods
The challenge restricted participants from using large replay buffers (max 200 exemplars) and prohibited storing raw samples. This forced teams to find innovative ways to exploit natural repetition. Three finalist strategies emerged:
- HAT-CIR (Winner): This approach uses an ensemble of "fragments" (network replicas trained on different experiences) and "ensembles" (replicas trained on the same data with different initializations). It employs Supervised Contrastive Learning (SupCon) to create robust feature representations and a momentum-based inference mechanism that averages predictions from the most recent experiences where a class appeared.
- Horde: This strategy builds an ensemble of expert feature extractors (FEs). To handle the fact that different FEs were trained on different classes, it uses pseudo-feature projection to align representations into a single unified classification head.
- DWGRNet: This method creates independent branches for each experience. At test time, it treats the ensemble as an open-set recognition problem, using entropy and feature norms to weight the confidence of each branch's prediction.
Datasets
The primary benchmark was built using CIFAR-100, transformed into a stream by a custom generator. This generator uses two key parameters to define the "flavor" of the stream:
- First occurrence distribution ($P_f$): Controls when new classes are introduced.
- Repetition probability ($P_r$): Controls how likely a seen class is to reappear.
To test generalizability, the finalist solutions were also evaluated on a subset of Tiny ImageNet.
Key Insights and Ideas
- Repetition Changes the Game: Strategies that fail on standard "no-repetition" benchmarks can become top performers when repetition is introduced. Conversely, standard Experience Replay (ER) with a large buffer, which usually wins traditional benchmarks, was outperformed by the finalist ensemble methods in repetitive streams.
- Ensembles are the "Natural" Choice: All three finalists converged on ensemble-based designs. Repetition in the stream acts as a form of "natural bagging," allowing different sub-modules to specialize in different class pairings and contexts.
- Test-Time Logic Matters: Simply training a model isn't enough. The most successful teams put significant effort into how to aggregate predictions at inference time, using metrics like entropy or temporal momentum to decide which sub-module to trust.
Key Results
The winning solution, HAT-CIR, achieved an average accuracy of 62.75% on the final challenge streams. This is remarkably close to the 65.12% achieved by "Joint" training (training on all data at once), which is typically considered the upper bound for CL.
In contrast, popular CL baselines that don't account for repetition performed poorly:
- Naive (fine-tuning): 7.83%
- EWC (regularization): 7.14%
- Experience Replay (2000 sample buffer): 21.91%
This highlights a massive performance gap that can be closed simply by designing strategies that explicitly expect and exploit data re-occurrence.
Limitations and Future Work
- Initial Diversity: HAT-CIR struggled when the first few experiences in a stream had very few classes, as the network couldn't learn diverse enough representations early on.
- Computational Overhead: While fragments don't increase training costs, they do increase inference time and memory. Finding a "sweet spot" for ensemble size is a practical challenge.
- Rigidity of HAT: The Hard Attention to Task (HAT) mechanism often requires knowing the total number of experiences in advance, which isn't always possible in truly "never-ending" learning scenarios.
- Future Directions: The authors suggest exploring how the amount and spacing of repetition (e.g., the "spacing effect" from neuroscience) specifically impacts different CL strategies.
Summary updated