LGFeb 22, 2023

Energy-Based Test Sample Adaptation for Domain Generalization

arXiv:2302.11215v123 citationsh-index: 67
Originality Highly original
AI Analysis

This addresses domain shift problems for machine learning applications, offering a novel test-time adaptation approach.

The paper tackles domain generalization by adapting unseen target samples to source-trained models, achieving effective results on six benchmarks for image and microblog thread classification.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes