TensorX
返回文献探索

Paper · arXiv 2307.15199

PromptStyler: Prompt-driven Style Generation for Source-free Domain Generalization

Junhyeong Cho, Gilhyun Nam, Sungyeon Kim, Hunmin Yang, Suha Kwak

13 upvotesJuly 27, 2023arXiv 预印本
AI 摘要

PromptStyler simulates style distribution shifts using prompts in a joint vision-language space for source-free domain generalization, achieving top performance on several benchmarks without images.

PromptStylerdistribution shiftssynthesisstyle word vectorsstyle-content featuresjoint vision-language spacesource-free domain generalizationPACSVLCSOfficeHomeDomainNet

Abstract

In a joint vision-language space, a text feature (e.g., from "a photo of a dog") could effectively represent its relevant image features (e.g., from dog photos). Inspired by this, we propose PromptStyler which simulates various distribution shifts in the joint space by synthesizing diverse styles via prompts without using any images to deal with source-free domain generalization. Our method learns to generate a variety of style features (from "a S* style of a") via learnable style word vectors for pseudo-words S*. To ensure that learned styles do not distort content information, we force style-content features (from "a S* style of a [class]") to be located nearby their corresponding content features (from "[class]") in the joint vision-language space. After learning style word vectors, we train a linear classifier using synthesized style-content features. PromptStyler achieves the state of the art on PACS, VLCS, OfficeHome and DomainNet, although it does not require any images and takes just ~30 minutes for training using a single GPU.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
PromptStyler: Prompt-driven Style Generation for Source-free Domain Generalization | TensorX