A Functional Account of Probabilistic Programming with Possible Worlds Declarative Pearl
While there has been much cross-fertilization between functional and logic programming—e.g., leading to functional models of many Prolog features—this appears to be much less the case regarding probabilistic programming, even though this is an area of mutual interest. Whereas functional programming...
Saved in:
| Published in | Functional and Logic Programming pp. 186 - 204 |
|---|---|
| Main Authors | , |
| Format | Book Chapter |
| Language | English |
| Published |
Cham
Springer International Publishing
03.05.2022
|
| Series | Lecture Notes in Computer Science |
| Subjects | |
| Online Access | Get full text |
| ISBN | 3030994600 9783030994600 |
| ISSN | 0302-9743 1611-3349 |
| DOI | 10.1007/978-3-030-99461-7_11 |
Cover
| Abstract | While there has been much cross-fertilization between functional and logic programming—e.g., leading to functional models of many Prolog features—this appears to be much less the case regarding probabilistic programming, even though this is an area of mutual interest. Whereas functional programming often focuses on modeling probabilistic processes, logic programming typically focuses on modeling possible worlds. These worlds are made up of facts that each carry a probability and together give rise to a distribution semantics. The latter approach appears to be little-known in the functional programming community. This paper aims to remedy this situation by presenting a functional account of the distribution semantics of probabilistic logic programming that is based on possible worlds. We present a term monad for the monadic syntax of queries together with a natural interpretation in terms of boolean algebras. Then we explain that, because probabilities do not form a boolean algebra, they—and other interpretations in terms of commutative semirings—can only be computed after query normalisation to deterministic, decomposable negation normal form (d-DNNF). While computing the possible worlds readily gives such a normal form, it suffers from exponential blow-up. Using heuristic algorithms yields much better results in practice. |
|---|---|
| AbstractList | While there has been much cross-fertilization between functional and logic programming—e.g., leading to functional models of many Prolog features—this appears to be much less the case regarding probabilistic programming, even though this is an area of mutual interest. Whereas functional programming often focuses on modeling probabilistic processes, logic programming typically focuses on modeling possible worlds. These worlds are made up of facts that each carry a probability and together give rise to a distribution semantics. The latter approach appears to be little-known in the functional programming community. This paper aims to remedy this situation by presenting a functional account of the distribution semantics of probabilistic logic programming that is based on possible worlds. We present a term monad for the monadic syntax of queries together with a natural interpretation in terms of boolean algebras. Then we explain that, because probabilities do not form a boolean algebra, they—and other interpretations in terms of commutative semirings—can only be computed after query normalisation to deterministic, decomposable negation normal form (d-DNNF). While computing the possible worlds readily gives such a normal form, it suffers from exponential blow-up. Using heuristic algorithms yields much better results in practice. |
| Author | Schrijvers, Tom van den Berg, Birthe |
| Author_xml | – sequence: 1 givenname: Birthe orcidid: 0000-0002-0088-9546 surname: van den Berg fullname: van den Berg, Birthe email: birthe.vandenberg@kuleuven.be – sequence: 2 givenname: Tom orcidid: 0000-0001-8771-5559 surname: Schrijvers fullname: Schrijvers, Tom |
| BookMark | eNpFkE1KA0EQhVuNYBJzAxd9gdbqv-n0MgSjQsAsAi6b_o2jk2mZnuB1PIsncxIFV_XqPSjqfRM0anMbEbqhcEsB1J1Wc8IJcCBai4oSZSg9QxM-OCdDn6MxrSglnAt98R8AjNB40IxoJfgVmpXyBgBMMaaAj9HDAq8Ore_r3NoGL7zPh7bHOX1_bbrsrKubuvS1x8O26-x-X7c7_Fn3r3iTS6ldE_FL7ppQrtFlsk2Js785RdvV_Xb5SNbPD0_LxZoUquc9kRaEjTo4m1JM2nstZApchsQC9SIIFrQEPpcuqmBF4jGFCrSrpPVRKj5F7Pds-eiGV2JnXM7vxVAwR0xmwGS4GfqaExVzxMR_APIyWr8 |
| ContentType | Book Chapter |
| Copyright | Springer Nature Switzerland AG 2022 |
| Copyright_xml | – notice: Springer Nature Switzerland AG 2022 |
| DOI | 10.1007/978-3-030-99461-7_11 |
| DatabaseTitleList | |
| DeliveryMethod | fulltext_linktorsrc |
| Discipline | Computer Science |
| EISBN | 3030994619 9783030994617 |
| EISSN | 1611-3349 |
| Editor | Igarashi, Atsushi Hanus, Michael |
| Editor_xml | – sequence: 1 givenname: Michael orcidid: 0000-0002-4953-8202 surname: Hanus fullname: Hanus, Michael email: mh@informatik.uni-kiel.de – sequence: 2 givenname: Atsushi orcidid: 0000-0002-5143-9764 surname: Igarashi fullname: Igarashi, Atsushi email: igarashi@kuis.kyoto-u.ac.jp |
| EndPage | 204 |
| GroupedDBID | -DT -~X 29L 2HA 2HV ACGFS ADCXD ALMA_UNASSIGNED_HOLDINGS EJD F5P LAS LDH P2P RSU ~02 |
| ID | FETCH-LOGICAL-s198t-5a04ae9dbaffef9cc945fd35df2d1c4d42d950385be7da4f3efd609b65ace573 |
| ISBN | 3030994600 9783030994600 |
| ISSN | 0302-9743 |
| IngestDate | Tue Jul 29 20:28:13 EDT 2025 |
| IsPeerReviewed | true |
| IsScholarly | true |
| Language | English |
| LinkModel | OpenURL |
| MergedId | FETCHMERGED-LOGICAL-s198t-5a04ae9dbaffef9cc945fd35df2d1c4d42d950385be7da4f3efd609b65ace573 |
| ORCID | 0000-0001-8771-5559 0000-0002-0088-9546 |
| PageCount | 19 |
| ParticipantIDs | springer_books_10_1007_978_3_030_99461_7_11 |
| PublicationCentury | 2000 |
| PublicationDate | 20220503 |
| PublicationDateYYYYMMDD | 2022-05-03 |
| PublicationDate_xml | – month: 05 year: 2022 text: 20220503 day: 03 |
| PublicationDecade | 2020 |
| PublicationPlace | Cham |
| PublicationPlace_xml | – name: Cham |
| PublicationSeriesTitle | Lecture Notes in Computer Science |
| PublicationSeriesTitleAlternate | Lect.Notes Computer |
| PublicationSubtitle | 16th International Symposium, FLOPS 2022, Kyoto, Japan, May 10–12, 2022, Proceedings |
| PublicationTitle | Functional and Logic Programming |
| PublicationYear | 2022 |
| Publisher | Springer International Publishing |
| Publisher_xml | – name: Springer International Publishing |
| RelatedPersons | Hartmanis, Juris Gao, Wen Bertino, Elisa Woeginger, Gerhard Goos, Gerhard Steffen, Bernhard Yung, Moti |
| RelatedPersons_xml | – sequence: 1 givenname: Gerhard surname: Goos fullname: Goos, Gerhard – sequence: 2 givenname: Juris surname: Hartmanis fullname: Hartmanis, Juris – sequence: 3 givenname: Elisa surname: Bertino fullname: Bertino, Elisa – sequence: 4 givenname: Wen surname: Gao fullname: Gao, Wen – sequence: 5 givenname: Bernhard orcidid: 0000-0001-9619-1558 surname: Steffen fullname: Steffen, Bernhard – sequence: 6 givenname: Gerhard orcidid: 0000-0001-8816-2693 surname: Woeginger fullname: Woeginger, Gerhard – sequence: 7 givenname: Moti orcidid: 0000-0003-0848-0873 surname: Yung fullname: Yung, Moti |
| SSID | ssj0002722703 ssj0002792 |
| Score | 2.0281339 |
| Snippet | While there has been much cross-fertilization between functional and logic programming—e.g., leading to functional models of many Prolog features—this appears... |
| SourceID | springer |
| SourceType | Publisher |
| StartPage | 186 |
| SubjectTerms | Functional programming Logic programming Monad Possible worlds Probabilistic programming |
| Subtitle | Declarative Pearl |
| Title | A Functional Account of Probabilistic Programming with Possible Worlds |
| URI | http://link.springer.com/10.1007/978-3-030-99461-7_11 |
| hasFullText | 1 |
| inHoldings | 1 |
| isFullTextHit | |
| isPrint | |
| link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwnV07b9swECZadyk6JH2hrwQcmslQQYukKA0dnCBpEKRBB7fIJogvNEFrA7bSob-mv6W_rHciaclxlnQRbEEgifuk4_Ee3xHynjWl12XOM69KlmEkMGsMk2DIKcWNbKTp6Jo-XxSnX8XZpbwcREyxuqTVH8zvO-tK_gdVuAe4YpXsPZBdDwo34DfgC1dAGK63jN9NN2voOwQ7UnTkofMbmyYbzPvHdKufaUOKBUqgXMaHMZHr8GoJRl8fgPm-vLr-FTulzcIi0zs0HQ8miX0lwLo8OMoPpgym0h09LzI9DycOvt0vC_zafsR0nWC5o1Dc6uN5jFtcLNouHWycWkskTTN0RcApFhP_-JYr8pYzs_enbZxdOQZ3KlEwNlB5HPQznHDCmC6o5AKJFnkgNo1qdpLos4PSDQ2MtzaDYf4HjJzhbJNM1VgK_hAWMCKPpsdn59_WPrlc5bli_U6O5IohChVWhbVB61UH9qb-_6Au864ptyLtnQEz2yVPsKiFYrUJCO0peeDmz8hOkjuNcn9OPk1pDzmNkNOF__tnA246gJsi3DTBTQPcL8js5Hh2dJrFXhvZalKVbSYbJhpXWd1473xlTCWkt1xan9uJEVbktkLmIKmdso3w3HlbsEoXsjFOKv6SjOaLuXtFqDSaNZWw2ChSaC5LZeFQAoOXRam8Nq_JOAmixo9nVSfmbBBbzWsQW92JrUaxvbnX02_J4_69fEdG7fLG7YHR2Or9iPU_EYJlvA |
| linkProvider | Library Specific Holdings |
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.title=Functional+and+Logic+Programming&rft.au=van+den+Berg%2C+Birthe&rft.au=Schrijvers%2C+Tom&rft.atitle=A+Functional+Account+of%C2%A0Probabilistic+Programming+with+Possible+Worlds&rft.series=Lecture+Notes+in+Computer+Science&rft.date=2022-05-03&rft.pub=Springer+International+Publishing&rft.isbn=9783030994600&rft.issn=0302-9743&rft.eissn=1611-3349&rft.spage=186&rft.epage=204&rft_id=info:doi/10.1007%2F978-3-030-99461-7_11 |
| thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=0302-9743&client=summon |
| thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=0302-9743&client=summon |
| thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=0302-9743&client=summon |