Introducing Intermediate Domains for Effective Self-Training during Test-Time

Robert A. Marsden, Mario Döbler, Bin Yang
8/16/2022
cs.CV

Official code: mariodoebler/test-time-adaptation (295 stars, Python, MIT, last commit 2025-05-29).

Abstract

Experiencing domain shifts during test-time is nearly inevitable in practice and likely results in a severe performance degradation. To overcome this issue, test-time adaptation continues to update the initial source model during deployment.

Show full abstract

A promising direction are methods based on self-training which have been shown to be well suited for gradual domain adaptation, since reliable pseudo-labels can be provided. In this work, we address two problems that exist when applying self-training in the setting of test-time adaptation. First, adapting a model to long test sequences that contain multiple domains can lead to error accumulation. Second, naturally, not all shifts are gradual in practice. To tackle these challenges, we introduce GTTA. By creating artificial intermediate domains that divide the current domain shift into a more gradual one, effective self-training through high quality pseudo-labels can be performed. To create the intermediate domains, we propose two independent variations: mixup and light-weight style transfer. We demonstrate the effectiveness of our approach on the continual and gradual corruption benchmarks, as well as ImageNet-R. To further investigate gradual shifts in the context of urban scene segmentation, we publish a new benchmark: CarlaTTA. It enables the exploration of several non-stationary domain shifts.

View on arXivView PDF

Code Implementations(1)

MIT

A repository and benchmark for online test-time adaptation.

29536Python, ShellAug 11, 20221 years agoMIT
continual-adaptationdistribution-shiftgradual-adaptationrobustnesssource-free-domain-adaptation+2 more

Similar Papers

Cite this paper

@article{marsden2022introducing,
  title  = {Introducing Intermediate Domains for Effective Self-Training during Test-Time},
  author = {Robert A. Marsden and Mario Döbler and Bin Yang},
  year   = {2022},
  eprint = {2208.07736},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.07736}
}

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/2208.07736.svg)](https://codeofpaper.com/paper/2208.07736)

Discussion