Efficient Test-Time Adaptation of Vision-Language Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Karmanov, Adilbek, Guan, Dayan, Lu, Shijian, Saddik, Abdulmotaleb El, Xing, Eric
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909152376258560
author Karmanov, Adilbek
Guan, Dayan
Lu, Shijian
Saddik, Abdulmotaleb El
Xing, Eric
author_facet Karmanov, Adilbek
Guan, Dayan
Lu, Shijian
Saddik, Abdulmotaleb El
Xing, Eric
contents Test-time adaptation with pre-trained vision-language models has attracted increasing attention for tackling distribution shifts during the test time. Though prior studies have achieved very promising performance, they involve intensive computation which is severely unaligned with test-time adaptation. We design TDA, a training-free dynamic adapter that enables effective and efficient test-time adaptation with vision-language models. TDA works with a lightweight key-value cache that maintains a dynamic queue with few-shot pseudo labels as values and the corresponding test-sample features as keys. Leveraging the key-value cache, TDA allows adapting to test data gradually via progressive pseudo label refinement which is super-efficient without incurring any backpropagation. In addition, we introduce negative pseudo labeling that alleviates the adverse impact of pseudo label noises by assigning pseudo labels to certain negative classes when the model is uncertain about its pseudo label predictions. Extensive experiments over two benchmarks demonstrate TDA's superior effectiveness and efficiency as compared with the state-of-the-art. The code has been released in \url{https://kdiaaa.github.io/tda/}.
format Preprint
id arxiv_https___arxiv_org_abs_2403_18293
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficient Test-Time Adaptation of Vision-Language Models
Karmanov, Adilbek
Guan, Dayan
Lu, Shijian
Saddik, Abdulmotaleb El
Xing, Eric
Computer Vision and Pattern Recognition
Test-time adaptation with pre-trained vision-language models has attracted increasing attention for tackling distribution shifts during the test time. Though prior studies have achieved very promising performance, they involve intensive computation which is severely unaligned with test-time adaptation. We design TDA, a training-free dynamic adapter that enables effective and efficient test-time adaptation with vision-language models. TDA works with a lightweight key-value cache that maintains a dynamic queue with few-shot pseudo labels as values and the corresponding test-sample features as keys. Leveraging the key-value cache, TDA allows adapting to test data gradually via progressive pseudo label refinement which is super-efficient without incurring any backpropagation. In addition, we introduce negative pseudo labeling that alleviates the adverse impact of pseudo label noises by assigning pseudo labels to certain negative classes when the model is uncertain about its pseudo label predictions. Extensive experiments over two benchmarks demonstrate TDA's superior effectiveness and efficiency as compared with the state-of-the-art. The code has been released in \url{https://kdiaaa.github.io/tda/}.
title Efficient Test-Time Adaptation of Vision-Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.18293