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

通过自动提示优化提升文本到图像的一致性

Improving Text-to-Image Consistency via Automatic Prompt Optimization

FAIR at Meta(Meta FAIR研究院);Mila(米拉计算科学研究所);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学)

Oscar Mañas, Pietro Astolfi, Melissa Hall, Candace Ross, Jack Urbanek, Adina Williams, Aishwarya Agrawal, Adriana Romero-Soriano, Michal Drozdzal

AI总结:

提出基于提示的T2I优化框架OPT2I,利用LLM迭代优化提示以提升文本到图像的一致性,在MSCOCO和PartiPrompts上验证可将一致性得分提升24.9%。

摘要:

文本到图像(T2I)生成模型的显著进展催生了大量高性能模型,这些模型能够生成美观且逼真的图像。尽管取得了进步,这些模型在生成与输入提示一致的图像时仍面临困难,常常无法准确捕捉对象数量、关系和属性。现有提升提示-图像一致性的解决方案存在以下挑战:(1)通常需要模型微调,(2)仅关注邻近的提示样本,(3)受图像质量、表示多样性和提示-图像一致性之间不利权衡的影响。本文解决了这些挑战,并提出了一种基于提示的T2I优化框架OPT2I,利用大型语言模型(LLM)来提升T2I模型中的提示-图像一致性。该框架从用户提示出发,迭代生成修订后的提示,目标是最大化一致性得分。在MSCOCO和PartiPrompts两个数据集上的广泛验证表明,OPT2I在DSG得分方面可将初始一致性得分提升高达24.9%,同时保持FID并提高生成数据与真实数据之间的召回率。本研究为利用LLM构建更可靠和稳健的T2I系统铺平了道路。

英文摘要:

Impressive advances in text-to-image (T2I) generative models have yielded a plethora of high performing models which are able to generate aesthetically appealing, photorealistic images. Despite the progress, these models still struggle to produce images that are consistent with the input prompt, oftentimes failing to capture object quantities, relations and attributes properly. Existing solutions to improve prompt-image consistency suffer from the following challenges: (1) they oftentimes require model fine-tuning, (2) they only focus on nearby prompt samples, and (3) they are affected by unfavorable trade-offs among image quality, representation diversity, and prompt-image consistency. In this paper, we address these challenges and introduce a T2I optimization-by-prompting framework, OPT2I, which leverages a large language model (LLM) to improve prompt-image consistency in T2I models. Our framework starts from a user prompt and iteratively generates revised prompts with the goal of maximizing a consistency score. Our extensive validation on two datasets, MSCOCO and PartiPrompts, shows that OPT2I can boost the initial consistency score by up to 24.9% in terms of DSG score while preserving the FID and increasing the recall between generated and real data. Our work paves the way toward building more reliable and robust T2I systems by harnessing the power of LLMs.

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

↑