Domain-Unified Prompt Representations for Source-Free Domain Generalization

Hongjing Niu, Hanting Li, Feng Zhao, Bin Li
9/29/2022
cs.CV

Official code: muse1998/Source-Free-Domain-Generalization (28 stars, Python, MIT, last commit 2023-02-22).

Abstract

Domain generalization (DG), aiming to make models work on unseen domains, is a surefire way toward general artificial intelligence. Limited by the scale and diversity of current DG datasets, it is difficult for existing methods to scale to diverse domains in open-world scenarios (e.g., science fiction and pixelate style).

Show full abstract

Therefore, the source-free domain generalization (SFDG) task is necessary and challenging. To address this issue, we propose an approach based on large-scale vision-language pretraining models (e.g., CLIP), which exploits the extensive domain information embedded in it. The proposed scheme generates diverse prompts from a domain bank that contains many more diverse domains than existing DG datasets. Furthermore, our method yields domain-unified representations from these prompts, thus being able to cope with samples from open-world domains. Extensive experiments on mainstream DG datasets, namely PACS, VLCS, OfficeHome, and DomainNet, show that the proposed method achieves competitive performance compared to state-of-the-art (SOTA) DG methods that require source domain data for training. Besides, we collect a small datasets consists of two domains to evaluate the open-world domain generalization ability of the proposed method. The source code and the dataset will be made publicly available at https://github.com/muse1998/Source-Free-Domain-Generalization

View on arXivView PDF

Code Implementations(1)

MIT

An open-world scenario domain generalization code base

281Python, ShellSep 29, 20223 years agoMIT

Similar Papers

Cite this paper

@article{niu2022domainunified,
  title  = {Domain-Unified Prompt Representations for Source-Free Domain Generalization},
  author = {Hongjing Niu and Hanting Li and Feng Zhao and Bin Li},
  year   = {2022},
  eprint = {2209.14926},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.14926}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.14926.svg)](https://codeofpaper.com/paper/2209.14926)

Discussion