arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.16530cs.CVcs.AI
收藏

一种中间融合ViT在扩散模型中实现高效的文本-图像对齐

An Intermediate Fusion ViT Enables Efficient Text-Image Alignment in Diffusion Models

University of Southern California(南加州大学)

Zizhao Hu, Shaochong Jia, Mohammad Rostami

AI总结:

针对扩散模型中视觉与语言高级语义对齐不足的问题,提出一种用于U形ViT的中间融合机制。该方法通过减少低秩注意力计算,在提升文本到图像生成质量与对齐效果的同时,显著提高了训练和推理效率。

摘要:

扩散模型已被广泛应用于条件数据跨模态生成任务,如文本到图像和文本到视频。然而,最先进的模型仍然无法将生成的视觉概念与语言中的高级语义(如对象计数、空间关系等)进行对齐。我们从多模态数据融合的角度来解决这个问题,并研究不同的融合策略如何影响视觉-语言对齐。我们发现,与在预训练图像特征空间中广泛使用的条件文本早期融合相比,一种专门设计的中间融合可以:(i)通过提高生成质量来提升文本到图像的对齐;(ii)通过减少低秩文本到图像的注意力计算来提高训练和推理效率。我们在MS-COCO数据集上使用文本到图像生成任务进行实验。我们在U形ViT骨干网络上将我们的中间融合机制与经典的早期融合机制在两种常见条件方法上进行了比较。与采用早期融合的强大U-ViT基线相比,我们的中间融合模型实现了更高的CLIP Score和更低的FID,FLOPs减少了20%,训练速度提高了50%。

英文摘要:

Diffusion models have been widely used for conditional data cross-modal generation tasks such as text-to-image and text-to-video. However, state-of-the-art models still fail to align the generated visual concepts with high-level semantics in a language such as object count, spatial relationship, etc. We approach this problem from a multimodal data fusion perspective and investigate how different fusion strategies can affect vision-language alignment. We discover that compared to the widely used early fusion of conditioning text in a pretrained image feature space, a specially designed intermediate fusion can: (i) boost text-to-image alignment with improved generation quality and (ii) improve training and inference efficiency by reducing low-rank text-to-image attention calculations. We perform experiments using a text-to-image generation task on the MS-COCO dataset. We compare our intermediate fusion mechanism with the classic early fusion mechanism on two common conditioning methods on a U-shaped ViT backbone. Our intermediate fusion model achieves a higher CLIP Score and lower FID, with 20% reduced FLOPs, and 50% increased training speed compared to a strong U-ViT baseline with an early fusion.

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

↑