SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.02794 · NeurIPS · 2023

Modelling Cellular Perturbations with the Sparse Additive Mechanism Shift Variational Autoencoder

Theofanis Karaletsos, Michael Bereket

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 0 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/2311.02794.json · badge: /api/ran/2311.02794.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
insitro/sams-vae canonical (classifier label)
classifier basis: classifier_2025
7 ran · 5 no recorded run
FunctionStatusWhere it lives
FixedLogVarianceEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("a9cf8ed31065ae6b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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.

GaussianLikelihoodFixedVarianceResidualMLP Ran
ran on a synthesized input · constructed an object; no result was computed
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("411358440d60d943")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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.

GaussianLikelihoodResidualMLP Ran
ran on a synthesized input · constructed an object; no result was computed
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("14121d981e8241ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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.

LibraryGammaPoissonSharedConcentrationResidualMLP Ran
ran on a synthesized input · constructed an object; no result was computed
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("4263b396193ca7fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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.

MLP Ran
ran on a synthesized input · constructed an object; no result was computed
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("8bfa7c1c5468eb59")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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.

PoissonLikelihoodResidualMLP Ran
ran on a synthesized input · constructed an object; no result was computed
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("6e188112fecaf2b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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.

ResidualMLP Ran
ran on a synthesized input · constructed an object; no result was computed
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("a7f8ccbf74242706")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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.

BaseGaussianLikelihoodMLP Not yet run
unverified (harvested, no recorded run)
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("1a4a49f671eaa2a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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. No invocation recorded.

BaseLibraryGammaPoissonSharedConcentrationLikelihood Not yet run
unverified (harvested, no recorded run)
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("9e2652f2f9c064e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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. No invocation recorded.

BasePoissonLikelihoodMLP Not yet run
unverified (harvested, no recorded run)
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("7d4d48a797381ce9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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. No invocation recorded.

SAMSVAEModel Not yet run
unverified (harvested, no recorded run)
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("e4a1d75cfe86acc9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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. No invocation recorded.

get_likelihood_mlp Not yet run
unverified (harvested, no recorded run)
insitro/sams-vae/sams_vae/models/sams_vae/model.py
pointer only (licence: NONE) · get_code("eb2c8efffd66cc02")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, insitro/sams-vae 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. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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.

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

Generative models of observations under interventions have been a vibrant topic of interest across machine learning and the sciences in recent years. For example, in drug discovery, there is a need to model the effects of diverse interventions on cells in order to characterize unknown biological mechanisms of action. We propose the Sparse Additive Mechanism Shift Variational Autoencoder, SAMS-VAE, to combine compositionality, disentanglement, and interpretability for perturbation models. SAMS-VAE models the latent state of a perturbed sample as the sum of a local latent variable capturing sample-specific variation and sparse global variables of latent intervention effects. Crucially, SAMS-VAE sparsifies these global latent variables for individual perturbations to identify disentangled, perturbation-specific latent subspaces that are flexibly composable. We evaluate SAMS-VAE both quantitatively and qualitatively on a range of tasks using two popular single cell sequencing datasets. In order to measure perturbation-specific model-properties, we also introduce a framework for evaluation of perturbation models based on average treatment effects with links to posterior predictive checks. SAMS-VAE outperforms comparable models in terms of generalization across in-distribution and out-of-distribution tasks, including a combinatorial reasoning task under resource paucity, and yields interpretable latent structures which correlate strongly to known biological mechanisms. Our results suggest SAMS-VAE is an interesting addition to the modeling toolkit for machine learning-driven scientific discovery. * Research supporting this publication conducted while authors were employed at insitro 37th Conference on Neural Information Processing Systems (NeurIPS 2023).

For agents

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

get_harvested_code_for_paper("2311.02794")
get_code_for_paper("2311.02794")
have("2311.02794")

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

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

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

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

Connect an agent — have() is free.