Lune

CVPR2023Top-tier venue

SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Model

Shaoan Xie, Zhifei Zhang, Zhe Lin, Tobias Hinz, Kun Zhang

Abstract

Generic image inpainting aims to complete a corrupted image by borrowing surrounding information, which barely generates novel content. By contrast, multi-modal inpainting provides more flexible and useful controls on the inpainted content, e.g., a text prompt can be used to describe an object with richer attributes, and a mask can be used to constrain the shape of the inpainted object rather than being only considered as a missing area. We propose a new diffusion-based model named SmartBrush for completing a missing region with an object using both text and shape-guidance. While previous work such as DALLE-2 and Stable Diffusion can do text-guided inapinting they do not support shape guidance and tend to modify background texture surrounding the generated object. Our model incorporates both text and shape guidance with precision control. To preserve the background better, we propose a novel training and sampling strategy by augmenting the diffusion U-net with object-mask prediction. Lastly, we introduce a multi-task training strategy by jointly training inpainting with text-to-image generation to leverage more training data. We conduct extensive experiments showing that our model outperforms all baselines in terms of visual quality, mask controllability, and background preservation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

125 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • Zero-shot Image Editing with Reference Imitation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Zero-shot Image Editing with Reference Imitation cites Learning Transferable Visual Models From Natural Language Supervision
  • Zero-shot Image Editing with Reference Imitation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • DMV3D: Denoising Multi-view Diffusion Using 3D Large Reconstruction Model cites High-Resolution Image Synthesis with Latent Diffusion Models
  • DMV3D: Denoising Multi-view Diffusion Using 3D Large Reconstruction Model cites Learning Transferable Visual Models From Natural Language Supervision
  • DMV3D: Denoising Multi-view Diffusion Using 3D Large Reconstruction Model cites Denoising Diffusion Probabilistic Models
  • DMV3D: Denoising Multi-view Diffusion Using 3D Large Reconstruction Model cites Denoising Diffusion Implicit Models
  • Composer: Creative and Controllable Image Synthesis with Composable Conditions cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Composer: Creative and Controllable Image Synthesis with Composable Conditions cites Learning Transferable Visual Models From Natural Language Supervision
  • Composer: Creative and Controllable Image Synthesis with Composable Conditions cites Denoising Diffusion Probabilistic Models
  • Composer: Creative and Controllable Image Synthesis with Composable Conditions cites Denoising Diffusion Implicit Models
  • Composer: Creative and Controllable Image Synthesis with Composable Conditions cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites Denoising Diffusion Implicit Models
  • Improved Distribution Matching Distillation for Fast Image Synthesis cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • FocalDreamer: Text-Driven 3D Editing via Focal-Fusion Assembly cites High-Resolution Image Synthesis with Latent Diffusion Models
  • FocalDreamer: Text-Driven 3D Editing via Focal-Fusion Assembly cites Learning Transferable Visual Models From Natural Language Supervision
  • FocalDreamer: Text-Driven 3D Editing via Focal-Fusion Assembly cites Denoising Diffusion Probabilistic Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Learning Transferable Visual Models From Natural Language Supervision
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers125

  1. Improved Distribution Matching Distillation for Fast Image SynthesisTianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang et al.NeurIPS 2024 · 728 citations
  2. Composer: Creative and Controllable Image Synthesis with Composable ConditionsLianghua Huang, Di Chen, Yu Liu, Yujun Shen et al.ICML 2023 · 371 citations
  3. DMV3D: Denoising Multi-view Diffusion Using 3D Large Reconstruction ModelYinghao Xu, Hao Tan, Fujun Luan, Sai Bi et al.ICLR 2024 · 234 citations
  4. FocalDreamer: Text-Driven 3D Editing via Focal-Fusion AssemblyYuhan Li, Yishun Dou, Yue Shi, Yu Lei et al.AAAI 2024 · 91 citations
  5. Zero-shot Image Editing with Reference ImitationXi Chen, Yutong Feng, Mengting Chen, Yiyang Wang et al.NeurIPS 2024 · 80 citations

Builds on17

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations

Related papers

  1. Uni-paint: A Unified Framework for Multimodal Image Inpainting with Pretrained Diffusion ModelShiyuan Yang, Xiaodong Chen, Jing LiaoACM MM 2023 · 65 citations
  2. MagicPaint: Operate Anything for Image Inpainting with Diffusion ModelQinhong Yang, Dongdong Chen, Qi Chu, Tao Gong et al.AAAI 2026
  3. Text-Guided Image InpaintingZijian Zhang, Zhou Zhao, Zhu Zhang, Baoxing Huai et al.ACM MM 2020 · 17 citations
  4. Brush2Prompt: Contextual Prompt Generator for Object InpaintingMang Tik Chiu, Yuqian Zhou, Lingzhi Zhang, Zhe Lin et al.CVPR 2024
  5. SmartMask: Context Aware High-Fidelity Mask Generation for Fine-grained Object Insertion and Layout ControlJaskirat Singh, Jianming Zhang, Qing Liu, Cameron Smith et al.CVPR 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines