arrow
Return

Probabilistic Programming with Vectorized Programmable Inference

delete2026-01-01
delete0
PRE
AI
M
McCoy Becker *
M
Mathieu Huot
G
George Matheos
X
Xiaoyan Wang
C
Chung, Karen
C
Colin Smith
S
Sam Ritchie
R
Rif A. Saurous
A
Alexander K. Lew
M
Martin Rinard
V
Vikash K. Mansinghka
DOI:10.1145/3776729delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
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 (lambda GEN ), and prove that it correctly vectorizes both modeling and inference operations. We have implemented our approach in 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.
Keywords:
probabilistic programming
vectorization
programmable inference
Tp-Compilation for inference in probabilistic logic programs
err2016-11-01
err15
errOAAI
errVlasselaer, Jonas; Van den Broeck, Guy; Kimmig, Angelika; Meert, Wannes; De Raedt, Luc
errShare
errSave
Probabilistic (logic) programming concepts
err2015-05-08
err137
errOAAI
errDe Raedt, Luc; Kimmig, Angelika
errShare
errSave
Probabilistic Inference for Datalog with Correlated Inputs
err2025-10-01
err0
PREAI
errWang, Jingbo; Halalingaiah, Shashin; Chen, Wei Yi; Wang, Chao; Dillig, Isil
errShare
errSave
Stan: A Probabilistic Programming Language
err2017-01-01
err3.2K
errOAAI
errCarpenter, Bob; Gelman, Andrew; Hoffman, Matthew D.; Lee, Daniel; Goodrich, Ben; Betancourt, Michael; Brubaker, Marcus A.; Guo, Jiqiang; Li, Peter; Riddell, Allen
errShare
errSave
Structured probabilistic inference
err2012-10-01
err14
errOAAI
errWuillemin, Pierre-Henri; Torti, Lionel
errShare
errSave

Journal

P
Proceedings of the ACM on Programming Languages-PACMPL
IF:
2.8
Papers:
308
Citations:
4.7K

Organization

A
alphabet inc.
Scholars:
1.1K
Papers: 663
Citations: 683
M
massachusetts institute of technology (mit)
Scholars:
1.4K
Papers: 622
Citations: 178
G
Google Incorporated
Scholars:
3.5K
Papers: 1.8K
Citations: 9.7K
researcher View more organizations
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Array programming with NumPy
errNature
IF48.5
err2020-09-16
err0
errOAAI
errCharles R. Harris; K. Jarrod Millman; Stéfan J. van der Walt; Ralf Gommers; Pauli Virtanen; David Cournapeau; Eric Wieser; Julian Taylor; Sebastian Berg; Nathaniel J. Smith; Robert Kern; Matti Picus; Stephan Hoyer; Marten H. van Kerkwijk; Matthew Brett; Allan Haldane; Jaime Fernández del Río; Mark Wiebe; Pearu Peterson; Pierre Gérard-Marchant; Kevin Sheppard; Tyler Reddy; Warren Weckesser; Hameer Abbasi; Christoph Gohlke; Travis E. Oliphant
errShare
errSave
researcher View more