Efficient Test-Time Adaptation of Vision-Language Models

Adilbek Karmanov, Dayan Guan, Shijian Lu, Abdulmotaleb El-Saddik, Eric P. Xing
2/9/2026

No official code found. Best implementation: kdiAAA/TDA (122 stars, MIT, last commit 2024-07-15). 2 more below.

Abstract

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 in-volve 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 dy-namic 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 https://kdiaaa.github.io/tda/

View on arXivView PDF

Code Implementations(3)

mzhaoshuai/RLCFCommunity72%
Apache-2.0

[ICLR 2024] Test-Time RL with CLIP Feedback for Vision-Language Models.

1022Shell, PythonMay 28, 20231 years agoApache-2.0
kdiAAA/TDACommunity71%
MIT

[CVPR 2024] Official Repository for "Efficient Test-Time Adaptation of Vision-Language Models"

12213Shell, PythonMar 20, 20242 years agoMIT
hhc1997/NEATCommunity70%

Pytorch implementation for Negation-Aware Test-Time Adaptation for Vision-Language Models.

363PythonJul 28, 20257 months ago

Similar Papers

Cite this paper

@article{karmanov2026efficient,
  title  = {Efficient Test-Time Adaptation of Vision-Language Models},
  author = {Adilbek Karmanov and Dayan Guan and Shijian Lu and Abdulmotaleb El-Saddik and Eric P. Xing},
  year   = {2026},
  eprint = {2403.18293},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2403.18293},
  journal = {CVPR 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/2403.18293.svg)](https://codeofpaper.com/paper/2403.18293)

Discussion