A Lost Opportunity for Vision-Language Models: A Comparative Study of Online Test-Time Adaptation for Vision-Language Models

Mario Döbler, Robert A. Marsden, Tobias Raichle, Bin Yang
5/23/2024
cs.CV

Official code: mariodoebler/test-time-adaptation (287 stars, MIT, last commit 2025-05-29).

Abstract

In deep learning, maintaining model robustness against distribution shifts is critical. This work explores a broad range of possibilities to adapt vision-language foundation models at test-time, with a particular emphasis on CLIP and its variants. The study systematically examines prompt-based techniques and existing test-time adaptation methods, aiming to improve the robustness under distribution shift in diverse real-world scenarios. Specifically, the investigation covers various prompt engineering strategies, including handcrafted prompts, prompt ensembles, and prompt learning techniques. Additionally, we introduce a vision-text-space ensemble that substantially enhances average performance compared to text-space-only ensembles. Since online test-time adaptation has shown to be effective to mitigate performance drops under distribution shift, the study extends its scope to evaluate the effectiveness of existing test-time adaptation methods that were originally designed for vision-only classification models. Through extensive experimental evaluations conducted across multiple datasets and diverse model architectures, the research demonstrates the effectiveness of these adaptation strategies. Code is available at: https://github.com/mariodoebler/test-time-adaptation

View on arXivView PDF

Code Implementations(1)

MIT

A repository and benchmark for online test-time adaptation.

28735Jinja, ShellAug 11, 20221 years agoMIT
continual-adaptationdistribution-shiftgradual-adaptationrobustnesssource-free-domain-adaptation+2 more

Similar Papers

Cite this paper

@article{dbler2024lost,
  title  = {A Lost Opportunity for Vision-Language Models: A Comparative Study of Online Test-Time Adaptation for Vision-Language Models},
  author = {Mario Döbler and Robert A. Marsden and Tobias Raichle and Bin Yang},
  year   = {2024},
  eprint = {2405.14977},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.14977v2}
}

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

Discussion