arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2202.04200cs.CV
收藏

MaskGIT:掩蔽生成图像Transformer

MaskGIT: Masked Generative Image Transformer

Google Research(谷歌研究院)

Huiwen Chang, Han Zhang, Lu Jiang, Ce Liu, William T. Freeman

摘要:

生成Transformers在合成高保真和高分辨率图像方面在计算机视觉社区中经历了快速的普及增长。然而,到目前为止最好的生成Transformer模型仍然天真地将图像视为令牌序列,并按照光栅扫描顺序(即逐行)顺序解码图像。我们发现这种策略既不是最优的,也不是有效的。本文提出了一种新的图像合成范例使用双向Transformer解码器,我们称之为MaskGIT。在训练过程中,MaskGIT通过关注各个方向的标记来学习预测随机掩蔽的标记。在推理时,模型首先同时生成图像的所有标记,然后以前一代为条件迭代地细化图像。我们的实验表明,MaskGIT在ImageNet数据集上的性能明显优于最先进的Transformer模型,并将自回归解码加速高达64倍。此外,我们说明了MaskGIT可以很容易地扩展到各种图像编辑任务,如修补,外推和图像处理。

英文摘要:

Generative transformers have experienced rapid popularity growth in the computer vision community in synthesizing high-fidelity and high-resolution images. The best generative transformer models so far, however, still treat an image naively as a sequence of tokens, and decode an image sequentially following the raster scan ordering (i.e. line-by-line). We find this strategy neither optimal nor efficient. This paper proposes a novel image synthesis paradigm using a bidirectional transformer decoder, which we term MaskGIT. During training, MaskGIT learns to predict randomly masked tokens by attending to tokens in all directions. At inference time, the model begins with generating all tokens of an image simultaneously, and then refines the image iteratively conditioned on the previous generation. Our experiments demonstrate that MaskGIT significantly outperforms the state-of-the-art transformer model on the ImageNet dataset, and accelerates autoregressive decoding by up to 64x. Besides, we illustrate that MaskGIT can be easily extended to various image editing tasks, such as inpainting, extrapolation, and image manipulation.

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

↑