UMFC: Unsupervised Multi-Domain Feature Calibration for Vision-Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liang, Jiachen, Hou, Ruibing, Hu, Minyang, Chang, Hong, Shan, Shiguang, Chen, Xilin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929587296927744
author Liang, Jiachen
Hou, Ruibing
Hu, Minyang
Chang, Hong
Shan, Shiguang
Chen, Xilin
author_facet Liang, Jiachen
Hou, Ruibing
Hu, Minyang
Chang, Hong
Shan, Shiguang
Chen, Xilin
contents Pre-trained vision-language models (e.g., CLIP) have shown powerful zero-shot transfer capabilities. But they still struggle with domain shifts and typically require labeled data to adapt to downstream tasks, which could be costly. In this work, we aim to leverage unlabeled data that naturally spans multiple domains to enhance the transferability of vision-language models. Under this unsupervised multi-domain setting, we have identified inherent model bias within CLIP, notably in its visual and text encoders. Specifically, we observe that CLIP's visual encoder tends to prioritize encoding domain over discriminative category information, meanwhile its text encoder exhibits a preference for domain-relevant classes. To mitigate this model bias, we propose a training-free and label-free feature calibration method, Unsupervised Multi-domain Feature Calibration (UMFC). UMFC estimates image-level biases from domain-specific features and text-level biases from the direction of domain transition. These biases are subsequently subtracted from original image and text features separately, to render them domain-invariant. We evaluate our method on multiple settings including transductive learning and test-time adaptation. Extensive experiments show that our method outperforms CLIP and performs on par with the state-of-the-arts that need additional annotations or optimization. Our code is available at https://github.com/GIT-LJc/UMFC.
format Preprint
id arxiv_https___arxiv_org_abs_2411_06921
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle UMFC: Unsupervised Multi-Domain Feature Calibration for Vision-Language Models
Liang, Jiachen
Hou, Ruibing
Hu, Minyang
Chang, Hong
Shan, Shiguang
Chen, Xilin
Computer Vision and Pattern Recognition
Pre-trained vision-language models (e.g., CLIP) have shown powerful zero-shot transfer capabilities. But they still struggle with domain shifts and typically require labeled data to adapt to downstream tasks, which could be costly. In this work, we aim to leverage unlabeled data that naturally spans multiple domains to enhance the transferability of vision-language models. Under this unsupervised multi-domain setting, we have identified inherent model bias within CLIP, notably in its visual and text encoders. Specifically, we observe that CLIP's visual encoder tends to prioritize encoding domain over discriminative category information, meanwhile its text encoder exhibits a preference for domain-relevant classes. To mitigate this model bias, we propose a training-free and label-free feature calibration method, Unsupervised Multi-domain Feature Calibration (UMFC). UMFC estimates image-level biases from domain-specific features and text-level biases from the direction of domain transition. These biases are subsequently subtracted from original image and text features separately, to render them domain-invariant. We evaluate our method on multiple settings including transductive learning and test-time adaptation. Extensive experiments show that our method outperforms CLIP and performs on par with the state-of-the-arts that need additional annotations or optimization. Our code is available at https://github.com/GIT-LJc/UMFC.
title UMFC: Unsupervised Multi-Domain Feature Calibration for Vision-Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2411.06921