pith. sign in

arxiv: 2503.09248 · v2 · pith:FICMNG3Vnew · submitted 2025-03-12 · 💻 cs.CV

Bayesian Test-Time Adaptation for Vision-Language Models

classification 💻 cs.CV
keywords adaptclassembeddingsexistinglikelihoodpriortextbfadaptation
0
0 comments X
read the original abstract

Test-time adaptation with pre-trained vision-language models, such as CLIP, aims to adapt the model to new, potentially out-of-distribution test data. Existing methods calculate the similarity between visual embedding and learnable class embeddings, which are initialized by text embeddings, for zero-shot image classification. In this work, we first analyze this process based on Bayes theorem, and observe that the core factors influencing the final prediction are the likelihood and the prior. However, existing methods essentially focus on adapting class embeddings to adapt likelihood, but they often ignore the importance of prior. To address this gap, we propose a novel approach, \textbf{B}ayesian \textbf{C}lass \textbf{A}daptation (BCA), which in addition to continuously updating class embeddings to adapt likelihood, also uses the posterior of incoming samples to continuously update the prior for each class embedding. This dual updating mechanism allows the model to better adapt to distribution shifts and achieve higher prediction accuracy. Our method not only surpasses existing approaches in terms of performance metrics but also maintains superior inference rates and memory usage, making it highly efficient and practical for real-world applications.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. ComMem: Complementary Memory Systems for Test-Time Adaptation of Vision-Language Models

    cs.AI 2026-06 unverdicted novelty 5.0

    ComMem proposes complementary fast visual cache and slow textual prototype memories for test-time adaptation of VLMs, claiming superior performance on 15 benchmarks under distribution shifts.