Papers › Scalable Spike-and-Slab

Scalable Spike-and-Slab

4 Apr 2022arXiv:2204.01668archive 2025-07-28

Niloy Biswas, Lester Mackey, Xiao-Li Meng

Spike-and-slab priors are commonly used for Bayesian variable selection, due to their interpretability and favorable statistical properties. However, existing samplers for spike-and-slab posteriors incur prohibitive computational costs when the number of variables is large. In this article, we propose Scalable Spike-and-Slab (S³), a scalable Gibbs sampling implementation for high-dimensional Bayesian regression with the continuous spike-and-slab prior of George and McCulloch (1993). For a dataset with n observations and p covariates, S³ has order max{ n² pₜ, np } computational cost at iteration t where pₜ never exceeds the number of covariates switching spike-and-slab states between iterations t and t-1 of the Markov chain. This improves upon the order n² p per-iteration cost of state-of-the-art implementations as, typically, pₜ is substantially smaller than p. We apply S³ on synthetic and real-world datasets, demonstrating orders of magnitude speed-ups over existing exact samplers and significant gains in inferential quality over approximate samplers with comparable cost.

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

Code

Syntology Ran 7 of 19 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 4 ran · violated contract; 2 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 19 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.

niloyb/scalespikeslab officialmentioned in papermentioned on GitHub 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

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

4ran · violated contract
2ran · fixture could not drive it
1ran
12unverified

Licence: 19 of the 19 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 niloyb/scalespikeslab. “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.

SpikeSlabPrior niloyb/scalespikeslab/Python/S3.py official repository ran no licence file found · pointer only · 2ff9a95d07a29f5f · report
diagonal_inner_outer_prod niloyb/scalespikeslab/Python/S3.py official repository ran · violated contract no licence file found · pointer only · f7af321621b277c8 · report
inverse_precompute niloyb/scalespikeslab/Python/S3.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 27f4322381755c71 · report
update_e niloyb/scalespikeslab/Python/S3.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · cf5ec106e55eb819 · report
update_sigma2 niloyb/scalespikeslab/Python/S3.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 7d31ae390d380e06 · report
update_sigma2tilde_logistic niloyb/scalespikeslab/Python/S3.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 6daada34c857ae8b · report
update_z niloyb/scalespikeslab/Python/S3.py official repository ran · violated contract fingerprinted no licence file found · pointer only · ccd56fe8b29699d8 · report
ModelType niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · dbff5972935539f6 · report
ScaleSpikeSlab niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · f23b87249f9a2adc · report
matrix_precompute niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · bd1be409fba856b6 · report
matrix_precompute_logistic niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · 6c59355924b6095b · report
spike_slab_linear niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · ce9905276889517f · report
spike_slab_linear_kernel niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · 7671b95bd6b54209 · report
spike_slab_logistic niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · f4207afbbd1b3f3d · report
spike_slab_logistic_kernel niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · ab17c6cdf78cd4fb · report
spike_slab_probit niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · 7d5fad2f461d71c4 · report
spike_slab_probit_kernel niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · 25f7921f51e42b2b · report
update_beta niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · 2b12f311fcad8cf6 · report
update_beta_logistic niloyb/scalespikeslab/Python/S3.py official repository unverified no licence file found · pointer only · c3d010fd90579dd7 · report

Tasks

Variable Selection

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