Sketch-guided Image Inpainting with Partial Discrete Diffusion Process
On the map: Diffusion models → 3D, point cloud and scene generation
Abstract (arXiv)
In this work, we study the task of sketch-guided image inpainting. Unlike the well-explored natural language-guided image inpainting, which excels in capturing semantic details, the relatively less-studied sketch-guided inpainting offers greater user control in specifying the object's shape and pose to be inpainted. As one of the early solutions to this task, we introduce a novel partial discrete diffusion process (PDDP). The forward pass of the PDDP corrupts the masked regions of the image and the backward pass reconstructs these masked regions conditioned on hand-drawn sketches using our proposed sketch-guided bi-directional transformer. The proposed novel transformer module accepts two inputs -- the image containing the masked region to be inpainted and the query sketch to model the reverse diffusion process. This strategy effectively addresses the domain gap between sketches and natural images, thereby, enhancing the quality of inpainting results. In the absence of a large-scale dataset specific to this task, we synthesize a dataset from the MS-COCO to train and extensively evaluate our proposed framework against various competent approaches in the literature. The qualitative and quantitative results and user studies establish that the proposed method inpaints realistic objects that fit the context in terms of the visual appearance of the provided sketch. To aid further research, we have made our code publicly available at https://github.com/vl2g/Sketch-Inpainting .
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in 3D, point cloud and scene generation, one of 14 directions in Diffusion models. Builds on 44 of its 62 references that are in the map. First posted on arXiv 18 Apr 2024.
Builds on
44 of 62 references.
Closest ancestors · 1
Same direction, newest first
Other references · 43
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2016Layer Normalizationcited by 5,579
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
31 more
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
- 2021Palette: Image-to-Image Diffusion Modelscited by 1,296
- 2022MaskGIT: Masked Generative Image Transformercited by 1,082
- 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
- 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
- 2018Generative Image Inpainting with Contextual Attentioncited by 578
- 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 216
- 2022Sketch-Guided Text-to-Image Diffusion Modelscited by 180
- 2019EdgeConnect: Generative Image Inpainting with Adversarial Edge Learningcited by 161
- 2019SC-FEGAN: Face Editing Generative Adversarial Network with User's Sketch and Colorcited by 105
- 2018SketchyGAN: Towards Diverse and Realistic Sketch to Image Synthesiscited by 81
- 2019Photo-Sketching: Inferring Contour Drawings from Imagescited by 67
- 2020SketchyCOCO: Image Generation from Freehand Scene Sketchescited by 67
- 2022Shape-Guided Diffusion with Inside-Outside Attentioncited by 45
- 2017Image Generation from Sketch Constraint Using Contextual GANcited by 34
- 2023Picture that Sketch: Photorealistic Image Generation from Abstract Sketchescited by 34
- 2021SketchEdit: Mask-Free Local Image Manipulation with Partial Sketchescited by 32
- 2021DeFLOCNet: Deep Image Editing via Flexible Low-level Controlscited by 26
- 2018FaceShop: Deep Sketch-based Face Image Editingcited by 24
- 2021Adversarial Open Domain Adaptation for Sketch-to-Photo Synthesiscited by 24
- 2020Sketch-Guided Object Localization in Natural Imagescited by 21
- 2022N"UWA-LIP: Language Guided Image Inpainting with Defect-free VQGANcited by 19
- 2018Adversarial Inpainting of Medical Image Modalitiescited by 16
- 2022GLaMa: Joint Spatial and Frequency Loss for General Image Inpaintingcited by 15
- 2022Shape-guided Object Inpaintingcited by 8
- 2023Query-guided Attention in Vision Transformers for Localizing Objects Using a Single Sketchcited by 3
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 3.
7 papers.
- 2024ScribbleLight: Single Image Indoor Relighting with Scribblescited by 22
- 2024MotionAura: Generating High-Quality and Motion Consistent Videos using Discrete Diffusioncited by 7
- 2025StableSketcher: Enhancing Diffusion Model for Pixel-based Sketch Generation via Visual Question Answering Feedbackcited by 1
- 2025Recovering Partially Corrupted Objects via Sketch-Guided Bidirectional Feature Interactioncited by 0
- 2026ScribbleEdit: Synthetic Data for Image Editing with Scribbles and Textcited by 0
- 2026GarmentSketch: Large-scale Sketch-to-Fashion Benchmarkcited by 0
- 2026SketchSense: Learning to Interpret Imperfect Sketch Guidance for Image Inpaintingcited by 0
- 2026SketchSense: Learning to Interpret Imperfect Sketch Guidance for Image Inpainting13 Aug 2026
- 2026GarmentSketch: Large-scale Sketch-to-Fashion Benchmark12 Jun 2026
- 2026ScribbleEdit: Synthetic Data for Image Editing with Scribbles and Text1 May 2026
- 2025StableSketcher: Enhancing Diffusion Model for Pixel-based Sketch Generation via Visual Question Answering Feedback23 Oct 2025
- 2025Recovering Partially Corrupted Objects via Sketch-Guided Bidirectional Feature Interaction10 Mar 2025
- 2024ScribbleLight: Single Image Indoor Relighting with Scribbles26 Nov 2024
- 2024MotionAura: Generating High-Quality and Motion Consistent Videos using Discrete Diffusion10 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2023SketchFFusion: Sketch-guided image editing with diffusion model
- 2023DiffSketching: Sketch Control Image Synthesis with Diffusion Models
- 2023Reference-based Painterly Inpainting via Diffusion: Crossing the Wild Reference Domain Gap
- 2024I Dream My Painting: Connecting MLLMs and Diffusion Models via Prompt Generation for Text-Guided Multi-Mask Inpainting
- 2024Diffusion-based image inpainting with internal learning
- 2024BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Models
- 2024Improving Text-guided Object Inpainting with Semantic Pre-inpainting