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

用于无监督图像到图像翻译的注意力引导生成对抗网络

Attention-Guided Generative Adversarial Networks for Unsupervised Image-to-Image Translation

University of Trento(特伦托大学);University of Oxford(牛津大学);Texas State University(得克萨斯州立大学)

Hao Tang, Dan Xu, Nicu Sebe, Yan Yan

摘要:

生成对抗网络(GANs)中的最先进方法能够使用未配对的图像数据学习从一个图像域到另一个图像域的映射函数。然而,这些方法往往会产生伪影,只能转换低层次的信息,而不能传递图像的高层语义部分。其原因主要是生成器没有能力检测出图像中最具区分力的语义部分,从而导致生成的图像质量不高。为了解决这一问题,本文提出了一种新的注意力引导生成对抗网络(AGGAN),它可以在不使用额外数据和模型的情况下,检测出最具区分力的语义对象,并最大限度地减少语义操作问题中不需要的部分的变化。AGGAN中的注意力引导生成器能够通过内置的注意力机制产生注意力掩模,然后将输入图像与注意力掩模融合以获得高质量的目标图像。此外,我们提出了一种新的注意力引导算法,它只考虑关注区域。所提出的AGGAN通过具有对抗性损失、周期一致性损失、像素损失和注意力损失的端到端方式进行训练。定性和定量的结果表明,我们的方法是有效的,以产生更清晰,更准确的图像比现有的模型。该代码可在https://github.com/Ha0Tang/AttentionGAN上获得。

英文摘要:

The state-of-the-art approaches in Generative Adversarial Networks (GANs) are able to learn a mapping function from one image domain to another with unpaired image data. However, these methods often produce artifacts and can only be able to convert low-level information, but fail to transfer high-level semantic part of images. The reason is mainly that generators do not have the ability to detect the most discriminative semantic part of images, which thus makes the generated images with low-quality. To handle the limitation, in this paper we propose a novel Attention-Guided Generative Adversarial Network (AGGAN), which can detect the most discriminative semantic object and minimize changes of unwanted part for semantic manipulation problems without using extra data and models. The attention-guided generators in AGGAN are able to produce attention masks via a built-in attention mechanism, and then fuse the input image with the attention mask to obtain a target image with high-quality. Moreover, we propose a novel attention-guided discriminator which only considers attended regions. The proposed AGGAN is trained by an end-to-end fashion with an adversarial loss, cycle-consistency loss, pixel loss and attention loss. Both qualitative and quantitative results demonstrate that our approach is effective to generate sharper and more accurate images than existing models. The code is available at https://github.com/Ha0Tang/AttentionGAN.

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

↑