HackerPapers

arXiv:2402.15332cs.LG

Position: Categorical Deep Learning is an Algebraic Theory of All Architectures

Bruno Gavranović, Paul Lessard, Andrew Dudzik, Tamara von Glehn, João G. M. Araújo, Petar Veličković

Abstract

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.

arXiv comments
To appear in ICML 2024. Comments welcome. More info at categoricaldeeplearning.com
Journal reference
DOI
Subjects
cs.LGMachine Learning cs.AIArtificial Intelligence math.CTCategory Theory math.RARings and Algebras stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 3 identifiable commenters in 3 comments across 3 threads, from Apr 2024 to Aug 2024. Found in 1 HN submission from Apr 2024 to Apr 2024. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

  1. Alexander Grothendieck 1 comment
    • I was sure this was going to be a case of spraying jargon at investors, but they've actually produced an interesting paper in this direction (in collaboration with some DeepMind people): https://arxiv.org/abs/2402.15332

      bubblyworldView on HNParent context

    • Symbolica.ai | London, Australia | REMOTE, INTERNS, VISA We're trying to apply the insights of category theory, dependent type theory, and functional programming to deep learning. How do we best equip neural nets with strong inductive biases from these fields to help them reason…

      taliesinbView on HNParent context

    • Nothing particularly interesting to my knowledge. You should read this though, some people at Symbolica AI worked on it too: https://www.google.com/url?q=https://arxiv.org/abs/2402.1533...

      knotthebestView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.