Skip to main content

Showing 1–34 of 34 results for author: Hedges, J

.
  1. arXiv:2404.02688  [pdf, ps, other

    cs.LG math.CT

    Reinforcement Learning in Categorical Cybernetics

    Authors: Jules Hedges, Riu Rodríguez Sakamoto

    Abstract: We show that several major algorithms of reinforcement learning (RL) fit into the framework of categorical cybernetics, that is to say, parametrised bidirectional processes. We build on our previous work in which we show that value iteration can be represented by precomposition with a certain optic. The outline of the main construction in this paper is: (1) We extend the Bellman operators to param… ▽ More

    Submitted 3 April, 2024; originally announced April 2024.

  2. arXiv:2404.02679  [pdf, other

    math.CT cs.CG

    Rendering string diagrams recursively

    Authors: Celia Rubio-Madrigal, Jules Hedges

    Abstract: String diagrams are a graphical language used to represent processes that can be composed sequentially or in parallel, which correspond graphically to horizontal or vertical juxtaposition. In this paper we demonstrate how to compute the layout of a string diagram by folding over its algebraic representation in terms of sequential and parallel composition operators. The algebraic representation can… ▽ More

    Submitted 3 April, 2024; originally announced April 2024.

  3. arXiv:2305.06112  [pdf, other

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

    The Compositional Structure of Bayesian Inference

    Authors: Dylan Braithwaite, Jules Hedges, Toby St Clere Smithe

    Abstract: Bayes' rule tells us how to invert a causal process in order to update our beliefs in light of new evidence. If the process is believed to have a complex compositional structure, we may observe that the inversion of the whole can be computed piecewise in terms of the component processes. We study the structure of this compositional rule, noting that it relates to the lens pattern in functional pro… ▽ More

    Submitted 20 July, 2023; v1 submitted 10 May, 2023; originally announced May 2023.

    Comments: Final postprint to be published in MFCS 2023. Contains material from two unpublished preprints, arxiv:2006.01631 and arXiv:2209.14728

  4. arXiv:2209.14728  [pdf, other

    math.CT cs.LO math.PR math.ST

    Dependent Bayesian Lenses: Categories of Bidirectional Markov Kernels with Canonical Bayesian Inversion

    Authors: Dylan Braithwaite, Jules Hedges

    Abstract: We generalise an existing construction of Bayesian Lenses to admit lenses between pairs of objects where the backwards object is dependent on states on the forwards object (interpreted as probability distributions). This gives a natural setting for studying stochastic maps with Bayesian inverses restricted to the points supported by a given prior. In order to state this formally we develop a propo… ▽ More

    Submitted 29 September, 2022; originally announced September 2022.

    Comments: Work-in-progress preprint submitted to SYCO 9

  5. arXiv:2206.04547  [pdf, ps, other

    math.CT math.OC

    Value Iteration is Optic Composition

    Authors: Jules Hedges, Riu Rodríguez Sakamoto

    Abstract: Dynamic programming is a class of algorithms used to compute optimal control policies for Markov decision processes. Dynamic programming is ubiquitous in control theory, and is also the foundation of reinforcement learning. In this paper, we show that value improvement, one of the main steps of dynamic programming, can be naturally seen as composition in a category of optics, and intuitively, the… ▽ More

    Submitted 31 July, 2023; v1 submitted 9 June, 2022; originally announced June 2022.

    Comments: In Proceedings ACT 2022, arXiv:2307.15519

    Journal ref: EPTCS 380, 2023, pp. 417-432

  6. arXiv:2112.11145  [pdf, ps, other

    math.CT

    Fibre optics

    Authors: Dylan Braithwaite, Matteo Capucci, Bruno Gavranović, Jules Hedges, Eigil Fjeldgren Rischel

    Abstract: Lenses, optics and dependent lenses (or equivalently morphisms of containers, or equivalently natural transformations of polynomial functors) are all widely used in applied category theory as models of bidirectional processes. From the definition of lenses over a finite product category, optics weaken the required structure to actions of monoidal categories, and dependent lenses make use of the ad… ▽ More

    Submitted 21 December, 2021; originally announced December 2021.

    Comments: This is an extended abstract of a forthcoming paper

  7. arXiv:2108.05318  [pdf

    cs.GT cs.SI

    Composing games into complex institutions

    Authors: Seth Frey, Jules Hedges, Joshua Tan, Philipp Zahn

    Abstract: Game theory is used by all behavioral sciences, but its development has long centered around tools for relatively simple games and toy systems, such as the economic interpretation of equilibrium outcomes. Our contribution, compositional game theory, permits another approach of equally general appeal: the high-level design of large games for expressing complex architectures and representing real-wo… ▽ More

    Submitted 9 March, 2023; v1 submitted 11 August, 2021; originally announced August 2021.

    Comments: ~4000 words, 6 figures

  8. Towards Foundations of Categorical Cybernetics

    Authors: Matteo Capucci, Bruno Gavranović, Jules Hedges, Eigil Fjeldgren Rischel

    Abstract: We propose a categorical framework for processes which interact bidirectionally with both an environment and a 'controller'. Examples include open learners, in which the controller is an optimiser such as gradient descent, and an approach to compositional game theory closely related to open games, in which the controller is a composite of game-theoretic agents. We believe that 'cybernetic' is an a… ▽ More

    Submitted 3 November, 2022; v1 submitted 13 May, 2021; originally announced May 2021.

    Comments: In Proceedings ACT 2021, arXiv:2211.01102

    Journal ref: EPTCS 372, 2022, pp. 235-248

  9. arXiv:2010.13361  [pdf, other

    math.CT

    Sheet diagrams for bimonoidal categories

    Authors: Cole Comfort, Antonin Delpeuch, Jules Hedges

    Abstract: Bimonoidal categories (also known as rig categories) are categories with two monoidal structures, one of which distributes over the other. We formally define sheet diagrams, a graphical calculus for bimonoidal categories that was informally introduced by Staton. Sheet diagrams are string diagrams drawn on a branching surface, which is itself an extruded string diagram. Our main result is a soundne… ▽ More

    Submitted 19 December, 2020; v1 submitted 26 October, 2020; originally announced October 2020.

    Comments: feedback welcome

    MSC Class: 18M30; 18M50

  10. Compositional modelling of network games

    Authors: Elena Di Lavore, Jules Hedges, Paweł Sobociński

    Abstract: The analysis of games played on graph-like structures is of increasing importance due to the prevalence of social networks, both virtual and physical, in our daily life. As well as being relevant in computer science, mathematical analysis and computer simulations of such distributed games are vital methodologies in economics, politics and epidemiology, amongst other fields. Our contribution is to… ▽ More

    Submitted 16 May, 2022; v1 submitted 5 June, 2020; originally announced June 2020.

    Comments: Published in CSL'21

  11. Bayesian open games

    Authors: Joe Bolt, Jules Hedges, Philipp Zahn

    Abstract: This paper generalises the treatment of compositional game theory as introduced by Ghani et al. in 2018, where games are modelled as morphisms of a symmetric monoidal category. From an economic modelling perspective, the notion of a game in the work by Ghani et al. is not expressive enough for many applications. This includes stochastic environments, stochastic choices by players, as well as incom… ▽ More

    Submitted 28 September, 2023; v1 submitted 8 October, 2019; originally announced October 2019.

    Journal ref: Compositionality 5, 9 (2023)

  12. arXiv:1908.10660  [pdf, ps, other

    math.CT

    Foundations of brick diagrams

    Authors: Jules Hedges, Jelle Herold

    Abstract: We discuss the foundations of 2-dimensional graphical languages, with a view towards their computer implementation in a 'compiler' for monoidal categories. In particular, we discuss the close relationship between string diagrams, pasting diagrams, linear logic proof trees and k-d trees, the last being a data structure from computational geometry and computer graphics that recursively partitions a… ▽ More

    Submitted 28 August, 2019; originally announced August 2019.

  13. arXiv:1904.11287  [pdf, ps, other

    cs.GT cs.LO

    The game semantics of game theory

    Authors: Jules Hedges

    Abstract: We use a reformulation of compositional game theory to reunite game theory with game semantics, by viewing an open game as the System and its choice of contexts as the Environment. Specifically, the system is jointly controlled by $n \geq 0$ noncooperative players, each independently optimising a real-valued payoff. The goal of the system is to play a Nash equilibrium, and the goal of the environm… ▽ More

    Submitted 15 September, 2020; v1 submitted 25 April, 2019; originally announced April 2019.

  14. arXiv:1902.08666  [pdf, ps, other

    math.CT cs.LG

    From open learners to open games

    Authors: Jules Hedges

    Abstract: The categories of open learners (due to Fong, Spivak and Tuyéras) and open games (due to the present author, Ghani, Winschel and Zahn) bear a very striking and unexpected similarity. The purpose of this short note is to prove that there is a faithful symmetric monoidal functor from the former to the latter, which means that any supervised neural network (without feedback or other complicating feat… ▽ More

    Submitted 22 February, 2019; originally announced February 2019.

  15. arXiv:1811.06810  [pdf, other

    cs.GT

    Sequential games and nondeterministic selection functions

    Authors: Joe Bolt, Jules Hedges, Philipp Zahn

    Abstract: This paper analyses Escardó and Oliva's generalisation of selection functions over a strong monad from a game-theoretic perspective. We focus on the case of the nondeterminism (finite nonempty powerset) monad $\mathcal{P}$. We use these nondeterministic selection functions of type $\mathcal{J}^{\mathcal{P}}_R X = (X \rightarrow R) \rightarrow \mathcal{P} (X)$ to study sequential games, extending p… ▽ More

    Submitted 14 April, 2019; v1 submitted 16 November, 2018; originally announced November 2018.

  16. arXiv:1811.02701   

    cs.CL cs.AI cs.GT

    Proceedings of the 2018 Workshop on Compositional Approaches in Physics, NLP, and Social Sciences

    Authors: Martha Lewis, Bob Coecke, Jules Hedges, Dimitri Kartsaklis, Dan Marsden

    Abstract: The ability to compose parts to form a more complex whole, and to analyze a whole as a combination of elements, is desirable across disciplines. This workshop bring together researchers applying compositional approaches to physics, NLP, cognitive science, and game theory. Within NLP, a long-standing aim is to represent how words can combine to form phrases and sentences. Within the framework of di… ▽ More

    Submitted 6 November, 2018; originally announced November 2018.

    Journal ref: EPTCS 283, 2018

  17. arXiv:1808.05545  [pdf, ps, other

    math.CT cs.LO

    Limits of bimorphic lenses

    Authors: Jules Hedges

    Abstract: Bimorphic lenses are a simplification of polymorphic lenses that (like polymorphic lenses) have a type defined by 4 parameters, but which are defined in a monomorphic type system (i.e. an ordinary category with finite products). We show that the category of bimorphic lenses is complete when the base category is complete, cocomplete and cartesian closed, and so symmetric bimorphic lenses can be def… ▽ More

    Submitted 25 August, 2019; v1 submitted 16 August, 2018; originally announced August 2018.

    Comments: Important: I now believe that the main result, proposition 6 (and by extension theorem 1) is false. I am not formally withdrawing the paper from arXiv because I think it's salvageable with some changes, but in the meantime the main results should not be relied on

  18. Towards Functorial Language-Games

    Authors: Jules Hedges, Martha Lewis

    Abstract: In categorical compositional semantics of natural language one studies functors from a category of grammatical derivations (such as a Lambek pregroup) to a semantic category (such as real vector spaces). We compositionally build game-theoretic semantics of sentences by taking the semantic category to be the category whose morphisms are open games. This requires some modifications to the grammar ca… ▽ More

    Submitted 8 November, 2018; v1 submitted 20 July, 2018; originally announced July 2018.

    Comments: In Proceedings CAPNS 2018, arXiv:1811.02701

    Journal ref: EPTCS 283, 2018, pp. 89-102

  19. Backward Induction for Repeated Games

    Authors: Jules Hedges

    Abstract: We present a method of backward induction for computing approximate subgame perfect Nash equilibria of infinitely repeated games with discounted payoffs. This uses the selection monad transformer, combined with the searchable set monad viewed as a notion of 'topologically compact' nondeterminism, and a simple model of computable real numbers. This is the first application of Escardó and Oliva's th… ▽ More

    Submitted 11 July, 2018; v1 submitted 19 April, 2018; originally announced April 2018.

    Comments: In Proceedings MSFP 2018, arXiv:1807.03732

    Journal ref: EPTCS 275, 2018, pp. 35-52

  20. arXiv:1803.10131  [pdf, ps, other

    cs.GT

    The algebra of predicting agents

    Authors: Joe Bolt, Jules Hedges, Viktor Winschel

    Abstract: The category of open games, which provides a strongly compositional foundation of economic game theory, is intermediate between symmetric monoidal and compact closed. More precisely it has counits with no corresponding units, and a partially defined duality. There exist open games with the same types as unit maps, given by agents with the strategic goal of predicting a future value. Such agents ap… ▽ More

    Submitted 27 March, 2018; originally announced March 2018.

  21. arXiv:1711.07059  [pdf, ps, other

    cs.GT math.CT

    Morphisms of open games

    Authors: Jules Hedges

    Abstract: We define a notion of morphisms between open games, exploiting a surprising connection between lenses in computer science and compositional game theory. This extends the more intuitively obvious definition of globular morphisms as map**s between strategy profiles that preserve best responses, and hence in particular preserve Nash equilibria. We construct a symmetric monoidal double category in w… ▽ More

    Submitted 23 November, 2017; v1 submitted 19 November, 2017; originally announced November 2017.

  22. arXiv:1704.02230  [pdf, ps, other

    math.CT cs.LO

    Coherence for lenses and open games

    Authors: Jules Hedges

    Abstract: Categories of polymorphic lenses in computer science, and of open games in compositional game theory, have a curious structure that is reminiscent of compact closed categories, but differs in some crucial ways. Specifically they have a family of morphisms that behave like the counits of a compact closed category, but have no corresponding units; and they have a `partial' duality that behaves like… ▽ More

    Submitted 15 September, 2017; v1 submitted 7 April, 2017; originally announced April 2017.

  23. arXiv:1604.06061  [pdf, ps, other

    cs.GT cs.LO

    Compositionality and String Diagrams for Game Theory

    Authors: Jules Hedges, Evguenia Shprits, Viktor Winschel, Philipp Zahn

    Abstract: We introduce string diagrams as a formal mathematical, graphical language to represent, compose, program and reason about games. The language is well established in quantum physics, quantum computing and quantum linguistic with the semantics given by category theory. We apply this language to the game theoretical setting and show examples how to use it for some economic games where we highlight th… ▽ More

    Submitted 20 April, 2016; originally announced April 2016.

  24. arXiv:1603.04641  [pdf, ps, other

    cs.GT

    Compositional game theory

    Authors: Neil Ghani, Jules Hedges, Viktor Winschel, Philipp Zahn

    Abstract: We introduce open games as a compositional foundation of economic game theory. A compositional approach potentially allows methods of game theory and theoretical computer science to be applied to large-scale economic models for which standard economic tools are not practical. An open game represents a game played relative to an arbitrary environment and to this end we introduce the concept of cout… ▽ More

    Submitted 15 February, 2018; v1 submitted 15 March, 2016; originally announced March 2016.

    Comments: This version submitted to LiCS 2018

  25. arXiv:1602.01635  [pdf, ps, other

    cs.CL cs.AI math.CT

    A Generalised Quantifier Theory of Natural Language in Categorical Compositional Distributional Semantics with Bialgebras

    Authors: Jules Hedges, Mehrnoosh Sadrzadeh

    Abstract: Categorical compositional distributional semantics is a model of natural language; it combines the statistical vector space models of words with the compositional models of grammar. We formalise in this model the generalised quantifier theory of natural language, due to Barwise and Cooper. The underlying setting is a compact closed category with bialgebras. We start from a generative grammar forma… ▽ More

    Submitted 2 September, 2017; v1 submitted 4 February, 2016; originally announced February 2016.

    ACM Class: I.2.7

  26. arXiv:1506.01003  [pdf, ps, other

    cs.GT

    Higher-Order Decision Theory

    Authors: Jules Hedges, Paulo Oliva, Evguenia Sprits, Viktor Winschel, Philipp Zahn

    Abstract: Classical decision theory models behaviour in terms of utility maximisation where utilities represent rational preference relations over outcomes. However, empirical evidence and theoretical considerations suggest that we need to go beyond this framework. We propose to represent goals by higher-order functions or operators that take other functions as arguments where the max and argmax operators a… ▽ More

    Submitted 3 June, 2015; v1 submitted 2 June, 2015; originally announced June 2015.

    Comments: arXiv admin note: text overlap with arXiv:1409.7411

  27. arXiv:1506.01002  [pdf, ps, other

    cs.GT

    Higher-Order Game Theory

    Authors: Jules Hedges, Paulo Oliva, Evguenia Sprits, Viktor Winschel, Philipp Zahn

    Abstract: In applied game theory the motivation of players is a key element. It is encoded in the payoffs of the game form and often based on utility functions. But there are cases were formal descriptions in the form of a utility function do not exist. In this paper we introduce a representation of games where players' goals are modeled based on so-called higher-order functions. Our representation provides… ▽ More

    Submitted 3 June, 2015; v1 submitted 2 June, 2015; originally announced June 2015.

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

  28. arXiv:1503.06072  [pdf, ps, other

    cs.GT cs.LO math.CT

    String diagrams for game theory

    Authors: Jules Hedges

    Abstract: This paper presents a monoidal category whose morphisms are games (in the sense of game theory, not game semantics) and an associated diagrammatic language. The two basic operations of a monoidal category, namely categorical composition and tensor product, correspond roughly to sequential and simultaneous composition of games. This leads to a compositional theory in which we can reason about prope… ▽ More

    Submitted 20 March, 2015; originally announced March 2015.

  29. arXiv:1503.06061  [pdf, ps, other

    cs.PL

    The selection monad as a CPS transformation

    Authors: Jules Hedges

    Abstract: A computation in the continuation monad returns a final result given a continuation, ie. it is a function with type $(X \to R) \to R$. If we instead return the intermediate result at $X$ then our computation is called a selection function. Selection functions appear in diverse areas of mathematics and computer science (especially game theory, proof theory and topology) but the existing literature… ▽ More

    Submitted 20 March, 2015; originally announced March 2015.

  30. arXiv:1409.7411  [pdf, ps, other

    cs.LO cs.GT math.LO

    A Higher-order Framework for Decision Problems and Games

    Authors: Jules Hedges, Paulo Oliva, Evguenia Winschel, Viktor Winschel, Philipp Zahn

    Abstract: We introduce a new unified framework for modelling both decision problems and finite games based on quantifiers and selection functions. We show that the canonical utility maximisation is one special case of a quantifier and that our more abstract framework provides several additional degrees of freedom in modelling. In particular, incomplete preferences, non-maximising heuristics, and context-dep… ▽ More

    Submitted 25 September, 2014; originally announced September 2014.

    Comments: 45 pages

  31. Monad Transformers for Backtracking Search

    Authors: Jules Hedges

    Abstract: This paper extends Escardo and Oliva's selection monad to the selection monad transformer, a general monadic framework for expressing backtracking search algorithms in Haskell. The use of the closely related continuation monad transformer for similar purposes is also discussed, including an implementation of a DPLL-like SAT solver with no explicit recursion. Continuing a line of work exploring con… ▽ More

    Submitted 8 June, 2014; originally announced June 2014.

    Comments: In Proceedings MSFP 2014, arXiv:1406.1534

    Journal ref: EPTCS 153, 2014, pp. 31-50

  32. arXiv:1401.4538  [pdf, ps, other

    cs.LO

    Dialectica models of additive-free linear logic

    Authors: Jules Hedges

    Abstract: This paper presents a construction which transforms categorical models of additive-free propositional linear logic, closely based on de Paiva's dialectica categories and Oliva's functional interpretations of classical linear logic. The construction is defined using dependent type theory, which proves to be a useful tool for reasoning about dialectica categories. Abstractly, we have a closure opera… ▽ More

    Submitted 25 September, 2014; v1 submitted 18 January, 2014; originally announced January 2014.

  33. arXiv:1306.0558  [pdf

    q-bio.PE q-bio.GN

    Reconstructing the Population Genetic History of the Caribbean

    Authors: Andres Moreno-Estrada, Simon Gravel, Fouad Zakharia, Jacob L. McCauley, Jake K. Byrnes, Christopher R. Gignoux, Patricia A. Ortiz-Tello, Ricardo J. Martinez, Dale J. Hedges, Richard W. Morris, Celeste Eng, Karla Sandoval, Suehelay Acevedo-Acevedo, Juan Carlos Martinez-Cruzado, Paul J. Norman, Zulay Layrisse, Peter Parham, Esteban Gonzalez Burchard, Michael L. Cuccaro, Eden R. Martin, Carlos D. Bustamante

    Abstract: The Caribbean basin is home to some of the most complex interactions in recent history among previously diverged human populations. Here, by making use of genome-wide SNP array data, we characterize ancestral components of Caribbean populations on a sub-continental level and unveil fine-scale patterns of population structure distinguishing insular from mainland Caribbean populations as well as fro… ▽ More

    Submitted 3 June, 2013; originally announced June 2013.

    Comments: 26 pages, 6 figures, and supporting information

  34. A generalisation of Nash's theorem with higher-order functionals

    Authors: Julian Hedges

    Abstract: The recent theory of sequential games and selection functions by Mar- tin Escardo and Paulo Oliva is extended to games in which players move simultaneously. The Nash existence theorem for mixed-strategy equilibria of finite games is generalised to games defined by selection functions. A normal form construction is given which generalises the game-theoretic normal form, and its soundness is proven.… ▽ More

    Submitted 21 January, 2013; originally announced January 2013.