PromptTA: Prompt-driven Text Adapter for Source-free Domain Generalization
<|reference_start|>PromptTA: Prompt-driven Text Adapter for Source-free Domain Generalization: Source-free domain generalization (SFDG) tackles the challenge of adapting models to unseen target domains without access to source domain data. To deal with this challenging task, recent advances in SFDG have primarily focused on leveraging the text modality of vision-language models such as CLIP. These methods involve developing a transferable linear classifier based on diverse style features extracted from the text and learned prompts or deriving domain-unified text representations from domain banks. However, both style features and domain banks have limitations in capturing comprehensive domain knowledge. In this work, we propose Prompt-Driven Text Adapter (PromptTA) method, which is designed to better capture the distribution of style features and employ resampling to ensure thorough coverage of domain knowledge. To further leverage this rich domain information, we introduce a text adapter that learns from these style features for efficient domain information storage. Extensive experiments conducted on four benchmark datasets demonstrate that PromptTA achieves state-of-the-art performance. The code is available at https://github.com/zhanghr2001/PromptTA.<|reference_end|>
@article{zhang2024promptta:,
    title={PromptTA: Prompt-driven Text Adapter for Source-free Domain
  Generalization},
    author={Haoran Zhang, Shuanghao Bai, Wanqi Zhou, Jingwen Fu, Badong Chen},
    journal={arXiv preprint arXiv:2409.14163},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.14163},
    primaryClass={cs.CV cs.CL cs.LG}
}