Abstract
Traditional machine learning models often struggle with two distinct but related challenges: learning a sequence of tasks without forgetting (Continual Learning) and adapting to new, unlabeled environments (Unsupervised Domain Adaptation). This paper introduces Cross-Domain Continual Learning (CDCL), a framework designed for agents navigating evolving tasks and environments. By integrating a compact transformer architecture with a novel inter-intra-task cross-attention mechanism, the proposed model effectively mitigates "feature-alignment catastrophic forgetting," achieving state-of-the-art performance across multiple benchmarks.
Introduction
Most AI models are static, trained on fixed datasets. When exposed to new information, they often suffer from catastrophic forgetting, where new knowledge overwrites previous learning. While Continual Learning (CL) and Unsupervised Domain Adaptation (UDA) have been studied extensively in isolation, real-world applications like autonomous driving require both. A vehicle must learn new tasks (e.g., recognizing new road signs) while adapting to new domains (e.g., weather changes) without losing prior capabilities. The authors identify a specific vulnerability termed feature-alignment catastrophic forgetting, where the process of aligning to a new domain disrupts previously learned domain-invariant features.
Methodology
The CDCL framework employs several architectural innovations to bridge the gap between adaptation and memory:
- Compact Convolutional Transformer (CCT): A convolutional tokenizer processes images efficiently, providing a robust backbone for data-constrained continual learning.
- Inter-Intra-Task Cross-Attention: This mechanism aligns features between labeled source and unlabeled target domains. By maintaining task-specific keys ($K_i$) and biases, the model "remembers" past alignments while learning new ones.
- Intra-Task Center-Aware Pseudo-Labeling: To handle unlabeled target data, the model uses weighted k-means clustering to identify category centroids, generating high-quality pseudo-labels for the cross-attention mechanism.
- Experience Rehearsal: A small memory buffer stores previous samples and their corresponding logits to further stabilize learning.
Experimental Results
The framework was evaluated on five major benchmarks, including Office-31, VisDA-2017, and DomainNet. CDCL demonstrated significant improvements over standard CL baselines like DER++ and HAL, as well as UDA baselines like CDTrans.
In the Office-31 (A $\rightarrow$ D) task, CDCL achieved 26.22% accuracy in a Task-Incremental Learning (TIL) setting, a substantial leap from the 4.45% achieved by the DER baseline. Furthermore, the "Forgetting" (FGT) metrics remained remarkably low, indicating that the cross-attention mechanism successfully anchored previous knowledge.
Conclusion and Future Work
CDCL represents a significant step toward agents that can learn and adapt continuously. While the model currently faces challenges with parameter growth as tasks increase and the complexities of Class-Incremental Learning (CIL), it provides a stable foundation for future research. The authors aim to further refine the architecture to handle new classes more gracefully and optimize parameter storage for long-term deployment.
Summary updated