Show simple item record

dc.contributor.authorLew, Alexander
dc.contributor.authorCusumano-Towner, Marco F.
dc.contributor.authorSherman, Benjamin
dc.contributor.authorCarbin, Michael James
dc.contributor.authorMansinghka, Vikash K
dc.date.accessioned2021-03-03T12:03:23Z
dc.date.available2021-03-03T12:03:23Z
dc.date.issued2020-01
dc.identifier.issn2475-1421
dc.identifier.urihttps://hdl.handle.net/1721.1/130058
dc.description.abstractModern probabilistic programming languages aim to formalize and automate key aspects of probabilistic modeling and inference. Many languages provide constructs for programmable inference that enable developers to improve inference speed and accuracy by tailoring an algorithm for use with a particular model or dataset. Unfortunately, it is easy to use these constructs to write unsound programs that appear to run correctly but produce incorrect results. To address this problem, we present a denotational semantics for programmable inference in higher-order probabilistic programming languages, along with a type system that ensures that well-typed inference programs are sound by construction. A central insight is that the type of a probabilistic expression can track the space of its possible execution traces, not just the type of value that it returns, as these traces are often the objects that inference algorithms manipulate. We use our semantics and type system to establish soundness properties of custom inference programs that use constructs for variational, sequential Monte Carlo, importance sampling, and Markov chain Monte Carlo inference.en_US
dc.language.isoen
dc.publisherAssociation for Computing Machinery (ACM)en_US
dc.relation.isversionof10.1145/3371087en_US
dc.rightsCreative Commons Attribution 4.0 International licenseen_US
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/en_US
dc.sourceACMen_US
dc.titleTrace types and denotational semantics for sound programmable inference in probabilistic languagesen_US
dc.typeArticleen_US
dc.identifier.citationLew, Alexander K. et al. “Trace types and denotational semantics for sound programmable inference in probabilistic languages.” Paper in the Proceedings of the ACM on Programming Languages, 4, POPL, POPL 2020, New Orleans, Louisiana, 19 - 25 January 2020, Association for Computing Machinery (ACM): 19 © 2020 The Author(s)en_US
dc.contributor.departmentMassachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
dc.contributor.departmentMassachusetts Institute of Technology. Department of Brain and Cognitive Sciences
dc.relation.journalProceedings of the ACM on Programming Languagesen_US
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/ConferencePaperen_US
eprint.statushttp://purl.org/eprint/status/NonPeerRevieweden_US
dc.date.updated2020-12-04T16:48:03Z
dspace.orderedauthorsLew, AK; Cusumano-Towner, MF; Sherman, B; Carbin, M; Mansinghka, VKen_US
dspace.date.submission2020-12-04T16:48:07Z
mit.journal.volume4en_US
mit.journal.issuePOPLen_US
mit.licensePUBLISHER_CC
mit.metadata.statusComplete


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record