Computer Science > Machine Learning
[Submitted on 23 Feb 2024 (v1), last revised 6 Jun 2024 (this version, v2)]
Title:Position: Categorical Deep Learning is an Algebraic Theory of All Architectures
View PDFAbstract:We present our position on the elusive quest for a general-purpose framework for specifying and studying deep learning architectures. Our opinion is that the key attempts made so far lack a coherent bridge between specifying constraints which models must satisfy and specifying their implementations. Focusing on building a such a bridge, we propose to apply category theory -- precisely, the universal algebra of monads valued in a 2-category of parametric maps -- as a single theory elegantly subsuming both of these flavours of neural network design. To defend our position, we show how this theory recovers constraints induced by geometric deep learning, as well as implementations of many architectures drawn from the diverse landscape of neural networks, such as RNNs. We also illustrate how the theory naturally encodes many standard constructs in computer science and automata theory.
Submission history
From: Petar Veličković [view email][v1] Fri, 23 Feb 2024 14:01:53 UTC (90 KB)
[v2] Thu, 6 Jun 2024 00:58:55 UTC (95 KB)
Current browse context:
cs.LG
References & Citations
Loading...
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.