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

基于变换器的场景图图像生成

Transformer-based Image Generation from Scene Graphs

PeRCeiVe Lab(PeRCeiVe实验室);University of Catania(卡塔尼亚大学)

Renato Sortino, Simone Palazzo, Concetto Spampinato

摘要:

图形结构的场景描述可以有效地用于生成模型,以控制生成的图像的组成。以前的方法是基于图卷积网络和对抗方法的组合,分别用于布局预测和图像生成。在这项工作中,我们展示了如何采用多头注意力来编码图形信息,以及在潜在空间中使用基于变换的模型来生成图像,可以提高采样数据的质量,而不需要采用具有训练稳定性方面的后续优势的对抗模型。具体地,所提出的方法完全基于Transformer架构,用于将场景图编码成中间对象布局并用于将这些布局解码成图像,通过由矢量量化的变分自编码器学习的较低维度空间。我们的方法相对于最先进的方法显示出更高的图像质量,并且同一场景图的多代之间具有更高程度的多样性。我们在三个公共数据集上评估了我们的方法:Visual Genome,COCO和CLEVR。我们在COCO和Visual Genome上分别获得了13.7和12.8的初始得分以及52.3和60.3的FID。我们对我们的贡献进行消融研究,以评估每个组件的影响。代码可在https://github.com/perceivelab/trf-sg2im上获得

英文摘要:

Graph-structured scene descriptions can be efficiently used in generative models to control the composition of the generated image. Previous approaches are based on the combination of graph convolutional networks and adversarial methods for layout prediction and image generation, respectively. In this work, we show how employing multi-head attention to encode the graph information, as well as using a transformer-based model in the latent space for image generation can improve the quality of the sampled data, without the need to employ adversarial models with the subsequent advantage in terms of training stability. The proposed approach, specifically, is entirely based on transformer architectures both for encoding scene graphs into intermediate object layouts and for decoding these layouts into images, passing through a lower dimensional space learned by a vector-quantized variational autoencoder. Our approach shows an improved image quality with respect to state-of-the-art methods as well as a higher degree of diversity among multiple generations from the same scene graph. We evaluate our approach on three public datasets: Visual Genome, COCO, and CLEVR. We achieve an Inception Score of 13.7 and 12.8, and an FID of 52.3 and 60.3, on COCO and Visual Genome, respectively. We perform ablation studies on our contributions to assess the impact of each component. Code is available at https://github.com/perceivelab/trf-sg2im

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

↑