SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1712.09763 · 2017

PixelSNAIL: An Improved Autoregressive Generative Model

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1712.09763.json · badge: /api/ran/1712.09763.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mattiasxu/Video-VQVAE extension (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
kamenbliznashki/pixel_models reimplementation (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
EugenHotaj/pytorch-generative reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
causal_mask Ran
ran, honoured the contract we drafted
mattiasxu/Video-VQVAE/models/pixelsnail.py
code served (permissive licence) · get_code("3b63dd544bcda245")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (5, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function takes seq_len (an integer) and mask_center (a boolean)
# seq_len: Length of sequence to mask - use a small integer
# mask_center: Whether to mask the diagonal itself - boolean flag

ARGS = {
    'seq_len': 5,
    'mask_center': False
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (5, 5) — shape (5, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
concat_elu Ran
ran; our contract draft was wrong, not the code
kamenbliznashki/pixel_models/pixelsnail.py
pointer only (licence: NONE) · get_code("1bc8478089c8a7c9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kamenbliznashki/pixel_models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

down_shift Ran
ran; our contract draft was wrong, not the code
kamenbliznashki/pixel_models/pixelsnail.py
pointer only (licence: NONE) · get_code("a65cc793ef279a03")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kamenbliznashki/pixel_models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

elu_conv_elu Ran
ran; our contract draft was wrong, not the code
mattiasxu/Video-VQVAE/models/pixelsnail.py
code served (permissive licence) · get_code("4b9f2b42b68582a2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 5, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple convolutional module
# Input will be (batch=2, channels=3, height=5, width=5)
# Output will be (batch=2, channels=4, height=5, width=5) with padding
conv = nn.Conv2d(in_channels=3, out_channels=4, kernel_size=3, padding=1)

# Create input tensor with shape (batch=2, channels=3, height=5, width=5)
x = torch.randn(2, 3, 5, 5)

ARGS = {
    'conv': conv,
    'x': x
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 4, 5, 5) — shape (2, 4, 5, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
positional_encoding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mattiasxu/Video-VQVAE/models/pixelsnail.py
code served (permissive licence) · get_code("600797d71ef88fc2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 5, dtype family float, shape (2, 3, 4, 5, 6) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects a shape tuple (B, C, T, H, W)
# B = batch size
# C = channels (can be any value, function doesn't use it directly)
# T = temporal/depth dimension
# H = height
# W = width

# Using distinct sizes: B=2, C=3, T=4, H=5, W=6
shape = (2, 3, 4, 5, 6)

ARGS = {
    'shape': shape
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 5, dtype family float, shape (2, 3, 4, 5, 6) — shape (2, 3, 4, 5, 6) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
right_shift Ran
ran; our contract draft was wrong, not the code
kamenbliznashki/pixel_models/pixelsnail.py
pointer only (licence: NONE) · get_code("1074bb941737a16e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kamenbliznashki/pixel_models when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

reproduce Not yet run
unverified (harvested, no recorded run)
EugenHotaj/pytorch-generative/pytorch_generative/models/autoregressive/pixel_snail.py
code served (permissive licence) · get_code("2319e2b227c34263")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 5 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
concat_elu 2 other papers
1 dated earlier, 1 later
1701.05517 (2017-01)
PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modifications
2110.08787 (2021-10)
PixelPyramids: Exact Inference Models from Lossless Image Pyramids
down_shift 2 other papers
1 dated earlier, 1 later
1701.05517 (2017-01)
PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modifications
2110.08787 (2021-10)
PixelPyramids: Exact Inference Models from Lossless Image Pyramids
right_shift 2 other papers
1 dated earlier, 1 later
1701.05517 (2017-01)
PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modifications
2110.08787 (2021-10)
PixelPyramids: Exact Inference Models from Lossless Image Pyramids
causal_mask 1 other paper
1 later
1906.00446 (2019-06)
Generating Diverse High-Fidelity Images with VQ-VAE-2
elu_conv_elu 1 other paper
1 later
1906.00446 (2019-06)
Generating Diverse High-Fidelity Images with VQ-VAE-2

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Autoregressive generative models consistently achieve the best results in density estimation tasks involving high dimensional data, such as images or audio. They pose density estimation as a sequence modeling task, where a recurrent neural network (RNN) models the conditional distribution over the next element conditioned on all previous elements. In this paradigm, the bottleneck is the extent to which the RNN can model long-range dependencies, and the most successful approaches rely on causal convolutions, which offer better access to earlier parts of the sequence than conventional RNNs. Taking inspiration from recent work in meta reinforcement learning, where dealing with long-range dependencies is also essential, we introduce a new generative model architecture that combines causal convolutions with self attention. In this note, we describe the resulting model and present state-of-the-art log-likelihood results on CIFAR-10 (2.85 bits per dim) and $32 \times 32$ ImageNet (3.80 bits per dim). Our implementation is available at https://github.com/neocxi/pixelsnail-public

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1712.09763")
get_code_for_paper("1712.09763")
have("1712.09763")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1712.09763.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1712.09763.svg)](https://syntology.ai/paper/1712.09763)

Connect an agent — have() is free.