OSLoPrompt: Bridging Low-Supervision Challenges and Open-Set Domain Generalization in CLIP

Abstract

We introduce Low-Shot Open-Set Domain Generalization (LSOSDG), a novel paradigm unifying low-shot learning with open-set domain generalization (ODG). While prompt-based methods using models like CLIP have advanced DG, they falter in low-data regimes (e.g., 1-shot) and lack precision in detecting open-set samples with fine-grained semantics related to training classes. To address these challenges, we propose OSLoPrompt, an advanced prompt-learning framework for CLIP with two core innovations. First, to manage limited supervision across source domains and improve DG, we introduce a domain-agnostic prompt-learning mechanism that integrates adaptable domain-specific cues and visually guided semantic attributes through a novel cross-attention module, besides being supported by learnable domain- and class-generic visual prompts to enhance cross-modal adaptability. Second, to improve outlier rejection during inference, we classify unfamiliar samples as "unknown" and train specialized prompts with systematically synthesized pseudo-open samples that maintain fine-grained relationships to known classes, generated through a targeted query strategy with off-the-shelf foundation models. This strategy enhances feature learning, enabling our model to detect open samples with varied granularity more effectively. Extensive evaluations across five benchmarks demonstrate that OSLoPrompt establishes a new state-of-the-art in LSOSDG, significantly outperforming existing methods.

Cite

Text

Mohamad Hassan et al. "OSLoPrompt: Bridging Low-Supervision Challenges and Open-Set Domain Generalization in CLIP." Conference on Computer Vision and Pattern Recognition, 2025. doi:10.1109/CVPR52734.2025.00945

Markdown

[Mohamad Hassan et al. "OSLoPrompt: Bridging Low-Supervision Challenges and Open-Set Domain Generalization in CLIP." Conference on Computer Vision and Pattern Recognition, 2025.](https://mlanthology.org/cvpr/2025/c2025cvpr-osloprompt/) doi:10.1109/CVPR52734.2025.00945

BibTeX

@inproceedings{c2025cvpr-osloprompt,
  title     = {{OSLoPrompt: Bridging Low-Supervision Challenges and Open-Set Domain Generalization in CLIP}},
  author    = {Mohamad Hassan, N C and Gupta, Divyam and Singha, Mainak and Rongali, Sai Bhargav and Jha, Ankit and Khan, Muhammad Haris and Banerjee, Biplab},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2025},
  pages     = {10110-10120},
  doi       = {10.1109/CVPR52734.2025.00945},
  url       = {https://mlanthology.org/cvpr/2025/c2025cvpr-osloprompt/}
}