NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag Editing

Zihan Zhou, Shilin Lu, Shuli Leng, Shaocong Zhang, Zhuming Lian, Xinlei Yu, Adams Wai-Kin Kong

Interactive "drag-based" image editing—where a user clicks a point on an image and pulls it to a new location—has long felt like magic. However, as generative models have evolved from classic UNet-based architectures (like Stable Diffusion) to more powerful Diffusion Transformers (DiTs) like FLUX, this magic has started to break down.

DragFlow introduces a novel region-based framework that successfully adapts drag-based editing for the DiT era. By shifting from sparse point-based supervision to region-level affine transformations, DragFlow unleashes the high-fidelity priors of DiTs for seamless, distortion-free image manipulation.

Comparison of point-based and region-based drag editing methods.

The Granularity Gap: Why Point-Dragging Fails on DiTs

Most existing drag-editing tools, such as DragGAN or DragDiffusion, rely on point-based supervision. A user picks a "handle point" and a "target point," and the model optimizes the image's latent representation to move the handle to the target.

This approach worked reasonably well on older UNet models because their internal features are highly compressed and "semantic"—moving one pixel effectively moved the entire associated object. However, modern DiTs like FLUX possess much finer-grained, spatially precise features. When attempting to "drag" a single point in a DiT, the supervision is simply too sparse. The model lacks the structural context to move the object coherently, often resulting in ugly distortions, "melting" artifacts, or a failure to move the object at all.

Furthermore, modern models are often CFG-distilled to optimize for speed and prompt adherence. While beneficial for generation, this distillation makes them prone to "inversion drift," where the edited image loses the identity and fine details of the original subject.

The DragFlow Solution

To overcome these limitations, DragFlow replaces the traditional "point-and-pull" approach with a robust region-based paradigm.

The DragFlow architecture featuring MLLM intent parsing and region-based DiT optimization.

DragFlow's architecture relies on four core pillars:

  1. Region-Level Affine Supervision: Instead of supervising a single point, DragFlow uses a mask to define a source region. It then applies affine transformations (translation, rotation, and scaling) to propagate that mask toward the target. This provides the DiT with a holistic signal, ensuring the entire object moves as a cohesive structural unit.
  2. Hard Background Constraints: Rather than relying on a "soft" loss function to keep the background stationary, DragFlow employs a gradient mask. This effectively freezes the pixels outside the edit zone during optimization, guaranteeing that the background remains 100% identical to the original image.
  3. Adapter-Enhanced Inversion: To combat identity loss and inversion drift, the framework integrates pretrained personalization adapters (such as IP-Adapter). These act as an anchor for the subject's identity, ensuring that structural edits (like moving a person's arm) do not alter their recognizable features.
  4. MLLM Intent Parsing: DragFlow utilizes a Multimodal Large Language Model (MLLM) to interpret user scribbles and inputs. If a user draws an arrow on a bird's beak, the MLLM identifies the specific task intent—such as "rotation" or "deformation"—and generates a precise text prompt to guide the diffusion process accordingly.

Datasets and Key Results

To rigorously evaluate complex, non-rigid dragging tasks, the researchers curated a novel benchmark: ReD Bench (Region-based Dragging Benchmark). Featuring 120 images with precise region-level annotations, task tags, and intent descriptions, it provides a much-needed testbed for modern drag editing. The model was also evaluated on an adapted version of the existing DragBench-DR.

DragFlow sets a new State-of-the-Art (SOTA) across both benchmarks:

  • Superior Accuracy: On the ReD Bench, DragFlow achieved a Mean Distance (MD) of 19.46, significantly outperforming the next best baseline, GoodDrag (20.38), and vastly exceeding point-based methods like DragLoRA (26.04).
  • High Image Fidelity: DragFlow achieved the highest scores for transferring source content to the target region while perfectly maintaining background integrity.
  • Qualitative Success: In side-by-side comparisons, DragFlow was uniquely capable of handling complex rotations without creating artifacting, blurred textures, or "double" objects.

Limitations and Future Directions

While DragFlow represents a massive leap forward for DiT-based editing, it is not without limitations. Because it leverages the massive 12-billion parameter FLUX.1-dev model, it is computationally expensive. It requires a high-end GPU (24GB+ VRAM) and takes approximately 158 seconds per edit, making it slower than "instant" copy-paste methods. Additionally, highly intricate structures (like fine lace) can still occasionally lose detail during the inversion process.

Future work will likely focus on optimizing the computational efficiency of DiT architectures to bring edit times down to seconds, as well as exploring superpixel segmentation to fully automate mask creation.

Summary updated

BibTeX
@inproceedings{zhou2026dragflow,
  author = {Zihan Zhou and Shilin Lu and Shuli Leng and Shaocong Zhang and Zhuming Lian and Xinlei Yu and Adams Wai-Kin Kong},
  title = {{DragFlow: Unleashing DiT Priors with Region-Based Supervision for Drag Editing}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Zhckizkww1},
}
Figure