arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.07883cs.CV
收藏

一个模型来编辑它们:具有语义调制的自由形式文本驱动的图像操作

One Model to Edit Them All: Free-Form Text-Driven Image Manipulation with Semantic Modulations

Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Hong Kong University of Science and Technology(香港科技大学);Tencent AI Lab(腾讯人工智能实验室);Huya Inc(虎牙公司)

Yiming Zhu, Hongyu Liu, Yibing Song, ziyang Yuan, Xintong Han, Chun Yuan, Qifeng Chen, Jue Wang

摘要:

自由形式的文本提示允许用户在图像操作期间方便地描述他们的意图。基于StyleGAN[21]的视觉潜在空间和CLIP[34]的文本嵌入空间,研究重点是如何映射这两个潜在空间以进行文本驱动的属性操作。目前,这两个空间之间的潜在映射是经验设计的,并限制了每个操作模型只能处理一个固定的文本提示。在本文中,我们提出了一种方法命名为自由形式剪辑(FFCLIP),旨在建立一个自动的潜在映射,使一个操作模型处理自由形式的文本提示。我们的FFCLIP有一个跨模态语义调制模块,包含语义对齐和注入。语义对齐通过具有交叉注意力机制的线性变换来执行自动潜在映射。对齐后,我们将文本提示符嵌入的语义注入StyleGAN潜在空间。对于一种类型的图像(例如,“human portrait”),可以学习一个FFCLIP模型来处理自由形式的文本提示。同时,我们观察到,虽然每个训练文本提示只包含一个单一的语义含义,FFCLIP可以利用文本提示与多个语义含义的图像操作。在实验中,我们对三种类型的图像(即,“人的肖像”,“汽车”和“教堂”)。视觉和数值结果表明,FFCLIP有效地产生语义准确和视觉逼真的图像。项目页面:https://github.com/KumapowerLIU/FFCLIP。

英文摘要:

Free-form text prompts allow users to describe their intentions during image manipulation conveniently. Based on the visual latent space of StyleGAN[21] and text embedding space of CLIP[34], studies focus on how to map these two latent spaces for text-driven attribute manipulations. Currently, the latent mapping between these two spaces is empirically designed and confines that each manipulation model can only handle one fixed text prompt. In this paper, we propose a method named Free-Form CLIP (FFCLIP), aiming to establish an automatic latent mapping so that one manipulation model handles free-form text prompts. Our FFCLIP has a cross-modality semantic modulation module containing semantic alignment and injection. The semantic alignment performs the automatic latent mapping via linear transformations with a cross attention mechanism. After alignment, we inject semantics from text prompt embeddings to the StyleGAN latent space. For one type of image (e.g., `human portrait'), one FFCLIP model can be learned to handle free-form text prompts. Meanwhile, we observe that although each training text prompt only contains a single semantic meaning, FFCLIP can leverage text prompts with multiple semantic meanings for image manipulation. In the experiments, we evaluate FFCLIP on three types of images (i.e., `human portraits', `cars', and `churches'). Both visual and numerical results show that FFCLIP effectively produces semantically accurate and visually realistic images. Project page: https://github.com/KumapowerLIU/FFCLIP.

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

↑