Reference. Compositional Game Theory
Cite
Cited by (17)
Reinforcement Learning in Categorical Cybernetics hedges-2025-reinforcement
The graphical theory of monads hinze-2025-the
The formal theory of monads shows that much of the theory of monads can be developed in the abstract at the level of 2-categories. This means that results about monads can be established once and for all and simply instantiated in settings such as enriched category theory. Unfortunately, these results can be hard to reason about as they involve more abstract machinery. In this paper, we present the formal theory of monads in terms of string diagrams — a graphical language for 2-categorical calculations. Using this perspective, we show that many aspects of the theory of monads, such as the Eilenberg–Moore and Kleisli resolutions of monads, liftings, and distributive laws, can be understood in terms of systematic graphical calculational reasoning. This paper will serve as an introduction both to the formal theory of monads and to the use of string diagrams, in particular, their application to calculations in monad theory.
Rendering string diagrams recursively rubiomadrigal-2024-rendering
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 be seen as a term of a free monoidal category or a proof tree for a small fragment of linear logic. This contrasts to existing non-compositional approaches that use graph layout techniques. The key innovation is storing the diagrams in binary space-partition trees, maintaining a right-trapezoidal shape for the diagram’s outline as an invariant. We provide an implementation in Haskell, using an existing denotational graphics library called Diagrams. Our renderer also supports adding semantics to diagrams to serve as a compiler, with matrix algebra used as an example.
Profunctor Optics, a Categorical Update clarke-2024-profunctor
Optics are bidirectional data accessors that capture data transformation patterns such as accessing subfields or iterating over containers. Profunctor optics are a particular choice of representation supporting modularity, meaning that we can construct accessors for complex structures by combining simpler ones. Profunctor optics have previously been studied only in an unenriched and non-mixed setting, in which both directions of access are modelled in the same category. However, functional programming languages are arguably better described by enriched categories; and we have found that some structures in the literature are actually mixed optics, with access directions modelled in different categories. Our work generalizes a classic result by Pastro and Street on Tambara theory and uses it to describe mixed V-enriched profunctor optics and to endow them with V-category structure. We provide some original families of optics and derivations, including an elementary one for traversals. Finally, we discuss a Haskell implementation.
Fundamental Components of Deep Learning: A category-theoretic approach gavranovicFundamentalComponentsDeep
Deep learning, despite its remarkable achievements, is still a young field. Like the early stages of many scientific disciplines, it is marked by the discovery of new phenomena, ad-hoc design decisions, and the lack of a uniform and compositional mathematical foundation. From the intricacies of the implementation of backpropagation, through a growing zoo of neural network architectures, to the new and poorly understood phenomena such as double descent, scaling laws or in-context learning, there are few unifying principles in deep learning. This thesis develops a novel mathematical foundation for deep learning based on the language of category theory. We develop a new framework that is a) end-to-end, b) unform, and c) not merely descriptive, but prescriptive, meaning it is amenable to direct implementation in programming languages with sufficient features. We also systematise many existing approaches, placing many existing constructions and concepts from the literature under the same umbrella. In Part I we identify and model two main properties of deep learning systems parametricity and bidirectionality by we expand on the previously defined construction of actegories and Para to study the former, and define weighted optics to study the latter. Combining them yields parametric weighted optics, a categorical model of artificial neural networks, and more. Part II justifies the abstractions from Part I, applying them to model backpropagation, architectures, and supervised learning. We provide a lens-theoretic axiomatisation of differentiation, covering not just smooth spaces, but discrete settings of boolean circuits as well. We survey existing, and develop new categorical models of neural network architectures. We formalise the notion of optimisers and lastly, combine all the existing concepts together, providing a uniform and compositional framework for supervised learning.
Bayesian open games bolt-2023-bayesian
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 incomplete information regarding the game being played. The current paper addresses these three issues all at once.
Diegetic Representation of Feedback in Open Games capucci-2023-diegetic
Value Iteration is Optic Composition hedges-2023-value
Composing games into complex institutions frey-2023-composing
Game theory is used by all behavioral sciences, but its development has long centered around the economic interpretation of equilibrium outcomes in relatively simple games and toy systems. But game theory has another potential use: the high-level design of large game compositions that express complex architectures and represent real-world institutions faithfully. Compositional game theory, grounded in the mathematics underlying programming languages, and introduced here as a general computational framework, increases the parsimony of game representations with abstraction and modularity, accelerates search and design, and helps theorists across disciplines express real-world institutional complexity in well-defined ways. Relative to existing approaches in game theory, compositional game theory is especially promising for solving game systems with long-range dependencies, for comparing large numbers of structurally related games, and for nesting games into the larger logical or strategic flows typical of real world policy or institutional systems.
The Compositional Structure of Bayesian Inference braithwaite-2023-the
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 programming. Working in a suitably general axiomatic presentation of a category of Markov kernels, we see how we can think of Bayesian inversion as a particular instance of a state-dependent morphism in a fibred category. We discuss the compositional nature of this, formulated as a functor on the underlying category and explore how this can used for a more type-driven approach to statistical inference.
The Game Semantics of Game Theory hedges-2023-the
Towards Foundations of Categorical Cybernetics capucci-2022-towards
Translating Extensive Form Games to Open Games with Agency capucci-2022-translating
Dependent Bayesian Lenses: Categories of Bidirectional Markov Kernels with Canonical Bayesian Inversion braithwaite-2022-dependent
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 proposed definition by Fritz of a support object in a Markov category and show that these give rise to a section into the category of dependent Bayesian lenses encoding a more canonical notion of Bayesian inversion.
The Road to General Intelligence swan-2022-the
Compositional Modelling of Network Games dilavore-2021-compositional
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 give compositional semantics of a family of such games as a well-behaved mapping, a strict monoidal functor, from a category of open graphs (syntax) to a category of open games (semantics). As well as introducing the theoretical framework, we identify some applications of compositionality.
Morphisms of Open Games hedges-2018-morphisms
Cites 28 works (2 here)
With notes (2)
Morphisms of Open Games hedges-2018-morphisms
Profunctor Optics: Modular Data Accessors pickering-2017-profunctor
External (26)
- A compositional treatment of iterated open games (2018)
- Computing Nash Equilibria of Unbounded Games (2018)
- Picturing quantum processes (2017)
- Selection Equilibria of Higher-Order Games (2017)
- Coherence for lenses and open games (2017)
- A Compositional Coalgebraic Semantics of Strategic Games (2017)
- Backprop as functor: A compositional perspective on supervised learning (2017)
- The algebra of open and interconnected systems (PhD thesis, Oxford) (2016)
- Towards compositional game theory (PhD thesis, Queen Mary University of London) (2016)
- Higher-Order Decision Theory (2015)
- Interacting Bialgebras Are Frobenius (2014)
- Monad Transformers for Backtracking Search (2014)
- Epistemic Game Theory (2012)
- Sequential games and optimal strategies (2010)
- Solving, Estimating, and Selecting Nonlinear Dynamic Models Without the Curse of Dimensionality (2010)
- Constructing symmetric monoidal bicategories (2010)
- A survey of graphical languages for monoidal categories (2009)
- A Semantical Approach to Equilibria and Rationality (2009)
- Essentials of Game Theory: A Concise Multidisciplinary Introduction (2008)
- Algorithmic Game Theory (2007)
- The Behavioral Approach to Open and Interconnected Systems (2007)
- Abstract Scalars, Loops, and Free Traced and Strongly Compact Closed Categories (2005)
- Harsanyi Type Spaces and Final Coalgebras Constructed from Satisfied Theories (2004)
- A new notation for arrows (2001)
- Game Theory: Analysis of Conflict (1991)
- Subjectivity and correlation in randomized strategies (1974)