Domain Generalizable Continual Learning
Hongwei Yan, Guanglong Sun, Zhiqi Kang, Yi Zhong, Liyuan Wang
TL;DR
This work introduces domain generalizable continual learning (DGCL), a setting where sequential tasks come from distinct domains yet must generalize across all encountered domains. To tackle DGCL, it proposes adaptive Domain Transformation (DoT), a plug-in based on pre-trained models that disentangles semantic- and domain-relevant information and adaptively transforms representations via an attention mechanism to align outputs across domains. DoT models both class- and domain-distribution information (e.g., Gaussian class means/covariances and domain prototypes) and optimizes with dual contrastive losses, while the DoT module can be discarded and reinitialized for new tasks to maintain efficiency. Empirically, DoT substantially improves state-of-the-art CL baselines under DGCL across Office-Home, DigitsDG, CORe50, and DomainNet, achieving strong unseen-domain generalization with lightweight parameter overhead, and demonstrating the method’s practical potential for robust, domain-aware continual learning in real-world settings.
Abstract
To adapt effectively to dynamic real-world environments, intelligent systems must continually acquire new skills while generalizing them to diverse, unseen scenarios. Here, we introduce a novel and realistic setting named domain generalizable continual learning (DGCL): a model learns sequential tasks with each involving a single domain, aiming to perform well across all encountered tasks and domains. This setting poses unique challenges in acquiring, retaining, and leveraging both semantic- and domain-relevant information for robust generalization. Although state-of-the-art continual learning (CL) methods have employed pre-trained models (PTMs) to enhance task-specific generalization, they typically assume identical training and testing domains for each task and therefore perform poorly in DGCL. To this end, we propose adaptive Domain Transformation (DoT), an innovative PTMs-based approach tailored to DGCL. Inspired by the distributed-plus-hub theory of the human brain, DoT disentangles semantic- and domain-relevant information in representation learning, and adaptively transforms task representations across various domains for output alignment, ensuring balanced and generalized predictions. DoT serves as a plug-in strategy that greatly facilitates state-of-the-art CL baselines under both full parameter tuning and parameter-efficient tuning paradigms in DGCL, validated by extensive experiments. Also, DoT is shown to accumulate domain-generalizable knowledge from DGCL, and ensure resource efficiency with a lightweight implementation.
