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

用于语义图像合成的双注意力GANs

Dual Attention GANs for Semantic Image Synthesis

University of Trento(特伦托大学);University of Oxford(牛津大学);Huawei Research Ireland(华为爱尔兰研究院)

Hao Tang, Song Bai, Nicu Sebe

摘要:

在本文中,我们专注于语义图像合成任务,旨在将语义标签映射到照片般逼真的图像。现有的方法缺乏有效的语义约束来保持语义信息,忽略了空间和通道维度上的结构相关性,导致不令人满意的模糊和伪影倾向的结果。为了解决这些局限性,我们提出了一种新的双注意力GAN(DAGAN),从输入布局中合成具有精细细节的照片般逼真和语义一致的图像,而无需施加额外的训练开销或修改现有方法的网络架构。我们还提出了两个新的模块,即,位置方面的空间注意力模块(SAM)和尺度方面的通道注意力模块(CAM),以分别捕获空间和通道维度中的语义结构注意力。具体地说,SAM选择性地相关的像素在每个位置的空间注意力地图,导致像素具有相同的语义标签是相互相关的,而不管它们的空间距离。同时,CAM选择性地强调在每个通道的尺度上的功能,通过通道注意力地图,它集成了所有通道地图之间的相关功能,而不管它们的规模。最后,我们总结SAM和CAM的输出,以进一步改善特征表示。在四个具有挑战性的数据集上进行的大量实验表明,DAGAN在使用更少的模型参数的同时,取得了比最先进的方法更好的结果。源代码和训练模型可在https://github.com/Ha0Tang/DAGAN上获得。

英文摘要:

In this paper, we focus on the semantic image synthesis task that aims at transferring semantic label maps to photo-realistic images. Existing methods lack effective semantic constraints to preserve the semantic information and ignore the structural correlations in both spatial and channel dimensions, leading to unsatisfactory blurry and artifact-prone results. To address these limitations, we propose a novel Dual Attention GAN (DAGAN) to synthesize photo-realistic and semantically-consistent images with fine details from the input layouts without imposing extra training overhead or modifying the network architectures of existing methods. We also propose two novel modules, i.e., position-wise Spatial Attention Module (SAM) and scale-wise Channel Attention Module (CAM), to capture semantic structure attention in spatial and channel dimensions, respectively. Specifically, SAM selectively correlates the pixels at each position by a spatial attention map, leading to pixels with the same semantic label being related to each other regardless of their spatial distances. Meanwhile, CAM selectively emphasizes the scale-wise features at each channel by a channel attention map, which integrates associated features among all channel maps regardless of their scales. We finally sum the outputs of SAM and CAM to further improve feature representation. Extensive experiments on four challenging datasets show that DAGAN achieves remarkably better results than state-of-the-art methods, while using fewer model parameters. The source code and trained models are available at https://github.com/Ha0Tang/DAGAN.

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

↑