Skip to main content
QUICK REVIEW

[Paper Review] DragDiffusion: Harnessing Diffusion Models for Interactive Point-based Image Editing

Yujun Shi, Chuhui Xue|arXiv (Cornell University)|Jun 26, 2023
Generative Adversarial Networks and Image SynthesisComputer Science15 citations
TL;DR

DragDiffusion extends interactive point-based image editing to diffusion models, enabling precise, flexible edits by optimizing a single diffusion step latent, with identity preservation and a new DragBench benchmark.

ABSTRACT

Accurate and controllable image editing is a challenging task that has attracted significant attention recently. Notably, DragGAN is an interactive point-based image editing framework that achieves impressive editing results with pixel-level precision. However, due to its reliance on generative adversarial networks (GANs), its generality is limited by the capacity of pretrained GAN models. In this work, we extend this editing framework to diffusion models and propose a novel approach DragDiffusion. By harnessing large-scale pretrained diffusion models, we greatly enhance the applicability of interactive point-based editing on both real and diffusion-generated images. Our approach involves optimizing the diffusion latents to achieve precise spatial control. The supervision signal of this optimization process is from the diffusion model's UNet features, which are known to contain rich semantic and geometric information. Moreover, we introduce two additional techniques, namely LoRA fine-tuning and latent-MasaCtrl, to further preserve the identity of the original image. Lastly, we present a challenging benchmark dataset called DragBench -- the first benchmark to evaluate the performance of interactive point-based image editing methods. Experiments across a wide range of challenging cases (e.g., images with multiple objects, diverse object categories, various styles, etc.) demonstrate the versatility and generality of DragDiffusion. Code: https://github.com/Yujun-Shi/DragDiffusion.

Motivation & Objective

  • Motivate interactive point-based image editing with diffusion models to overcome GAN limitations.
  • Enable accurate and semantically coherent edits on real and diffusion-generated images.
  • Preserve image identity during editing while allowing region-specific modifications.

Proposed method

  • Fine-tune the diffusion model UNet with LoRA to preserve identity on the input image.
  • Invert the input image to a diffusion latent and optimize a single diffusion step latent to realize handle-to-target edits.
  • Apply DDIM denoising guided by a reference latent to maintain consistency and image quality.
  • Use motion supervision with a UNet feature-map-based loss and a masked regularization term to drive drag-based editing.
  • Track handle points across iterations using UNet feature maps to maintain correspondence during editing.
  • Introduce reference-latent-control by guiding the denoising process with the original latent features to improve identity coherence.

Experimental results

Research questions

  • RQ1Can diffusion models support precise, interactive point-based edits with the same drag-based paradigm as DragGAN?
  • RQ2What latent optimization strategy and supporting mechanisms (identity preservation, reference guidance) enable reliable edits across real and diffusion-generated images?
  • RQ3How does a diffusion-based editor compare to GAN-based DragGAN in terms of fidelity and accurate dragging across diverse image domains?
  • RQ4Does a dedicated benchmark (DragBench) reveal the strengths and limitations of diffusion-based interactive editing methods?

Key findings

  • DragDiffusion substantially improves editing versatility over DragGAN, including content filling, across real and diffusion-generated images.
  • Editing relies on optimizing a single diffusion-step latent rather than multiple steps, aided by PCA-based observations of UNet features.
  • Identity-preserving fine-tuning (LoRA) and reference-latent-control are crucial for maintaining image identity and editing coherence.
  • DragBench provides a diverse dataset and two metrics (Image Fidelity and Mean Distance) to quantify editing performance.
  • Ablation shows optimal inversion step range (t in [30,40]) and that 80 identity-preserving fine-tuning steps balance performance and efficiency.
  • Using UNet features from deeper blocks improves fidelity while very high-level features may hurt precise spatial control.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.