arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01507cs.CV
收藏

使用双文本嵌入进行文本到图像合成的端到端训练

End-to-end Training for Text-to-Image Synthesis using Dual-Text Embeddings

Indian Institute of Technology Madras(马德拉斯印度理工学院)

Yeruru Asrar Ahmed, Anurag Mittal

AI总结:

本文提出端到端训练专用于文本到图像合成的双文本嵌入,结合生成式与对比式训练分别优化照片真实感和文本图像对齐,在三个基准数据集上验证其优于共享嵌入及预训练判别式文本表示,并可用于文本到图像操作。

摘要:

文本到图像(T2I)合成是一项具有挑战性的任务,需要建模文本和图像两种模态之间的复杂交互。近期最先进方法中采用的一种常见框架是,利用通过对比损失训练得到的、与图像对齐的预训练文本嵌入来引导学习过程。此外,这些嵌入通常是通用训练的,并在各种合成模型中被重复使用。与此不同,我们探索了一种专门为T2I合成网络定制文本嵌入的方法,并以端到端方式进行训练。进一步地,我们结合了生成式训练和对比式训练,并使用两种嵌入:一种经过优化以增强生成图像的照片真实感,另一种则致力于捕捉文本到图像的对齐关系。在三个文本到图像基准数据集(Oxford-102、Caltech-UCSD和MS-COCO)上的全面实验表明,使用两个独立的嵌入比使用共享嵌入能获得更好的结果,并且与使用通过判别式方法训练的预训练文本编码器所得到的文本表示的方法相比,该方法表现良好。最后,我们证明这种学习到的嵌入也可以用于其他场景,例如文本到图像操作。

英文摘要:

Text-to-Image (T2I) synthesis is a challenging task that requires modeling complex interactions between two modalities ( i.e., text and image). A common framework adopted in recent state-of-the-art approaches to achieving such multimodal interactions is to bootstrap the learning process with pre-trained image-aligned text embeddings trained using contrastive loss. Furthermore, these embeddings are typically trained generically and reused across various synthesis models. In contrast, we explore an approach to learning text embeddings specifically tailored to the T2I synthesis network, trained in an end-to-end fashion. Further, we combine generative and contrastive training and use two embeddings, one optimized to enhance the photo-realism of the generated images, and the other seeking to capture text-to-image alignment. A comprehensive set of experiments on three text-to-image benchmark datasets (Oxford-102, Caltech-UCSD, and MS-COCO) reveal that having two separate embeddings gives better results than using a shared one and that such an approach performs favourably in comparison with methods that use text representations from a pre-trained text encoder trained using a discriminative approach. Finally, we demonstrate that such learned embeddings can be used in other contexts as well, such as text-to-image manipulation.

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

↑