Reference. Reinforcement Learning in Categorical Cybernetics

Cite

Cite as @hedges-2025-reinforcement (helia, typst) · \cite{hedges-2025-reinforcement} (LaTeX)
BibTeX
bibtex · 1 line
@article{hedges-2025-reinforcement, title={Reinforcement Learning in Categorical Cybernetics}, volume={429}, ISSN={2075-2180}, url={http://dx.doi.org/10.4204/eptcs.429.15}, DOI={10.4204/eptcs.429.15}, journal={Electronic Proceedings in Theoretical Computer Science}, publisher={Open Publishing Association}, author={Hedges, Jules and Rodríguez Sakamoto, Riu}, year={2025}, month=Sept, pages={270–286} }
hayagriva YAML (typst)
yaml · 15 lines
hedges-2025-reinforcement:
  type: article
  title: Reinforcement Learning in Categorical Cybernetics
  author:
  - Hedges, Jules
  - Sakamoto, Riu Rodríguez
  date: 2025-09
  page-range: 270-286
  serial-number:
    doi: 10.4204/eptcs.429.15
  parent:
    type: periodical
    title: Electronic Proceedings in Theoretical Computer Science
    publisher: Open Publishing Association
    volume: 429
Cites 42 works (9 here)
With notes (9)

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.
DOI · arXiv

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.
DOI

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.
DOI · arXiv

Value Iteration is Optic Composition hedges-2023-value

DOI · arXiv

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.
DOI · arXiv

The Game Semantics of Game Theory hedges-2023-the

DOI · arXiv

Towards Foundations of Categorical Cybernetics capucci-2022-towards

DOI · arXiv

Lenses for Composable Servers videla-2022-lenses

We implement the semantics of server operations using parameterised lenses. They allow us to define endpoints and extend them using classical lens composition. The parameterised nature of lenses models state updates while the lens laws mimic properties expected from HTTP. This first approach to server development is extended to use dependent parameterised lenses. An upgrade necessary to model not only endpoints, but entire servers, unlocking the ability to compose them together.
DOI · arXiv

Compositional Game Theory ghani-2018-compositional

DOI · arXiv
External (33)
hedges-2025-reinforcement reference entries/refs/hedges-2025-reinforcement/hedges-2025-reinforcement.hel