Learning Visual Conditioning Tokens to Correct Domain Shift for Fully Test-time Adaptation

Yushun Tang, Shuoshuo Chen, Zhehan Kan, Yi Zhang, Qinghai Guo +1 more
6/27/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Fully test-time adaptation aims to adapt the network model based on sequential analysis of input samples during the inference stage to address the cross-domain performance degradation problem of deep neural networks. This work is based on the following interesting finding: in transformer-based image classification, the class token at the first transformer encoder layer can be learned to capture the domain-specific characteristics of target samples during test-time adaptation. This learned token, when combined with input image patch embeddings, is able to gradually remove the domain-specific information from the feature representations of input samples during the transformer encoding process, thereby significantly improving the test-time adaptation performance of the source model across different domains. We refer to this class token as visual conditioning token (VCT). To successfully learn the VCT, we propose a bi-level learning approach to capture the long-term variations of domain-specific characteristics while accommodating local variations of instance-specific characteristics. Experimental results on the benchmark datasets demonstrate that our proposed bi-level visual conditioning token learning method is able to achieve significantly improved test-time adaptation performance by up to 1.9%.

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. Any repos shown below are weak matches — 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{tang2024learning,
  title  = {Learning Visual Conditioning Tokens to Correct Domain Shift for Fully Test-time Adaptation},
  author = {Yushun Tang and Shuoshuo Chen and Zhehan Kan and Yi Zhang and Qinghai Guo and Zhihai He},
  year   = {2024},
  eprint = {2406.19341},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19341v3}
}

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

Discussion