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

Jin Gao, Jialing Zhang, Xihui Liu, Trevor Darrell, Evan Shelhamer +1 more
7/7/2022
cs.LGcs.CV

No official code found. Best implementation: shiyegao/DDA (87 stars, last commit 2023-11-27).

Abstract

Test-time adaptation harnesses test inputs to improve the accuracy of a model trained on source data when tested on shifted target data. Existing methods update the source model by (re-)training on each target domain. While effective, re-training is sensitive to the amount and order of the data and the hyperparameters for optimization. We instead update the target data, by projecting all test inputs toward the source domain with a generative diffusion model. Our diffusion-driven adaptation method, DDA, shares its models for classification and generation across all domains. Both models are trained on the source domain, then fixed during testing. We augment diffusion with image guidance and self-ensembling to automatically decide how much to adapt. Input adaptation by DDA is more robust than prior model adaptation approaches across a variety of corruptions, architectures, and data regimes on the ImageNet-C benchmark. With its input-wise updates, DDA succeeds where model adaptation degrades on too little data in small batches, dependent data in non-uniform order, or mixed data with multiple corruptions.

View on arXivView PDF

Code Implementations(1)

shiyegao/DDACommunity100%

Official repository of "Back to Source: Diffusion-Driven Test-Time Adaptation"

877Shell, PythonMay 20, 20222 years ago

Similar Papers

Cite this paper

@article{gao2022back,
  title  = {Back to the Source: Diffusion-Driven Test-Time Adaptation},
  author = {Jin Gao and Jialing Zhang and Xihui Liu and Trevor Darrell and Evan Shelhamer and Dequan Wang},
  year   = {2022},
  eprint = {2207.03442},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.03442v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.03442.svg)](https://codeofpaper.com/paper/2207.03442)

Discussion