| dc.contributor.author | Becker, McCoy R. | |
| dc.contributor.author | Huot, Mathieu | |
| dc.contributor.author | Matheos, George | |
| dc.contributor.author | Wang, Xiaoyan | |
| dc.contributor.author | Chung, Karen | |
| dc.contributor.author | Smith, Colin | |
| dc.contributor.author | Ritchie, Sam | |
| dc.contributor.author | Saurous, Rif A. | |
| dc.contributor.author | Lew, Alexander K. | |
| dc.contributor.author | Rinard, Martin C. | |
| dc.contributor.author | Mansinghka, Vikash K. | |
| dc.date.accessioned | 2026-02-04T20:50:43Z | |
| dc.date.available | 2026-02-04T20:50:43Z | |
| dc.date.issued | 2026-01-08 | |
| dc.identifier.issn | 2475-1421 | |
| dc.identifier.uri | https://hdl.handle.net/1721.1/164736 | |
| dc.description.abstract | We present GenJAX, a new language and compiler for vectorized programmable probabilistic inference.
GenJAX integrates the vectorizing map (vmap) operation from array programming frameworks such as JAX
into the programmable inference paradigm, enabling compositional
vectorization of features such as probabilistic program traces, stochastic branching
(for expressing mixture models), and programmable inference interfaces
for writing custom probabilistic inference algorithms.
We formalize vectorization as a source-to-source program transformation on a core calculus for probabilistic programming ($\gen$), and
prove that it correctly vectorizes both modeling and inference operations.
We have implemented our approach in \href{https://github.com/probcomp/genjax}{the GenJAX language and compiler}, and have empirically evaluated this implementation on
several benchmarks and case studies. Our results show that our implementation
supports a wide and expressive set of programmable inference patterns and delivers
performance comparable to hand-optimized JAX code. | en_US |
| dc.publisher | ACM | en_US |
| dc.relation.isversionof | https://doi.org/10.1145/3776729 | en_US |
| dc.rights | Creative Commons Attribution | en_US |
| dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ | en_US |
| dc.source | Association for Computing Machinery | en_US |
| dc.title | Probabilistic Programming with Vectorized Programmable Inference | en_US |
| dc.type | Article | en_US |
| dc.identifier.citation | McCoy R. Becker, Mathieu Huot, George Matheos, Xiaoyan Wang, Karen Chung, Colin Smith, Sam Ritchie, Rif A. Saurous, Alexander K. Lew, Martin C. Rinard, and Vikash K. Mansinghka. 2026. Probabilistic Programming with Vectorized Programmable Inference. Proc. ACM Program. Lang. 10, POPL, Article 87 (January 2026), 32 pages. | en_US |
| dc.contributor.department | Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science | en_US |
| dc.contributor.department | Massachusetts Institute of Technology. Department of Brain and Cognitive Sciences | en_US |
| dc.relation.journal | Proceedings of the ACM on Programming Languages | en_US |
| dc.identifier.mitlicense | PUBLISHER_CC | |
| dc.eprint.version | Final published version | en_US |
| dc.type.uri | http://purl.org/eprint/type/JournalArticle | en_US |
| eprint.status | http://purl.org/eprint/status/PeerReviewed | en_US |
| dc.date.updated | 2026-02-01T08:47:02Z | |
| dc.language.rfc3066 | en | |
| dc.rights.holder | The author(s) | |
| dspace.date.submission | 2026-02-01T08:47:03Z | |
| mit.journal.volume | 10 | en_US |
| mit.journal.issue | POPL | en_US |
| mit.license | PUBLISHER_CC | |
| mit.metadata.status | Authority Work and Publication Information Needed | en_US |