mlsanityData to 7 Oct 2026

Sketch-guided Image Inpainting with Partial Discrete Diffusion Process

arXiv 2404.11949 ↗First posted 18 Apr 2024cs.CV cs.AI cs.LGcited by 7

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

  1. 2022SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Model9 Dec

Other references · 43

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  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. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  6. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  7. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  8. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  9. 2016Layer Normalizationcited by 5,579
  10. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
  11. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  12. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
31 more
  1. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  2. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
  3. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
  4. 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
  5. 2021Palette: Image-to-Image Diffusion Modelscited by 1,296
  6. 2022MaskGIT: Masked Generative Image Transformercited by 1,082
  7. 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 773
  8. 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
  9. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
  10. 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
  11. 2018Generative Image Inpainting with Contextual Attentioncited by 578
  12. 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 216
  13. 2022Sketch-Guided Text-to-Image Diffusion Modelscited by 180
  14. 2019EdgeConnect: Generative Image Inpainting with Adversarial Edge Learningcited by 161
  15. 2019SC-FEGAN: Face Editing Generative Adversarial Network with User's Sketch and Colorcited by 105
  16. 2018SketchyGAN: Towards Diverse and Realistic Sketch to Image Synthesiscited by 81
  17. 2019Photo-Sketching: Inferring Contour Drawings from Imagescited by 67
  18. 2020SketchyCOCO: Image Generation from Freehand Scene Sketchescited by 67
  19. 2022Shape-Guided Diffusion with Inside-Outside Attentioncited by 45
  20. 2017Image Generation from Sketch Constraint Using Contextual GANcited by 34
  21. 2023Picture that Sketch: Photorealistic Image Generation from Abstract Sketchescited by 34
  22. 2021SketchEdit: Mask-Free Local Image Manipulation with Partial Sketchescited by 32
  23. 2021DeFLOCNet: Deep Image Editing via Flexible Low-level Controlscited by 26
  24. 2018FaceShop: Deep Sketch-based Face Image Editingcited by 24
  25. 2021Adversarial Open Domain Adaptation for Sketch-to-Photo Synthesiscited by 24
  26. 2020Sketch-Guided Object Localization in Natural Imagescited by 21
  27. 2022N"UWA-LIP: Language Guided Image Inpainting with Defect-free VQGANcited by 19
  28. 2018Adversarial Inpainting of Medical Image Modalitiescited by 16
  29. 2022GLaMa: Joint Spatial and Frequency Loss for General Image Inpaintingcited by 15
  30. 2022Shape-guided Object Inpaintingcited by 8
  31. 2023Query-guided Attention in Vision Transformers for Localizing Objects Using a Single Sketchcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 3.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023SketchFFusion: Sketch-guided image editing with diffusion model
  2. 2023DiffSketching: Sketch Control Image Synthesis with Diffusion Models
  3. 2023Reference-based Painterly Inpainting via Diffusion: Crossing the Wild Reference Domain Gap
  4. 2024I Dream My Painting: Connecting MLLMs and Diffusion Models via Prompt Generation for Text-Guided Multi-Mask Inpainting
  5. 2024Diffusion-based image inpainting with internal learning
  6. 2024BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion
  7. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Models
  8. 2024Improving Text-guided Object Inpainting with Semantic Pre-inpainting