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

DTGAN:用于文本到图像生成的双注意生成对抗网络

DTGAN: Dual Attention Generative Adversarial Networks for Text-to-Image Generation

University of Groningen(格罗宁根大学)

Zhenxing Zhang, Lambert Schomaker

摘要:

现有的文本到图像生成方法大多采用多阶段模块化结构,存在三个显著问题:1)训练多个网络增加了生成模型的运行时间,影响了生成模型的收敛性和稳定性; 2)这些方法忽略了生成器早期图像的质量; 3)需要训练多个鉴别器。为此,我们提出了双注意生成对抗网络(DTGAN),它可以合成高质量和语义一致的图像,只采用一个单一的生成器/映射对。该模型引入了通道感知和像素感知的注意力模块,可以引导生成器基于全局句子向量关注文本相关的通道和像素,并使用注意力权重对原始特征图进行微调。此外,条件自适应实例层归一化(CAdaILN),以帮助我们的注意模块灵活地控制输入的自然语言描述的形状和纹理的变化量。此外,一种新的类型的视觉损失被用来提高图像的分辨率,通过确保生动的形状和感知均匀的颜色分布生成的图像。在基准数据集上的实验结果表明,与具有多阶段框架的最先进模型相比,我们所提出的方法具有优越性。注意力图的可视化显示,通道感知注意力模块能够本地化的歧视性区域,而像素感知注意力模块有能力捕捉全局视觉内容的图像生成。

英文摘要:

Most existing text-to-image generation methods adopt a multi-stage modular architecture which has three significant problems: 1) Training multiple networks increases the run time and affects the convergence and stability of the generative model; 2) These approaches ignore the quality of early-stage generator images; 3) Many discriminators need to be trained. To this end, we propose the Dual Attention Generative Adversarial Network (DTGAN) which can synthesize high-quality and semantically consistent images only employing a single generator/discriminator pair. The proposed model introduces channel-aware and pixel-aware attention modules that can guide the generator to focus on text-relevant channels and pixels based on the global sentence vector and to fine-tune original feature maps using attention weights. Also, Conditional Adaptive Instance-Layer Normalization (CAdaILN) is presented to help our attention modules flexibly control the amount of change in shape and texture by the input natural-language description. Furthermore, a new type of visual loss is utilized to enhance the image resolution by ensuring vivid shape and perceptually uniform color distributions of generated images. Experimental results on benchmark datasets demonstrate the superiority of our proposed method compared to the state-of-the-art models with a multi-stage framework. Visualization of the attention maps shows that the channel-aware attention module is able to localize the discriminative regions, while the pixel-aware attention module has the ability to capture the globally visual contents for the generation of an image.

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

↑