English

Categorical Representation Learning: Morphism is All You Need

Machine Learning 2023-01-25 v2 Disordered Systems and Neural Networks Artificial Intelligence Category Theory

Abstract

We provide a construction for categorical representation learning and introduce the foundations of "categorifier\textit{categorifier}". The central theme in representation learning is the idea of everything to vector\textbf{everything to vector}. Every object in a dataset S\mathcal{S} can be represented as a vector in Rn\mathbb{R}^n by an encoding map\textit{encoding map} E:Obj(S)RnE: \mathcal{O}bj(\mathcal{S})\to\mathbb{R}^n. More importantly, every morphism can be represented as a matrix E:Hom(S)RnnE: \mathcal{H}om(\mathcal{S})\to\mathbb{R}^{n}_{n}. The encoding map EE is generally modeled by a deep neural network\textit{deep neural network}. The goal of representation learning is to design appropriate tasks on the dataset to train the encoding map (assuming that an encoding is optimal if it universally optimizes the performance on various tasks). However, the latter is still a set-theoretic\textit{set-theoretic} approach. The goal of the current article is to promote the representation learning to a new level via a category-theoretic\textit{category-theoretic} approach. As a proof of concept, we provide an example of a text translator equipped with our technology, showing that our categorical learning model outperforms the current deep learning models by 17 times. The content of the current article is part of the recent US patent proposal (patent application number: 63110906).

Keywords

Cite

@article{arxiv.2103.14770,
  title  = {Categorical Representation Learning: Morphism is All You Need},
  author = {Artan Sheshmani and Yizhuang You},
  journal= {arXiv preprint arXiv:2103.14770},
  year   = {2023}
}

Comments

Fixed some typos. 16 pages. Comments are welcome

R2 v1 2026-06-24T00:36:15.501Z