English

Learning Is a Kan Extension

Category Theory 2025-02-20 v1 Machine Learning

Abstract

Previous work has demonstrated that efficient algorithms exist for computing Kan extensions and that some Kan extensions have interesting similarities to various machine learning algorithms. This paper closes the gap by proving that all error minimisation algorithms may be presented as a Kan extension. This result provides a foundation for future work to investigate the optimisation of machine learning algorithms through their presentation as Kan extensions. A corollary of this representation of error-minimising algorithms is a presentation of error from the perspective of lossy and lossless transformations of data.

Keywords

Cite

@article{arxiv.2502.13810,
  title  = {Learning Is a Kan Extension},
  author = {Matthew Pugh and Jo Grundy and Corina Cirstea and Nick Harris},
  journal= {arXiv preprint arXiv:2502.13810},
  year   = {2025}
}
R2 v1 2026-06-28T21:50:11.930Z