arXiv:2411.19156cs.CV2024-11被引 5

用一张前后图生成可复用的编辑参数,让图像修改更精准。

LoRA of Change: Learning to Generate LoRA for the Editing Instruction from A Single Before-After Image Pair

  • 基于前后图动态生成专用的LoRA编辑参数
  • 仅需成对图像即可训练,无需额外查询与目标图
  • 支持多样真实场景的视觉指令编辑,效果稳定

本文提出一种名为LoRA of Change(LoC)的图像编辑框架,通过视觉指令(即前后图像对)实现精准编辑。相比自然语言指令存在的歧义与理解差异,视觉指令能更准确表达用户意图。受文本图像编辑中LoRA方法的启发,我们动态学习一个针对具体指令的LoRA,以编码前后图像之间的“变化”,提升模型可解释性与复用性。现有通用视觉指令编辑模型通常需要四元组数据(前图、后图、查询图、目标图),因数据稀缺导致适用范围受限。为此,我们提出LoRA Reverse优化技术,仅使用成对图像即可进行大规模训练。大量定性与定量实验表明,该模型能生成高质量、符合用户意图的图像,支持广泛的真实世界视觉指令。

原文摘要 · Abstract (English)

In this paper, we propose the LoRA of Change (LoC) framework for image editing with visual instructions, i.e., before-after image pairs. Compared to the ambiguities, insufficient specificity, and diverse interpretations of natural language, visual instructions can accurately reflect users' intent. Building on the success of LoRA in text-based image editing and generation, we dynamically learn an instruction-specific LoRA to encode the "change" in a before-after image pair, enhancing the interpretability and reusability of our model. Furthermore, generalizable models for image editing with visual instructions typically require quad data, i.e., a before-after image pair, along with query and target images. Due to the scarcity of such quad data, existing models are limited to a narrow range of visual instructions. To overcome this limitation, we introduce the LoRA Reverse optimization technique, enabling large-scale training with paired data alone. Extensive qualitative and quantitative experiments demonstrate that our model produces high-quality images that align with user intent and support a broad spectrum of real-world visual instructions.

图像编辑LoRA视觉指令

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。