Papers › Conditional Image Generation with PixelCNN Decoders

Conditional Image Generation with PixelCNN Decoders

16 Jun 2016NeurIPS 2016 12arXiv:1606.05328archive 2025-07-28

Aaron van den Oord, Nal Kalchbrenner, Oriol Vinyals, Lasse Espeholt, Alex Graves, Koray Kavukcuoglu

This work explores conditional image generation with a new image density model based on the PixelCNN architecture. The model can be conditioned on any vector, including descriptive labels or tags, or latent embeddings created by other networks. When conditioned on class labels from the ImageNet database, the model is able to generate diverse, realistic scenes representing distinct animals, objects, landscapes and structures. When conditioned on an embedding produced by a convolutional network given a single image of an unseen face, it generates a variety of new portraits of the same person with different facial expressions, poses and lighting conditions. We also show that conditional PixelCNN can serve as a powerful decoder in an image autoencoder. Additionally, the gated convolutional layers in the proposed model improve the log-likelihood of PixelCNN to match the state-of-the-art performance of PixelRNN on ImageNet, with greatly reduced computational cost.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1606.05328")

Code

Syntology Ran 4 of 14 code samples harvested from 5 repositories linked to this paper; 10 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: community (archive-listed): 14 samples from 5 repositories, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

14 repositories listed; official and paper-mentioned ones first.

PsorTheDoctor/microarray-data mentioned on GitHubtf report
SJHNJU/Gated_PixelCNN mentioned on GitHubtf report
SJHNJU/gated-pixelcnn mentioned on GitHubtf report
anordertoreclaim/PixelCNN mentioned on GitHubpytorch report
eyalbetzalel/pytorch-generative mentioned on GitHubpytorchMIT report
eyalbetzalel/pytorch-generative-v2 mentioned on GitHubpytorchMIT report
kamenbliznashki/pixel_models mentioned on GitHubpytorch report
kkleidal/gatedpixelcnnpytorch mentioned on GitHubpytorchMIT report
openai/pixel-cnn mentioned on GitHubtfNOASSERTION report
rampage644/wavenet mentioned on GitHubtfApache-2.0 report
vocong25/gated_pixelcnn mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 4 ran; 2 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
10unverified

Licence: 3 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 5 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

loss_fn kamenbliznashki/pixel_models/pixelcnn.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · bd3e6d44a59d468d · report
mask chandlersupple/Tensorflow-PixelCNN/pixelcnn.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 1e14e324863c2ccd · report
pixelcnn_gate kamenbliznashki/pixel_models/pixelcnn.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · 68cdfbf37a172d13 · report
same_padding kkleidal/gatedpixelcnnpytorch/models/components/pixelcnn.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · b2d883de2fd93619 · report
animate eyalbetzalel/pytorch-generative/pytorch_generative/colab_utils.py community (archive-listed) unverified MIT (permissive) · 7486d39d659887c7 · report
compute_receptive_field eyalbetzalel/pytorch-generative/pytorch_generative/debug.py community (archive-listed) unverified MIT (permissive) · 54d26252e3d6b564 · report
generate_fn kamenbliznashki/pixel_models/pixelcnn.py community (archive-listed) unverified no licence file found · pointer only · a88f8690106036a3 · report
image_positional_encoding eyalbetzalel/pytorch-generative/pytorch_generative/nn.py community (archive-listed) unverified MIT (permissive) · 97ff1e90a6a32884 · report
load_image eyalbetzalel/pytorch-generative/pytorch_generative/colab_utils.py community (archive-listed) unverified MIT (permissive) · 6e93d4d24f711246 · report
negative_log_likelihood kkleidal/gatedpixelcnnpytorch/mnist_pixelcnn_train.py community (archive-listed) unverified MIT (permissive) · e1fa075299151e23 · report
preprocess kkleidal/gatedpixelcnnpytorch/mnist_pixelcnn_train.py community (archive-listed) unverified MIT (permissive) · 48694d3cb7b430fb · report
quantisize kkleidal/gatedpixelcnnpytorch/mnist_pixelcnn_train.py community (archive-listed) unverified MIT (permissive) · 1c783a15bde67d51 · report
reproduce EugenHotaj/pytorch-generative/pytorch_generative/models/autoregressive/gated_pixel_cnn.py community (archive-listed) unverified MIT (permissive) · f5e294f7c52471d8 · report
reproduce EugenHotaj/pytorch-generative/pytorch_generative/models/autoregressive/pixel_cnn.py community (archive-listed) unverified MIT (permissive) · 1eef18f20b4c3e7d · report

Tasks

Conditional Image GenerationDecoderDensity EstimationDescriptiveImage Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Density Estimation CIFAR-10 Pixel CNN NLL (bits/dim) 3.03 #10 of 15 Archive leaderboard report
Image Generation ImageNet 32x32 Gated PixelCNN bpd 3.83 #25 of 35 Archive leaderboard report
Image Generation ImageNet 64x64 Gated PixelCNN (van den Oord et al., [2016c]) Bits per dim 3.57 #50 of 65 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

LSTMMasked ConvolutionPixelCNNPixelRNNSigmoid ActivationTanh Activation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections