Software Open Access

# Paradoxes of probabilistic programming, and how to condition on events of measure zero with infinitesimal probabilities

Jules Jacobs

### Dublin Core Export

<?xml version='1.0' encoding='utf-8'?>
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:creator>Jules Jacobs</dc:creator>
<dc:date>2020-10-09</dc:date>
<dc:description>Abstract Probabilistic programming languages allow programmers to write down conditional probability distributions that represent statistical and machine learning models as programs that use observe statements. These programs are run by accumulating likelihood at each observe statement, and using the likelihood to steer random choices and weigh results with inference algorithms such as importance sampling or MCMC. We argue that naive likelihood accumulation does not give desirable semantics and leads to paradoxes when an observe statement is used to condition on a measure-zero event, particularly when the observe statement is executed conditionally on random data. We show that the paradoxes disappear if we explicitly model measure-zero events as a limit of positive measure events, and that we can execute these type of probabilistic programs by accumulating infinitesimal probabilities rather than probability densities. Our extension improves probabilistic programming languages as an executable notation for probability distributions by making it more well-behaved and more expressive, by allowing the programmer to be explicit about which limit is intended when conditioning on an event of measure zero.</dc:description>
<dc:description>Since it is a single file of code I did not make a virtual machine. If you think it is better to make a virtual machine I can still do so. I will remove this notice eventually.</dc:description>
<dc:identifier>https://zenodo.org/record/4075076</dc:identifier>
<dc:identifier>10.5281/zenodo.4075076</dc:identifier>
<dc:identifier>oai:zenodo.org:4075076</dc:identifier>
<dc:relation>doi:10.5281/zenodo.4075075</dc:relation>
<dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
<dc:title>Paradoxes of probabilistic programming, and how to condition on events of measure zero with infinitesimal probabilities</dc:title>
<dc:type>info:eu-repo/semantics/other</dc:type>
<dc:type>software</dc:type>
</oai_dc:dc>

144
35
views