Skip to content

Latest commit

 

History

History
68 lines (51 loc) · 2.95 KB

index.md

File metadata and controls

68 lines (51 loc) · 2.95 KB
layout title
default
The Design and Implementation of Probabilistic Programming Languages

The Design and Implementation of Probabilistic Programming Languages

Noah D. Goodman and Andreas Stuhlmüller

About: Probabilistic programming languages (PPLs) unify techniques for the formal description of computation and for the representation and use of uncertain knowledge. PPLs have seen recent interest from the artificial intelligence, programming languages, cognitive science, and natural languages communities. This book explains how to implement PPLs by lightweight embedding into a host language. We illustrate this by designing and implementing WebPPL, a small PPL embedded in Javascript. We show how to implement several algorithms for universal probabilistic inference, including priority-based enumeration with caching, particle filtering, and Markov chain Monte Carlo. We use program transformations to expose the information required by these algorithms, including continuations and stack addresses. We illustrate these ideas with examples drawn from semantic parsing, natural language pragmatics, and procedural graphics.

Citing: Please cite this book as: N. D. Goodman and A. Stuhlmüller (electronic). The Design and Implementation of Probabilistic Programming Languages. Retrieved from http://dippl.org. [bibtex]

@misc{dippl,
  title = {% raw %}{{The Design and Implementation of Probabilistic Programming Languages}}{% endraw %},
  author = {Goodman, Noah D and Stuhlm\"{u}ller, Andreas},
  year = {2014},
  howpublished = {\url{http://dippl.org}},
  note = {Accessed: }
}

{% assign sorted_pages = site.pages | sort:"name" %}

Chapters

{% for p in sorted_pages %} {% if p.layout == 'chapter' %}

  • [{{ p.title }}]({{ site.baseurl }}{{ p.url }})
    {{ p.description }} {% endif %} {% endfor %}

Examples

{% for p in sorted_pages %} {% if p.layout == 'example' %}

  • [{{ p.title }}]({{ site.baseurl }}{{ p.url }})
    {{ p.description }} {% endif %} {% endfor %}

Open source

  • Book content
    Markdown code for the book chapters

  • WebPPL
    A probabilistic programming language for the web

Acknowledgments

The construction of this tutorial was made possible by grants from DARPA, under agreement number FA8750-14-2-0009, and the Office of Naval Research, grant number N00014-13-1-0788. (The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of DARPA or the U.S. Government.)

This book is based on notes from the ESSLLI 2014 class on Probabilistic Programming Languages, taught by the authors.