Practical Single Domain Generalization via Training-time and Test-time Learning
Shuai Yang, Zhen Zhang, Lichuan Gu
Abstract
Single domain generalization aims to learn a model that generalizes well to unseen target domains by using a related source domain. However, most existing methods only focus on improving the generalization performance of the model during training, making it difficult to achieve satisfactory performance when deployed in the target domain with large domain shifts. In this paper, we propose a Practical Single Domain Generalization (PSDG) method, which first leverages the knowledge in a source domain to establish a model with good generalization ability in the training phase, and subsequently updates the model to adapt to target domain data using knowledge in the unlabeled target domain during the testing phase. Specifically, during training, PSDG leverages a newly proposed style (e.g., background features) generator named StyIN to generate novel domain data. Moreover, PSDG introduces style-diversity regularization to constantly synthesize distinct styles to expand the coverage of training data, and introduces object-consistency regularization to capture consistency between the currently generated data and the original data, making the model filter style knowledge during training. During testing, PSDG uses a sample-aware and sharpness-aware minimization method to seek for a flat entropy minimum surface for further model optimization by using the knowledge in the unlabeled target domain. Using three real-world datasets the experiments have demonstrated the effectiveness of PSDG, in comparison with several state-of-the-art methods.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get ed7482de-bcbb-4745-b961-4e151eda1fb6Cited by top-tier papers4
- Adversarial Data Augmentation for Single Domain Generalization via Lyapunov Exponent-Guided OptimizationZuyu Zhang, Ning Chen, Yongshan Liu, Qinghua Zhang et al.ICCV 2025 · 2 citations
- Split-And-Combine: Enhancing Style Augmentation for Single Domain GeneralizationZhen Zhang, Shuai Yang, Qianlong Dang, Zhize Wu et al.ICCV 2025 · 1 citation
- Causality Inspired Federated Learning for OOD GeneralizationJiayuan Zhang, Xuefeng Liu, Jianwei Niu, Shaojie Tang et al.ICML 2025
- CURE: Context-driven Diffusion with Progressive Expansion for Single Domain Generalization in Time Series ClassificationYuhang Pei, Fanchun Meng, Wenrui Wu, Tao Ren et al.ICML 2026
Related papers
- Learning to Diversify for Single Domain GeneralizationZijian Wang, Yadan Luo, Ruihong Qiu, Zi Huang et al.ICCV 2021 · 339 citations
- StyDeSty: Min-Max Stylization and Destylization for Single Domain GeneralizationSonghua Liu, Xin Jin, Xingyi Yang, Jingwen Ye et al.ICML 2024 · 9 citations
- Adversarial Teacher-Student Representation Learning for Domain GeneralizationFu-En Yang, Yuan-Chia Cheng, Zu-Yun Shiau, Yu-Chiang Frank WangNeurIPS 2021 · 83 citations
- Object-Aware Domain Generalization for Object DetectionWooju Lee, Dasol Hong, Hyungtae Lim, Hyun MyungAAAI 2024 · 58 citations
- Test-Time Style Shifting: Handling Arbitrary Styles in Domain GeneralizationJungwuk Park, Dong-Jun Han, Soyeong Kim, Jaekyun MoonICML 2023 · 16 citations
