We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

stat.ML

Change to browse by:

References & Citations

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Statistics > Machine Learning

Title: Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro

Abstract: 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.
Comments: 10 pages, 2 figures; NeurIPS 2019 Program Transformations for Machine Learning Workshop
Subjects: Machine Learning (stat.ML); Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Programming Languages (cs.PL)
MSC classes: I.2.5, G.3
ACM classes: I.2.5; G.3
Cite as: arXiv:1912.11554 [stat.ML]
  (or arXiv:1912.11554v1 [stat.ML] for this version)

Submission history

From: Neeraj Pradhan [view email]
[v1] Tue, 24 Dec 2019 22:09:36 GMT (52kb,D)

Link back to: arXiv, form interface, contact.