Affiliation:
1. University of Notre Dame, USA
2. Indiana University, USA
Abstract
Recursive calls over recursive data are useful for generating probability distributions, and probabilistic programming allows computations over these distributions to be expressed in a modular and intuitive way. Exact inference is also useful, but unfortunately, existing probabilistic programming languages do not perform exact inference on recursive calls over recursive data, forcing programmers to code many applications manually. We introduce a probabilistic language in which a wide variety of recursion can be expressed naturally, and inference carried out exactly. For instance, probabilistic pushdown automata and their generalizations are easy to express, and polynomial-time parsing algorithms for them are derived automatically. We eliminate recursive data types using program transformations related to defunctionalization and refunctionalization. These transformations are assured correct by a linear type system, and a successful choice of transformations, if there is one, is guaranteed to be found by a greedy algorithm.
Funder
US National Science Foundation
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference87 articles.
1. Computational interpretations of linear logic
2. Miguel A. Alonso , Éric Villemonte de la Clergerie, and Manuel Vilares. 2000. A redefinition of Embedded Push-Down Automata . In Proc. International Workshop on Tree Adjoining Grammar and Related Frameworks (TAG+5). 19–26 . https://aclanthology.org/W 00 - 2002 Miguel A. Alonso, Éric Villemonte de la Clergerie, and Manuel Vilares. 2000. A redefinition of Embedded Push-Down Automata. In Proc. International Workshop on Tree Adjoining Grammar and Related Frameworks (TAG+5). 19–26. https://aclanthology.org/W00-2002
3. Semi-symbolic inference for efficient streaming probabilistic programming
4. Borel structures for function spaces
Cited by
5 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献