Paint by Example: Exemplar-based Image Editing with Diffusion Models
Binxin Yang, Shuyang Gu, Bo Zhang, Ting Zhang, Xuejin Chen, Xiaoyan Sun, Dong Chen, Fang Wen
Abstract
Abstract Language-guided image editing has achieved great success recently. In this paper, 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 a content 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. The code and
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
235 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Zero-Shot Text-to-Image Generation
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence cites High-Resolution Image Synthesis with Latent Diffusion Models
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence cites Denoising Diffusion Probabilistic Models
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition cites High-Resolution Image Synthesis with Latent Diffusion Models
- TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition cites Learning Transferable Visual Models From Natural Language Supervision
- TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition cites Denoising Diffusion Probabilistic Models
- TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- OOTDiffusion: Outfitting Fusion Based Latent Diffusion for Controllable Virtual Try-On cites High-Resolution Image Synthesis with Latent Diffusion Models
- OOTDiffusion: Outfitting Fusion Based Latent Diffusion for Controllable Virtual Try-On cites Learning Transferable Visual Models From Natural Language Supervision
- OOTDiffusion: Outfitting Fusion Based Latent Diffusion for Controllable Virtual Try-On cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Zero-Shot Text-to-Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
- Efficient Diffusion Training via Min-SNR Weighting Strategy cites High-Resolution Image Synthesis with Latent Diffusion Models
- Efficient Diffusion Training via Min-SNR Weighting Strategy cites Denoising Diffusion Probabilistic Models
- Efficient Diffusion Training via Min-SNR Weighting Strategy cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- TextDiffuser: Diffusion Models as Text Painters cites High-Resolution Image Synthesis with Latent Diffusion Models
- TextDiffuser: Diffusion Models as Text Painters cites Zero-Shot Text-to-Image Generation
- TextDiffuser: Diffusion Models as Text Painters cites Learning Transferable Visual Models From Natural Language Supervision
- TextDiffuser: Diffusion Models as Text Painters cites Denoising Diffusion Probabilistic Models
- TextDiffuser: Diffusion Models as Text Painters cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Zero-Shot Text-to-Image Generation
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers235
- A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic CorrespondenceJunyi Zhang, Charles Herrmann, Junhwa Hur, Luisa Polania Cabrera et al.NeurIPS 2023 · 371 citations
- TextDiffuser: Diffusion Models as Text PaintersJingye Chen, Yupan Huang, Tengchao Lv, Lei Cui et al.NeurIPS 2023 · 290 citations
- Efficient Diffusion Training via Min-SNR Weighting StrategyTiankai Hang, Shuyang Gu, Chen Li, Jianmin Bao et al.ICCV 2023 · 261 citations
- TF-ICON: Diffusion-Based Training-Free Cross-Domain Image CompositionShilin Lu, Yanzhu Liu, Adams Wai-Kin KongICCV 2023 · 214 citations
- OOTDiffusion: Outfitting Fusion Based Latent Diffusion for Controllable Virtual Try-OnYuhao Xu, Tao Gu, Weifeng Chen, Arlene ChenAAAI 2025 · 177 citations
Builds on32
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray et al.ICML 2021 · 6,356 citations
Related papers
- Diffusion Self-Guidance for Controllable Image GenerationDave Epstein, Allan Jabri, Ben Poole, Alexei A. Efros et al.NeurIPS 2023 · 411 citations
- DiffUTE: Universal Text Editing Diffusion ModelHaoxing Chen, Zhuoer Xu, Zhangxuan Gu, Jun Lan et al.NeurIPS 2023 · 61 citations
- Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion ModelsWenkai Dong, Song Xue, Xiaoyue Duan, Shumin HanICCV 2023 · 104 citations
- PIXELS: Progressive Image Xemplar-based Editing with Latent SurgeryShristi Das Biswas, Matthew Shreve, Xuelu Li, Prateek Singhal et al.AAAI 2025 · 2 citations
- SINE: SINgle Image Editing with Text-to-Image Diffusion ModelsZhixing Zhang, Ligong Han, Arnab Ghosh, Dimitris N. Metaxas et al.CVPR 2023
