Recovering Partially Corrupted Objects via Sketch-Guided Bidirectional Feature Interaction
On the map: Diffusion models → 3D, point cloud and scene generation
Abstract (arXiv)
Text-guided diffusion models have achieved remarkable success in object inpainting by providing high-level semantic guidance through text prompts. However, they often lack precise pixel-level spatial control, especially in scenarios involving partially corrupted objects where critical uncorrupted cues remain. To overcome this limitation, sketch-guided methods have been introduced, using either indirect gradient modulation or direct sketch injection to improve structural control. Yet, existing approaches typically establish a one-way mapping from the sketch to the masked regions only, neglecting the contextual information from unmasked object areas. This leads to a disconnection between the sketch and the uncorrupted content, thereby causing sketch-guided inconsistency and structural mismatch. To tackle this challenge, we propose a sketch-guided bidirectional feature interaction framework built upon a pretrained Stable Diffusion model. Our bidirectional interaction features two complementary directions, context-to-sketch and sketch-to-inpainting, that enable fine-grained spatial control for partially corrupted object inpainting. In the context-to-sketch direction, multi-scale latents from uncorrupted object regions are propagated to the sketch branch to generate a visual mask that adapts the sketch features to the visible context and denoising progress. In the sketch-to-inpainting direction, a sketch-conditional affine transformation modulates the influence of sketch guidance based on the learned visual mask, ensuring consistency with uncorrupted object content. This interaction is applied at multiple scales within the encoder of the diffusion U-Net, enabling the model to restore object structures with enhanced spatial fidelity. Extensive experiments on two newly constructed benchmark datasets demonstrate that our approach outperforms state-of-the-art methods.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in 3D, point cloud and scene generation, one of 14 directions in Diffusion models. Builds on 39 of its 61 references that are in the map. First posted on arXiv 10 Mar 2025.
Builds on
39 of 61 references.
Closest ancestors · 6
Same direction, newest first
- 2024Improving Text-guided Object Inpainting with Semantic Pre-inpainting12 Sep
- 2024Sketch-guided Image Inpainting with Partial Discrete Diffusion Process18 Apr
- 2024BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusion11 Mar
- 2023HD-Painter: High-Resolution and Prompt-Faithful Text-Guided Image Inpainting with Diffusion Models21 Dec
- 2023Uni-paint: A Unified Framework for Multimodal Image Inpainting with Pretrained Diffusion Model11 Oct
- 2022SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Model9 Dec
Other references · 33
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2023Segment Anythingcited by 8,158
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,069
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,466
21 more
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
- 2023T2I-Adapter: Learning Adapters to Dig out More Controllable Ability for Text-to-Image Diffusion Modelscited by 1,339
- 2021Palette: Image-to-Image Diffusion Modelscited by 1,296
- 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,199
- 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
- 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
- 2022Blended Latent Diffusioncited by 430
- 2022Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpaintingcited by 229
- 2024Diffusion Model-Based Image Editing: A Surveycited by 212
- 2022Sketch-Guided Text-to-Image Diffusion Modelscited by 180
- 2023A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpaintingcited by 168
- 2021Pixel Difference Networks for Efficient Edge Detectioncited by 167
- 2023SAM-CLIP: Merging Vision Foundation Models towards Semantic and Spatial Understandingcited by 111
- 2024Open-Vocabulary SAM: Segment and Recognize Twenty-thousand Classes Interactivelycited by 74
- 2022CLIPascene: Scene Sketching with Different Types and Levels of Abstractioncited by 63
- 2023DiffSketcher: Text Guided Vector Sketch Synthesis through Latent Diffusion Modelscited by 54
- 2022N"UWA-LIP: Language Guided Image Inpainting with Defect-free VQGANcited by 19
- 2023Reference-based Image Composition with Sketch via Structure-aware Diffusion Modelcited by 16
- 2023MaGIC: Multi-modality Guided Image Completioncited by 14
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023SketchFFusion: Sketch-guided image editing with diffusion model
- 2024It's All About Your Sketch: Democratising Sketch Control in Diffusion Models
- 2024I Dream My Painting: Connecting MLLMs and Diffusion Models via Prompt Generation for Text-Guided Multi-Mask Inpainting
- 2024U-Sketch: An Efficient Approach for Sketch to Image Diffusion Models
- 2024Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Model
- 2023Text-Guided Scene Sketch-to-Photo Synthesis
- 2024KnobGen: Controlling the Sophistication of Artwork in Sketch-Based Diffusion Models
- 2023Control3D: Towards Controllable Text-to-3D Generation