Logo: to the web site of Uppsala University

uu.sePublications from Uppsala University
Change search
Link to record
Permanent link

Direct link
Borgström, JohannesORCID iD iconorcid.org/0000-0001-5990-5742
Publications (10 of 41) Show all publications
Lunden, D., Borgström, J. & Broman, D. (2021). Correctness of Sequential Monte Carlo Inference for Probabilistic Programming Languages. In: Yoshida, N (Ed.), Programming Languages And Systems, ESOP 2021: . Paper presented at 30th European Symposium on Programming (ESOP) Held as Part of the 24th European Joint Conferences on Theory and Practice of Software (ETAPS), MAR 27-APR 01, 2021, ELECTR NETWORK (pp. 404-431). Springer Nature Springer Nature, 12648
Open this publication in new window or tab >>Correctness of Sequential Monte Carlo Inference for Probabilistic Programming Languages
2021 (English)In: Programming Languages And Systems, ESOP 2021 / [ed] Yoshida, N, Springer Nature Springer Nature, 2021, Vol. 12648, p. 404-431Conference paper, Published paper (Refereed)
Abstract [en]

Probabilistic programming is an approach to reasoning under uncertainty by encoding inference problems as programs. In order to solve these inference problems, probabilistic programming languages (PPLs) employ different inference algorithms, such as sequential Monte Carlo (SMC), Markov chain Monte Carlo (MCMC), or variational methods. Existing research on such algorithms mainly concerns their implementation and efficiency, rather than the correctness of the algorithms themselves when applied in the context of expressive PPLs. To remedy this, we give a correctness proof for SMC methods in the context of an expressive PPL calculus, representative of popular PPLs such as WebPPL, Anglican, and Birch. Previous work have studied correctness of MCMC using an operational semantics, and correctness of SMC and MCMC in a denotational setting without term recursion. However, for SMC inference-one of the most commonly used algorithms in PPLs as of today-no formal correctness proof exists in an operational setting. In particular, an open question is if the resample locations in a probabilistic program affects the correctness of SMC. We solve this fundamental problem, and make four novel contributions: (i) we extend an untyped PPL lambda calculus and operational semantics to include explicit resample terms, expressing synchronization points in SMC inference; (ii) we prove, for the first time, that subject to mild restrictions, any placement of the explicit resample terms is valid for a generic form of SMC inference; (iii) as a result of (ii), our calculus benefits from classic results from the SMC literature: a law of large numbers and an unbiased estimate of the model evidence; and (iv) we formalize the bootstrap particle filter for the calculus and discuss how our results can be further extended to other SMC algorithms.

Place, publisher, year, edition, pages
Springer NatureSpringer Nature, 2021
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349
Keywords
Probabilistic Programming, Sequential Monte Carlo, Operational Semantics, Functional Programming, Measure Theory
National Category
Computer Systems
Identifiers
urn:nbn:se:uu:diva-474512 (URN)10.1007/978-3-030-72019-3_15 (DOI)000787775800015 ()978-3-030-72019-3 (ISBN)978-3-030-72018-6 (ISBN)
Conference
30th European Symposium on Programming (ESOP) Held as Part of the 24th European Joint Conferences on Theory and Practice of Software (ETAPS), MAR 27-APR 01, 2021, ELECTR NETWORK
Funder
Swedish Foundation for Strategic Research, ASSEMBLE RIT15-0012Swedish Research Council, 20134853
Available from: 2022-05-16 Created: 2022-05-16 Last updated: 2024-01-15Bibliographically approved
Parrow, J., Borgström, J., Eriksson, L.-H., Forsberg Gutkovas, R. & Weber, T. (2021). Modal Logics for Nominal Transition Systems. Logical Methods in Computer Science, 17(1), Article ID 5353.
Open this publication in new window or tab >>Modal Logics for Nominal Transition Systems
Show others...
2021 (English)In: Logical Methods in Computer Science, E-ISSN 1860-5974, Vol. 17, no 1, article id 5353Article in journal (Refereed) Published
Abstract [en]

