DPStyler: Dynamic PromptStyler for Source-Free Domain Generalization

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Tang, Yunlong, Wan, Yuxuan, Qi, Lei, Geng, Xin
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917721320456192
author Tang, Yunlong
Wan, Yuxuan
Qi, Lei
Geng, Xin
author_facet Tang, Yunlong
Wan, Yuxuan
Qi, Lei
Geng, Xin
contents Source-Free Domain Generalization (SFDG) aims to develop a model that works for unseen target domains without relying on any source domain. Research in SFDG primarily bulids upon the existing knowledge of large-scale vision-language models and utilizes the pre-trained model's joint vision-language space to simulate style transfer across domains, thus eliminating the dependency on source domain images. However, how to efficiently simulate rich and diverse styles using text prompts, and how to extract domain-invariant information useful for classification from features that contain both semantic and style information after the encoder, are directions that merit improvement. In this paper, we introduce Dynamic PromptStyler (DPStyler), comprising Style Generation and Style Removal modules to address these issues. The Style Generation module refreshes all styles at every training epoch, while the Style Removal module eliminates variations in the encoder's output features caused by input styles. Moreover, since the Style Generation module, responsible for generating style word vectors using random sampling or style mixing, makes the model sensitive to input text prompts, we introduce a model ensemble method to mitigate this sensitivity. Extensive experiments demonstrate that our framework outperforms state-of-the-art methods on benchmark datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2403_16697
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DPStyler: Dynamic PromptStyler for Source-Free Domain Generalization
Tang, Yunlong
Wan, Yuxuan
Qi, Lei
Geng, Xin
Computer Vision and Pattern Recognition
Source-Free Domain Generalization (SFDG) aims to develop a model that works for unseen target domains without relying on any source domain. Research in SFDG primarily bulids upon the existing knowledge of large-scale vision-language models and utilizes the pre-trained model's joint vision-language space to simulate style transfer across domains, thus eliminating the dependency on source domain images. However, how to efficiently simulate rich and diverse styles using text prompts, and how to extract domain-invariant information useful for classification from features that contain both semantic and style information after the encoder, are directions that merit improvement. In this paper, we introduce Dynamic PromptStyler (DPStyler), comprising Style Generation and Style Removal modules to address these issues. The Style Generation module refreshes all styles at every training epoch, while the Style Removal module eliminates variations in the encoder's output features caused by input styles. Moreover, since the Style Generation module, responsible for generating style word vectors using random sampling or style mixing, makes the model sensitive to input text prompts, we introduce a model ensemble method to mitigate this sensitivity. Extensive experiments demonstrate that our framework outperforms state-of-the-art methods on benchmark datasets.
title DPStyler: Dynamic PromptStyler for Source-Free Domain Generalization
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.16697