StyleTokenizer: Defining Image Style by a Single Instance for Controlling Diffusion Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Wen, Fang, Muyuan, Zou, Cheng, Gong, Biao, Zheng, Ruobing, Wang, Meng, Chen, Jingdong, Yang, Ming
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910589101539328
author Li, Wen
Fang, Muyuan
Zou, Cheng
Gong, Biao
Zheng, Ruobing
Wang, Meng
Chen, Jingdong
Yang, Ming
author_facet Li, Wen
Fang, Muyuan
Zou, Cheng
Gong, Biao
Zheng, Ruobing
Wang, Meng
Chen, Jingdong
Yang, Ming
contents Despite the burst of innovative methods for controlling the diffusion process, effectively controlling image styles in text-to-image generation remains a challenging task. Many adapter-based methods impose image representation conditions on the denoising process to accomplish image control. However these conditions are not aligned with the word embedding space, leading to interference between image and text control conditions and the potential loss of semantic information from the text prompt. Addressing this issue involves two key challenges. Firstly, how to inject the style representation without compromising the effectiveness of text representation in control. Secondly, how to obtain the accurate style representation from a single reference image. To tackle these challenges, we introduce StyleTokenizer, a zero-shot style control image generation method that aligns style representation with text representation using a style tokenizer. This alignment effectively minimizes the impact on the effectiveness of text prompts. Furthermore, we collect a well-labeled style dataset named Style30k to train a style feature extractor capable of accurately representing style while excluding other content information. Experimental results demonstrate that our method fully grasps the style characteristics of the reference image, generating appealing images that are consistent with both the target image style and text prompt. The code and dataset are available at https://github.com/alipay/style-tokenizer.
format Preprint
id arxiv_https___arxiv_org_abs_2409_02543
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle StyleTokenizer: Defining Image Style by a Single Instance for Controlling Diffusion Models
Li, Wen
Fang, Muyuan
Zou, Cheng
Gong, Biao
Zheng, Ruobing
Wang, Meng
Chen, Jingdong
Yang, Ming
Computer Vision and Pattern Recognition
Despite the burst of innovative methods for controlling the diffusion process, effectively controlling image styles in text-to-image generation remains a challenging task. Many adapter-based methods impose image representation conditions on the denoising process to accomplish image control. However these conditions are not aligned with the word embedding space, leading to interference between image and text control conditions and the potential loss of semantic information from the text prompt. Addressing this issue involves two key challenges. Firstly, how to inject the style representation without compromising the effectiveness of text representation in control. Secondly, how to obtain the accurate style representation from a single reference image. To tackle these challenges, we introduce StyleTokenizer, a zero-shot style control image generation method that aligns style representation with text representation using a style tokenizer. This alignment effectively minimizes the impact on the effectiveness of text prompts. Furthermore, we collect a well-labeled style dataset named Style30k to train a style feature extractor capable of accurately representing style while excluding other content information. Experimental results demonstrate that our method fully grasps the style characteristics of the reference image, generating appealing images that are consistent with both the target image style and text prompt. The code and dataset are available at https://github.com/alipay/style-tokenizer.
title StyleTokenizer: Defining Image Style by a Single Instance for Controlling Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.02543