An enriched category theory of language: from syntax to semantics
Not on the map. Why?
Abstract (arXiv)
State of the art language models return a natural language text continuation from any piece of input text. This ability to generate coherent text extensions implies significant sophistication, including a knowledge of grammar and semantics. In this paper, we propose a mathematical framework for passing from probability distributions on extensions of given texts, such as the ones learned by today's large language models, to an enriched category containing semantic information. Roughly speaking, we model probability distributions on texts as a category enriched over the unit interval. Objects of this category are expressions in language, and hom objects are conditional probabilities that one expression is an extension of another. This category is syntactical -- it describes what goes with what. Then, via the Yoneda embedding, we pass to the enriched category of unit interval-valued copresheaves on this syntactical category. This category of enriched copresheaves is semantic -- it is where we find meaning, logical operations such as entailment, and the building blocks for more elaborate semantic concepts.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 7 of its 67 references that are in the map. First posted on arXiv 15 Jun 2021.
Builds on
7 of 67 references.
References · 7
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2018Tropical Geometry of Deep Neural Networkscited by 92
- 2018A Tropical Approach to Neural Networks with Piecewise Linear Activationscited by 26
- 2019A Survey on Neural Network Language Modelscited by 12
- 2019Tropical Polynomial Division and Neural Networkscited by 5
- 2020Language Modeling with Reduced Densitiescited by 5
Built on by
Citing papers per year: 2022: 4; 2023: 4; 2024: 2; 2025: 7; 2026: 4.
21 papers.
Sort:
By area:
- 2023Large Language Modelscited by 774
- 2022On the Power of Foundation Modelscited by 37
- 2022Neuro-Symbolic Causal Reasoning Meets Signaling Game for Emergent Semantic Communicationscited by 20
- 2023Meaning Representations from Trajectories in Autoregressive Modelscited by 18
- 2025Token embeddings violate the manifold hypothesiscited by 14
- 2023Going Beyond Neural Network Feature Similarity: The Network Feature Complexity and Its Interpretation Using Category Theorycited by 12
- 2025The magnitude of categories of texts enriched by language modelscited by 5
- 2022Unifying Causal Inference and Reinforcement Learning using Higher-Order Category Theorycited by 4
- 2024Quantum-Like Contextuality in Large Language Modelscited by 4
- 2022Categoroids: Universal Conditional Independencecited by 3
- 2025Probing the topology of the space of tokens with structured promptscited by 3
- 2023Enriching Disentanglement: From Logical Definitions to Quantitative Metricscited by 2
9 more
- 2024Directed Metric Structures arising in Large Language Modelscited by 2
- 2025Topos Theory for Generative AI and LLMscited by 2
- 2025A Rose by Any Other Name Would Smell as Sweet: Categorical Homotopy Theory for Large Language Modelscited by 1
- 2026The Homogenization Problem in LLMs: Towards Meaningful Diversity in AI Safetycited by 1
- 2025Consciousness as a Functorcited by 0
- 2025Transparent Semantic Spaces: A Categorical Approach to Explainable Word Embeddingscited by 0
- 2026From Intent to Evidence: A Categorical Approach for Structural Evaluation of Deep Research Agentscited by 0
- 2026Measuring What Persists: Conditioning Mechanisms and a Geometric Framework for AI Agent Identitycited by 0
- 2026When the Canonical Completion Is Wrong: Formalizing and Measuring the Jump in Large Language Modelscited by 0
- 2026When the Canonical Completion Is Wrong: Formalizing and Measuring the Jump in Large Language Models22 Aug 2026
- 2026Measuring What Persists: Conditioning Mechanisms and a Geometric Framework for AI Agent Identity20 Jun 2026
- 2026From Intent to Evidence: A Categorical Approach for Structural Evaluation of Deep Research Agents26 Mar 2026
- 2026The Homogenization Problem in LLMs: Towards Meaningful Diversity in AI Safety3 Jan 2026
- 2025Transparent Semantic Spaces: A Categorical Approach to Explainable Word Embeddings28 Aug 2025
- 2025Consciousness as a Functor25 Aug 2025
- 2025A Rose by Any Other Name Would Smell as Sweet: Categorical Homotopy Theory for Large Language Models7 Aug 2025
- 2025Topos Theory for Generative AI and LLMs5 Aug 2025
- 2025Token embeddings violate the manifold hypothesis1 Apr 2025
- 2025Probing the topology of the space of tokens with structured prompts19 Mar 2025
- 2025The magnitude of categories of texts enriched by language models11 Jan 2025
- 2024Quantum-Like Contextuality in Large Language Models21 Dec 2024
9 more
- 2024Directed Metric Structures arising in Large Language Models20 May 2024
- 2023Meaning Representations from Trajectories in Autoregressive Models23 Oct 2023
- 2023Going Beyond Neural Network Feature Similarity: The Network Feature Complexity and Its Interpretation Using Category Theory10 Oct 2023
- 2023Large Language Models11 Jul 2023
- 2023Enriching Disentanglement: From Logical Definitions to Quantitative Metrics19 May 2023
- 2022On the Power of Foundation Models29 Nov 2022
- 2022Neuro-Symbolic Causal Reasoning Meets Signaling Game for Emergent Semantic Communications21 Oct 2022
- 2022Unifying Causal Inference and Reinforcement Learning using Higher-Order Category Theory13 Sep 2022
- 2022Categoroids: Universal Conditional Independence23 Aug 2022
- 2023Large Language Modelscited by 774
- 2022On the Power of Foundation Modelscited by 37
- 2023Meaning Representations from Trajectories in Autoregressive Modelscited by 18
- 2025Token embeddings violate the manifold hypothesiscited by 14
- 2023Going Beyond Neural Network Feature Similarity: The Network Feature Complexity and Its Interpretation Using Category Theorycited by 12
- 2025The magnitude of categories of texts enriched by language modelscited by 5
- 2022Unifying Causal Inference and Reinforcement Learning using Higher-Order Category Theorycited by 4
- 2024Quantum-Like Contextuality in Large Language Modelscited by 4
- 2022Categoroids: Universal Conditional Independencecited by 3
- 2025Probing the topology of the space of tokens with structured promptscited by 3
- 2023Enriching Disentanglement: From Logical Definitions to Quantitative Metricscited by 2
- 2024Directed Metric Structures arising in Large Language Modelscited by 2
12 most cited of 19 All 19 (JSON)
- 2026When the Canonical Completion Is Wrong: Formalizing and Measuring the Jump in Large Language Models22 Aug 2026
- 2026Measuring What Persists: Conditioning Mechanisms and a Geometric Framework for AI Agent Identity20 Jun 2026
- 2026The Homogenization Problem in LLMs: Towards Meaningful Diversity in AI Safety3 Jan 2026
- 2025Transparent Semantic Spaces: A Categorical Approach to Explainable Word Embeddings28 Aug 2025
- 2025Consciousness as a Functor25 Aug 2025
- 2025A Rose by Any Other Name Would Smell as Sweet: Categorical Homotopy Theory for Large Language Models7 Aug 2025
- 2025Topos Theory for Generative AI and LLMs5 Aug 2025
- 2025Token embeddings violate the manifold hypothesis1 Apr 2025
- 2025Probing the topology of the space of tokens with structured prompts19 Mar 2025
- 2025The magnitude of categories of texts enriched by language models11 Jan 2025
- 2024Quantum-Like Contextuality in Large Language Models21 Dec 2024
- 2024Directed Metric Structures arising in Large Language Models20 May 2024
12 newest of 19 All 19 (JSON)