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

Zihan Zhou, Shilin Lu, Shuli Leng, Shaocong Zhang, Zhuming Lian +2 more
10/2/2025
cs.CVcs.AIcs.LG

Official code: Edennnnnnnnnn/DragFlow (192 stars, last commit 2026-03-04).

Abstract

Drag-based image editing has long suffered from distortions in the target region, largely because the priors of earlier base models, Stable Diffusion, are insufficient to project optimized latents back onto the natural image manifold. With the shift from UNet-based DDPMs to more scalable DiT with flow matching (e.g., SD3.5, FLUX), generative priors have become significantly stronger, enabling advances across diverse editing tasks. However, drag-based editing has yet to benefit from these stronger priors. This work proposes the first framework to effectively harness FLUX's rich prior for drag-based editing, dubbed DragFlow, achieving substantial gains over baselines. We first show that directly applying point-based drag editing to DiTs performs poorly: unlike the highly compressed features of UNets, DiT features are insufficiently structured to provide reliable guidance for point-wise motion supervision. To overcome this limitation, DragFlow introduces a region-based editing paradigm, where affine transformations enable richer and more consistent feature supervision. Additionally, we integrate pretrained open-domain personalization adapters (e.g., IP-Adapter) to enhance subject consistency, while preserving background fidelity through gradient mask-based hard constraints. Multimodal large language models (MLLMs) are further employed to resolve task ambiguities. For evaluation, we curate a novel Region-based Dragging benchmark (ReD Bench) featuring region-level dragging instructions. Extensive experiments on DragBench-DR and ReD Bench show that DragFlow surpasses both point-based and region-based baselines, setting a new state-of-the-art in drag-based image editing. Code and datasets will be publicly available upon publication.

View on arXivView PDF

Code Implementations(1)

[ICLR 2026] "DragFlow: Unleashing DiT Priors with Region Based Supervision for Drag Editing" (Official Implementation)

1920PythonFeb 21, 20267 months agoNOASSERTION

Similar Papers

Cite this paper

@article{zhou2025dragflow,
  title  = {DragFlow: Unleashing DiT Priors with Region Based Supervision for Drag Editing},
  author = {Zihan Zhou and Shilin Lu and Shuli Leng and Shaocong Zhang and Zhuming Lian and Xinlei Yu and Adams Wai-Kin Kong},
  year   = {2025},
  eprint = {2510.02253},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.02253v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.02253.svg)](https://codeofpaper.com/paper/2510.02253)

Discussion