• Home
  • Search
  • A design proposal for Gen: probabilistic programming with fast custom inference via code generation
  • Cite Icon10
  • https://doi.org/10.1145/3211346.3211350Copy DOI Icon

A design proposal for Gen: probabilistic programming with fast custom inference via code generation

  • Jun 18, 2018
  • Marco Cusumano-Towner +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Probabilistic programming languages have the potential to make probabilistic modeling and inference easier to use in practice, but only if inference is sufficiently fast and accurate for real applications. Thus far, this has only been possible for domain-specific languages that focus on a restricted class of models and inference algorithms. This paper proposes a design for a probabilistic programming language called Gen, embedded in Julia, that aims to be sufficiently expressive and performant for general-purpose use. The language provides constructs for automatically generating optimized implementations of custom inference tactics based on static analysis of the target probabilistic model. This paper informally describes a language design for Gen, and shows that Gen is more expressive than Stan, a widely used language for hierarchical Bayesian modeling. A first benchmark shows that a prototype implementation of Gen can be as fast as Stan, only ∼1.4x slower than a hand-coded sampler in Julia, and ∼7,500x faster than Venture, one of the only other probabilistic languages with support for custom inference.

Similar Papers
  • Conference Article
  • Citations1

Probabilistic Programming (Invited Talk)

  • Jan 01, 2017
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Hongseok Yang
  • Research Article
  • Citations7

Bit Blasting Probabilistic Programs

  • Jun 20, 2024
  • Proceedings of the ACM on Programming Languages
  • Poorva Garg +3
  • Book Chapter

Probabilistic Logic Programming Languages

  • Sep 01, 2022
  • Fabrizio Riguzzi
  • Research Article

Annotated Automatic Pruning of Universal Probabilistic Programming Languages

  • Apr 22, 2025
  • ACM Transactions on Probabilistic Machine Learning
  • Gizem Çaylak +4
  • PDF
  • Research Article
  • Citations35

Trace types and denotational semantics for sound programmable inference in probabilistic languages

  • Dec 20, 2019
  • Proceedings of the ACM on Programming Languages
  • Alexander K Lew +4
  • PDF
  • Book Chapter
  • Citations6

Automatic Alignment in Higher-Order Probabilistic Programming Languages

  • Jan 01, 2023
  • Daniel Lundén +3
  • PDF
  • Research Article
  • Citations7

Modular probabilistic models via algebraic effects

  • Aug 29, 2022
  • Proceedings of the ACM on Programming Languages
  • Minh Nguyen +3
  • Conference Article
  • Citations5

Flexible Probabilistic Modeling for Search Based Test Data Generation

  • Jun 27, 2020
  • Robert Feldt +1
  • Conference Article
  • Citations1

Time-efficient Bayesian Inference for a (Skewed) Von Mises Distribution on the Torus in a Deep Probabilistic Programming Language

  • Sep 23, 2021
  • Ola Ronning +3
  • Book Chapter
  • Citations17

Probabilistic Programming Language and its Incremental Evaluation

  • Jan 01, 2016
  • Oleg Kiselyov
  • Book Chapter
  • Citations6

Opening Doors: An Initial SRL Approach

  • Jan 01, 2013
  • Bogdan Moldovan +2
  • PDF
  • Research Article
  • Citations52

Practical Hilbert space approximate Bayesian Gaussian processes for probabilistic programming

  • Dec 14, 2022
  • Statistics and Computing
  • Gabriel Riutort-Mayol +4
  • Conference Article
  • Citations1

Probabilistic reasoning for analysis of approximate computations

  • Oct 15, 2017
  • Sasa Misailovic
  • PDF
  • Research Article

Leveraging Generative and Probabilistic Models for Diagnostics of Cyber-Physical Systems

  • Jun 27, 2024
  • PHM Society European Conference
  • Alvaropiedrafita +1
  • Research Article
  • Citations4

Applying Gaussian Process Machine Learning and Modern Probabilistic Programming to Satellite Data to Infer CO2 Emissions.

  • Feb 24, 2025
  • Environmental science & technology
  • Seongeun Jeong +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.