ThinkDrag:基于语义拖拽与视觉推理的图像编辑

·

研究论文 · 2026/10/12

基于拖拽的图像编辑通过允许用户指定手柄点和目标点,提供了一种直观的空间控制图像操作界面。现有方法通过基于优化、一步式和前馈式公式取得了实质性进展,但它们通常将拖拽指令解释为几何位移。当期望的编辑依赖于解释图像内容并从稀疏点约束推断合理的语义变换时,这限制了其有效性。我们引入了ThinkDrag,一个统一的基于拖拽的图像编辑与视觉推理的多模态框架。ThinkDrag被训练将点约束与有意义的对象和场景级变换相关联,并可选地生成显式推理轨迹,在图像生成前解释预期的编辑。该推理轨迹提高了可解释性,特别是对于模糊的拖拽。受跨图像注意力分析启发,拖拽端点标记提供了显式对应信号,将每个拖拽锚定在图像空间中。为支持该框架,我们构建了一个监督数据集,包含语义拖拽变换及推理轨迹,并引入了DragBench++,一个针对具有参考编辑解决方案的挑战性拖拽编辑场景的基准。实验表明,ThinkDrag达到了最先进的性能,提高了生成质量和合理性,同时保持了有竞争力的点跟随精度。

该论文通过引入视觉推理和显式推理轨迹,解决了现有拖拽编辑方法在语义理解上的不足,显著提升了编辑的合理性和可解释性,并提供了新的数据集和基准,推动了该领域的发展。

Drag-based image editing provides an intuitive interface for spatially controlled image manipulation by allowing users to specify handle and target points. Existing methods have made substantial progress through optimization-based, one-step, and feed-forward formulations, but they often interpret drag instructions as geometric displacements. This limits their effectiveness when the desired edit depends on interpreting image content and inferring a plausible semantic transformation from sparse point constraints. We introduce ThinkDrag, a unified multimodal framework for drag-based image editing with visual reasoning. ThinkDrag is trained to associate point constraints with meaningful object- and scene-level transformations, and can optionally produce an explicit reasoning trace that interprets the intended edit before image generation. This reasoning trace improves interpretability, particularly for ambiguous drags. Drag Endpoint Markers, motivated by an analysis of cross-image attention, provide an explicit correspondence signal that grounds each drag in image space. To support this framework, we construct a supervised dataset of semantic drag transformations paired with reasoning traces and introduce DragBench++, a benchmark targeting challenging drag-based editing scenarios with reference edit solutions. Experiments show that ThinkDrag achieves state-of-the-art performance, improving generation quality and plausibility while maintaining competitive point-following precision.

阅读原文

参与讨论