Lune

ICLR2023Top-tier venue

DiffEdit: Diffusion-based semantic image editing with mask guidance

Guillaume Couairon, Jakob Verbeek, Holger Schwenk, Matthieu Cord

Abstract

Image generation has recently seen tremendous advances, with diffusion models allowing to synthesize convincing images for a large variety of text prompts. In this article, we propose DiffEdit, a method to take advantage of text-conditioned diffusion models for the task of semantic image editing, where the goal is to edit an image based on a text query. Semantic image editing is an extension of image generation, with the additional constraint that the generated image should be as similar as possible to a given input image. Current editing methods based on diffusion models usually require to provide a mask, making the task much easier by treating it as a conditional inpainting task. In contrast, our main contribution is able to automatically generate a mask highlighting regions of the input image that need to be edited, by contrasting predictions of a diffusion model conditioned on different text prompts. Moreover, we rely on latent inference to preserve content in those regions of interest and show excellent synergies with mask-based diffusion. DiffEdit achieves state-of-the-art editing performance on ImageNet. In addition, we evaluate semantic image editing in more challenging settings, using images from the COCO dataset as well as text-based generated images.

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.

255 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 Diffusion Models Beat GANs on Image Synthesis
  • 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
  • NExT-GPT: Any-to-Any Multimodal LLM cites High-Resolution Image Synthesis with Latent Diffusion Models
  • NExT-GPT: Any-to-Any Multimodal LLM cites Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
  • NExT-GPT: Any-to-Any Multimodal LLM cites Learning Transferable Visual Models From Natural Language Supervision
  • VideoComposer: Compositional Video Synthesis with Motion Controllability cites High-Resolution Image Synthesis with Latent Diffusion Models
  • VideoComposer: Compositional Video Synthesis with Motion Controllability cites Learning Transferable Visual Models From Natural Language Supervision
  • VideoComposer: Compositional Video Synthesis with Motion Controllability cites Denoising Diffusion Probabilistic Models
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • FateZero: Fusing Attentions for Zero-shot Text-based Video Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
  • FateZero: Fusing Attentions for Zero-shot Text-based Video Editing cites Diffusion Models Beat GANs on Image Synthesis
  • FateZero: Fusing Attentions for Zero-shot Text-based Video Editing cites Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
  • FateZero: Fusing Attentions for Zero-shot Text-based Video Editing cites Denoising Diffusion Probabilistic Models
  • FateZero: Fusing Attentions for Zero-shot Text-based Video Editing cites Denoising Diffusion Implicit Models
  • Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites Denoising Diffusion Probabilistic Models
  • Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation cites Denoising Diffusion Implicit Models
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers255

  1. Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video GenerationJay Zhangjie Wu, Yixiao Ge, Xintao Wang, Stan Weixian Lei et al.ICCV 2023 · 1,113 citations
  2. NExT-GPT: Any-to-Any Multimodal LLMShengqiong Wu, Hao Fei, Leigang Qu, Wei Ji et al.ICML 2024 · 786 citations
  3. VideoComposer: Compositional Video Synthesis with Motion ControllabilityXiang Wang, Hangjie Yuan, Shiwei Zhang, Dayou Chen et al.NeurIPS 2023 · 579 citations
  4. FateZero: Fusing Attentions for Zero-shot Text-based Video EditingChenyang Qi, Xiaodong Cun, Yong Zhang, Chenyang Lei et al.ICCV 2023 · 510 citations
  5. Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion ModelsHila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf et al.SIGGRAPH 2023 · 438 citations

Builds on30

  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. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. An Item Is Worth a Prompt: Versatile Image Editing with Disentangled ControlAosong Feng, Weikang Qiu, Jinbin Bai, Zhen Dong et al.AAAI 2025 · 9 citations
  2. Prompt Tuning Inversion for Text-Driven Image Editing Using Diffusion ModelsWenkai Dong, Song Xue, Xiaoyue Duan, Shumin HanICCV 2023 · 104 citations
  3. Towards Efficient Diffusion-Based Image Editing with Instant Attention MasksSiyu Zou, Jiji Tang, Yiyi Zhou, Jing He et al.AAAI 2024 · 24 citations
  4. Accelerating Text-to-Image Editing via Cache-Enabled Sparse Diffusion InferenceZihao Yu, Haoyang Li, Fangcheng Fu, Xupeng Miao et al.AAAI 2024 · 19 citations
  5. AdapEdit: Spatio-Temporal Guided Adaptive Editing Algorithm for Text-Based Continuity-Sensitive Image EditingZhiyuan Ma, Guoli Jia, Bowen ZhouAAAI 2024 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines