Zero-Shot Domain Generalization via Domain Prompt Learning
Shiming Chen, Shuhuang Chen, Salman Khan, Fahad Shahbaz Khan
Abstract
Domain generalization (DG) aims to improve the generalization of the model to any unseen domains. Targeting this goal, existing DG methods mainly focus on learning domain-invariant features or prompts from the given source domains. However, these methods rely on source-domain data, and collecting and annotating large-scale single- or multi-source datasets is often infeasible, limiting the practical applicability of DG. To tackle this challenge, we propose Domain Prompt Learning (DoP), a method built on a large vision-language model (e.g., CLIP) for zero-shot domain generalization, which recognizes unseen classes in unseen target domains without access to source-domain data. DoP essentially learns the target domain knowledge via prompt both in text and visual modalities to overcome the domain shift in text-visual modalities under the test-time adaptation formulation. Specifically, DoP first takes text domain learning (TDL) to simulate various distribution shifts by learning diverse style tokens implicitly in the text space with inter-style diversity loss and intra-style consistency loss. Subsequently, DoP employs visual domain learning (VDL) to further refine the target-domain-relevant style token generated by TDL by making use of the test visual data with self-supervised learning. Extensive experiments on popular DG benchmark datasets (e.g., PACS, VLCS, OfficeHome, and DomainNet) and ImageNet show that our DoP consistently outperforms the state-of-the-art DG approaches. Codes are available at: https://github.com/shiming-chen/DoP.
Create a lesson
Metadata
- Comments
- Accepted to IJCV
Related papers
Efficient Zero-Shot Video Anomaly Detection via Signal-Aware Adaptive Fusion (SAAF)
Shared title terminologycs.CVKhaled Waleed Dawoud, Muhammad Haris Khan
Guided Zero-Shot Anomaly Explanation for Anonymized Crowd Video Monitoring: Context, Categorization, and Spatial Localization
Shared title terminologycs.CVMulugeta Weldezgina Asres, Lei Jiao, Christian Walter Omlin
Look at What Matters: Learning Lesion Prototypes from Severity Labels for Domain-Generalized Diabetic Retinopathy Grading
Shared title terminologycs.CVZiyang Zhang, Juming Xiong, Yanfan Zhu et al.
Rethinking Feature Perturbation for Single-Source Domain Generalization: A Representation-Space Analysis and Spectral Case Study
Shared title terminologycs.CVBadr-Eddine Benelmostafa, Sohaib Baroud
One-shot federated unsupervised domain adaptation with Smoothed Knowledge Distillation and teacher refinement
Shared title terminologycs.CVAli Abedi, Q. M. Jonathan Wu, Ning Zhang et al.
Concept Generalization in Visual Brain Decoding via Encoder-Generated fMRI
Shared title terminologycs.CVPeter Yongho Kim, Juhyeon Park, Dongsheng Li et al.