Introduction
In the field of Continual Learning (CL), the primary obstacle remains "catastrophic forgetting"—the tendency of artificial neural networks to abruptly lose previously acquired knowledge when learning new information. While much research has focused on Task Incremental Learning, this paper investigates the more nuanced challenge of Domain Incremental Learning (DIL).
In DIL, the set of classes remains constant (e.g., identifying "cars" or "apples"), but the input domain shifts over time—for instance, transitioning from real-world photographs to sketches or infrared imagery. The authors identify Representation Drift as the root cause of forgetting in these scenarios. When a model encounters a new domain, its internal feature map shifts violently to accommodate the new style, disrupting the established clusters and decision boundaries formed during previous tasks. To combat this, the authors introduce DARE (Divergence, Adaptation, and REfinement) and Intermediary Reservoir Sampling (IRS).
Methodology
The DARE Training Cycle
DARE is a three-stage training framework designed to integrate new domain knowledge into an existing feature space without causing structural shocks to the model's memory. The process functions similarly to an adversarial alignment mechanism:
- Divergence: The feature encoder is frozen to preserve existing knowledge. Two independent classifiers ($f_1$ and $f_2$) are then trained. They are incentivized to agree on data from the memory buffer (old domains) but are forced to disagree on the new domain data. This identifies the specific regions of the feature space where the new domain deviates from the model's current understanding.
- Adaptation: The classifiers are frozen, and the encoder is trained. The encoder’s goal is to "deceive" the classifiers by mapping the new domain's features into the existing subspace until the classifiers can no longer distinguish the new domain from the old, effectively reaching a consensus. This "folds" the new domain into the established feature map.
- Refinement: Finally, all components—the encoder and both classifiers—are trained jointly. This stage fine-tunes the consolidated knowledge, ensuring that the boundaries between classes remain sharp across all encountered domains.
Intermediary Reservoir Sampling (IRS)
Beyond the training loop, the authors rethink how models select data for their memory buffers. Standard Reservoir Sampling typically picks samples uniformly. However, the authors posit that the most valuable "dark knowledge"—the subtle structural relationships between classes—is most prevalent during the middle of the training trajectory. At the very beginning, the model is too noisy; at the end, it may be overfitted to the specific task. IRS utilizes a normal distribution to prioritize sampling from these intermediate stages, capturing more representative features for long-term retention.
Experimental Evaluation
The proposed framework was evaluated against several state-of-the-art methods, including DER++ and CLS-ER, using two primary benchmarks:
- DN4IL (DomainNet for Domain-IL): A complex dataset consisting of six domains (Sketch, Real, Quickdraw, Painting, Infograph, Clipart) across 100 distinct classes.
- iCIFAR-20: A variant of CIFAR-100 where 20 supercategories serve as classes, with their constituent subcategories acting as shifting domains.
Key Results
DARE, and its enhanced version DARE++ (which incorporates an Exponential Moving Average "slow learner" for added stability), demonstrated superior performance across multiple metrics:
- Accuracy Gains: On the DN4IL benchmark with a highly constrained buffer of only 50 samples, DARE achieved an accuracy of 32.32%, significantly outperforming DER++ (28.08%) and standard Experience Replay (24.24%).
- Superior Retention: The method showed marked improvements in Backward Transfer (BWT). DARE maintained high performance on the first task even after completing the sixth, indicating a successful mitigation of representation drift.
- Model Calibration: DARE produced more "well-calibrated" models. Unlike many CL methods that suffer from Task Recency Bias (becoming overconfident in the most recent task), DARE's confidence levels more accurately reflected its actual performance across all domains.
Discussion and Future Work
The success of DARE suggests that adversarial alignment is a powerful tool for seamless domain adaptation. By forcing the model to adapt new features into a pre-existing subspace rather than creating a new one from scratch, the framework maintains the integrity of the original "map."
However, some limitations remain. The current implementation of IRS relies on Task-ID awareness, meaning the system needs to know exactly when a new task begins and ends to sample correctly. Future research could focus on making this process "task-free" by using loss-based metrics to detect domain shifts automatically. Additionally, while DARE is memory-efficient, its three-stage iterative process increases training complexity, which may be a consideration for resource-constrained environments. Scaling this approach to even larger, open-world scenarios remains a promising avenue for future exploration.
Summary updated