Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

ImageBART: Bidirectional Context with Multinomial Diffusion for Autoregressive Image Synthesis

About

Autoregressive models and their sequential factorization of the data likelihood have recently demonstrated great potential for image representation and synthesis. Nevertheless, they incorporate image context in a linear 1D order by attending only to previously synthesized image patches above or to the left. Not only is this unidirectional, sequential bias of attention unnatural for images as it disregards large parts of a scene until synthesis is almost complete. It also processes the entire image on a single scale, thus ignoring more global contextual information up to the gist of the entire scene. As a remedy we incorporate a coarse-to-fine hierarchy of context by combining the autoregressive formulation with a multinomial diffusion process: Whereas a multistage diffusion process successively removes information to coarsen an image, we train a (short) Markov chain to invert this process. In each stage, the resulting autoregressive ImageBART model progressively incorporates context from previous stages in a coarse-to-fine manner. Experiments show greatly improved image modification capabilities over autoregressive models while also providing high-fidelity image generation, both of which are enabled through efficient training in a compressed latent space. Specifically, our approach can take unrestricted, user-provided masks into account to perform local image editing. Thus, in contrast to pure autoregressive models, it can solve free-form image inpainting and, in the case of conditional models, local, text-guided image modification without requiring mask-specific training.

Patrick Esser, Robin Rombach, Andreas Blattmann, Bj\"orn Ommer• 2021

Related benchmarks

TaskDatasetResultRank
Class-conditional Image GenerationImageNet
FID7.44
132
Unconditional Image GenerationLSUN Bedrooms unconditional
FID5.51
96
Image GenerationLSUN Church 256x256 (test)
FID7.32
55
Class-conditional Image GenerationImageNet (val)
FID21.19
54
Unconditional image synthesisFFHQ 256x256 (test)
FID9.57
31
Class-conditional Image GenerationImageNet (train val)
FID7.44
30
Unconditional Image GenerationFFHQ 256x256 (test)
FID9.57
25
Image GenerationLSUN Churches 256x256
FID7.32
21
Unconditional Image GenerationLSUN Church (test)
FID7.32
17
Unconditional image synthesisFFHQ
FID9.57
15
Showing 10 of 24 rows

Other info

Code

Follow for update