Reference-based Painterly Inpainting via Diffusion: Crossing the Wild Reference Domain Gap
Not on the map. Why?
Abstract (arXiv)
Have you ever imagined how it would look if we placed new objects into paintings? For example, what would it look like if we placed a basketball into Claude Monet's ``Water Lilies, Evening Effect''? We propose Reference-based Painterly Inpainting, a novel task that crosses the wild reference domain gap and implants novel objects into artworks. Although previous works have examined reference-based inpainting, they are not designed for large domain discrepancies between the target and the reference, such as inpainting an artistic image using a photorealistic reference. This paper proposes a novel diffusion framework, dubbed RefPaint, to ``inpaint more wildly'' by taking such references with large domain gaps. Built with an image-conditioned diffusion model, we introduce a ladder-side branch and a masked fusion mechanism to work with the inpainting mask. By decomposing the CLIP image embeddings at inference time, one can manipulate the strength of semantic and style information with ease. Experiments demonstrate that our proposed RefPaint framework produces significantly better results than existing methods. Our method enables creative painterly image inpainting with reference objects that would otherwise be difficult to achieve. Project page: https://vita-group.github.io/RefPaint/
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 45 of its 62 references that are in the map. First posted on arXiv 20 Jul 2023.
Builds on
45 of 62 references.
References · 45
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
33 more
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
- 2022DreamFusion: Text-to-3D using 2D Diffusioncited by 3,025
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,462
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,430
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,428
- 2021Variational Diffusion Modelscited by 1,153
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 738
- 2021Score-based Generative Modeling in Latent Spacecited by 636
- 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
- 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
- 2022DiffusionDet: Diffusion Model for Object Detectioncited by 354
- 2022Novel View Synthesis with Diffusion Modelscited by 300
- 2023Text-To-4D Dynamic Scene Generationcited by 205
- 2022Versatile Diffusion: Text, Images and Variations All in One Diffusion Modelcited by 199
- 2015Large-scale Classification of Fine-Art Paintings: Learning The Right Metric on The Right Featurecited by 182
- 2023NerfDiff: Single-image View Synthesis with NeRF-guided Distillation from 3D-aware Diffusioncited by 180
- 2019EdgeConnect: Generative Image Inpainting with Adversarial Edge Learningcited by 163
- 2022NeuralLift-360: Lifting An In-the-wild 2D Photo to A 3D Object with 360deg Viewscited by 148
- 2019DoveNet: Deep Image Harmonization via Domain Verificationcited by 135
- 2019StructureFlow: Image Inpainting via Structure-aware Appearance Flowcited by 118
- 2023Monocular Depth Estimation using Diffusion Modelscited by 87
- 2019Improving the Harmony of the Composite Image by Spatial-Separated Attention Modulecited by 73
- 2019Deep Image Blendingcited by 62
- 2022Harmonizer: Learning to Perform White-Box Image and Video Harmonizationcited by 61
- 2021SSH: A Self-Supervised Framework for Image Harmonizationcited by 60
- 2018SPG-Net: Segmentation Prediction and Guidance Network for Image Inpaintingcited by 58
- 2015Learning a Discriminative Model for the Perception of Realism in Composite Imagescited by 52
- 2021TransFill: Reference-guided Image Inpainting by Merging Multiple Color and Spatial Transformationscited by 48
- 2020Guidance and Evaluation: Semantic-Aware Image Inpainting for Mixed Scenescited by 43
- 2018Deep Painterly Harmonizationcited by 19
- 2022FoV-Net: Field-of-View Extrapolation Using Self-Attention and Uncertaintycited by 2
Built on by
Citing papers per year: 2023: 2; 2024: 0; 2025: 1.
3 papers.
- 2023Smooth Diffusion: Crafting Smooth Latent Spaces in Diffusion Modelscited by 49
- 2023Generate E-commerce Product Background by Integrating Category Commonality and Personalized Stylecited by 16
- 2025CorrFill: Enhancing Faithfulness in Reference-based Inpainting with Correspondence Guidance in Diffusion Modelscited by 8
- 2025CorrFill: Enhancing Faithfulness in Reference-based Inpainting with Correspondence Guidance in Diffusion Models4 Jan 2025
- 2023Generate E-commerce Product Background by Integrating Category Commonality and Personalized Style20 Dec 2023
- 2023Smooth Diffusion: Crafting Smooth Latent Spaces in Diffusion Models7 Dec 2023
Similar, not cited
Close in wording, no citation either way
- 2024Paint by Inpaint: Learning to Add Image Objects by Removing Them First
- 2025IS-Diff: Improving Diffusion-Based Inpainting with Better Initial Seed
- 2024Diffusion-based image inpainting with internal learning
- 2024I Dream My Painting: Connecting MLLMs and Diffusion Models via Prompt Generation for Text-Guided Multi-Mask Inpainting
- 2024RefFusion: Reference Adapted Diffusion Models for 3D Scene Inpainting
- 2024PainterNet: Adaptive Image Inpainting with Actual-Token Attention and Diverse Mask Control
- 20243D-Consistent Image Inpainting with Diffusion Models
- 2024Sketch-guided Image Inpainting with Partial Discrete Diffusion Process