paper-with-me

Papers

Backprop as Functor: A compositional perspective on supervised learning

2017-11-28 · Brendan Fong, David I. Spivak, Rémy Tuyéras

A supervised learning algorithm searches over a set of functions $A \to B$ parametrised by a space $P$ to find the best approximation to some ideal function $f\colon A \to B$. It does this by taking examples $(a,f(a)) \in A\times B$, and updating the parameter according to some rule. We define a category where these update rules may be composed, and show that gradient descent---with respect to a fixed step size and an error function satisfying a certain property---defines a monoidal functor from a category of parametrised functions to this category of update rules. This provides a structural perspective on backpropagation, as well as a broad generalisation of neural networks.

📄 PDF Abstract BibTeX arXiv:1711.10455

Code (3)

TomohikoK/backprop-as-functor
darrenjw/isba2021
vonpost/HLearn tf

Similar Papers 제목 키워드 기반

Compositional Dynamics in Learning and Mechanics

2026-06-27 · David I. Spivak arxiv

We give a single compositional setting in which gradient-based learning and Hamiltonian-style mechanics appear as functorial semantics. The syntax is an operad Arr whose objects are input-output interfaces (pairs of mani…

Mathematical Foundations for a Compositional Account of the Bayesian Brain

2022-12-23 · Toby St Clere Smithe

This dissertation reports some first steps towards a compositional account of active inference and the Bayesian brain. Specifically, we use the tools of contemporary applied category theory to supply functorial semantics…

Learners' Languages

2021-03-01 · David I. Spivak

In "Backprop as functor", the authors show that the fundamental elements of deep learning -- gradient descent and backpropagation -- can be conceptualized as a strong monoidal functor Para(Euc)$\to$Learn from the categor…

Functorial Manifold Learning

2021-03-08 · Anonymous

We adapt previous research on category theory and topological unsupervised learning to develop a functorial perspective on manifold learning. We first characterize manifold learning algorithms as functors that map pseudo…

Clustering

Functorial Language Models

2021-03-26 · Alexis Toumi, Alex Koziell-Pipe

We introduce functorial language models: a principled way to compute probability distributions over word sequences given a monoidal functor from grammar to meaning. This yields a method for training categorical compositi…