Semantic Anchor Transport: Robust Test-Time Adaptation for Vision-Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mishra, Shambhavi, Silva-Rodriguez, Julio, Ayed, Ismail Ben, Pedersoli, Marco, Dolz, Jose
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911348876640256
author Mishra, Shambhavi
Silva-Rodriguez, Julio
Ayed, Ismail Ben
Pedersoli, Marco
Dolz, Jose
author_facet Mishra, Shambhavi
Silva-Rodriguez, Julio
Ayed, Ismail Ben
Pedersoli, Marco
Dolz, Jose
contents Large pre-trained vision-language models (VLMs), such as CLIP, have shown unprecedented zero-shot performance across a wide range of tasks. Nevertheless, these models may be unreliable under distributional shifts, as their performance is significantly degraded. In this work, we investigate how to efficiently utilize class text information to mitigate distribution drifts encountered by VLMs during inference. In particular, we propose generating pseudo-labels for the noisy test-time samples by aligning visual embeddings with reliable, text-based semantic anchors. Specifically, to maintain the regular structure of the dataset properly, we formulate the problem as a batch-wise label assignment, which is efficiently solved using Optimal Transport. Our method, Semantic Anchor Transport (SAT), utilizes such pseudo-labels as supervisory signals for test-time adaptation, yielding a principled cross-modal alignment solution. Moreover, SAT further leverages heterogeneous textual clues, with a multi-template distillation approach that replicates multi-view contrastive learning strategies in unsupervised representation learning without incurring additional computational complexity. Extensive experiments on multiple popular test-time adaptation benchmarks presenting diverse complexity empirically show the superiority of SAT, achieving consistent performance gains over recent state-of-the-art methods, yet being computationally efficient.
format Preprint
id arxiv_https___arxiv_org_abs_2411_17002
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Semantic Anchor Transport: Robust Test-Time Adaptation for Vision-Language Models
Mishra, Shambhavi
Silva-Rodriguez, Julio
Ayed, Ismail Ben
Pedersoli, Marco
Dolz, Jose
Computer Vision and Pattern Recognition
Large pre-trained vision-language models (VLMs), such as CLIP, have shown unprecedented zero-shot performance across a wide range of tasks. Nevertheless, these models may be unreliable under distributional shifts, as their performance is significantly degraded. In this work, we investigate how to efficiently utilize class text information to mitigate distribution drifts encountered by VLMs during inference. In particular, we propose generating pseudo-labels for the noisy test-time samples by aligning visual embeddings with reliable, text-based semantic anchors. Specifically, to maintain the regular structure of the dataset properly, we formulate the problem as a batch-wise label assignment, which is efficiently solved using Optimal Transport. Our method, Semantic Anchor Transport (SAT), utilizes such pseudo-labels as supervisory signals for test-time adaptation, yielding a principled cross-modal alignment solution. Moreover, SAT further leverages heterogeneous textual clues, with a multi-template distillation approach that replicates multi-view contrastive learning strategies in unsupervised representation learning without incurring additional computational complexity. Extensive experiments on multiple popular test-time adaptation benchmarks presenting diverse complexity empirically show the superiority of SAT, achieving consistent performance gains over recent state-of-the-art methods, yet being computationally efficient.
title Semantic Anchor Transport: Robust Test-Time Adaptation for Vision-Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.17002