Affiliation:
1. Indiana University, USA
Abstract
Probabilistic programming systems make machine learning more modular by automating
inference
. Recent work by Shan and Ramsey makes inference more modular by automating
conditioning
. Their technique uses a symbolic program transformation that treats conditioning generally via the measure-theoretic notion of
disintegration
. This technique, however, is limited to conditioning a single scalar variable. As a step towards modular inference for realistic machine learning applications, we have extended the disintegration algorithm to symbolically condition arrays in probabilistic programs. The extended algorithm implements
lifted disintegration
, where repetition is treated symbolically and without unrolling loops. The technique uses a language of
index variables
for tracking expressions at various array levels. We find that the method works well for arbitrarily-sized arrays of independent random choices, with the conditioning step taking time linear in the number of indices needed to select an element.
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Reference28 articles.
1. Noncomputable Conditional Distributions
2. Arthur Asuncion Max Welling Padhraic Smyth and Yee-Whye Teh. 2009. On Smoothing and Inference for Topic Models. In UAI. http://www.ics.uci.edu/~asuncion/pubs/UAI_09.pdf Arthur Asuncion Max Welling Padhraic Smyth and Yee-Whye Teh. 2009. On Smoothing and Inference for Topic Models. In UAI. http://www.ics.uci.edu/~asuncion/pubs/UAI_09.pdf
3. Operations for Learning with Graphical Models
Cited by
5 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. λPSI: exact inference for higher-order probabilistic programs;Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation;2020-06-06
2. Symbolic Disintegration with a Variety of Base Measures;ACM Transactions on Programming Languages and Systems;2020-05-27
3. From high-level inference algorithms to efficient code;Proceedings of the ACM on Programming Languages;2019-07-26
4. Incremental precision-preserving symbolic inference for probabilistic programs;Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation;2019-06-08
5. Calculating Distributions;Proceedings of the 20th International Symposium on Principles and Practice of Declarative Programming;2018-09-03