Learning Functors using Gradient Descent
Not on the map. Why?
Abstract (arXiv)
Neural networks are a general framework for differentiable optimization which includes many other machine learning approaches as special cases. In this paper we build a category-theoretic formalism around a neural network system called CycleGAN. CycleGAN is a general approach to unpaired image-to-image translation that has been getting attention in the recent years. Inspired by categorical database systems, we show that CycleGAN is a "schema", i.e. a specific category presented by generators and relations, whose specific parameter instantiations are just set-valued functors on this schema. We show that enforcing cycle-consistencies amounts to enforcing composition invariants in this category. We generalize the learning procedure to arbitrary such categories and show a special class of functors, rather than functions, can be learned using gradient descent. Using this framework we design a novel neural network system capable of learning to insert and delete objects from images without paired data. We qualitatively evaluate the system on the CelebA dataset and obtain promising results.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 0; 2024: 1; 2025: 0; 2026: 2.
6 papers.
- 2021Category Theory in Machine Learningcited by 36
- 2021Reverse Derivative Ascent: A Categorical Approach to Learning Boolean Circuitscited by 10
- 2026Position: LLMs Must Use Functor-Based and RAG-Driven Bias Mitigation for Fairnesscited by 10
- 2024Pooling Image Datasets With Multiple Covariate Shift and Imbalancecited by 4
- 2022A Probabilistic Generative Model of Free Categoriescited by 0
- 2026Coalgebras for categorical deep learning: Representability and universal approximationcited by 0
- 2026Position: LLMs Must Use Functor-Based and RAG-Driven Bias Mitigation for Fairness7 Mar 2026
- 2026Coalgebras for categorical deep learning: Representability and universal approximation3 Mar 2026
- 2024Pooling Image Datasets With Multiple Covariate Shift and Imbalance5 Mar 2024
- 2022A Probabilistic Generative Model of Free Categories9 May 2022
- 2021Category Theory in Machine Learning13 Jun 2021
- 2021Reverse Derivative Ascent: A Categorical Approach to Learning Boolean Circuits26 Jan 2021