Language Modeling with Reduced Densities
Not on the map. Why?
Abstract (arXiv)
This work originates from the observation that today's state-of-the-art statistical language models are impressive not only for their performance, but also - and quite crucially - because they are built entirely from correlations in unstructured text data. The latter observation prompts a fundamental question that lies at the heart of this paper: What mathematical structure exists in unstructured text data? We put forth enriched category theory as a natural answer. We show that sequences of symbols from a finite alphabet, such as those found in a corpus of text, form a category enriched over probabilities. We then address a second fundamental question: How can this information be stored and modeled in a way that preserves the categorical structure? We answer this by constructing a functor from our enriched category of text to a particular enriched category of reduced density operators. The latter leverages the Loewner order on positive semidefinite operators, which can further be interpreted as a toy example of entailment.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 2; 2023: 0; 2024: 1.
5 papers.
- 2022Grokking phase transitions in learning local rules with gradient descentcited by 28
- 2021An enriched category theory of language: from syntax to semanticscited by 21
- 2022Deep tensor networks with matrix product operatorscited by 2
- 2021Quantum causal inference in the presence of hidden common causes: An entropic approachcited by 0
- 2024Density Matrices for Metaphor Understandingcited by 0
- 2024Density Matrices for Metaphor Understanding12 Aug 2024
- 2022Grokking phase transitions in learning local rules with gradient descent26 Oct 2022
- 2022Deep tensor networks with matrix product operators16 Sep 2022
- 2021An enriched category theory of language: from syntax to semantics15 Jun 2021
- 2021Quantum causal inference in the presence of hidden common causes: An entropic approach24 Apr 2021