Realistic Evaluation of Test-Time Adaptation Algorithms: Unsupervised Hyperparameter Selection

Sebastian Cygert, Damian Sójka, Tomasz Trzciński, Bartłomiej Twardowski
7/19/2024
cs.LGcs.CV

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Test-Time Adaptation (TTA) has recently emerged as a promising strategy for tackling the problem of machine learning model robustness under distribution shifts by adapting the model during inference without access to any labels. Because of task difficulty, hyperparameters strongly influence the effectiveness of adaptation. However, the literature has provided little exploration into optimal hyperparameter selection. In this work, we tackle this problem by evaluating existing TTA methods using surrogate-based hp-selection strategies (which do not assume access to the test labels) to obtain a more realistic evaluation of their performance. We show that some of the recent state-of-the-art methods exhibit inferior performance compared to the previous algorithms when using our more realistic evaluation setup. Further, we show that forgetting is still a problem in TTA as the only method that is robust to hp-selection resets the model to the initial state at every step. We analyze different types of unsupervised selection strategies, and while they work reasonably well in most scenarios, the only strategies that work consistently well use some kind of supervision (either by a limited number of annotated test samples or by using pretraining data). Our findings underscore the need for further research with more rigorous benchmarking by explicitly stating model selection strategies, to facilitate which we open-source our code.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cygert2024realistic,
  title  = {Realistic Evaluation of Test-Time Adaptation Algorithms: Unsupervised Hyperparameter Selection},
  author = {Sebastian Cygert and Damian Sójka and Tomasz Trzciński and Bartłomiej Twardowski},
  year   = {2024},
  eprint = {2407.14231},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.14231v1}
}

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

Discussion