Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Unknown Prompt, the only Lacuna: Unveiling CLIP's Potential for Open Domain Generalization

About

We delve into Open Domain Generalization (ODG), marked by domain and category shifts between training's labeled source and testing's unlabeled target domains. Existing solutions to ODG face limitations due to constrained generalizations of traditional CNN backbones and errors in detecting target open samples in the absence of prior knowledge. Addressing these pitfalls, we introduce ODG-CLIP, harnessing the semantic prowess of the vision-language model, CLIP. Our framework brings forth three primary innovations: Firstly, distinct from prevailing paradigms, we conceptualize ODG as a multi-class classification challenge encompassing both known and novel categories. Central to our approach is modeling a unique prompt tailored for detecting unknown class samples, and to train this, we employ a readily accessible stable diffusion model, elegantly generating proxy images for the open class. Secondly, aiming for domain-tailored classification (prompt) weights while ensuring a balance of precision and simplicity, we devise a novel visual stylecentric prompt learning mechanism. Finally, we infuse images with class-discriminative knowledge derived from the prompt space to augment the fidelity of CLIP's visual embeddings. We introduce a novel objective to safeguard the continuity of this infused semantic intel across domains, especially for the shared classes. Through rigorous testing on diverse datasets, covering closed and open-set DG contexts, ODG-CLIP demonstrates clear supremacy, consistently outpacing peers with performance boosts between 8%-16%. Code will be available at https://github.com/mainaksingha01/ODG-CLIP.

Mainak Singha, Ankit Jha, Shirsha Bose, Ashwin Nair, Moloud Abdar, Biplab Banerjee• 2024

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationVLCS
Accuracy95.74
238
Domain GeneralizationPACS--
221
Open Domain GeneralizationOfficeHome
Acc98.32
43
Domain GeneralizationImageNet variants (V2, S, A, R) (test)
ImageNet-V2 Accuracy53.1
42
Domain GeneralizationDigits-DG
Accuracy96.38
38
Domain GeneralizationOffice-Home
Overall Average Accuracy96.91
34
Domain GeneralizationDomainNet Mini
Accuracy96.65
27
Open Set Domain GeneralizationOfficeHome H=1
Accuracy48.69
23
Image ClassificationDomainNet Clipart ODG setting (leave-one-domain-out)
Accuracy90.41
19
Image ClassificationDomainNet Painting ODG setting leave-one-domain-out
Accuracy0.7928
19
Showing 10 of 23 rows

Other info

Code

Follow for update