We define a general notion of transition system where states and action labels can be from arbitrary nominal sets, actions may bind names, and state predicates from an arbitrary logic define properties of states. A Hennessy-Milner logic for these systems is introduced, and proved adequate and expressively complete for bisimulation equivalence. A main technical novelty is the use of finitely supported infinite conjunctions. We show how to treat different bisimulation variants such as early, late, open and weak in a systematic way, explore the folklore theorem that state predicates can be replaced by actions, and make substantial comparisons with related work. The main definitions and theorems have been formalised in Nominal Isabelle.

National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-383314 (URN)10.23638/LMCS-17(1:6)2021 (DOI)000658724600006 ()
Available from: 2019-05-13 Created: 2019-05-13 Last updated: 2024-07-04Bibliographically approved
Ronquist, F., Kudlicka, J., Senderov, V., Borgström, J., Lartillot, N., Lundén, D., . . . Broman, D. (2021). Universal probabilistic programming offers a powerful approach to statistical phylogenetics. Communications Biology, 4, Article ID 244.
Open this publication in new window or tab >>Universal probabilistic programming offers a powerful approach to statistical phylogenetics
Show others...
2021 (English)In: Communications Biology, E-ISSN 2399-3642, Vol. 4, article id 244Article in journal (Refereed) Published
Abstract [en]

Statistical phylogenetic analysis currently relies on complex, dedicated software packages, making it difficult for evolutionary biologists to explore new models and inference strategies. Recent years have seen more generic solutions based on probabilistic graphical models, but this formalism can only partly express phylogenetic problems. Here, we show that universal probabilistic programming languages (PPLs) solve the expressivity problem, while still supporting automated generation of efficient inference algorithms. To prove the latter point, we develop automated generation of sequential Monte Carlo (SMC) algorithms for PPL descriptions of arbitrary biological diversification (birth-death) models. SMC is a new inference strategy for these problems, supporting both parameter inference and efficient estimation of Bayes factors that are used in model testing. We take advantage of this in automatically generating SMC algorithms for several recent diversification models that have been difficult or impossible to tackle previously. Finally, applying these algorithms to 40 bird phylogenies, we show that models with slowing diversification, constant turnover and many small shifts generally explain the data best. Our work opens up several related problem domains to PPL approaches, and shows that few hurdles remain before these techniques can be effectively applied to the full range of phylogenetic models.

Place, publisher, year, edition, pages
Springer Nature, 2021
National Category
Probability Theory and Statistics Computer Sciences Evolutionary Biology
Identifiers
urn:nbn:se:uu:diva-432405 (URN)10.1101/2020.06.16.154443 (DOI)000623853500002 ()33627766 (PubMedID)
Funder
Swedish Research Council, 2013-4853Swedish Research Council, 2018-04620Swedish Foundation for Strategic Research, RIT15-0012EU, Horizon 2020, 898120
Available from: 2021-01-19 Created: 2021-01-19 Last updated: 2024-01-15Bibliographically approved
Bhat, S., Borgström, J., Gordon, A. D. & Russo, C. (2017). Deriving Probability Density Functions from Probabilistic Functional Programs. Logical Methods in Computer Science, 13(2), Article ID 16.
Open this publication in new window or tab >>Deriving Probability Density Functions from Probabilistic Functional Programs
2017 (English)In: Logical Methods in Computer Science, E-ISSN 1860-5974, Vol. 13, no 2, article id 16Article in journal (Refereed) Published
Abstract [en]

The probability density function of a probability distribution is a fundamental concept in probability theory and a key ingredient in various widely used machine learning methods. However, the necessary framework for compiling probabilistic functional programs to density functions has only recently been developed. In this work, we present a density compiler for a probabilistic language with failure and both discrete and continuous distributions, and provide a proof of its soundness. The compiler greatly reduces the development effort of domain experts, which we demonstrate by solving inference problems from various scientific applications, such as modelling the global carbon cycle, using a standard Markov chain Monte Carlo framework.

