Improved Transformer for High-Resolution GANs

By Long Zhao, Zizhao Zhang, Ting-Li Chen, Dimitris N. Metaxas, Han Zhang. 2021

114 citations recorded by the source corpus.

Attention-based models, exemplified by the Transformer, can effectively model long range dependency, but suffer from the quadratic complexity of self-attention operation, making them difficult to be adopted for high-resolution image generation based on Generative Adversarial Networks (GANs). In this paper, we introduce two key ingredients to Transformer to address this challenge. First, in low-resolution stages of the generative process, standard global self-attention is replaced with the proposed multi-axis blocked self-attention which allows efficient mixing of local and global attention. Second, in high-resolution stages, we drop self-attention while only keeping multi-layer perceptrons reminiscent of the implicit neural function. To further improve the performance, we introduce an additional self-modulation component based on cross-attention. The resulting model, denoted as HiT, has a nearly linear computational complexity with respect to the image size and thus directly scales to synthesizing high definition images. We show in the experiments that the proposed HiT achieves state-of-the-art FID scores of 30.83 and 2.95 on unconditional ImageNet $128 \times 128$ and FFHQ $256 \times 256$, respectively, with a reasonable throughput. We believe the proposed HiT is an important milestone for generators in GANs which are completely free of convolutions. Our code is made publicly available at https://github.com/google-research/hit-gan

Subfields: Computer Vision and Pattern Recognition, Generative Models, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Vision and Pattern Recognition

  1. Ming-Hsuan Yang
  2. Luc Van Gool
  3. Dacheng Tao
  4. Xiaogang Wang
  5. Chen Change Loy
  6. Trevor Darrell
  7. Jitendra Malik
  8. Chunhua Shen

In Generative Models

  1. Zhangyang Wang
  2. Shiyu Chang
  3. Lu Jiang
  4. José Lezama
  5. Ming-Hsuan Yang
  6. Han Zhang
  7. William T. Freeman
  8. Huiwen Chang

In Model Architectures

  1. José Lezama
  2. Lu Jiang
  3. Han Zhang
  4. Zhangyang Wang
  5. Feng Yang
  6. Kevin P. Murphy
  7. Dilip Krishnan
  8. Ming-Hsuan Yang

Citations in the corpus