COSMo: CLIP Talks on Open-Set Multi-Target Domain Adaptation
Munish Monga, Sachin Kumar Giroh, Ankit Jha, Mainak Singha, Biplab Banerjee, Jocelyn Chanussot
TL;DR
This work tackles Open-set Multi-Target Domain Adaptation (OSMTDA), where a model trained on a single labeled source domain must recognize known classes and identify unknowns across multiple unlabeled target domains. COSMo addresses this by embedding domain-specific bias into prompts and maintaining separate, domain-agnostic prompts for known and unknown classes within CLIP, aided by a Domain-Specific Bias Network (DSBN). The method demonstrates strong improvements in the harmonic mean of known and unknown accuracy (HOS) across Office-31, Office-Home, and Mini-DomainNet, reflecting robust adaptation to both domain shifts and open-set class expansion. The approach offers a practical pathway for real-world deployment of cross-domain recognition systems with limited labeling, and points to future work in extending to semantic segmentation and object detection tasks.
Abstract
Multi-Target Domain Adaptation (MTDA) entails learning domain-invariant information from a single source domain and applying it to multiple unlabeled target domains. Yet, existing MTDA methods predominantly focus on addressing domain shifts within visual features, often overlooking semantic features and struggling to handle unknown classes, resulting in what is known as Open-Set (OS) MTDA. While large-scale vision-language foundation models like CLIP show promise, their potential for MTDA remains largely unexplored. This paper introduces COSMo, a novel method that learns domain-agnostic prompts through source domain-guided prompt learning to tackle the MTDA problem in the prompt space. By leveraging a domain-specific bias network and separate prompts for known and unknown classes, COSMo effectively adapts across domain and class shifts. To the best of our knowledge, COSMo is the first method to address Open-Set Multi-Target DA (OSMTDA), offering a more realistic representation of real-world scenarios and addressing the challenges of both open-set and multi-target DA. COSMo demonstrates an average improvement of $5.1\%$ across three challenging datasets: Mini-DomainNet, Office-31, and Office-Home, compared to other related DA methods adapted to operate within the OSMTDA setting. Code is available at: https://github.com/munish30monga/COSMo
