MIT Libraries logoDSpace@MIT

MIT
View Item 
  • DSpace@MIT Home
  • MIT Open Access Articles
  • MIT Open Access Articles
  • View Item
  • DSpace@MIT Home
  • MIT Open Access Articles
  • MIT Open Access Articles
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Statically bounded-memory delayed sampling for probabilistic streams

Author(s)
Atkinson, Eric; Baudart, Guillaume; Mandel, Louis; Yuan, Charles; Carbin, Michael
Thumbnail
DownloadPublished version (363.3Kb)
Publisher with Creative Commons License

Publisher with Creative Commons License

Creative Commons Attribution

Terms of use
Creative Commons Attribution 4.0 International License https://creativecommons.org/licenses/by/4.0
Metadata
Show full item record
Abstract
<jats:p> <jats:italic>Probabilistic programming languages</jats:italic> aid developers performing Bayesian inference. These languages provide programming constructs and tools for probabilistic modeling and automated inference. Prior work introduced a probabilistic programming language, ProbZelus, to extend probabilistic programming functionality to unbounded streams of data. This work demonstrated that the <jats:italic>delayed sampling</jats:italic> inference algorithm could be extended to work in a streaming context. ProbZelus showed that while delayed sampling could be effectively deployed on some programs, depending on the probabilistic model under consideration, delayed sampling is not guaranteed to use a bounded amount of memory over the course of the execution of the program. </jats:p> <jats:p> In this paper, we the present conditions on a probabilistic program’s execution under which delayed sampling will execute in bounded memory. The two conditions are dataflow properties of the core operations of delayed sampling: the <jats:italic>m</jats:italic> <jats:italic>-consumed property</jats:italic> and the <jats:italic>unseparated paths property</jats:italic> . A program executes in bounded memory under delayed sampling if, and only if, it satisfies the <jats:italic>m</jats:italic> -consumed and unseparated paths properties. We propose a static analysis that abstracts over these properties to soundly ensure that any program that passes the analysis satisfies these properties, and thus executes in bounded memory under delayed sampling. </jats:p>
Date issued
2021
URI
https://hdl.handle.net/1721.1/142898
Department
Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science; Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory; MIT-IBM Watson AI Lab
Journal
Proceedings of the ACM on Programming Languages
Publisher
Association for Computing Machinery (ACM)
Citation
Atkinson, Eric, Baudart, Guillaume, Mandel, Louis, Yuan, Charles and Carbin, Michael. 2021. "Statically bounded-memory delayed sampling for probabilistic streams." Proceedings of the ACM on Programming Languages, 5 (OOPSLA).
Version: Final published version

Collections
  • MIT Open Access Articles

Browse

All of DSpaceCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

My Account

Login

Statistics

OA StatisticsStatistics by CountryStatistics by Department
MIT Libraries
PrivacyPermissionsAccessibilityContact us
MIT
Content created by the MIT Libraries, CC BY-NC unless otherwise noted. Notify us about copyright concerns.