AD-CLIP: Adapting Domains in Prompt Space Using CLIP

08/10/2023
by   Mainak Singha, et al.
0

Although deep learning models have shown impressive performance on supervised learning tasks, they often struggle to generalize well when the training (source) and test (target) domains differ. Unsupervised domain adaptation (DA) has emerged as a popular solution to this problem. However, current DA techniques rely on visual backbones, which may lack semantic richness. Despite the potential of large-scale vision-language foundation models like CLIP, their effectiveness for DA has yet to be fully explored. To address this gap, we introduce AD-CLIP, a domain-agnostic prompt learning strategy for CLIP that aims to solve the DA problem in the prompt space. We leverage the frozen vision backbone of CLIP to extract both image style (domain) and content information, which we apply to learn prompt tokens. Our prompts are designed to be domain-invariant and class-generalizable, by conditioning prompt learning on image style and content features simultaneously. We use standard supervised contrastive learning in the source domain, while proposing an entropy minimization strategy to align domains in the embedding space given the target domain data. We also consider a scenario where only target domain samples are available during testing, without any source domain data, and propose a cross-domain style mapping network to hallucinate domain-agnostic tokens. Our extensive experiments on three benchmark DA datasets demonstrate the effectiveness of AD-CLIP compared to existing literature.

READ FULL TEXT
research
03/04/2020

Towards Fair Cross-Domain Adaptation via Generative Learning

Domain Adaptation (DA) targets at adapting a model trained over the well...
research
06/16/2023

Enhancing Visual Domain Adaptation with Source Preparation

Robotic Perception in diverse domains such as low-light scenarios, where...
research
03/18/2020

Domain Adaptation Through Transferring both the Source-Knowledge and Target-Relatedness Simultaneously

Domain adaptation (DA) is an emerging research topic in the field of mac...
research
02/18/2023

StyLIP: Multi-Scale Style-Conditioned Prompt Learning for CLIP-based Domain Generalization

Large-scale foundation models (e.g., CLIP) have shown promising zero-sho...
research
12/20/2022

Domain Generalization with Correlated Style Uncertainty

Though impressive success has been witnessed in computer vision, deep le...
research
08/27/2019

Domain-Agnostic Learning with Anatomy-Consistent Embedding for Cross-Modality Liver Segmentation

Domain Adaptation (DA) has the potential to greatly help the generalizat...
research
04/10/2019

Active Multi-Kernel Domain Adaptation for Hyperspectral Image Classification

Recent years have witnessed the quick progress of the hyperspectral imag...

Please sign up or login with your details

Forgot password? Click here to reset