Energy-Based Test Sample Adaptation for Domain Generalization

02/22/2023
by   Zehao Xiao, et al.
2

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.

READ FULL TEXT

page 3

page 19

page 20

research
02/16/2022

Learning to Generalize across Domains on Single Test Samples

We strive to learn a model from a set of source domains that generalizes...
research
07/07/2022

Back to the Source: Diffusion-Driven Test-Time Adaptation

Test-time adaptation harnesses test inputs to improve the accuracy of a ...
research
07/08/2023

Learning Variational Neighbor Labels for Test-Time Domain Generalization

This paper strives for domain generalization, where models are trained e...
research
03/20/2023

Feature Alignment and Uniformity for Test Time Adaptation

Test time adaptation (TTA) aims to adapt deep neural networks when recei...
research
12/08/2018

Efficient transfer learning and online adaptation with latent variable models for continuous control

Traditional model-based RL relies on hand-specified or learned models of...
research
05/11/2020

Target-Independent Domain Adaptation for WBC Classification using Generative Latent Search

Automating the classification of camera-obtained microscopic images of W...
research
03/21/2022

Boost Test-Time Performance with Closed-Loop Inference

Conventional deep models predict a test sample with a single forward pro...

Please sign up or login with your details

Forgot password? Click here to reset