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

ReCo:区域控制的文本到图像生成

ReCo: Region-Controlled Text-to-Image Generation

Microsoft(微软)

Zhengyuan Yang, Jianfeng Wang, Zhe Gan, Linjie Li, Kevin Lin, Chenfei Wu, Nan Duan, Zicheng Liu, Ce Liu, Michael Zeng, Lijuan Wang

摘要:

最近,大规模文本到图像(T2 I)模型在生成高保真图像方面表现出令人印象深刻的性能,但可控性有限,例如,用自由形式的文本描述精确地指定特定区域中的内容。在本文中,我们提出了一种有效的技术,这样的区域控制T2 I生成。我们用一组额外的位置标记来增强T2 I模型的输入,这些位置标记表示量化的空间坐标。每个区域由四个位置标记指定,以表示左上角和右下角,然后是开放式自然语言区域描述。然后,我们用这种新的输入接口微调预训练的T2 I模型。我们的模型,被称为ReCo(区域控制的T2 I),使区域控制任意对象所描述的开放式区域文本,而不是对象标签从一个受约束的类别集。从经验上讲,ReCo比通过位置词增强的T2 I模型(FID:8.82->7.36,Coco上的SceneFID:15.54->6.51)实现了更好的图像质量,并且对象被更准确地放置,相当于Coco上20.40%的区域分类精度提高。此外,我们证明了ReCo可以更好地控制对象的数量,空间关系,和区域属性,如颜色/大小,与自由形式的区域描述。在PaintSkill上的人类评估显示,ReCo在生成具有正确对象计数和空间关系的图像方面比T2 I模型准确19.28%和17.21%。

英文摘要:

Recently, large-scale text-to-image (T2I) models have shown impressive performance in generating high-fidelity images, but with limited controllability, e.g., precisely specifying the content in a specific region with a free-form text description. In this paper, we propose an effective technique for such regional control in T2I generation. We augment T2I models' inputs with an extra set of position tokens, which represent the quantized spatial coordinates. Each region is specified by four position tokens to represent the top-left and bottom-right corners, followed by an open-ended natural language regional description. Then, we fine-tune a pre-trained T2I model with such new input interface. Our model, dubbed as ReCo (Region-Controlled T2I), enables the region control for arbitrary objects described by open-ended regional texts rather than by object labels from a constrained category set. Empirically, ReCo achieves better image quality than the T2I model strengthened by positional words (FID: 8.82->7.36, SceneFID: 15.54->6.51 on COCO), together with objects being more accurately placed, amounting to a 20.40% region classification accuracy improvement on COCO. Furthermore, we demonstrate that ReCo can better control the object count, spatial relationship, and region attributes such as color/size, with the free-form regional description. Human evaluation on PaintSkill shows that ReCo is +19.28% and +17.21% more accurate in generating images with correct object count and spatial relationship than the T2I model.

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

↑