National Category
Computer Sciences
Identifiers
urn:nbn:se:uu:diva-334578 (URN)10.23638/LMCS-13(2:16)2017 (DOI)000419160800014 ()
Funder
Swedish Research Council, 2013-4853
Available from: 2017-07-03 Created: 2017-11-24 Last updated: 2024-07-04Bibliographically approved
Parrow, J., Weber, T., Borgström, J. & Eriksson, L.-H. (2017). Weak Nominal Modal Logic. In: Formal Techniques for Distributed Objects, Components, and Systems: . Paper presented at FORTE 2017 (pp. 179-193). Springer
Open this publication in new window or tab >>Weak Nominal Modal Logic
2017 (English)In: Formal Techniques for Distributed Objects, Components, and Systems, Springer, 2017, p. 179-193Conference paper, Published paper (Refereed)
Place, publisher, year, edition, pages
Springer, 2017
Series
Lecture Notes in Computer Science, ISSN 0302-9743 ; 10321
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-334579 (URN)10.1007/978-3-319-60225-7_13 (DOI)978-3-319-60224-0 (ISBN)
Conference
FORTE 2017
Funder
Swedish Research Council, 2013-4853
Available from: 2017-05-28 Created: 2017-11-24 Last updated: 2018-01-19Bibliographically approved
Borgström, J., Dal Lago, U., Gordon, A. D. & Szymczak, M. (2016). A Lambda-Calculus Foundation for Universal Probabilistic Programming. Paper presented at ICFP 2016, September 18–24, Nara, Japan. SIGPLAN notices, 51(9), 33-46
Open this publication in new window or tab >>A Lambda-Calculus Foundation for Universal Probabilistic Programming
2016 (English)In: SIGPLAN notices, ISSN 0362-1340, E-ISSN 1558-1160, Vol. 51, no 9, p. 33-46Article in journal (Refereed) Published
National Category
Computer Sciences
Identifiers
urn:nbn:se:uu:diva-317713 (URN)10.1145/2951913.2951942 (DOI)000393580700006 ()
Conference
ICFP 2016, September 18–24, Nara, Japan
Funder
Swedish Research Council, 2013-4853
Available from: 2016-09-04 Created: 2017-03-17 Last updated: 2018-01-13Bibliographically approved
Borgström, J., Gutkovas, R., Parrow, J., Victor, B. & Åman Pohjola, J. (2016). A Sorted Semantic Framework for Applied Process Calculi. Logical Methods in Computer Science, 12(1), 1-49, Article ID 8.
Open this publication in new window or tab >>A Sorted Semantic Framework for Applied Process Calculi
Show others...
2016 (English)In: Logical Methods in Computer Science, E-ISSN 1860-5974, Vol. 12, no 1, p. 1-49, article id 8Article in journal (Refereed) Published
Abstract [en]

Applied process calculi include advanced programming constructs such as type systems, communication with pattern matching, encryption primitives, concurrent constraints, nondeterminism, process creation, and dynamic connection topologies. Several such formalisms, e.g. the applied pi calculus, are extensions of the the pi-calculus; a growing number is geared towards particular applications or computational paradigms.

Our goal is a unified framework to represent different process calculi and notions of computation. To this end, we extend our previous work on psi-calculi with novel abstract patterns and pattern matching, and add sorts to the data term language, giving sufficient criteria for subject reduction to hold. Our framework can directly represent several existing process calculi; the resulting transition systems are isomorphic to the originals up to strong bisimulation. We also demonstrate different notions of computation on data terms, including cryptographic primitives and a lambda-calculus with erratic choice. Finally, we prove standard congruence and structural properties of bisimulation; the proof has been machine-checked using Nominal Isabelle in the case of a single name sort.

