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

Getting it Right:改进文本到图像模型的空间一致性

Getting it Right: Improving Spatial Consistency in Text-to-Image Models

Arizona State University(亚利桑那州立大学);Intel Labs(英特尔实验室);Hugging Face;University of Washington(华盛顿大学);University of Maryland, Baltimore County(马里兰大学巴尔的摩郡分校)

Agneet Chatterjee, Gabriela Ben Melech Stan, Estelle Aflalo, Sayak Paul, Dhruba Ghosh, Tejas Gokhale, Ludwig Schmidt, Hannaneh Hajishirzi, Vasudev Lal, Chitta Baral, Yezhou Yang

AI总结:

针对文本到图像模型难以遵循提示中空间关系的问题,本文构建大规模空间导向数据集SPRIGHT,并通过少量微调显著提升空间准确性、FID/CMMD及T2I-CompBench表现。

摘要:

当前文本到图像(T2I)模型的关键缺陷之一,是它们无法稳定生成忠实地遵循文本提示中所指定空间关系的图像。在本文中,我们对这一局限进行了全面研究,同时开发了支持算法解决方案的数据集和方法,以改进T2I模型中的空间推理。我们发现,在当前视觉-语言数据集中的图像描述里,空间关系的代表性不足。为缓解这一数据瓶颈,我们创建了SPRIGHT,这是首个以空间为重点的大规模数据集;其构建方式是对来自4个广泛使用的视觉数据集的600万张图像重新生成描述。通过一个包含三个环节的评估与分析流程,我们表明SPRIGHT提高了现有数据集中空间关系的占比。我们证明了SPRIGHT数据的有效性:仅使用约0.25%的SPRIGHT数据,就能使生成空间准确图像的效果提升22%,同时改善FID和CMMD分数。我们还发现,使用包含更多对象的图像进行训练会带来空间一致性的显著提升,包括在少于500张图像上进行微调后,在T2I-CompBench上取得0.2133的空间分数这一当前最优结果。通过一系列受控实验和消融研究,我们记录了额外发现,这些发现可支持未来旨在理解影响文本到图像模型空间一致性因素的工作。

英文摘要:

One of the key shortcomings in current text-to-image (T2I) models is their inability to consistently generate images which faithfully follow the spatial relationships specified in the text prompt. In this paper, we offer a comprehensive investigation of this limitation, while also developing datasets and methods that support algorithmic solutions to improve spatial reasoning in T2I models. We find that spatial relationships are under-represented in the image descriptions found in current vision-language datasets. To alleviate this data bottleneck, we create SPRIGHT, the first spatially focused, large-scale dataset, by re-captioning 6 million images from 4 widely used vision datasets and through a 3-fold evaluation and analysis pipeline, show that SPRIGHT improves the proportion of spatial relationships in existing datasets. We show the efficacy of SPRIGHT data by showing that using only $\sim$0.25% of SPRIGHT results in a 22% improvement in generating spatially accurate images while also improving FID and CMMD scores. We also find that training on images containing a larger number of objects leads to substantial improvements in spatial consistency, including state-of-the-art results on T2I-CompBench with a spatial score of 0.2133, by fine-tuning on <500 images. Through a set of controlled experiments and ablations, we document additional findings that could support future work that seeks to understand factors that affect spatial consistency in text-to-image models.

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

↑