Papers › Poisson Variational Autoencoder

Poisson Variational Autoencoder

23 May 2024arXiv:2405.14473archive 2025-07-28

Hadi Vafaii, Dekel Galor, Jacob L. Yates

Variational autoencoders (VAEs) employ Bayesian inference to interpret sensory inputs, mirroring processes that occur in primate vision across both ventral (Higgins et al., 2021) and dorsal (Vafaii et al., 2023) pathways. Despite their success, traditional VAEs rely on continuous latent variables, which deviates sharply from the discrete nature of biological neurons. Here, we developed the Poisson VAE (P-VAE), a novel architecture that combines principles of predictive coding with a VAE that encodes inputs into discrete spike counts. Combining Poisson-distributed latent variables with predictive coding introduces a metabolic cost term in the model loss function, suggesting a relationship with sparse coding which we verify empirically. Additionally, we analyze the geometry of learned representations, contrasting the P-VAE to alternative VAE models. We find that the P-VAE encodes its inputs in relatively higher dimensions, facilitating linear separability of categories in a downstream classification task with a much better (5x) sample efficiency. Our work provides an interpretable computational framework to study brain-like sensory processing and paves the way for a deeper understanding of perception as an inferential process.

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

Code

Syntology Ran 5 of 14 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 5 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 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.

hadivafaii/poissonvae officialmentioned in paperpytorchMIT 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; 5 ran; 0 honoured the contract we drafted; 9 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.

5ran
9unverified

Licence: 0 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 hadivafaii/PoissonVAE. “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.

clf_score hadivafaii/PoissonVAE/analysis/linear.py official repository ran MIT (permissive) · 30b09c63b20f61e9 · report
fusion1 hadivafaii/PoissonVAE/base/adamax.py official repository ran MIT (permissive) · 3b0641f4cd06c379 · report
job_runner_script hadivafaii/PoissonVAE/base/helper.py official repository ran MIT (permissive) · 26dd100e5899052d · report
model2key hadivafaii/PoissonVAE/base/helper.py official repository ran MIT (permissive) · a905f358b880a636 · report
model2temp hadivafaii/PoissonVAE/base/helper.py official repository ran MIT (permissive) · 6b5dc5e83f74893d · report
beta_anneal_cosine hadivafaii/PoissonVAE/base/utils_model.py official repository unverified MIT (permissive) · 0e1c7dcfafaa7aa3 · report
compute_n_exp hadivafaii/PoissonVAE/base/distributions.py official repository unverified MIT (permissive) · c92aa4adcb3ce16f · report
get_act_fn hadivafaii/PoissonVAE/base/common.py official repository unverified MIT (permissive) · 3851c136f925660d · report
get_stride hadivafaii/PoissonVAE/base/common.py official repository unverified MIT (permissive) · 2063e35da2a2021b · report
sort_fits hadivafaii/PoissonVAE/analysis/final.py official repository unverified MIT (permissive) · c5d312d61ee2c3b4 · report
split_data hadivafaii/PoissonVAE/base/dataset.py official repository unverified MIT (permissive) · 9cbf78f099058bd8 · report
temp_anneal_exp hadivafaii/PoissonVAE/base/utils_model.py official repository unverified MIT (permissive) · ec35c8ed9b8fb0bd · report
temp_anneal_linear hadivafaii/PoissonVAE/base/utils_model.py official repository unverified MIT (permissive) · 550668a7c4d3ad87 · report
untangle_score hadivafaii/PoissonVAE/analysis/linear.py official repository unverified MIT (permissive) · b224e1d857b2648a · report

Tasks

Bayesian Inference

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