Skip to main content
QUICK REVIEW

[Paper Review] Parallel Multiscale Autoregressive Density Estimation

Scott Reed, Aäron van den Oord|arXiv (Cornell University)|Mar 10, 2017
Generative Adversarial Networks and Image SynthesisComputer Science31 references48 citations
TL;DR

This paper proposes a parallel multiscale autoregressive density model that accelerates PixelCNN inference from O(N) to O(log N) by grouping pixels into conditionally independent sets across a hierarchical image pyramid. The method enables fast, high-fidelity generation of 512×512 images while maintaining state-of-the-art likelihood scores among non-autoregressive models with efficient sampling.

ABSTRACT

PixelCNN achieves state-of-the-art results in density estimation for natural images. Although training is fast, inference is costly, requiring one network evaluation per pixel; O(N) for N pixels. This can be sped up by caching activations, but still involves generating each pixel sequentially. In this work, we propose a parallelized PixelCNN that allows more efficient inference by modeling certain pixel groups as conditionally independent. Our new PixelCNN model achieves competitive density estimation and orders of magnitude speedup - O(log N) sampling instead of O(N) - enabling the practical generation of 512x512 images. We evaluate the model on class-conditional image generation, text-to-image synthesis, and action-conditional video generation, showing that our model achieves the best results among non-pixel-autoregressive density models that allow efficient sampling.

Motivation & Objective

  • Address the high computational cost of autoregressive image generation, which requires sequential pixel-by-pixel sampling in standard PixelCNN.
  • Enable efficient, parallel sampling in autoregressive models without sacrificing density estimation quality.
  • Develop a hierarchical multiscale framework that allows conditional independence between pixel groups while preserving spatial coherence.
  • Achieve high-speed generation of high-resolution images (up to 512×512) with competitive likelihood scores compared to non-autoregressive baselines.
  • Demonstrate strong performance in conditional generation tasks, including text-to-image and video generation, with fast inference.

Proposed method

  • Construct a multiscale image representation using a sub-sampling pyramid, where each level represents a lower-resolution version of the input.
  • Model pixel groups at each scale as conditionally independent given lower-resolution features and context, enabling parallel sampling.
  • Use a deep convolutional network to propagate global context from low-resolution features to high-resolution pixel groups.
  • Formulate the joint likelihood as a product of conditional probabilities over grouped pixels: p(x) = ∏_{g=1}^{G} p(x^{(g)}|x^{(1:g-1)}), where G ∈ O(log N).
  • Leverage the hierarchical structure to allow O(log N) network evaluations per image, drastically reducing sampling time.
  • Integrate caching of hidden activations and in-graph computation in TensorFlow to further accelerate inference.

Experimental results

Research questions

  • RQ1Can we achieve fast, parallel sampling in autoregressive image models without significant degradation in density estimation performance?
  • RQ2What is an effective way to group pixels into conditionally independent sets across multiple scales to enable parallel generation?
  • RQ3How can global context from low-resolution features be effectively transmitted to high-resolution pixel groups to maintain image coherence?
  • RQ4To what extent can multiscale autoregressive modeling reduce sampling time while preserving sample quality and likelihood scores?
  • RQ5Can this approach scale to high-resolution image generation (e.g., 512×512) with practical inference speed?

Key findings

  • The proposed model achieves O(log N) sampling complexity, resulting in a 105× speedup over standard O(N) PixelCNN at 32×32 resolution and over 500× speedup at 64×64.
  • On ImageNet at 128×128 resolution, the model achieves a negative log-likelihood of 3.55 bits per sub-pixel, outperforming non-autoregressive baselines like Real NVP and ConvDRAW.
  • In text-to-image generation on the CUB dataset, the model produces highly realistic bird images, with qualitative quality surpassing ImageNet models trained on 1000 diverse classes.
  • For video generation, the model achieves O(1) sampling time when using high-resolution previous frames as context, outperforming comparably fast baselines.
  • Sampling from 8×8 low-resolution images results in diverse global structures, while upsampling from 32×32 produces more realistic local details such as fur patterns and eye contours.
  • The model maintains strong performance across multiple benchmarks, including CUB, MPII, MS-COCO, ImageNet, and robot pushing videos, demonstrating broad applicability and robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.