SingleInsert:从单张图像向文本到图像模型中插入新概念以实现灵活编辑
SingleInsert: Inserting New Concepts from a Single Image into Text-to-Image Models for Flexible Editing
AI总结:
针对单图像I2T反演中前景背景纠缠问题,提出SingleInsert两阶段方法,实现高保真单概念生成与灵活编辑,并引入ESR指标评估。
摘要:
近期文本到图像(T2I)模型的进展使得通过灵活的文本控制生成高质量图像成为可能。为了利用现成T2I模型中丰富的视觉先验,一系列方法尝试将图像反演为与T2I模型语义空间对齐的适当嵌入。然而,这些图像到文本(I2T)反演方法通常需要包含相同概念的多个源图像,或者在编辑灵活性与视觉保真度之间难以平衡。在这项工作中,我们指出关键问题在于学习预期概念时前景与背景的纠缠,并提出了一种简单有效的单图像I2T反演基线方法,名为SingleInsert。SingleInsert采用两阶段方案。在第一阶段,我们调节学习到的嵌入,使其集中于前景区域而不与无关背景相关联。在第二阶段,我们微调T2I模型以获得更好的视觉相似性,并设计了一种语义损失以防止语言漂移问题。借助所提出的技术,SingleInsert在单概念生成中表现出色,具有高视觉保真度,同时允许灵活编辑。此外,SingleInsert无需联合训练即可执行单图像新视角合成和多概念组合。为便于评估,我们设计了一个编辑提示列表,并引入了一个名为编辑成功率(ESR)的指标,用于定量评估编辑灵活性。我们的项目页面为:https://jarrentwu1031.github.io/SingleInsert-web/
英文摘要:
Recent progress in text-to-image (T2I) models enables high-quality image generation with flexible textual control. To utilize the abundant visual priors in the off-the-shelf T2I models, a series of methods try to invert an image to proper embedding that aligns with the semantic space of the T2I model. However, these image-to-text (I2T) inversion methods typically need multiple source images containing the same concept or struggle with the imbalance between editing flexibility and visual fidelity. In this work, we point out that the critical problem lies in the foreground-background entanglement when learning an intended concept, and propose a simple and effective baseline for single-image I2T inversion, named SingleInsert. SingleInsert adopts a two-stage scheme. In the first stage, we regulate the learned embedding to concentrate on the foreground area without being associated with the irrelevant background. In the second stage, we finetune the T2I model for better visual resemblance and devise a semantic loss to prevent the language drift problem. With the proposed techniques, SingleInsert excels in single concept generation with high visual fidelity while allowing flexible editing. Additionally, SingleInsert can perform single-image novel view synthesis and multiple concepts composition without requiring joint training. To facilitate evaluation, we design an editing prompt list and introduce a metric named Editing Success Rate (ESR) for quantitative assessment of editing flexibility. Our project page is: https://jarrentwu1031.github.io/SingleInsert-web/
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。