Active Test-Time Adaptation: Theoretical Analyses and An Algorithm

Shurui Gui, Xiner Li, Shuiwang Ji
4/7/2024
cs.LGcs.AI

Official code: divelab/ATTA (27 stars, GPL-3.0, last commit 2024-11-04).

Abstract

Test-time adaptation (TTA) addresses distribution shifts for streaming test data in unsupervised settings. Currently, most TTA methods can only deal with minor shifts and rely heavily on heuristic and empirical studies. To advance TTA under domain shifts, we propose the novel problem setting of active test-time adaptation (ATTA) that integrates active learning within the fully TTA setting. We provide a learning theory analysis, demonstrating that incorporating limited labeled test instances enhances overall performances across test domains with a theoretical guarantee. We also present a sample entropy balancing for implementing ATTA while avoiding catastrophic forgetting (CF). We introduce a simple yet effective ATTA algorithm, known as SimATTA, using real-time sample selection techniques. Extensive experimental results confirm consistency with our theoretical analyses and show that the proposed ATTA method yields substantial performance improvements over TTA methods while maintaining efficiency and shares similar effectiveness to the more demanding active domain adaptation (ADA) methods. Our code is available at https://github.com/divelab/ATTA

View on arXivView PDF

Code Implementations(1)

divelab/ATTAOfficial100%
GPL-3.0

Active Test-Time Adaptation: Theoretical Analyses and An Algorithm [ICLR 2024]

275PythonJan 22, 20241 years agoGPL-3.0
active-learningactive-test-time-adaptationdomain-adaptationtest-time-adaptation

Similar Papers

Cite this paper

@article{gui2024active,
  title  = {Active Test-Time Adaptation: Theoretical Analyses and An Algorithm},
  author = {Shurui Gui and Xiner Li and Shuiwang Ji},
  year   = {2024},
  eprint = {2404.05094},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.05094v1},
  journal = {ICLR 2024 2024}
}

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

Discussion