mlsanityData to 7 Oct 2026

Paste, Inpaint and Harmonize via Denoising: Subject-Driven Image Editing with Pre-Trained Diffusion Model

arXiv 2306.07596 ↗First posted 13 Jun 2023cs.CV cs.AIcited by 20

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Text-to-image generative models have attracted rising attention for flexible image editing via user-specified descriptions. However, text descriptions alone are not enough to elaborate the details of subjects, often compromising the subjects' identity or requiring additional per-subject fine-tuning. We introduce a new framework called textitPaste, Inpaint and Harmonize via Denoising (PhD), which leverages an exemplar image in addition to text descriptions to specify user intentions. In the pasting step, an off-the-shelf segmentation model is employed to identify a user-specified subject within an exemplar image which is subsequently inserted into a background image to serve as an initialization capturing both scene context and subject identity in one. To guarantee the visual coherence of the generated or edited image, we introduce an inpainting and harmonizing module to guide the pre-trained diffusion model to seamlessly blend the inserted subject into the scene naturally. As we keep the pre-trained diffusion model frozen, we preserve its strong image synthesis ability and text-driven ability, thus achieving high-quality results and flexible editing with diverse texts. In our experiments, we apply PhD to both subject-driven image editing tasks and explore text-driven scene generation given a reference subject. Both quantitative and qualitative comparisons with baseline methods demonstrate that our approach achieves state-of-the-art performance in both tasks. More qualitative results can be found at urlhttps://sites.google.com/view/phd-demo-page.

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 74 of its 89 references that are in the map. First posted on arXiv 13 Jun 2023.

Builds on

74 of 89 references.

Closest ancestors · 12

Same direction, newest first

  1. 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Models16 Feb
  2. 2023Adding Conditional Control to Text-to-Image Diffusion Models10 Feb
  3. 2022Multi-Concept Customization of Text-to-Image Diffusion8 Dec
  4. 2022Paint by Example: Exemplar-based Image Editing with Diffusion Models23 Nov
  5. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  6. 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
  7. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  8. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  9. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
  10. 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov
  11. 2021Palette: Image-to-Image Diffusion Models10 Nov
  12. 2021DiffusionCLIP: Text-Guided Diffusion Models for Robust Image Manipulation6 Oct

Other references · 62

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2020Denoising Diffusion Implicit Modelscited by 9,655
  7. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  9. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  10. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
  11. 2022Classifier-Free Diffusion Guidancecited by 5,717
  12. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
38 more
  1. 2017Neural Discrete Representation Learningcited by 4,650
  2. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  3. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  4. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  5. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  6. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  7. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  8. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  9. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  10. 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
  11. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  12. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  13. 2021Alias-Free Generative Adversarial Networkscited by 1,181
  14. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
  15. 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
  16. 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
  17. 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 691
  18. 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
  19. 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
  20. 2018Generative Image Inpainting with Contextual Attentioncited by 578
  21. 2018Albumentations: fast and flexible image augmentationscited by 558
  22. 2020Zero-Reference Deep Curve Estimation for Low-Light Image Enhancementcited by 541
  23. 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
  24. 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
  25. 2020U2-Net: Going Deeper with Nested U-Structure for Salient Object Detectioncited by 410
  26. 2020Closed-Form Factorization of Latent Semantics in GANscited by 407
  27. 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
  28. 2023TEXTure: Text-Guided Texturing of 3D Shapescited by 303
  29. 2021Cross-Modal Contrastive Learning for Text-to-Image Generationcited by 259
  30. 2022Visual Prompting via Image Inpaintingcited by 248
  31. 2021Large Scale Image Completion via Co-Modulated Generative Adversarial Networkscited by 219
  32. 2021HyperStyle: StyleGAN Inversion with HyperNetworks for Real Image Editingcited by 208
  33. 2017VEEGAN: Reducing Mode Collapse in GANs using Implicit Variational Learningcited by 199
  34. 2020Semantic Photo Manipulation with a Generative Image Priorcited by 178
  35. 2019EdgeConnect: Generative Image Inpainting with Adversarial Edge Learningcited by 161
  36. 2019DoveNet: Deep Image Harmonization via Domain Verificationcited by 134
  37. 2017Deep Image Harmonizationcited by 120
  38. 2018Image Inpainting via Generative Multi-column Convolutional Neural Networkscited by 81

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 14; 2025: 3.

20 papers.

Sort:

By area:

  1. 2024Diffusion Model-Based Image Editing: A Surveycited by 212
  2. 2024MagicQuill: An Intelligent Interactive Image Editing Systemcited by 30
  3. 2024Conditional Image Synthesis with Diffusion Models: A Surveycited by 29
  4. 2024StyleBooth: Image Style Editing with Multimodal Instructioncited by 28
  5. 2024NoiseCollage: A Layout-Aware Text-to-Image Diffusion Model Based on Noise Cropping and Mergingcited by 25
  6. 2024Thinking Outside the BBox: Unconstrained Generative Object Compositingcited by 19
  7. 2023Integrating View Conditions for Image Synthesiscited by 16
  8. 2024ZeroComp: Zero-shot Object Compositing from Image Intrinsics via Diffusioncited by 16
  9. 2024Generating Compositional Scenes via Text-to-image RGBA Instance Generationcited by 13
  10. 2024Text2Place: Affordance-aware Text Guided Human Placementcited by 11
  11. 2023HiFi Tuner: High-Fidelity Subject-Driven Fine-Tuning for Diffusion Modelscited by 9
  12. 2023My Art My Choice: Adversarial Protection Against Unruly AIcited by 5
8 more
  1. 2024Training-Free Semantic Video Composition via Pre-trained Diffusion Modelcited by 4
  2. 2024Locate, Assign, Refine: Taming Customized Promptable Image Inpaintingcited by 3
  3. 2024Dense-Face: Personalized Face Generation Model via Dense Annotation Predictioncited by 3
  4. 2024AnyLogo: Symbiotic Subject-Driven Diffusion System with Gemini Statuscited by 2
  5. 2025Diff-MM: Exploring Pre-trained Text-to-Image Generation Model for Unified Multi-modal Object Trackingcited by 2
  6. 2025HarmonPaint: Harmonized Training-Free Diffusion Inpaintingcited by 1
  7. 2024DepGAN: Leveraging Depth Maps for Handling Occlusions and Transparency in Image Compositioncited by 0
  8. 2025Borrowing from anything: A generalizable framework for reference-guided instance editingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023DreamInpainter: Text-Guided Subject-Driven Image Inpainting with Diffusion Models
  2. 2023Textual and Visual Prompt Fusion for Image Editing via Step-Wise Alignment
  3. 2024Coherent and Multi-modality Image Inpainting via Latent Space Optimization
  4. 2024Improving Text-guided Object Inpainting with Semantic Pre-inpainting
  5. 2024FreeCompose: Generic Zero-Shot Image Composition with Diffusion Prior
  6. 2023Interpolating between Images with Diffusion Models
  7. 2022DiffEdit: Diffusion-based semantic image editing with mask guidance
  8. 2022Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpainting