Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Paint by Example: Exemplar-based Image Editing with Diffusion Models

About

Language-guided image editing has achieved great success recently. In this paper, for the first time, we investigate exemplar-guided image editing for more precise control. We achieve this goal by leveraging self-supervised training to disentangle and re-organize the source image and the exemplar. However, the naive approach will cause obvious fusing artifacts. We carefully analyze it and propose an information bottleneck and strong augmentations to avoid the trivial solution of directly copying and pasting the exemplar image. Meanwhile, to ensure the controllability of the editing process, we design an arbitrary shape mask for the exemplar image and leverage the classifier-free guidance to increase the similarity to the exemplar image. The whole framework involves a single forward of the diffusion model without any iterative optimization. We demonstrate that our method achieves an impressive performance and enables controllable editing on in-the-wild images with high fidelity.

Binxin Yang, Shuyang Gu, Bo Zhang, Ting Zhang, Xuejin Chen, Xiaoyan Sun, Dong Chen, Fang Wen• 2022

Related benchmarks

TaskDatasetResultRank
Virtual Try-OnVITON-HD (test)
SSIM80.1
57
Virtual Try-OnVITON-HD 1.0 (test)
FID11.939
27
Compositional Image GenerationComplexCompo 300
CLIP-I0.7537
20
Virtual Try-OnStreetTryOn Shop-to-Street
FID81.538
16
Image CompositionDreamEditBench 220
CLIP-I0.7742
14
Virtual Try-OnStreetTryOn Street-to-Street
FID36.556
14
Virtual Try-OnVITON (test)
SSIM0.83
14
Virtual Try-OnSHHQ 1.0 (test)
FID26.274
14
Image CompositionResolution Benchmark 512 x 512
Latency (s)3.52
13
Self-Attribute TransferCelebV-Text and VFHQ Self-attribute transfer
L10.1059
13
Showing 10 of 58 rows

Other info

Code

Follow for update