Learning in Infinitesimal Non-Compositional Sketches
Abstract
This paper develops a categorical framework -- Learning in Infinitesimal Non-Compositional Sketches (LINCS) -- as the repair of non-compositionality: failures of diagrams to factor through quotient sketches lifted to the tangent category setting. Machine learning problems are specified as sketches: graphs with commutativity conditions , limit cones , and colimit cocones , generalizing the usual scalarization of loss functions or vector space assumptions. Non-compositionality is defined purely as failure of a universal factorization problem, not as arithmetic error between the desired and actual predictions. Given a learning sketch , whose underlying graph is , and a model , the base defect is the obstruction to factorization . The tangent lift applies the tangent functor to obtain , and LINCS is defined as the obstruction -- asking whether infinitesimal perturbations preserve the compositionality constraints.The paper also introduces Tangent Learning Sketches, which are sketches equipped with Cockett-Cruttwell tangent structure. The paper defines the INC endofunctor, which iterates the tangent lift, producing a tower of factorization problems. ML is thereby formulated as the search for a coalgebraic fixed point where successive tangent unfoldings stabilize (). Using the Aczel--Mendler theorem, we prove existence of a final INC coalgebra whenever admits a set-based class realization that creates its final carrier. A detailed experimental evaluation of LINCS is underway in a number of concrete ML settings, including deep learning, large language models, and reinforcement learning, and is described in companion papers.
Cite
@article{arxiv.2607.15107,
title = {Learning in Infinitesimal Non-Compositional Sketches},
author = {Sridhar Mahadevan},
journal= {arXiv preprint arXiv:2607.15107},
year = {2026}
}