2025-03-18 · 专家 · 机器学习 · 计算机视觉

Edit Transfer: Learning Image Editing via Vision In-Context Relations

这篇论文提出了一个名为“编辑转移”的新任务,通过学习少量源-目标编辑示例,将编辑操作应用于新的查询图像,实现了对复杂非刚性变换的有效处理。

更新于 2025-03-18。作者:Lan Chen、Qi Mao、Yuchao Gu、Mike Zheng Shou。

中文摘要

我们引入了一种新的设置,称为“编辑迁移”,其中模型仅从单个源目标示例中学习一种转换,并将其应用于新的查询图像。尽管基于文本的方法擅长通过文本提示进行语义操作,但它们往往在精确的几何细节(例如姿态和视点变化)方面遇到困难。另一方面,基于参考的编辑通常专注于样式或外观,但在非刚性变换方面表现不佳。通过明确从源目标对中学习编辑转换,编辑迁移缓解了仅基于文本和以外观为中心的参考的限制。从大型语言模型中的上下文学习中获得灵感,我们提出了一种基于视觉关系的上下文学习范式,该范式建立在基于DiT的文本到图像模型之上。我们将编辑示例和查询图像排列成一个统一的四面板组合,然后应用轻量级的LoRA微调来捕捉从最少示例中复杂的空间变换。尽管仅使用42个训练样本,编辑迁移在多种非刚性场景上显著优于最先进的TIE和RIE方法,证明了少量样本视觉关系学习的效果。

英文摘要

We introduce a new setting, Edit Transfer, where a model learns a transformation from just a single source-target example and applies it to a new query image. While text-based methods excel at semantic manipulations through textual prompts, they often struggle with precise geometric details (e.g., poses and viewpoint changes). Reference-based editing, on the other hand, typically focuses on style or appearance and fails at non-rigid transformations. By explicitly learning the editing transformation from a source-target pair, Edit Transfer mitigates the limitations of both text-only and appearance-centric references. Drawing inspiration from in-context learning in large language models, we propose a visual relation in-context learning paradigm, building upon a DiT-based text-to-image model. We arrange the edited example and the query image into a unified four-panel composite, then apply lightweight LoRA fine-tuning to capture complex spatial transformations from minimal examples. Despite using only 42 training samples, Edit Transfer substantially outperforms state-of-the-art TIE and RIE methods on diverse non-rigid scenarios, demonstrating the effectiveness of few-shot visual relation learning.

解读

一句话总结

这篇论文提出了一个名为“编辑转移”的新任务,通过学习少量源-目标编辑示例,将编辑操作应用于新的查询图像,实现了对复杂非刚性变换的有效处理。

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

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

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

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

来源