NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Symbolic conditioning of arrays in probabilistic programs

P. J. Narayanan, Chung-chieh ShanProceedings of the ACM on Programming Languages 2017

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.
BibTeX
@inproceedings{narayanan2017symbolic,
  author = {P. J. Narayanan and Chung-chieh Shan},
  title = {{Symbolic conditioning of arrays in probabilistic programs}},
  booktitle = {Proceedings of the ACM on Programming Languages},
  year = {2017},
  doi = {10.1145/3110255},
}

Loading related content...

Figure