DragFlow: 通过基于区域的监督释放DiT先验以实现拖拽编辑
DragFlow: Unleashing DiT Priors with Region Based Supervision for Drag Editing
AI总结:
DragFlow通过基于区域的监督利用FLUX先验,改进基于拖拽的图像编辑效果,实现对点式和区域式基线的超越。
摘要:
基于拖拽的图像编辑长期以来一直受到目标区域失真问题的困扰,这主要是因为早期基础模型Stable Diffusion的先验不足,无法将优化后的潜在特征投影回自然图像流形。随着从基于UNet的DDPMs向更具扩展性的DiT(如SD3.5、FLUX)的转变,生成性先验已显著增强,从而在多样化的编辑任务中取得了进展。然而,基于拖拽的编辑仍未从这些更强的先验中受益。本文提出了第一个有效利用FLUX丰富先验进行基于拖拽编辑的框架,称为DragFlow,实现了对基线的显著提升。我们首先表明,直接将点基于的拖拽编辑应用于DiTs效果不佳:与UNet高度压缩的特征不同,DiT特征结构不够充分,无法为点式运动监督提供可靠的指导。为克服这一限制,DragFlow引入了基于区域的编辑范式,其中仿射变换能够提供更丰富且一致的特征监督。此外,我们整合了预训练的开放域个性化适配器(如IP-Adapter)以增强主体一致性,同时通过梯度掩码基于的硬约束保持背景保真度。进一步,多模态大语言模型(MLLMs)被用于解决任务歧义。在评估中,我们创建了一个新的基于区域的拖拽基准(ReD Bench),包含区域级拖拽指令。在DragBench-DR和ReD Bench上的广泛实验表明,DragFlow在基于拖拽的图像编辑中超越了点基于和区域基于的基线,设立了新的状态-of-the-art。代码和数据集可在https://github.com/Edennnnnnnnnn/DragFlow获取。
英文摘要:
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 dataset are available at https://github.com/Edennnnnnnnnn/DragFlow.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。