Papers › PixelPyramids: Exact Inference Models from Lossless Image Pyramids

PixelPyramids: Exact Inference Models from Lossless Image Pyramids

17 Oct 2021ICCV 2021 10arXiv:2110.08787archive 2025-07-28

Shweta Mahajan, Stefan Roth

Autoregressive models are a class of exact inference approaches with highly flexible functional forms, yielding state-of-the-art density estimates for natural images. Yet, the sequential ordering on the dimensions makes these models computationally expensive and limits their applicability to low-resolution imagery. In this work, we propose Pixel-Pyramids, a block-autoregressive approach employing a lossless pyramid decomposition with scale-specific representations to encode the joint distribution of image pixels. Crucially, it affords a sparser dependency structure compared to fully autoregressive approaches. Our PixelPyramids yield state-of-the-art results for density estimation on various image datasets, especially for high-resolution data. For CelebA-HQ 1024 x 1024, we observe that the density estimates (in terms of bits/dim) are improved to ~44% of the baseline despite sampling speeds superior even to easily parallelizable flow-based models.

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="2110.08787")

Code

Syntology Ran 11 of 11 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 8 ran; 3 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

visinf/pixelpyramids officialmentioned in paperpytorch 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

11 samples harvested; 11 ran; 0 honoured the contract we drafted; 0 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.

3ran · our draft was wrong
8ran

Licence: 3 of the 11 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 visinf/pixelpyramids. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

Conv2d visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran fingerprinted Apache-2.0 (permissive) · 6387ca84ef0e560e · report
ConvTranspose2d visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran fingerprinted Apache-2.0 (permissive) · c0d558a50b50d636 · report
DownRightShiftedConv2d visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran fingerprinted Apache-2.0 (permissive) · b26a0b96c0a3af73 · report
DownRightShiftedConvTranspose2d visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran fingerprinted Apache-2.0 (permissive) · da898124203f12d6 · report
DownShiftedConv2d visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran fingerprinted Apache-2.0 (permissive) · 15071eacd675873d · report
DownShiftedConvTranspose2d visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran fingerprinted Apache-2.0 (permissive) · bf8af0a07b2898f7 · report
GatedResidualLayer visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran Apache-2.0 (permissive) · 9bf0b7848adc2035 · report
PixelCNNpp visinf/pixelpyramids/unet/pixelcnnpp.py official repository ran fingerprinted Apache-2.0 (permissive) · 5e5e8e9bdd22d08b · report
concat_elu identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 1bc8478089c8a7c9 · report
down_shift identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · a65cc793ef279a03 · report
right_shift identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 1074bb941737a16e · report

Tasks

Density Estimation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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