Abstract
Generating high-resolution, photo-realistic images efficiently remains a significant challenge in computer vision. While Autoregressive (AR) models offer effective compression via Vector-Quantized (VQ) codes, their sequential nature limits generation speed and prevents the use of bidirectional context. This paper introduces a novel approach that combines the compression power of VQ-GAN with a Discrete Absorbing Diffusion prior. By utilizing a bidirectional Transformer to predict image tokens in parallel, the proposed method achieves state-of-the-art results in image diversity and density while operating significantly faster than standard diffusion models. Furthermore, the model demonstrates a unique capability to generate images at resolutions higher than those seen during training through sliding window aggregation.
Introduction
High-fidelity image generation is currently dominated by two paradigms: Diffusion Models and Autoregressive (AR) Models. Diffusion models produce high-quality results by iteratively denoising a signal, but they are computationally expensive and slow. AR models, such as VQ-GAN, treat images as sequences of discrete tokens, predicting them one-by-one. However, AR models are inherently limited by their sequential, unidirectional nature—they cannot look "ahead" at future pixels, which is counter-intuitive for spatial data like images.
Researchers from Durham University address these limitations by proposing a discrete diffusion process that operates on latent VQ codes. This allows for bidirectional context and parallel token prediction, breaking the sequential bottleneck of traditional AR approaches.
Methodology
The core of the proposed system is a two-stage pipeline. First, a VQ-GAN is used to compress images into a grid of discrete latent tokens. Second, a bidirectional Transformer is trained as a generative prior over these tokens using a discrete absorbing diffusion process.
The Discrete Absorbing Diffusion Prior
Unlike standard diffusion models that add Gaussian noise to continuous pixel values, this model works in a discrete space. During the forward process, tokens are randomly replaced with a special [MASK] token (the "absorbing" state). The model is then trained to reverse this process by predicting the original tokens beneath the masks.
Parallel Prediction and Reweighted ELBO
Because the Transformer is bidirectional and the training is order-agnostic, the model can predict multiple masked tokens simultaneously during sampling. To improve sample quality, the authors introduce a reweighted Evidence Lower Bound (ELBO) loss, which forces the model to focus on the more challenging stages of the denoising process. For generating ultra-high-resolution images or panoramas, the model employs a sliding window aggregation technique, maintaining global consistency across overlapping context windows.
Experimental Results
The model was evaluated on three high-resolution (256x256) benchmarks: LSUN Bedroom, LSUN Churches, and FFHQ (Flickr-Faces-HQ).
Performance and Quality
The proposed method achieved state-of-the-art scores in Density and Coverage metrics. For instance, it reached a Density of 1.51 on the LSUN Bedroom dataset, outperforming StyleGAN2 and existing VQ-based models. In terms of visual quality, the model achieved competitive Fréchet Inception Distance (FID) scores, such as 3.64 on LSUN Bedroom and 4.07 on LSUN Churches.
Speed and Efficiency
A major advantage of this approach is its efficiency. By operating on a compressed latent space and enabling parallel prediction, the model achieves an 18x speedup over standard Denoising Diffusion Probabilistic Models (DDPM). Sampling a 256x256 image takes approximately 3.8 seconds on an NVIDIA RTX 2080 Ti, compared to 70 seconds for traditional diffusion methods.
Conclusion
By combining discrete absorbing diffusion with bidirectional Transformers, this work successfully bridges the gap between the high quality of diffusion models and the efficiency of VQ-based generation. The ability to predict tokens in parallel not only accelerates generation but also enables superior global structure and flexible image editing capabilities. Future work may focus on further refining the VQ codebook bottleneck to capture even finer image details.
Summary updated