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

07/27/2023
by   Junhyeong Cho, et al.
0

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.

READ FULL TEXT

page 7

page 13

research
09/04/2023

StyleAdapter: A Single-Pass LoRA-Free Model for Stylized Image Generation

This paper presents a LoRA-free method for stylized image generation tha...
research
09/26/2022

Smells like Teen Spirit: An Exploration of Sensorial Style in Literary Genres

It is well recognized that sensory perceptions and language have interco...
research
05/09/2020

Photo style transfer with consistency losses

We address the problem of style transfer between two photos and propose ...
research
01/19/2022

CAST: Character labeling in Animation using Self-supervision by Tracking

Cartoons and animation domain videos have very different characteristics...
research
05/26/2019

Disentangling Style and Content in Anime Illustrations

Existing methods for AI-generated artworks still struggle with generatin...
research
07/12/2022

Learning Diverse Tone Styles for Image Retouching

Image retouching, aiming to regenerate the visually pleasing renditions ...
research
09/27/2022

Style Matters! Investigating Linguistic Style in Online Communities

Content has historically been the primary lens used to study language in...

Please sign up or login with your details

Forgot password? Click here to reset