Energy-Based Test Sample Adaptation for Domain Generalization
Zehao Xiao, Xiantong Zhen, Shengcai Liao, Cees G. M. Snoek
Abstract
In this paper, we propose energy-based sample adaptation at test time for domain generalization. Where previous works adapt their models to target domains, we adapt the unseen target samples to source-trained models. To this end, we design a discriminative energy-based model, which is trained on source domains to jointly model the conditional distribution for classification and data distribution for sample adaptation. The model is optimized to simultaneously learn a classifier and an energy function. To adapt target samples to source distributions, we iteratively update the samples by energy minimization with stochastic gradient Langevin dynamics. Moreover, to preserve the categorical information in the sample during adaptation, we introduce a categorical latent variable into the energy-based model. The latent variable is learned from the original sample before adaptation by variational inference and fixed as a condition to guide the sample update. Experiments on six benchmarks for classification of images and microblog threads demonstrate the effectiveness of our proposal.
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 f9f98746-e5bc-4241-83ff-bb1ebd07934bCited by top-tier papers12
- CODA: Generalizing to Open and Unseen Domains with Compaction and DisambiguationChaoqi Chen, Luyao Tang, Yue Huang, Xiaoguang Han et al.NeurIPS 2023 · 17 citations
- Gradual Domain Adaptation via Gradient FlowZhan Zhuang, Yu Zhang, Ying WeiICLR 2024 · 15 citations
- What, How, and When Should Object Detectors Update in Continually Changing Test Domains?Jayeon Yoo, Dongkwan Lee, Inseop Chung, Donghyun Kim et al.CVPR 2024 · 10 citations
- TEA: Test-Time Energy AdaptationYige Yuan, Bingbing Xu, Liang Hou, Fei Sun et al.CVPR 2024 · 8 citations
- Test-time Training for Matching-based Video Object SegmentationJuliette Bertrand, Giorgos Kordopatis-Zilos, Yannis Kalantidis, Giorgos ToliasNeurIPS 2023 · 7 citations
Builds on40
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
- Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain AdaptationJian Liang, Dapeng Hu, Jiashi FengICML 2020 · 1,624 citations
Related papers
- Learning to Generalize across Domains on Single Test SamplesZehao Xiao, Xiantong Zhen, Ling Shao, Cees G. M. SnoekICLR 2022 · 40 citations
- Adaptive Methods for Real-World Domain GeneralizationAbhimanyu Dubey, Vignesh Ramanathan, Alex Pentland, Dhruv MahajanCVPR 2021
- Active Learning for Domain Adaptation: An Energy-Based ApproachBinhui Xie, Longhui Yuan, Shuang Li, Chi Harold Liu et al.AAAI 2022 · 149 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
- AdaNPC: Exploring Non-Parametric Classifier for Test-Time AdaptationYifan Zhang, Xue Wang, Kexin Jin, Kun Yuan et al.ICML 2023 · 76 citations
