TL;DR
The DARE method introduces a three-stage training cycle—Divergence, Adaptation, and REfinement—to combat "representation drift" in Domain Incremental Learning. By gradually mapping new domain data into existing feature spaces and using a novel "Intermediary Reservoir Sampling" strategy, DARE significantly reduces catastrophic forgetting, outperforming state-of-the-art methods by up to 33% in memory-constrained scenarios.
What Problem Does This Paper Address?
Deep neural networks are notoriously forgetful. In Domain Incremental Learning (DIL), a model learns the same set of classes across a sequence of different domains (e.g., a self-driving car learning to recognize "cars" first in sunny weather, then in rain, then in snow).
The primary culprit for forgetting is representation drift. As the model learns a new domain, the internal clusters it formed for previous domains begin to shift or collapse. This "drift" at task boundaries leads to a sudden drop in accuracy for older tasks.
Existing methods often use "Experience Replay" (storing a small buffer of old data), but they don't explicitly manage how the feature space evolves. The authors argue that we need a way to "seamlessly" adapt new domain data into the feature space already carved out by previous tasks.
Methods
The authors propose DARE (Divergence, Adaptation, and REfinement), which utilizes a dual-classifier architecture ($f_1$ and $f_2$) fed by a shared encoder ($g$).
The Three-Stage Training Process
For every new task after the first, DARE iterates through three distinct phases:
- Divergence: The encoder is frozen. The two classifiers are trained to maximize their disagreement on new domain samples while remaining accurate on old samples from the buffer. This "tightens" the decision boundaries around the known feature space.
- Adaptation: The classifiers are frozen. The encoder is trained to minimize the disagreement between the classifiers. This forces the encoder to project new domain samples into the existing feature space where the classifiers already agree.
- Refinement: The entire model is fine-tuned to consolidate new information while maintaining performance on the old tasks using a consistency loss.
Intermediary Reservoir Sampling (IRS)
Standard reservoir sampling picks samples uniformly. DARE introduces IRS, which uses a normal distribution to favor samples from the middle of a task's training trajectory. The intuition is that intermediate checkpoints contain the most "dark knowledge"—rich information about class relationships—which is more useful for distillation than the under-fitted start or over-fitted end of a task.
Datasets
The method was evaluated on two challenging DIL benchmarks:
- DN4IL (DomainNet for Domain-IL): A subset of the massive DomainNet dataset featuring 6 vastly different domains (Sketch, Real, Painting, etc.) and 100 classes. This is considered a high-difficulty benchmark due to the significant distribution shifts.
- iCIFAR-20: A DIL variant of CIFAR-100 where 20 supercategories act as classes and their 5 subcategories act as domains.
Key Insights and Ideas
- Aligning New to Old: Most methods let the feature space drift wherever the new data pulls it. DARE does the opposite: it forces new data to "fit in" to the existing feature space.
- Adversarial Alignment: The Divergence and Adaptation stages act like a GAN-style game. The classifiers act as discriminators for "out-of-domain" features, and the encoder acts as a generator trying to map new data into the "in-domain" distribution.
- Mitigating Recency Bias: Continual learning models are usually biased toward the most recent task. DARE produces more "calibrated" models with uniformly distributed confidence, meaning it doesn't become overconfident just because it saw a domain recently.
Key Results
- Superior Accuracy: On the difficult DN4IL dataset with a tiny buffer (50 samples), DARE achieved 32.32% accuracy, a massive jump over standard Experience Replay (24.24%) and the strong DER++ baseline (28.08%).
- Efficiency: The "DARE++" version (which uses an Exponential Moving Average model) achieved performance comparable to massive multi-memory systems like CLS-ER but with 33% fewer parameters.
- Reduced Drift: Quantitative analysis showed that DARE maintains much lower Mean Squared Error (MSE) in representations across task boundaries compared to DER++, proving the three-stage process effectively stabilizes the feature space.
Limitations and Future Work
The authors note that their IRS sampling strategy currently relies on knowing the task-ID during training to set the sampling distribution. In a truly "task-free" continual learning scenario, this information might not be available.
Future work aims to develop mechanisms to independently identify task transitions (e.g., by monitoring loss spikes) to make the system fully autonomous. Additionally, exploring how DARE scales to even larger, more complex architectural backbones beyond ResNet-18 remains an open question.
Summary updated