Fundamental Components of Deep Learning: A category-theoretic approach
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Mar 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 2.
5 papers.
- 2024Reinforcement Learning in Categorical Cyberneticscited by 4
- 2024Towards a Categorical Foundation of Deep Learning: A Surveycited by 2
- 2025Higher Gauge Flow Modelscited by 0
- 2026Modeling Topological Impact on Node Attribute Distributions in Attributed Graphscited by 0
- 2026Weaves, Wires, and Morphisms: Formalizing and Implementing the Algebra of Deep Learningcited by 0
- 2026Weaves, Wires, and Morphisms: Formalizing and Implementing the Algebra of Deep Learning8 Apr 2026
- 2026Modeling Topological Impact on Node Attribute Distributions in Attributed Graphs1 Feb 2026
- 2025Higher Gauge Flow Models22 Jul 2025
- 2024Towards a Categorical Foundation of Deep Learning: A Survey7 Oct 2024
- 2024Reinforcement Learning in Categorical Cybernetics3 Apr 2024