Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Showing 1–31 of 31 results for author: Staton, S

Searching in archive cs. Search in all archives.
.
  1. arXiv:2405.09391  [pdf, ps, other

    cs.PL cs.LO math.CT math.PR

    Compositional imprecise probability

    Authors: Jack Liell-Cock, Sam Staton

    Abstract: Imprecise probability is concerned with uncertainty about which probability distributions to use. It has applications in robust statistics and elsewhere. Imprecise probability can be modelled in various ways, including by convex sets of probability distributions. We look at programming language models for imprecise probability. Our desiderata are that we would like our model to support all kinds… ▽ More

    Submitted 15 May, 2024; originally announced May 2024.

    Comments: Draft. Feedback welcome

  2. arXiv:2402.03103  [pdf, ps, other

    cs.PL cs.LO math.CT

    Scoped Effects as Parameterized Algebraic Theories

    Authors: Cristina Matache, Sam Lindley, Sean Moss, Sam Staton, Nicolas Wu, Zhixuan Yang

    Abstract: Notions of computation can be modelled by monads. Algebraic effects offer a characterization of monads in terms of algebraic operations and equational axioms, where operations are basic programming features, such as reading or updating the state, and axioms specify observably equivalent expressions. However, many useful programming features depend on additional mechanisms such as delimited scopes… ▽ More

    Submitted 20 May, 2024; v1 submitted 5 February, 2024; originally announced February 2024.

    Comments: Extended version of the ESOP 2024 paper with the same title

  3. arXiv:2312.17141  [pdf, other

    cs.PL cs.LO math.PR

    Probabilistic Programming with Exact Conditions

    Authors: Dario Stein, Sam Staton

    Abstract: We spell out the paradigm of exact conditioning as an intuitive and powerful way of conditioning on observations in probabilistic programs. This is contrasted with likelihood-based scoring known from languages such as Stan. We study exact conditioning in the cases of discrete and Gaussian probability, presenting prototypical languages for each case and giving semantics to them. We make use of cate… ▽ More

    Submitted 28 December, 2023; originally announced December 2023.

    Comments: Accepted for JACM

  4. arXiv:2312.17127  [pdf, other

    cs.PL cs.LO math.PR

    Probabilistic programming interfaces for random graphs: Markov categories, graphons, and nominal sets

    Authors: Nathanael L. Ackerman, Cameron E. Freer, Younesse Kaddar, Jacek Karwowski, Sean K. Moss, Daniel M. Roy, Sam Staton, Hongseok Yang

    Abstract: We study semantic models of probabilistic programming languages over graphs, and establish a connection to graphons from graph theory and combinatorics. We show that every well-behaved equational theory for our graph probabilistic programming language corresponds to a graphon, and conversely, every graphon arises in this way. We provide three constructions for showing that every graphon arises f… ▽ More

    Submitted 28 December, 2023; originally announced December 2023.

    Comments: Accepted for POPL 2024

    Journal ref: Proc. ACM Program. Lang. 8, POPL, Article 61 (2024), pp 1819-1849

  5. arXiv:2312.16694  [pdf, ps, other

    cs.LO cs.PL math.CT

    Denotational semantics for languages for inference: semirings, monads, and tensors

    Authors: Cristina Matache, Sean Moss, Sam Staton, Ariadne Si Suo

    Abstract: Computational effects are commonly modelled by monads, but often a monad can be presented by an algebraic theory of operations and equations. This talk is about monads and algebraic theories for languages for inference, and their connections to semirings and tensors. A basic class of examples of algebraic theories comes from considering the theory of modules for a semiring, e.g. the theory of un… ▽ More

    Submitted 27 December, 2023; originally announced December 2023.

    Comments: 4 pages, LAFI 2023

  6. arXiv:2312.08138   

    cs.LO cs.PL

    Proceedings of the Sixth International Conference on Applied Category Theory 2023

    Authors: Sam Staton, Christina Vasilakopoulou

    Abstract: The Sixth International Conference on Applied Category Theory took place at the University of Maryland, 31 July -- 4 August 2023. This conference follows the previous meetings at Leiden (2018), Oxford (2019), MIT (2020, fully online), Cambridge (2021) and Glasgow (2022). The conference comprised contributed talks, a poster session, an industry showcase session, and a session where junior researche… ▽ More

    Submitted 13 December, 2023; originally announced December 2023.

    Journal ref: EPTCS 397, 2023

  7. A model of stochastic memoization and name generation in probabilistic programming: categorical semantics via monads on presheaf categories

    Authors: Younesse Kaddar, Sam Staton

    Abstract: Stochastic memoization is a higher-order construct of probabilistic programming languages that is key in Bayesian nonparametrics, a modular approach that allows us to extend models beyond their parametric limitations and compose them in an elegant and principled manner. Stochastic memoization is simple and useful in practice, but semantically elusive, particularly regarding dataflow transformation… ▽ More

    Submitted 21 November, 2023; v1 submitted 18 September, 2023; originally announced September 2023.

    Comments: To be published in the MFPS 2023 Proceedings as part of the Electronic Notes in Theoretical Informatics and Computer Science (ENTICS) series

    Journal ref: Electronic Notes in Theoretical Informatics and Computer Science, Volume 3 - Proceedings of MFPS XXXIX (November 23, 2023) entics:12291

  8. arXiv:2302.10636  [pdf, ps, other

    cs.PL cs.LG cs.LO

    $ω$PAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programs

    Authors: Mathieu Huot, Alexander K. Lew, Vikash K. Mansinghka, Sam Staton

    Abstract: We introduce a new setting, the category of $ω$PAP spaces, for reasoning denotationally about expressive differentiable and probabilistic programming languages. Our semantics is general enough to assign meanings to most practical probabilistic and differentiable programs, including those that use general recursion, higher-order functions, discontinuous primitives, and both discrete and continuous… ▽ More

    Submitted 25 May, 2023; v1 submitted 21 February, 2023; originally announced February 2023.

    Comments: 11 figures, 10 pages main paper + 13 pages of appendices

  9. arXiv:2212.07250  [pdf, other

    cs.PL

    Affine Monads and Lazy Structures for Bayesian Programming

    Authors: Swaraj Dash, Younesse Kaddar, Hugo Paquet, Sam Staton

    Abstract: We show that streams and lazy data structures are a natural idiom for programming with infinite-dimensional Bayesian methods such as Poisson processes, Gaussian processes, jump processes, Dirichlet processes, and Beta processes. The crucial semantic idea, inspired by developments in synthetic probability theory, is to work with two separate monads: an affine monad of probability, which supports la… ▽ More

    Submitted 14 December, 2022; originally announced December 2022.

    Comments: Accepted for POPL 2023

  10. arXiv:2212.06386  [pdf, other

    cs.PL cs.MS stat.CO

    ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs

    Authors: Alexander K. Lew, Mathieu Huot, Sam Staton, Vikash K. Mansinghka

    Abstract: Optimizing the expected values of probabilistic processes is a central problem in computer science and its applications, arising in fields ranging from artificial intelligence to operations research to statistical computing. Unfortunately, automatic differentiation techniques developed for deterministic programs do not in general compute the correct gradients needed for widely used solutions based… ▽ More

    Submitted 13 December, 2022; originally announced December 2022.

    Comments: to appear at POPL 2023

    Journal ref: POPL 2023

  11. arXiv:2207.05832  [pdf, ps, other

    quant-ph cs.LO

    Quantum de Finetti Theorems as Categorical Limits, and Limits of State Spaces of C*-algebras

    Authors: Sam Staton, Ned Summers

    Abstract: De Finetti theorems tell us that if we expect the likelihood of outcomes to be independent of their order, then these sequences of outcomes could be equivalently generated by drawing an experiment at random from a distribution, and repeating it over and over. In particular, the quantum de Finetti theorem says that exchangeable sequences of quantum states are always represented by distributions ove… ▽ More

    Submitted 15 November, 2023; v1 submitted 12 July, 2022; originally announced July 2022.

    Comments: In Proceedings QPL 2022, arXiv:2311.08375

    Journal ref: EPTCS 394, 2023, pp. 400-414

  12. arXiv:2205.15917  [pdf, other

    cs.PL cs.LO math.CT

    Concrete categories and higher-order recursion (With applications including probability, differentiability, and full abstraction)

    Authors: Cristina Matache, Sean Moss, Sam Staton

    Abstract: We study concrete sheaf models for a call-by-value higher-order language with recursion. Our family of sheaf models is a generalization of many examples from the literature, such as models for probabilistic and differentiable programming, and fully abstract logical relations models. We treat recursion in the spirit of synthetic domain theory. We provide a general construction of a lifting monad st… ▽ More

    Submitted 31 May, 2022; originally announced May 2022.

  13. Monads for Measurable Queries in Probabilistic Databases

    Authors: Swaraj Dash, Sam Staton

    Abstract: We consider a bag (multiset) monad on the category of standard Borel spaces, and show that it gives a free measurable commutative monoid. Firstly, we show that a recent measurability result for probabilistic database queries (Grohe and Lindner, ICDT 2020) follows quickly from the fact that queries can be expressed in monad-based terms. We also extend this measurability result to a fuller query la… ▽ More

    Submitted 28 December, 2021; originally announced December 2021.

    Comments: In Proceedings MFPS 2021, arXiv:2112.13746

    Journal ref: EPTCS 351, 2021, pp. 34-50

  14. arXiv:2105.02156  [pdf, other

    cs.PL cs.LO math.CT

    Recursion and Sequentiality in Categories of Sheaves

    Authors: Cristina Matache, Sean Moss, Sam Staton

    Abstract: We present a fully abstract model of a call-by-value language with higher-order functions, recursion and natural numbers, as an exponential ideal in a topos. Our model is inspired by the fully abstract models of O'Hearn, Riecke and Sandholm, and Marz and Streicher. In contrast with semantics based on cpo's, we treat recursion as just one feature in a model built by combining a choice of modular co… ▽ More

    Submitted 5 May, 2021; originally announced May 2021.

  15. arXiv:2101.11351  [pdf, other

    cs.PL cs.AI cs.LO math.CT math.PR

    Compositional Semantics for Probabilistic Programs with Exact Conditioning

    Authors: Dario Stein, Sam Staton

    Abstract: We define a probabilistic programming language for Gaussian random variables with a first-class exact conditioning construct. We give operational, denotational and equational semantics for this language, establishing convenient properties like exchangeability of conditions. Conditioning on equality of continuous random variables is nontrivial, as the exact observation may have probability zero; th… ▽ More

    Submitted 27 January, 2021; originally announced January 2021.

    Comments: 16 pages, 5 figures

    ACM Class: F.3.2; G.3

  16. A Monad for Probabilistic Point Processes

    Authors: Swaraj Dash, Sam Staton

    Abstract: A point process on a space is a random bag of elements of that space. In this paper we explore programming with point processes in a monadic style. To this end we identify point processes on a space X with probability measures of bags of elements in X. We describe this view of point processes using the composition of the Giry and bag monads on the category of measurable spaces and functions and pr… ▽ More

    Submitted 25 January, 2021; originally announced January 2021.

    Comments: In Proceedings ACT 2020, arXiv:2101.07888

    Journal ref: EPTCS 333, 2021, pp. 19-32

  17. Higher Order Automatic Differentiation of Higher Order Functions

    Authors: Mathieu Huot, Sam Staton, Matthijs Vákár

    Abstract: We present semantic correctness proofs of automatic differentiation (AD). We consider a forward-mode AD method on a higher order language with algebraic data types, and we characterise it as the unique structure preserving macro given a choice of derivatives for basic operations. We describe a rich semantics for differentiable programming, based on diffeological spaces. We show that it interprets… ▽ More

    Submitted 24 July, 2024; v1 submitted 17 January, 2021; originally announced January 2021.

    Comments: arXiv admin note: substantial text overlap with arXiv:2001.02209

    Journal ref: Logical Methods in Computer Science, Volume 18, Issue 1 (March 22, 2022) lmcs:7106

  18. arXiv:2007.08638  [pdf, other

    cs.PL cs.LO math.LO

    Probabilistic Programming Semantics for Name Generation

    Authors: Marcin Sabok, Sam Staton, Dario Stein, Michael Wolman

    Abstract: We make a formal analogy between random sampling and fresh name generation. We show that quasi-Borel spaces, a model for probabilistic programming, can soundly interpret Stark's $ν$-calculus, a calculus for name generation. Moreover, we prove that this semantics is fully abstract up to first-order types. This is surprising for an 'off-the-shelf' model, and requires a novel analysis of probability… ▽ More

    Submitted 20 December, 2020; v1 submitted 16 July, 2020; originally announced July 2020.

    Comments: 29 pages, 1 figure; to be published in POPL 2021

    ACM Class: F.3.2

  19. arXiv:2001.02209  [pdf, ps, other

    cs.PL cs.LO

    Correctness of Automatic Differentiation via Diffeologies and Categorical Gluing

    Authors: Mathieu Huot, Sam Staton, Matthijs Vákár

    Abstract: We present semantic correctness proofs of Automatic Differentiation (AD). We consider a forward-mode AD method on a higher order language with algebraic data types, and we characterise it as the unique structure preserving macro given a choice of derivatives for basic operations. We describe a rich semantics for differentiable programming, based on diffeological spaces. We show that it interprets… ▽ More

    Submitted 1 April, 2020; v1 submitted 7 January, 2020; originally announced January 2020.

    Comments: Proceedings of FoSSaCS 2020

  20. arXiv:1904.09600  [pdf, other

    cs.LO math.CT quant-ph

    Quantum channels as a categorical completion

    Authors: Mathieu Huot, Sam Staton

    Abstract: We propose a categorical foundation for the connection between pure and mixed states in quantum information and quantum computation. The foundation is based on distributive monoidal categories. First, we prove that the category of all quantum channels is a canonical completion of the category of pure quantum operations (with ancilla preparations). More precisely, we prove that the category of co… ▽ More

    Submitted 24 April, 2019; v1 submitted 21 April, 2019; originally announced April 2019.

    Comments: 12 pages + ref, accepted at LICS 2019

  21. arXiv:1901.10117  [pdf, ps, other

    quant-ph cs.LO math.CT

    Universal Properties in Quantum Theory

    Authors: Mathieu Huot, Sam Staton

    Abstract: We argue that notions in quantum theory should have universal properties in the sense of category theory. We consider the completely positive trace preserving (CPTP) maps, the basic notion of quantum channel. Physically, quantum channels are derived from pure quantum theory by allowing discarding. We phrase this in category theoretic terms by showing that the category of CPTP maps is the univer… ▽ More

    Submitted 29 January, 2019; originally announced January 2019.

    Comments: In Proceedings QPL 2018, arXiv:1901.09476

    Journal ref: EPTCS 287, 2019, pp. 213-223

  22. arXiv:1811.04196  [pdf

    cs.LO cs.PL

    A Domain Theory for Statistical Probabilistic Programming

    Authors: Matthijs Vákár, Ohad Kammar, Sam Staton

    Abstract: We give an adequate denotational semantics for languages with recursive higher-order types, continuous probability distributions, and soft constraints. These are expressive languages for building Bayesian models of the kinds used in computational statistics and machine learning. Among them are untyped languages, similar to Church and WebPPL, because our semantics allows recursive mixed-variance da… ▽ More

    Submitted 29 July, 2021; v1 submitted 10 November, 2018; originally announced November 2018.

    Journal ref: Proc. ACM Program. Lang. 3(POPL): 36:1-36:29 (2019)

  23. The Beta-Bernoulli process and algebraic effects

    Authors: Sam Staton, Dario Stein, Hongseok Yang, Nathanael L. Ackerman, Cameron E. Freer, Daniel M. Roy

    Abstract: In this paper we use the framework of algebraic effects from programming language theory to analyze the Beta-Bernoulli process, a standard building block in Bayesian models. Our analysis reveals the importance of abstract data types, and two types of program equations, called commutativity and discardability. We develop an equational theory of terms that use the Beta-Bernoulli process, and show th… ▽ More

    Submitted 15 May, 2018; v1 submitted 26 February, 2018; originally announced February 2018.

    Comments: To appear in Proc. ICALP 2018

    Journal ref: Proceedings of the 45th International Colloquium on Automata, Languages, and Programming (ICALP 2018), 141:1-141:15, 2018

  24. arXiv:1711.05159  [pdf, other

    cs.LO cs.PL math.CT math.OA quant-ph

    Classical Control, Quantum Circuits and Linear Logic in Enriched Category Theory

    Authors: Mathys Rennela, Sam Staton

    Abstract: We describe categorical models of a circuit-based (quantum) functional programming language. We show that enriched categories play a crucial role. Following earlier work on QWire by Paykin et al., we consider both a simple first-order linear language for circuits, and a more powerful host language, such that the circuit language is embedded inside the host language. Our categorical semantics for t… ▽ More

    Submitted 9 March, 2020; v1 submitted 14 November, 2017; originally announced November 2017.

    ACM Class: F.3.2

    Journal ref: Logical Methods in Computer Science, Volume 16, Issue 1 (March 10, 2020) lmcs:4068

  25. Denotational validation of higher-order Bayesian inference

    Authors: Adam Ścibior, Ohad Kammar, Matthijs Vákár, Sam Staton, Hongseok Yang, Yufei Cai, Klaus Ostermann, Sean K. Moss, Chris Heunen, Zoubin Ghahramani

    Abstract: We present a modular semantic account of Bayesian inference algorithms for probabilistic programming languages, as used in data science and machine learning. Sophisticated inference algorithms are often explained in terms of composition of smaller parts. However, neither their theoretical justification nor their implementation reflects this modularity. We show how to conceptualise and analyse such… ▽ More

    Submitted 8 November, 2017; originally announced November 2017.

    Journal ref: Proc. ACM Program. Lang. 2, POPL, Article 60 (January 2018)

  26. arXiv:1702.04908  [pdf, ps, other

    cs.PL cs.LO math.CT

    A monad for full ground reference cells

    Authors: Ohad Kammar, Paul B. Levy, Sean K. Moss, Sam Staton

    Abstract: We present a denotational account of dynamic allocation of potentially cyclic memory cells using a monad on a functor category. We identify the collection of heaps as an object in a different functor category equipped with a monad for adding hiding/encapsulation capabilities to the heaps. We derive a monad for full ground references supporting effect masking by applying a state monad transformer t… ▽ More

    Submitted 19 April, 2017; v1 submitted 16 February, 2017; originally announced February 2017.

  27. arXiv:1701.02547  [pdf, other

    cs.PL cs.AI cs.LO math.CT math.PR

    A Convenient Category for Higher-Order Probability Theory

    Authors: Chris Heunen, Ohad Kammar, Sam Staton, Hongseok Yang

    Abstract: Higher-order probabilistic programming languages allow programmers to write sophisticated models in machine learning and statistics in a succinct and structured way, but step outside the standard measure-theoretic formalization of probability theory. Programs may use both higher-order functions and continuous distributions, or even define a probability distribution on functions. But standard proba… ▽ More

    Submitted 20 November, 2020; v1 submitted 10 January, 2017; originally announced January 2017.

    Journal ref: Logic in Computer Science 2017

  28. arXiv:1701.00662  [pdf, other

    math.OA cs.LO quant-ph

    Infinite-Dimensionality in Quantum Foundations: W*-algebras as Presheaves over Matrix Algebras

    Authors: Mathys Rennela, Sam Staton, Robert Furber

    Abstract: In this paper, W*-algebras are presented as canonical colimits of diagrams of matrix algebras and completely positive maps. In other words, matrix algebras are dense in W*-algebras.

    Submitted 3 January, 2017; originally announced January 2017.

    Comments: In Proceedings QPL 2016, arXiv:1701.00242

    ACM Class: F.4.0; F.3.2

    Journal ref: EPTCS 236, 2017, pp. 161-173

  29. Semantics for probabilistic programming: higher-order functions, continuous distributions, and soft constraints

    Authors: Sam Staton, Hongseok Yang, Chris Heunen, Ohad Kammar, Frank Wood

    Abstract: We study the semantic foundation of expressive probabilistic programming languages, that support higher-order functions, continuous distributions, and soft constraints (such as Anglican, Church, and Venture). We define a metalanguage (an idealised version of Anglican) for probabilistic computation with the above features, develop both operational and denotational semantics, and prove soundness, ad… ▽ More

    Submitted 4 May, 2016; v1 submitted 19 January, 2016; originally announced January 2016.

    ACM Class: F.3.2; D.3.1; I.2.5; G.3

    Journal ref: Logic in Computer Science 525--534, 2016

  30. Linear usage of state

    Authors: Rasmus Ejlers Møgelberg, Sam Staton

    Abstract: We investigate the phenomenon that "every monad is a linear state monad". We do this by studying a fully-complete state-passing translation from an impure call-by-value language to a new linear type theory: the enriched call-by-value calculus. The results are not specific to store, but can be applied to any computational effect expressible using algebraic operations, even to effects that are not u… ▽ More

    Submitted 30 March, 2014; v1 submitted 6 March, 2014; originally announced March 2014.

    Comments: This article expands on a paper presented at the Fourth International Conference on Algebra and Coalgebra in Computer Science (CALCO 2011)

    Journal ref: Logical Methods in Computer Science, Volume 10, Issue 1 (March 25, 2014) lmcs:743

  31. Relating coalgebraic notions of bisimulation

    Authors: Sam Staton

    Abstract: The theory of coalgebras, for an endofunctor on a category, has been proposed as a general theory of transition systems. We investigate and relate four generalizations of bisimulation to this setting, providing conditions under which the four different generalizations coincide. We study transfinite sequences whose limits are the greatest bisimulations.

    Submitted 3 May, 2011; v1 submitted 21 January, 2011; originally announced January 2011.

    ACM Class: F.3.2, G.2.m

    Journal ref: Logical Methods in Computer Science, Volume 7, Issue 1 (March 30, 2011) lmcs:670