一图胜千言:原则性重新描述改进图像生成
A Picture is Worth a Thousand Words: Principled Recaptioning Improves Image Generation
AI总结:
本文指出训练数据集中低质量的图像描述限制了文本到图像扩散模型对细微语义的理解,提出使用专门的自动描述模型对语料库进行重新标注(RECAP),从而显著提升了生成图像的质量与语义对齐度。
摘要:
文本到图像的扩散模型在过去几年中实现了能力的显著飞跃,能够根据文本提示合成高质量且多样化的图像。然而,即使是最先进的模型也常常难以精确遵循提示中的所有指令。绝大多数此类模型在由(图像,描述)对组成的数据集上进行训练,这些图像通常来自网络,描述则是其HTML替代文本。一个著名的例子是Stable Diffusion和其他模型使用的LAION数据集。在这项工作中,我们观察到这些描述通常质量低下,并认为这显著影响了模型理解文本提示中细微语义的能力。我们表明,通过使用专门的自动描述模型对语料库进行重新标注,并在重新描述的数据集上训练文本到图像模型,该模型在各方面都获得了大幅提升。首先,在整体图像质量方面:例如FID为14.84,而基线为17.87,根据人工评估,忠实图像生成提高了64.3%。其次,在语义对齐方面,例如语义对象准确率为84.34对78.90,计数对齐错误为1.32对1.44,位置对齐为62.42对57.60。我们分析了重新标注语料库的各种方法,并提供证据表明这种我们称之为RECAP的技术既减少了训练-推理差异,又为模型提供了每个样本的更多信息,提高了样本效率,并使模型能够更好地理解描述与图像之间的关系。
英文摘要:
Text-to-image diffusion models achieved a remarkable leap in capabilities over the last few years, enabling high-quality and diverse synthesis of images from a textual prompt. However, even the most advanced models often struggle to precisely follow all of the directions in their prompts. The vast majority of these models are trained on datasets consisting of (image, caption) pairs where the images often come from the web, and the captions are their HTML alternate text. A notable example is the LAION dataset, used by Stable Diffusion and other models. In this work we observe that these captions are often of low quality, and argue that this significantly affects the model's capability to understand nuanced semantics in the textual prompts. We show that by relabeling the corpus with a specialized automatic captioning model and training a text-to-image model on the recaptioned dataset, the model benefits substantially across the board. First, in overall image quality: e.g. FID 14.84 vs. the baseline of 17.87, and 64.3% improvement in faithful image generation according to human evaluation. Second, in semantic alignment, e.g. semantic object accuracy 84.34 vs. 78.90, counting alignment errors 1.32 vs. 1.44 and positional alignment 62.42 vs. 57.60. We analyze various ways to relabel the corpus and provide evidence that this technique, which we call RECAP, both reduces the train-inference discrepancy and provides the model with more information per example, increasing sample efficiency and allowing the model to better understand the relations between captions and images.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。