arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.03495cs.CVcs.LG
收藏

通过扩散桥为图像编辑文本化视觉提示

Textualize Visual Prompt for Image Editing via Diffusion Bridge

Western University(西安大略大学);VIVO(维沃公司);Xidian University(西安电子科技大学)

Pengcheng Xu, Qingnan Fan, Fei Kou, Shuai Qin, Hong Gu, Ruoyu Zhao, Charles Ling, Boyu Wang

AI总结:

提出一种基于任意单一文本到图像模型的扩散桥框架,通过概率流常微分方程构建扩散桥并引入差分注意力控制,将视觉提示自适应文本化为文本嵌入,实现高泛化、高保真的精细图像编辑。

摘要:

视觉提示是一对编辑前后的图像,能够传达难以言表的图像变换并在图像编辑中蓬勃发展。然而,当前的视觉提示方法依赖于预训练的文本引导图像到图像生成模型,该模型需要文本、前后图像构成的三元组,以便在文本到图像模型上进行重新训练。这种制作三元组和重新训练的过程限制了编辑的可扩展性和泛化能力。在本文中,我们提出了一种基于任意单一文本到图像模型的框架,而无需依赖显式的图像到图像模型,从而增强了泛化能力和可扩展性。具体而言,通过利用概率流常微分方程,我们构建了一个扩散桥,在文本引导下传输前后图像之间的分布。通过该桥优化文本,该框架将视觉提示传达的编辑变换自适应地文本化为文本嵌入,无需其他模型。同时,我们在文本优化过程中引入了差分注意力控制,将文本嵌入从前后的不变性中解耦,使其仅捕获精细的变换并泛化以编辑各种图像。在真实图像上的实验验证了仅使用一对图像作为视觉提示时,在泛化性、上下文连贯性和精细编辑的高保真度方面取得了具有竞争力的结果。

英文摘要:

Visual prompt, a pair of before-and-after edited images, can convey indescribable imagery transformations and prosper in image editing. However, current visual prompt methods rely on a pretrained text-guided image-to-image generative model that requires a triplet of text, before, and after images for retraining over a text-to-image model. Such crafting triplets and retraining processes limit the scalability and generalization of editing. In this paper, we present a framework based on any single text-to-image model without reliance on the explicit image-to-image model thus enhancing the generalizability and scalability. Specifically, by leveraging the probability-flow ordinary equation, we construct a diffusion bridge to transfer the distribution between before-and-after images under the text guidance. By optimizing the text via the bridge, the framework adaptively textualizes the editing transformation conveyed by visual prompts into text embeddings without other models. Meanwhile, we introduce differential attention control during text optimization, which disentangles the text embedding from the invariance of the before-and-after images and makes it solely capture the delicate transformation and generalize to edit various images. Experiments on real images validate competitive results on the generalization, contextual coherence, and high fidelity for delicate editing with just one image pair as the visual prompt.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