Soft Prompt Generation for Domain Generalization
Shuanghao Bai, Yuedi Zhang, Wanqi Zhou, Zhirong Luan, Badong Chen

TL;DR
This paper introduces Soft Prompt Generation (SPG), a generative approach to create diverse, domain-specific prompts for vision-language models, significantly improving domain generalization performance across multiple benchmarks.
Contribution
The paper proposes a novel generative framework for soft prompt learning that enhances diversity and domain adaptation in vision-language models for domain generalization.
Findings
SPG achieves state-of-the-art results on five DG benchmarks.
The method effectively generates instance-specific prompts for unseen domains.
Extensive experiments validate the superiority of SPG over existing prompt learning methods.
Abstract
Large pre-trained vision language models (VLMs) have shown impressive zero-shot ability on downstream tasks with manually designed prompt. To further adapt VLMs to downstream tasks, soft prompt is proposed to replace manually designed prompt, which undergoes fine-tuning based on specific domain data. Prior prompt learning methods primarily learn a fixed prompt or residuled prompt from training samples. However, the learned prompts lack diversity and ignore information about unseen domains. In this paper, we reframe the prompt learning framework from a generative perspective and propose a simple yet efficient method for the Domain Generalization (DG) task, namely Soft Prompt Generation (SPG). Specifically, SPG consists of a two-stage training phase and an inference phase. During the training phase, we introduce soft prompt label for each domain, aiming to incorporate the generative model…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDigital Filter Design and Implementation
