Contrastive Test-Time Adaptation

被引:64
|
作者
Chen, Dian [1 ,2 ]
Wang, Dequan [2 ]
Darrell, Trevor [2 ]
Ibrahimi, Sayna [2 ,3 ]
机构
[1] Toyota Res Inst, Tokyo, Japan
[2] Univ Calif Berkeley, Berkeley, CA USA
[3] Google, Mountain View, CA 94043 USA
关键词
D O I
10.1109/CVPR52688.2022.00039
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Test-time adaptation is a special setting of unsupervised domain adaptation where a trained model on the source domain has to adapt to the target domain without accessing source data. We propose a novel way to leverage self-supervised contrastive learning to facilitate target feature learning, along with an online pseudo labeling scheme with refinement that significantly denoises pseudo labels. The contrastive learning task is applied jointly with pseudo labeling, contrasting positive and negative pairs constructed similarly as MoCo but with source-initialized encoder, and excluding same-class negative pairs indicated by pseudo labels. Meanwhile, we produce pseudo labels online and refine them via soft voting among their nearest neighbors in the target feature space, enabled by maintaining a memory queue. Our method, AdaContrast, achieves state-of-theart performance on major benchmarks while having several desirable properties compared to existing works, including memory efficiency, insensitivity to hyper-parameters, and better model calibration. Code is released at https: //github.com/DianCh/AdaContrast.
引用
收藏
页码:295 / 305
页数:11
相关论文
共 50 条
  • [41] Test-time adaptation via self-training with future information
    Wen, Xin
    Shen, Hao
    Zhao, Zhongqiu
    [J]. JOURNAL OF ELECTRONIC IMAGING, 2024, 33 (03)
  • [42] Confidence-based and sample-reweighted test-time adaptation
    Yang, Hao
    Wang, Min
    Yu, Zhengfei
    Zhang, Hang
    Jiang, Jinshen
    Zhou, Yun
    [J]. KNOWLEDGE-BASED SYSTEMS, 2024, 283
  • [43] Back to the Source: Diffusion-Driven Adaptation to Test-Time Corruption
    Gao, Jin
    Zhang, Jialing
    Liu, Xihui
    Darrell, Trevor
    Shelhamer, Evan
    Wang, Dequan
    [J]. 2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 11786 - 11796
  • [44] Online Test-Time Adaptation for Patient-Independent Seizure Prediction
    Mao, Tingting
    Li, Chang
    Zhao, Yuchang
    Song, Rencheng
    Chen, Xun
    [J]. IEEE SENSORS JOURNAL, 2023, 23 (19) : 23133 - 23144
  • [45] Test-Time Adaptation for 3D Human Pose Estimation
    Amin, Sikandar
    Muller, Philipp
    Bulling, Andreas
    Andriluka, Mykhaylo
    [J]. PATTERN RECOGNITION, GCPR 2014, 2014, 8753 : 253 - 264
  • [46] SwapPrompt: Test-Time Prompt Adaptation for Vision-Language Models
    Ma, Xiaosong
    Zhang, Jie
    Guo, Song
    Xu, Wenchao
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [47] Neuro-Modulated Hebbian Learning for Fully Test-Time Adaptation
    Tang, Yushun
    Zhang, Ce
    Xu, Heng
    Chen, Shuoshuo
    Cheng, Jie
    Leng, Luziwei
    Guo, Qinghai
    He, Zhihai
    [J]. 2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR, 2023, : 3728 - 3738
  • [48] Fourier Test-Time Adaptation with Multi-level Consistency for Robust Classification
    Huang, Yuhao
    Yang, Xin
    Huang, Xiaoqiong
    Zhou, Xinrui
    Chi, Haozhe
    Dou, Haoran
    Hu, Xindi
    Wang, Jian
    Deng, Xuedong
    Ni, Dong
    [J]. MEDICAL IMAGE COMPUTING AND COMPUTER ASSISTED INTERVENTION, MICCAI 2023, PT III, 2023, 14222 : 221 - 231
  • [49] Test-Time Domain Adaptation by Learning Domain-Aware Batch Normalization
    Wu, Yanan
    Chi, Zhixiang
    Wang, Yang
    Plataniotis, Konstantinos N.
    Feng, Songhe
    [J]. THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 14, 2024, : 15961 - 15969
  • [50] Benchmarking Test-Time Unsupervised Deep Neural Network Adaptation on Edge Devices
    Bhardwaj, Kshitij
    Diffenderfer, James
    Kailkhura, Bhavya
    Gokhale, Maya
    [J]. 2022 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS 2022), 2022, : 236 - 238