Keywords
Expressiveness, Pattern matching, Type systems, Theorem proving, pi-calculus, Nominal sets
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-262199 (URN)10.2168/LMCS-12(1:8)2016 (DOI)000374769600004 ()
Projects
UPMARC
Funder
Swedish Research Council, 2013-4853
Available from: 2016-03-31 Created: 2015-09-09 Last updated: 2024-07-04Bibliographically approved
Borgström, J., Gordon, A. D., Ouyang, L., Russo, C., Scibior, A. & Szymczak, M. (2016). Fabular: Regression formulas as probabilistic programming. In: Proc. 43rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages: . Paper presented at POPL 2016, January 20–22, Saint Petersburg, FL (pp. 271-283). New York: ACM Press
Open this publication in new window or tab >>Fabular: Regression formulas as probabilistic programming
Show others...
2016 (English)In: Proc. 43rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, New York: ACM Press, 2016, p. 271-283Conference paper, Published paper (Refereed)
Place, publisher, year, edition, pages
New York: ACM Press, 2016
Series
ACM SIGPLAN Notices, ISSN 0362-1340 ; 51(1)
National Category
Computer Sciences
Research subject
Computer Science
Identifiers
urn:nbn:se:uu:diva-283140 (URN)10.1145/2837614.2837653 (DOI)000374053600024 ()978-1-4503-3549-2 (ISBN)
Conference
POPL 2016, January 20–22, Saint Petersburg, FL
Funder
Swedish Research Council, 2013-4853
Available from: 2016-01-11 Created: 2016-04-11 Last updated: 2018-01-10Bibliographically approved
Weber, T., Eriksson, L.-H., Parrow, J., Borgström, J. & Gutkovas, R. (2016). Modal Logics for Nominal Transition Systems. Archive of Formal Proofs
Open this publication in new window or tab >>Modal Logics for Nominal Transition Systems
Show others...
2016 (English)In: Archive of Formal Proofs, ISSN 2150-914xArticle in journal (Refereed) Published
National Category
Computer Sciences
Identifiers
urn:nbn:se:uu:diva-300027 (URN)
Projects
UPMARC
Funder
Swedish Research Council, 2013-4853
Available from: 2016-10-25 Created: 2016-08-01 Last updated: 2019-02-25
Borgström, J., Huang, S., Johansson, M., Raabjerg, P., Victor, B., Åman Pohjola, J. & Parrow, J. (2015). Broadcast psi-calculi with an application to wireless protocols. Software and Systems Modeling, 14(1), 201-216
Open this publication in new window or tab >>Broadcast psi-calculi with an application to wireless protocols
Show others...
2015 (English)In: Software and Systems Modeling, ISSN 1619-1366, E-ISSN 1619-1374, Vol. 14, no 1, p. 201-216Article in journal (Refereed) Published
Abstract [en]

Psi-calculi is a parametric framework for extensions of the pi-calculus, with arbitrary data structures and logical assertions for facts about data. In this paper we add primitives for broadcast communication in order to model wireless protocols. The additions preserve the purity of the psi-calculi semantics, and we formally prove the standard congruence and structural properties of bisimilarity. We demonstrate the expressive power of broadcast psi-calculi by modelling the wireless ad-hoc routing protocol LUNAR and verifying a basic reachability property.

Place, publisher, year, edition, pages
Springer, 2015
National Category
Computer Sciences
Identifiers
urn:nbn:se:uu:diva-205258 (URN)10.1007/s10270-013-0375-z (DOI)000349026100012 ()
Projects
UPMARCProFuN
Funder
Swedish Research Council, 2013-4853
Available from: 2013-11-08 Created: 2013-08-15 Last updated: 2024-01-17Bibliographically approved
Projects
Evidence-based Model Composition in Probabilistic Programming [2013-04853_VR]; Uppsala University
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0001-5990-5742

Search in DiVA

Show all publications