Skip to main content
QUICK REVIEW

[Paper Review] Pixel Recurrent Neural Networks

Aäron van den Oord, Nal Kalchbrenner|arXiv (Cornell University)|Jan 25, 2016
Generative Adversarial Networks and Image SynthesisComputer Science32 references488 citations
TL;DR

PixelRNNs model the discrete distribution of image pixels with 2D recurrent layers (Row LSTM and Diagonal BiLSTM) and masked convolutions to generate high-fidelity, globally coherent images. They achieve state-of-the-art log-likelihoods on multiple datasets and provide ImageNet benchmarks.

ABSTRACT

Modeling the distribution of natural images is a landmark problem in unsupervised learning. This task requires an image model that is at once expressive, tractable and scalable. We present a deep neural network that sequentially predicts the pixels in an image along the two spatial dimensions. Our method models the discrete probability of the raw pixel values and encodes the complete set of dependencies in the image. Architectural novelties include fast two-dimensional recurrent layers and an effective use of residual connections in deep recurrent networks. We achieve log-likelihood scores on natural images that are considerably better than the previous state of the art. Our main results also provide benchmarks on the diverse ImageNet dataset. Samples generated from the model appear crisp, varied and globally coherent.

Motivation & Objective

  • Motivate tractable, expressive generative modeling of natural images at the pixel level.
  • Propose two-dimensional recurrent architectures to capture long-range dependencies across image rows and diagonals.
  • Explore discrete pixel modeling with softmax outputs and masked convolutions for proper conditioning.
  • Evaluate architectural innovations (residual connections, multi-scale setup) on standard benchmarks.
  • Provide qualitative samples to assess global coherence and realism of generated images.

Proposed method

  • Factorize the image distribution as a product of conditional distributions over pixels in row-major order.
  • Model each pixel's RGB channels with a conditional multinomial distribution via softmax (discrete values 0–255).
  • Introduce two 2D recurrent layers: Row LSTM (row-wise convolution) and Diagonal BiLSTM (diagonal convolution) with residual connections.
  • Apply masking in convolutional transitions to enforce proper pixel conditioning (mask A for first layer, mask B for subsequent layers).
  • Develop a PixelCNN variant with fully convolutional architecture for faster training, sharing core ideas with PixelRNN.
  • Optionally employ a Multi-Scale PixelRNN that first generates a small image unconditionally and then conditions a larger image on the upsampled smaller image.

Experimental results

Research questions

  • RQ1Can two-dimensional recurrent architectures (Row LSTM, Diagonal BiLSTM) effectively model long-range dependencies in natural images?
  • RQ2Does modeling discrete pixel values with a softmax output improve performance over continuous-valued approaches?
  • RQ3What is the impact of residual connections and depth on log-likelihood and sample quality?
  • RQ4How do pixel-level autoregressive models compare to convolutional alternatives like PixelCNN on standard datasets?
  • RQ5Does a multi-scale conditioning scheme improve global coherence in generated images?

Key findings

  • PixelRNNs achieve substantially better log-likelihood scores than previous state-of-the-art on MNIST and CIFAR-10.
  • Diagonal BiLSTM (with full diagonally-focused recursion) and Row LSTM (row-wise recursion) effectively capture global image structure, with deeper models yielding better performance when combined with residual connections.
  • Discrete softmax pixel modeling provides representational and training advantages over continuous pixel modeling, yielding competitive or superior log-likelihood results.
  • Residual connections significantly aid training of deep PixelRNNs and PixelCNNs, enabling up to 12 recurrent layers with improved optimization.
  • Multi-Scale PixelRNNs generate images with improved global coherence compared to single-scale models, while providing comparable log-likelihoods.

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.