NC-TTT: A Noise Contrastive Approach for Test-Time Training

David Osowiechi, Gustavo A. Vargas Hakim, Mehrdad Noori, Milad Cheraghalikhani, Ali Bahri +3 more
4/12/2024
cs.CVcs.LG

Official code: GustavoVargasHakim/NCTTT (13 stars, last commit 2024-03-11).

Abstract

Despite their exceptional performance in vision tasks, deep learning models often struggle when faced with domain shifts during testing. Test-Time Training (TTT) methods have recently gained popularity by their ability to enhance the robustness of models through the addition of an auxiliary objective that is jointly optimized with the main task. Being strictly unsupervised, this auxiliary objective is used at test time to adapt the model without any access to labels. In this work, we propose Noise-Contrastive Test-Time Training (NC-TTT), a novel unsupervised TTT technique based on the discrimination of noisy feature maps. By learning to classify noisy views of projected feature maps, and then adapting the model accordingly on new domains, classification performance can be recovered by an important margin. Experiments on several popular test-time adaptation baselines demonstrate the advantages of our method compared to recent approaches for this task. The code can be found at:https://github.com/GustavoVargasHakim/NCTTT.git

View on arXivView PDF

Code Implementations(1)

Noise Contrastive Test-Time Training

130PythonJan 23, 20242 years ago

Similar Papers

Cite this paper

@article{osowiechi2024ncttt,
  title  = {NC-TTT: A Noise Contrastive Approach for Test-Time Training},
  author = {David Osowiechi and Gustavo A. Vargas Hakim and Mehrdad Noori and Milad Cheraghalikhani and Ali Bahri and Moslem Yazdanpanah and Ismail Ben Ayed and Christian Desrosiers},
  year   = {2024},
  eprint = {2404.08392},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.08392v1}
}

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

Discussion