Papers › MADE: Masked Autoencoder for Distribution Estimation

MADE: Masked Autoencoder for Distribution Estimation

12 Feb 2015arXiv:1502.03509archive 2025-07-28

Mathieu Germain, Karol Gregor, Iain Murray, Hugo Larochelle

There has been a lot of recent interest in designing neural network models to estimate a distribution from a set of examples. We introduce a simple modification for autoencoder neural networks that yields powerful generative models. Our method masks the autoencoder's parameters to respect autoregressive constraints: each input is reconstructed only from previous inputs in a given ordering. Constrained this way, the autoencoder outputs can be interpreted as a set of conditional probabilities, and their product, the full joint probability. We can also train a single network that can decompose the joint probability in multiple different orderings. Our simple framework can be applied to multiple architectures, including deep ones. Vectorized implementations, such as on GPUs, are simple and fast. Experiments demonstrate that this approach is competitive with state-of-the-art tractable distribution estimators. At test time, the method is significantly faster and scales better than other autoregressive estimators.

PaperPDFCodeCode 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="1502.03509")

Code

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

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

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

mgermain/MADE officialmentioned in papermentioned on GitHubpytorch report
ANLGBOY/MADE-with-PyTorch mentioned on GitHubpytorch report
bthorne93/DustVAEder mentioned on GitHubtf report
chayanchatterjee/cbc-skynet mentioned on GitHubtfGPL-3.0 report
chayanchatterjee/gw-skylocator mentioned on GitHubtf report
e-hulten/made mentioned on GitHubpytorch report
eyalbetzalel/pytorch-generative mentioned on GitHubpytorchMIT report
eyalbetzalel/pytorch-generative-v2 mentioned on GitHubpytorchMIT report
eyalbetzalel/pytorch-generative-v6 mentioned on GitHubpytorch report
hardbyte/sorting-gym mentioned on GitHubApache-2.0 report
karpathy/pytorch-made mentioned on GitHubpytorch report
khangt1k25/MADE mentioned on GitHubpytorch report
naru-project/naru mentioned on GitHubpytorch report
princetonlips/mam mentioned on GitHubpytorch report
ritviksrivastava/MADE mentioned on GitHubtf report
tbrx/compiled-inference mentioned on GitHubpytorch 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

9 samples harvested; 5 ran; 2 honoured the contract we drafted; 4 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
2ran · fixture could not drive it
4unverified

Licence: 1 of the 9 samples is 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 4 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.

Entropy naru-project/naru/train_model.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · b6c3c093da58e8e3 · report
ErrorMetric naru-project/naru/eval_model.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 06c2ddfbbcfd6c3f · report
InvertOrder naru-project/naru/eval_model.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · eb641f3aafc7f28c · report
ReportModel naru-project/naru/train_model.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · e6c57d84733e2f9d · report
loss_function ANLGBOY/MADE-with-PyTorch/made.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · 0fe5b1dc810c9785 · report
RunEpoch naru-project/naru/train_model.py community (archive-listed) unverified Apache-2.0 (permissive) · 102c922db0e8f637 · report
SampleTupleThenRandom naru-project/naru/eval_model.py community (archive-listed) unverified Apache-2.0 (permissive) · 397f2e703766c84e · report
reproduce EugenHotaj/pytorch-generative/pytorch_generative/models/autoregressive/made.py community (archive-listed) unverified MIT (permissive) · 57a4108d5f06492e · report
reproduce eyalbetzalel/pytorch-generative-v6/pytorch_generative/models/made.py community (archive-listed) unverified MIT (permissive) · 18d3650fbdec0da5 · report

Tasks

Density EstimationImage Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Density Estimation UCI GAS MADE MoG Log-likelihood 8.47 #4 of 5 Archive leaderboard report
Image Generation Binarized MNIST MADE 2hl (32 orders) nats 86.64 #9 of 10 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.

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