Papers › Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro

Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro

24 Dec 2019arXiv:1912.11554archive 2025-07-28

Du Phan, Neeraj Pradhan, Martin Jankowiak

NumPyro is a lightweight library that provides an alternate NumPy backend to the Pyro probabilistic programming language with the same modeling interface, language primitives and effect handling abstractions. Effect handlers allow Pyro's modeling API to be extended to NumPyro despite its being built atop a fundamentally different JAX-based functional backend. In this work, we demonstrate the power of composing Pyro's effect handlers with the program transformations that enable hardware acceleration, automatic differentiation, and vectorization in JAX. In particular, NumPyro provides an iterative formulation of the No-U-Turn Sampler (NUTS) that can be end-to-end JIT compiled, yielding an implementation that is much faster than existing alternatives in both the small and large dataset regimes.

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

Code

Syntology Ran 1 of 26 code samples harvested from 3 repositories linked to this paper; 25 have no recorded run. Of those that ran: 1 ran · honoured contract.

By repository: official repository: 8 samples from 1 repository, 0 ran; community (archive-listed): 18 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pyro-ppl/numpyro officialmentioned in papermentioned on GitHubjaxApache-2.0 report
aleatory-science/numpyro mentioned on GitHubjaxApache-2.0 report
neurips2020submission7954/numpyro mentioned on GitHubjaxApache-2.0 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

26 samples harvested; 1 ran; 1 honoured the contract we drafted; 25 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.

1ran · honoured contract
25unverified

Licence: 0 of the 26 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

autocorrelation pyro-ppl/numpyro/numpyro/diagnostics.py official repository unverified Apache-2.0 (permissive) · cb53b94660b27609 · report
cond pyro-ppl/numpyro/numpyro/util.py official repository unverified Apache-2.0 (permissive) · 603fc5693fc0e73c · report
gelman_rubin pyro-ppl/numpyro/numpyro/diagnostics.py official repository unverified Apache-2.0 (permissive) · 24d2161f7459a9d3 · report
maybe_jit pyro-ppl/numpyro/numpyro/util.py official repository unverified Apache-2.0 (permissive) · 829e93b903800797 · report
optax_to_numpyro pyro-ppl/numpyro/numpyro/optim.py official repository unverified Apache-2.0 (permissive) · 15c9685e50664934 · report
patch_dependency pyro-ppl/numpyro/numpyro/patch.py official repository unverified Apache-2.0 (permissive) · 5b4768efc8e097af · report
split_gelman_rubin pyro-ppl/numpyro/numpyro/diagnostics.py official repository unverified Apache-2.0 (permissive) · 388ce51362d7e858 · report
while_loop pyro-ppl/numpyro/numpyro/util.py official repository unverified Apache-2.0 (permissive) · f3c8e08969a068a3 · report
identity neurips2020submission7954/numpyro/numpyro/primitives.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · caeb28d34b34bc2a · report
apply_stack aleatory-science/numpyro/numpyro/primitives.py community (archive-listed) unverified Apache-2.0 (permissive) · f17cd8a35e3b7268 · report
apply_stack neurips2020submission7954/numpyro/numpyro/primitives.py community (archive-listed) unverified Apache-2.0 (permissive) · 14286d43810b1d37 · report
autocorrelation aleatory-science/numpyro/numpyro/diagnostics.py community (archive-listed) unverified Apache-2.0 (permissive) · cb29f9477120556d · report
autocorrelation neurips2020submission7954/numpyro/numpyro/diagnostics.py community (archive-listed) unverified Apache-2.0 (permissive) · 9cd5cef89ff24afb · report
cond aleatory-science/numpyro/numpyro/util.py community (archive-listed) unverified Apache-2.0 (permissive) · e30672564474308b · report
cond neurips2020submission7954/numpyro/numpyro/util.py community (archive-listed) unverified Apache-2.0 (permissive) · c744d80fda3b6fa0 · report
fori_loop aleatory-science/numpyro/numpyro/util.py community (archive-listed) unverified Apache-2.0 (permissive) · b382d69b4dcd640c · report
fori_loop neurips2020submission7954/numpyro/numpyro/util.py community (archive-listed) unverified Apache-2.0 (permissive) · c79c82db04123255 · report
gelman_rubin aleatory-science/numpyro/numpyro/diagnostics.py community (archive-listed) unverified Apache-2.0 (permissive) · 446b9411492ba0b8 · report
gelman_rubin neurips2020submission7954/numpyro/numpyro/diagnostics.py community (archive-listed) unverified Apache-2.0 (permissive) · 0844d828a7866d7b · report
optax_to_numpyro aleatory-science/numpyro/numpyro/optim.py community (archive-listed) unverified Apache-2.0 (permissive) · 34901ba809969a2a · report
patch_dependency aleatory-science/numpyro/numpyro/patch.py community (archive-listed) unverified Apache-2.0 (permissive) · ad4e520dfbb97626 · report
sample neurips2020submission7954/numpyro/numpyro/primitives.py community (archive-listed) unverified Apache-2.0 (permissive) · cc05aa3302d07e64 · report
split_gelman_rubin aleatory-science/numpyro/numpyro/diagnostics.py community (archive-listed) unverified Apache-2.0 (permissive) · b8e722389fc0860a · report
split_gelman_rubin neurips2020submission7954/numpyro/numpyro/diagnostics.py community (archive-listed) unverified Apache-2.0 (permissive) · 4c89cb01a268cebb · report
while_loop aleatory-science/numpyro/numpyro/util.py community (archive-listed) unverified Apache-2.0 (permissive) · fa4d540af0a1fb04 · report
while_loop neurips2020submission7954/numpyro/numpyro/util.py community (archive-listed) unverified Apache-2.0 (permissive) · 6ccdb50f357e8810 · report

Tasks

Probabilistic Programming

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