LayoutBERT:面向对象插入的屏蔽语言布局模型
LayoutBERT: Masked Language Layout Model for Object Insertion
摘要:
图像合成是创作工作流程中最基本的步骤之一。它涉及到将多个图像的对象/部分创建一个新图像,称为合成图像。目前,这个过程是手动完成的,通过创建要插入的对象的精确遮罩,并将它们与目标场景或图像仔细混合,通常是在Photoshop或GIMP等工具的帮助下。虽然已经有几个作品自动选择对象创建掩模,在图像中的对象放置的问题,正确的位置,规模和和谐仍然是一个困难的问题,有限的探索。在图像或设计中自动插入对象是一个困难的问题,因为它需要理解场景的几何形状和对象之间的颜色协调。我们建议LayoutBERT用于对象插入任务。它采用了一种新的自监督掩蔽语言模型客观和双向多头自注意。它优于以前的布局为基础的似然模型,并显示出良好的性能方面的模型容量。我们证明了我们的方法在图像合成设置和其他设置,如文档和设计模板中的对象插入的有效性。我们进一步证明了有用的学习表示布局为基础的检索任务。我们对来自不同领域的数据集(如COCO,PublayNet)和两个新的数据集(我们称之为图像布局和模板布局)进行了定性和定量评估。Image Layouts由580万张带有布局注释的图像组成,是我们所知的最大的图像布局数据集。我们还分享了消融研究结果对数据集大小,模型大小和类样本大小的影响。
英文摘要:
Image compositing is one of the most fundamental steps in creative workflows. It involves taking objects/parts of several images to create a new image, called a composite. Currently, this process is done manually by creating accurate masks of objects to be inserted and carefully blending them with the target scene or images, usually with the help of tools such as Photoshop or GIMP. While there have been several works on automatic selection of objects for creating masks, the problem of object placement within an image with the correct position, scale, and harmony remains a difficult problem with limited exploration. Automatic object insertion in images or designs is a difficult problem as it requires understanding of the scene geometry and the color harmony between objects. We propose LayoutBERT for the object insertion task. It uses a novel self-supervised masked language model objective and bidirectional multi-head self-attention. It outperforms previous layout-based likelihood models and shows favorable properties in terms of model capacity. We demonstrate the effectiveness of our approach for object insertion in the image compositing setting and other settings like documents and design templates. We further demonstrate the usefulness of the learned representations for layout-based retrieval tasks. We provide both qualitative and quantitative evaluations on datasets from diverse domains like COCO, PublayNet, and two new datasets which we call Image Layouts and Template Layouts. Image Layouts which consists of 5.8 million images with layout annotations is the largest image layout dataset to our knowledge. We also share ablation study results on the effect of dataset size, model size and class sample size for this task.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。