2025-08-12 · 专家 · 计算机视觉

Follow-Your-Shape: Shape-Aware Image Editing via Trajectory-Guided Region Control

本文提出了一种名为 Follow-Your-Shape 的无需训练、无需掩码的图像编辑框架,通过轨迹引导区域控制实现精确的形状感知图像编辑,并在新的基准测试 ReShapeBench 上取得了最先进的性能。

更新于 2025-08-13。作者:Zeqian Long、Mingzhe Zheng、Kunyu Feng、Xinhua Zhang、Hongyu Liu、Harry Yang、Linfeng Zhang、Qifeng Chen、Yue Ma。

中文摘要

虽然最近基于流的图像编辑模型在各种任务中展现出通用能力,但它们往往难以胜任具有挑战性的场景——尤其是在涉及大规模形状变换的场景。进行此类结构编辑时,这些方法要么无法实现预期的形状变化,要么无意中改变非目标区域,导致背景质量下降。我们提出了一种名为 Follow-Your-Shape 的免训练、免掩码框架,它支持对物体形状进行精确且可控的编辑,同时严格保留非目标内容。基于反演和编辑轨迹之间的差异,我们通过比较反演和去噪路径的逐标记速度差异来计算轨迹差异图 (TDM)。TDM 能够精确定位可编辑区域,并指导一种定时 KV 注射机制,以确保编辑的稳定性和保真度。为了促进严格的评估,我们引入了 ReShapeBench,这是一个新的基准,包含 120 张新图像和丰富的提示对,专门为形状感知编辑而策划。实验表明,我们的方法在需要大规模形状替换的任务中实现了优越的可编辑性和视觉保真度。

英文摘要

While recent flow-based image editing models demonstrate general-purpose capabilities across diverse tasks, they often struggle to specialize in challenging scenarios -- particularly those involving large-scale shape transformations. When performing such structural edits, these methods either fail to achieve the intended shape change or inadvertently alter non-target regions, resulting in degraded background quality. We propose Follow-Your-Shape, a training-free and mask-free framework that supports precise and controllable editing of object shapes while strictly preserving non-target content. Motivated by the divergence between inversion and editing trajectories, we compute a Trajectory Divergence Map (TDM) by comparing token-wise velocity differences between the inversion and denoising paths. The TDM enables precise localization of editable regions and guides a Scheduled KV Injection mechanism that ensures stable and faithful editing. To facilitate a rigorous evaluation, we introduce ReShapeBench, a new benchmark comprising 120 new images and enriched prompt pairs specifically curated for shape-aware editing. Experiments demonstrate that our method achieves superior editability and visual fidelity, particularly in tasks requiring large-scale shape replacement.

解读

一句话总结

本文提出了一种名为 Follow-Your-Shape 的无需训练、无需掩码的图像编辑框架,通过轨迹引导区域控制实现精确的形状感知图像编辑,并在新的基准测试 ReShapeBench 上取得了最先进的性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源