Sajad Norouzi, David Fleet, Mohamamd Norouzi
7 of 11 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; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 5 failures of our instrument; 4 no recorded run), measured 2026-11-21; 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/2004.04795.json · badge: /api/ran/2004.04795.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.
| Repository | Role | Ran |
|---|---|---|
| sajadn/Exemplar-VAE | canonical (classifier label) classifier basis: classifier_2025 |
7 ran · 4 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| NonLinear | Ran ran on a synthesized input |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("83d5efafa2e9fa3d") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| log_bernoulli | Ran ran; our contract draft was wrong, not the code |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("47a8f94603764f4a") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 0, dtype family float, shape () 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.
|
| log_logistic_256 | Ran ran; our contract draft was wrong, not the code |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("e1f4cbecd2690e02") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () 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.
|
| log_normal_diag | Ran ran; our contract draft was wrong, not the code |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("731dd232f4b8579f") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 0, dtype family float, shape () 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.
|
| log_normal_standard | Ran ran; our contract draft was wrong, not the code |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("3efb45c64b1acc4f") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 0, dtype family float, shape () 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.
|
| pairwise_distance | Ran ran; our contract draft was wrong, not the code |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("6ed5264974435fff") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 3) 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.
|
| str2bool | Ran ran, violated the contract we drafted |
sajadn/Exemplar-VAE/density_estimation.py code served (permissive licence) · get_code("7c508037b40522af") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () 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.
|
| BaseHModel | Not yet run unverified (harvested, no recorded run) |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("be1641f21e463020") How it ranno invocation recorded. |
| BaseModel | Not yet run unverified (harvested, no recorded run) |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("cc1a45d6071c9a68") How it ranno invocation recorded. |
| log_normal_diag_vectorized | Not yet run unverified (harvested, no recorded run) |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("2d62e9d56869c173") How it ranno invocation recorded. |
| normal_init | Not yet run unverified (harvested, no recorded run) |
sajadn/Exemplar-VAE/models/AbsHModel.py code served (permissive licence) · get_code("62618079bb543102") How it ranno invocation recorded. |
Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 10 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| str2bool | 175 other papers 15 dated earlier, 160 later · 2 only as an assembly brick |
1406.6247 (2014-06) Recurrent Models of Visual Attention |
1603.09382 (2016-03) Deep Networks with Stochastic Depth 1710.10196 (2017-10) Progressive Growing of GANs for Improved Quality, Stability, and Variation and 172 more not named here |
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-21.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
We introduce Exemplar VAEs, a family of generative models that bridge the gap between parametric and non-parametric, exemplar based generative models. Exemplar VAE is a variant of VAE with a non-parametric prior in the latent space based on a Parzen window estimator. To sample from it, one first draws a random exemplar from a training set, then stochastically transforms that exemplar into a latent code and a new observation. We propose retrieval augmented training (RAT) as a way to speed up Exemplar VAE training by using approximate nearest neighbor search in the latent space to define a lower bound on log marginal likelihood. To enhance generalization, model parameters are learned using exemplar leave-oneout and subsampling. Experiments demonstrate the effectiveness of Exemplar VAEs on density estimation and representation learning. Importantly, generative data augmentation using Exemplar VAEs on permutation invariant MNIST and Fashion MNIST reduces classification error from 1.17% to 0.69% and from 8.56% to 8.16%. Code is available at https://github.com/sajadn/Exemplar-VAE.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2004.04795")
get_code_for_paper("2004.04795")
have("2004.04795")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2004.04795.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2004.04795)
Connect an agent — have() is free.