[Paper Review] Mathematical Foundations for a Compositional Distributional Model of Meaning
This paper proposes a compositional distributional model of meaning that unifies vector space semantics with Pregroup grammars using compact closed categories, enabling sentence meanings to be computed as vectors in a single semantic space. The method uses diagrammatic calculus to track information flow and supports inner-product comparison of any sentences, with a Boolean variant recovering Montague-style semantics.
We propose a mathematical framework for a unification of the distributional theory of meaning in terms of vector space models, and a compositional theory for grammatical types, for which we rely on the algebra of Pregroups, introduced by Lambek. This mathematical framework enables us to compute the meaning of a well-typed sentence from the meanings of its constituents. Concretely, the type reductions of Pregroups are `lifted' to morphisms in a category, a procedure that transforms meanings of constituents into a meaning of the (well-typed) whole. Importantly, meanings of whole sentences live in a single space, independent of the grammatical structure of the sentence. Hence the inner-product can be used to compare meanings of arbitrary sentences, as it is for comparing the meanings of words in the distributional model. The mathematical structure we employ admits a purely diagrammatic calculus which exposes how the information flows between the words in a sentence in order to make up the meaning of the whole sentence. A variation of our `categorical model' which involves constraining the scalars of the vector spaces to the semiring of Booleans results in a Montague-style Boolean-valued semantics.
Motivation & Objective
- To unify distributional vector space models of word meaning with compositional grammatical type theories, overcoming limitations of prior approaches.
- To enable the meaning of any well-typed sentence to be computed as a vector in a single, shared semantic space.
- To provide a formal, compositional method for computing sentence meanings from word meanings and grammatical types.
- To support semantic comparison of arbitrary sentences via inner products in a unified vector space.
- To recover Montague-style Boolean semantics as a special case by restricting vector scalars to {0,1}.
Proposed method
- Lifts Pregroup type reductions to morphisms in a compact closed category, combining vector spaces and grammatical types.
- Uses tensor products of vector spaces to represent combined meanings, with grammatical types guiding composition via categorical morphisms.
- Employs a diagrammatic calculus based on compact closed categories to visualize and compute information flow in sentence composition.
- Assigns each sentence a meaning vector in a single semantic space S, enabling direct comparison via inner products.
- Applies the category of finite-dimensional vector spaces over a field (FVect) and the category of Pregroups (P) to form the product category FVect × P.
- Derives a Boolean variant by restricting vector scalars to the semiring {0,1}, yielding a Montague-style truth-functional semantics.
Experimental results
Research questions
- RQ1How can distributional word meanings be composed into sentence meanings while preserving quantitative comparison?
- RQ2Can a unified mathematical framework be constructed that combines vector space semantics with compositional type theory?
- RQ3How can grammatical structure be encoded categorically so that sentence meaning emerges naturally from word meanings and types?
- RQ4What is the role of compact closed categories in enabling diagrammatic computation and information flow tracking in sentence semantics?
- RQ5Can Montague-style Boolean semantics be derived as a special case of the proposed vector-based compositional model?
Key findings
- The proposed framework computes the meaning of any well-typed sentence as a vector in a single, shared semantic space S, enabling direct inner-product comparison between any two sentences.
- The use of compact closed categories allows for a purely diagrammatic calculus that visualizes the flow of information from words to sentence meaning.
- The model naturally supports sentence-level meaning computation without requiring pre-defined vectors for grammatical types.
- A variant of the model with Boolean scalars recovers Montague-style semantics, where sentence meanings are true or false based on set-theoretic intersections.
- The framework is flexible enough to accommodate mixed states and can be extended to model context-sensitive words like 'but' that lack fixed logical counterparts.
- The model provides a foundation for future work on logical connectives (e.g., 'and', 'or', 'not') in a vector space setting, with potential for canonical matrix representations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.