Papers › Modelling Cellular Perturbations with the Sparse Additive Mechanism Shift Variational...

Modelling Cellular Perturbations with the Sparse Additive Mechanism Shift Variational Autoencoder

5 Nov 2023NeurIPS 2023 11arXiv:2311.02794archive 2025-07-28

Michael Bereket, Theofanis Karaletsos

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.

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

Code

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

By repository: official repository: 12 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

insitro/sams-vae 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

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

7ran
5unverified

Licence: 12 of the 12 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 insitro/sams-vae. “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.

FixedLogVarianceEncoder insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · a9cf8ed31065ae6b · report
GaussianLikelihoodFixedVarianceResidualMLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 411358440d60d943 · report
GaussianLikelihoodResidualMLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 14121d981e8241ab · report
LibraryGammaPoissonSharedConcentrationResidualMLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 4263b396193ca7fa · report
MLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 8bfa7c1c5468eb59 · report
PoissonLikelihoodResidualMLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 6e188112fecaf2b2 · report
ResidualMLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · a7f8ccbf74242706 · report
BaseGaussianLikelihoodMLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository unverified no licence file found · pointer only · 1a4a49f671eaa2a9 · report
BaseLibraryGammaPoissonSharedConcentrationLikelihood insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository unverified no licence file found · pointer only · 9e2652f2f9c064e3 · report
BasePoissonLikelihoodMLP insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository unverified no licence file found · pointer only · 7d4d48a797381ce9 · report
SAMSVAEModel insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository unverified no licence file found · pointer only · e4a1d75cfe86acc9 · report
get_likelihood_mlp insitro/sams-vae/sams_vae/models/sams_vae/model.py official repository unverified no licence file found · pointer only · eb2c8efffd66cc02 · report

Tasks

DisentanglementDrug Discoveryscientific discovery

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