Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Inversion-Based Style Transfer with Diffusion Models

About

The artistic style within a painting is the means of expression, which includes not only the painting material, colors, and brushstrokes, but also the high-level attributes including semantic elements, object shapes, etc. Previous arbitrary example-guided artistic image generation methods often fail to control shape changes or convey elements. The pre-trained text-to-image synthesis diffusion probabilistic models have achieved remarkable quality, but it often requires extensive textual descriptions to accurately portray attributes of a particular painting. We believe that the uniqueness of an artwork lies precisely in the fact that it cannot be adequately explained with normal language. Our key idea is to learn artistic style directly from a single painting and then guide the synthesis without providing complex textual descriptions. Specifically, we assume style as a learnable textual description of a painting. We propose an inversion-based style transfer method (InST), which can efficiently and accurately learn the key information of an image, thus capturing and transferring the artistic style of a painting. We demonstrate the quality and efficiency of our method on numerous paintings of various artists and styles. Code and models are available at https://github.com/zyxElsa/InST.

Yuxin Zhang, Nisha Huang, Fan Tang, Haibin Huang, Chongyang Ma, Weiming Dong, Changsheng Xu• 2022

Related benchmarks

TaskDatasetResultRank
Style TransferMS-COCO (content) + WikiArt (style) (test)
LPIPS0.785
31
Image Style TransferUser Study
Overall Quality Score83.9
30
Artistic Style TransferMS-COCO content images and WikiArt style images 512x512 resolution (test)
FID (Artistic Style)40.633
13
Photo-realistic transferMSCOCO
FID (Style)23.048
11
Affective Image StylizationEmoEdit (inference)
CLIP Score0.569
11
Artistic transferWikiArt
FID (Style)21.571
11
Style TransferUser Study 10 content images, 8 style images (test)
Style Score0.4
9
Style TransferSingle image on A100 GPU (test)
Inference Time (s)5
7
Image-driven Style TransferImage-driven style transfer (evaluation set)
CLIP Alignment Score0.569
7
Text-driven Style TransferUser preference study set (test)
Human Preference (Text)12.7
6
Showing 10 of 18 rows

Other info

Code

Follow for update