Learning to Generalize across Domains on Single Test Samples
Zehao Xiao, Xiantong Zhen, Ling Shao, Cees G. M. Snoek
Abstract
We strive to learn a model from a set of source domains that generalizes well to unseen target domains. The main challenge in such a domain generalization scenario is the unavailability of any target domain data during training, resulting in the learned model not being explicitly adapted to the unseen target domains. We propose learning to generalize across domains on single test samples. We leverage a meta-learning paradigm to learn our model to acquire the ability of adaptation with single samples at training time so as to further adapt itself to each single test sample at test time. We formulate the adaptation to the single test sample as a variational Bayesian inference problem, which incorporates the test sample as a conditional into the generation of model parameters. The adaptation to each test sample requires only one feed-forward computation at test time without any fine-tuning or self-supervised training on additional data from the unseen domains. Extensive ablation studies demonstrate that our model learns the ability to adapt models to each single sample by mimicking domain shifts during training. Further, our model achieves at least comparable -- and often better -- performance than state-of-the-art methods on multiple benchmarks for domain generalization.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 17e922d9-0891-4876-8d59-05f81e5c8b0fCited by top-tier papers18
- AdaNPC: Exploring Non-Parametric Classifier for Test-Time AdaptationYifan Zhang, Xue Wang, Kexin Jin, Kun Yuan et al.ICML 2023 · 76 citations
- Hierarchical Variational Memory for Few-shot Learning Across DomainsYing-Jun Du, Xiantong Zhen, Ling Shao, Cees G. M. SnoekICLR 2022 · 24 citations
- CODA: Generalizing to Open and Unseen Domains with Compaction and DisambiguationChaoqi Chen, Luyao Tang, Yue Huang, Xiaoguang Han et al.NeurIPS 2023 · 17 citations
- Test-Time Style Shifting: Handling Arbitrary Styles in Domain GeneralizationJungwuk Park, Dong-Jun Han, Soyeong Kim, Jaekyun MoonICML 2023 · 16 citations
- Order-preserving Consistency Regularization for Domain Adaptation and GeneralizationMengmeng Jing, Xiantong Zhen, Jingjing Li, Cees G. M. SnoekICCV 2023 · 14 citations
Builds on16
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
- Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller et al.ICML 2020 · 1,220 citations
- Domain Generalization with MixStyleKaiyang Zhou, Yongxin Yang, Yu Qiao, Tao XiangICLR 2021 · 986 citations
- Episodic Training for Domain GeneralizationDa Li, Jianshu Zhang, Yongxin Yang, Cong Liu et al.ICCV 2019 · 488 citations
Related papers
- Meta-Causal Learning for Single Domain GeneralizationJin Chen, Zhi Gao, Xinxiao Wu, Jiebo LuoCVPR 2023
- Meta Distribution Alignment for Generalizable Person Re-IdentificationHao Ni, Jingkuan Song, Xiaopeng Luo, Feng Zheng et al.CVPR 2022 · 77 citations
- Learning to Learn Single Domain GeneralizationFengchun Qiao, Long Zhao, Xi PengCVPR 2020
- Self-Domain Adaptation for Face Anti-SpoofingJingjing Wang, Jingyi Zhang, Ying Bian, Youyi Cai et al.AAAI 2021 · 111 citations
- Uncertainty-Guided Model Generalization to Unseen DomainsFengchun Qiao, Xi PengCVPR 2021
