Reference. Compositional thermostatics

We define a thermostatic system to be a convex space of states together with a concave function sending each state to its entropy, which is an extended real number. This definition applies to classical thermodynamics, classical statistical mechanics, quantum statistical mechanics, and also generalized probabilistic theories of the sort studied in quantum foundations. It also allows us to treat a heat bath as a thermostatic system on an equal footing with any other. We construct an operad whose operations are convex relations from a product of convex spaces to a single convex space and prove that thermostatic systems are algebras of this operad. This gives a general, rigorous formalism for combining thermostatic systems, which captures the fact that such systems maximize entropy subject to whatever constraints are imposed upon them.

Cite

Cite as @baez-2023-compositional (helia, typst) · \cite{baez-2023-compositional} (LaTeX)
BibTeX
bibtex · 1 line
@article{baez-2023-compositional, title={Compositional thermostatics}, volume={64}, ISSN={1089-7658}, url={http://dx.doi.org/10.1063/5.0089375}, DOI={10.1063/5.0089375}, number={2}, journal={Journal of Mathematical Physics}, publisher={AIP Publishing}, author={Baez, John C. and Lynch, Owen and Moeller, Joe}, year={2023}, month=Feb }
hayagriva YAML (typst)
yaml · 18 lines
baez-2023-compositional:
  type: article
  title: Compositional thermostatics
  author:
  - Baez, John C.
  - Lynch, Owen
  - Moeller, Joe
  date: 2023-02
  url: http://dx.doi.org/10.1063/5.0089375
  serial-number:
    doi: 10.1063/5.0089375
    issn: 1089-7658
  parent:
    type: periodical
    title: Journal of Mathematical Physics
    publisher: AIP Publishing
    issue: 2
    volume: 64
Cited by (1)

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
Cites 26 works (1 here)
With notes (1)

Network Models baez-2017-network

Networks can be combined in various ways, such as overlaying one on top of another or setting two side by side. We introduce “network models” to encode these ways of combining networks. Different network models describe different kinds of networks. We show that each network model gives rise to an operad, whose operations are ways of assembling a network of the given kind from smaller parts. Such operads, and their algebras, can serve as tools for designing networks. Technically, a network model is a lax symmetric monoidal functor from the free symmetric monoidal category on some set to 𝐂𝐚𝐭, and the construction of the corresponding operad proceeds via a symmetric monoidal version of the Grothendieck construction.
arXiv
baez-2023-compositional reference entries/refs/baez-2023-compositional/baez-2023-compositional.hel