“VQ-GAN: Taming Transformers for High-Resolution Image Synthesis”, Patrick Esser, Robin Rombach, Björn Ommer2020-12-17 (, , ; backlinks; similar)⁠:

Designed to learn long-range interactions on sequential data, transformers continue to show state-of-the-art results on a wide variety of tasks. In contrast to CNNs, they contain no inductive bias that prioritizes local interactions. This makes them expressive, but also computationally infeasible for long sequences, such as high-resolution images.

We demonstrate how combining the effectiveness of the inductive bias of CNNs with the expressivity of transformers enables them to model and thereby synthesize high-resolution images. We show how to (1) use CNNs to learn a context-rich vocabulary of image constituents, and in turn (2) use transformers to efficiently model their composition within high-resolution images.

Our approach is readily applied to conditional synthesis tasks, where both non-spatial information, such as object classes, and spatial information, such as segmentations, can control the generated image.

In particular, we present the first results on semantically-guided synthesis of megapixel images with transformers. [Github; Arxiv]

We combine the efficiency of convolutional approaches with the expressivity of transformers by introducing a convolutional VQGAN, which learns a codebook of context-rich visual parts, whose composition is modeled with an autoregressive transformer.