Pith. sign in

REVIEW 1 cited by

An enriched category theory of language: from syntax to semantics

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2106.07890 v2 pith:IUPJCPOL submitted 2021-06-15 math.CT cs.CL

An enriched category theory of language: from syntax to semantics

classification math.CT cs.CL
keywords categoryenrichedlanguagesemantictextcopresheavesdistributionsextensions
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
Share X Bluesky LinkedIn Reddit HN
read the original abstract

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.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. AutoODD: Agentic Audits via Bayesian Red Teaming in Black-Box Models

    cs.RO 2025-09 conditional novelty 4.0

    AutoODD combines an LLM agent with per-axis Gaussian Process uncertainty to automatically discover failure modes of black-box models, demonstrated on missing-digit MNIST and aircraft detect-and-avoid.