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

训练先验预测文本到图像模型的性能

Training Priors Predict Text-To-Image Model Performance

Brown University(布朗大学)

Charles Lovering, Ellie Pavlick

AI总结:

本文在stablediffusion 2.1模型上验证了训练先验对文本到图像模型性能的影响,发现训练数据中SVO三元组频率越高模型生成对齐图像能力越强,但会削弱翻转关系图像的生成,表明模型偏向训练见过的关系而非传统抽象组合结构。

摘要:

文本到图像模型通常能够生成某些关系,即“宇航员骑马”,但无法生成由相同基本部分组成的其他关系,即“马骑宇航员”。这些失败通常被作为证据,表明模型依赖训练先验,而不是以组合方式构建新颖图像。本文在 stablediffusion 2.1 文本到图像模型上测试了这一直觉。通过观察这些提示词背后的主谓宾(SVO)三元组(例如,“宇航员”、“骑”、“马”),我们发现SVO三元组在训练数据中出现的频率越高,模型就越能生成与该三元组对齐的图像。这里的对齐是指每个词项在生成的图像中以正确的相互关系出现。令人惊讶的是,这种频率的增加也会削弱模型生成与翻转三元组对齐的图像的能力。例如,如果“宇航员骑马”在训练数据中频繁出现,那么“马骑宇航员”的图像往往会严重对齐不良。因此,我们的结果表明,当前模型偏向于生成在训练中见过的关系图像,并为正在进行的关于这些文本到图像模型是以传统意义采用抽象组合结构,还是在训练数据中明确见过的关系之间进行插值的辩论提供了新数据。

英文摘要:

Text-to-image models can often generate some relations, i.e., "astronaut riding horse", but fail to generate other relations composed of the same basic parts, i.e., "horse riding astronaut". These failures are often taken as evidence that models rely on training priors rather than constructing novel images compositionally. This paper tests this intuition on the stablediffusion 2.1 text-to-image model. By looking at the subject-verb-object (SVO) triads that underlie these prompts (e.g., "astronaut", "ride", "horse"), we find that the more often an SVO triad appears in the training data, the better the model can generate an image aligned with that triad. Here, by aligned we mean that each of the terms appears in the generated image in the proper relation to each other. Surprisingly, this increased frequency also diminishes how well the model can generate an image aligned with the flipped triad. For example, if "astronaut riding horse" appears frequently in the training data, the image for "horse riding astronaut" will tend to be poorly aligned. Our results thus show that current models are biased to generate images with relations seen in training, and provide new data to the ongoing debate on whether these text-to-image models employ abstract compositional structure in a traditional sense, or rather, interpolate between relations explicitly seen in the training data.

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

↑