Introduction
Interactive, point-based image editing—where a user clicks a "handle" point and drags it to a "target" point to deform or move objects—was popularized by DragGAN. However, DragGAN is built on Generative Adversarial Networks (GANs), which suffer from limited capacity (often restricted to specific categories like faces) and difficulty in "inversion" (faithfully recreating a real-world image within the model's latent space).
Diffusion models, such as Stable Diffusion, offer immense generative power and generalizability but are notoriously difficult to control with surgical precision. Most diffusion editing relies on text prompts, which lack the granularity for tasks like minor spatial adjustments. DragDiffusion bridges this gap, bringing the precision of point-based dragging to the versatility of diffusion models.
Methodology
The authors propose a three-stage pipeline to enable precise "dragging" within a diffusion framework.
- Identity-Preserving Fine-tuning: To ensure the model retains the specific details of the input image, a brief (80-step) fine-tuning process is performed using LoRA (Low-Rank Adaptation). This process "bakes" the image's identity into the UNet in approximately 25 seconds.
- Latent Optimization: Rather than optimizing across all diffusion timesteps, the authors identified a "sweet spot" at $t=35$. UNet features at this mid-range timestep contain an ideal balance of semantic and geometric information. The latent is optimized at this specific step to move handle points toward targets using a motion supervision loss.
- Reference-Latent-Control: To prevent image drift or blurring during reconstruction, a modified attention mechanism is used. During denoising, the Key (K) and Value (V) vectors in self-attention layers are replaced with those from the original image's latent, ensuring appearance consistency while the Query (Q) vector follows the new optimized geometry.
The DRAGBENCH Benchmark
To evaluate performance, the paper introduces DRAGBENCH, the first comprehensive benchmark for interactive point-based editing. It consists of 205 images with 349 pairs of handle/target points across 10 diverse categories, including animals, art, buildings, humans, and landscapes. The dataset includes both real-world images and AI-generated content to test a wide range of styles and complexities.
Results and Discussion
DragDiffusion significantly outperforms DragGAN on the DRAGBENCH dataset in both quantitative and qualitative measures. Quantitatively, it achieves higher Image Fidelity (IF) and lower Mean Distance (MD), indicating better identity preservation and more accurate point tracking.
Qualitatively, the model excels in complex scenarios where GANs typically fail, such as multi-object scenes, artistic styles like oil paintings, and intricate backgrounds. It can even perform "content filling," such as generating realistic water textures when a pool is dragged to a larger size. On an A100 GPU, the entire process—from fine-tuning to final denoising—takes roughly 40–60 seconds.
Limitations and Future Work
While effective, DragDiffusion faces challenges with extreme deformations where point-tracking can fail, leading to "ghosting." Additionally, while faster than many diffusion editors, it is not yet as instantaneous as DragGAN. Future work aims to improve tracking robustness and further optimize the speed of the latent optimization stage to enhance interactivity.
Summary updated