Lambek vs. Lambek: Functorial Vector Space Semantics and String Diagrams for Lambek Calculus
arXiv:1302.0393 · doi:10.1016/j.apal.2013.05.009
Abstract
The Distributional Compositional Categorical (DisCoCat) model is a mathematical framework that provides compositional semantics for meanings of natural language sentences. It consists of a computational procedure for constructing meanings of sentences, given their grammatical structure in terms of compositional type-logic, and given the empirically derived meanings of their words. For the particular case that the meaning of words is modelled within a distributional vector space model, its experimental predictions, derived from real large scale data, have outperformed other empirically validated methods that could build vectors for a full sentence. This success can be attributed to a conceptually motivated mathematical underpinning, by integrating qualitative compositional type-logic and quantitative modelling of meaning within a category-theoretic mathematical framework. The type-logic used in the DisCoCat model is Lambek's pregroup grammar. Pregroup types form a posetal compact closed category, which can be passed, in a functorial manner, on to the compact closed structure of vector spaces, linear maps and tensor product. The diagrammatic versions of the equational reasoning in compact closed categories can be interpreted as the flow of word meanings within sentences. Pregroups simplify Lambek's previous type-logic, the Lambek calculus, which has been extensively used to formalise and reason about various linguistic phenomena. The apparent reliance of the DisCoCat on pregroups has been seen as a shortcoming. This paper addresses this concern, by pointing out that one may as well realise a functorial passage from the original type-logic of Lambek, a monoidal bi-closed category, to vector spaces, or to any other model of meaning organised within a monoidal bi-closed category. The corresponding string diagram calculus, due to Baez and Stay, now depicts the flow of word meanings.
29 pages, pending publication in Annals of Pure and Applied Logic
References in corpus (1)
Cited by in corpus (34)
- A Study of Entanglement in a Categorical Framework of Natural Language
- The Frobenius anatomy of word meanings II: possessive relative pronouns
- Category-Theoretic Quantitative Compositional Distributional Models of Natural Language Semantics
- Towards logical negation for compositional distributional semantics
- Interacting Conceptual Spaces
- Dialectica Categories for the Lambek Calculus
- Dual Density Operators and Natural Language Meaning
- Teaching machines to understand data science code by semantic enrichment of dataflow graphs
- Uniqueness of Composition in Quantum Theory and Linguistics
- Exploring Semantic Incrementality with Dynamic Syntax and Vector Space Semantics
- Translating and Evolving: Towards a Model of Language Change in DisCoCat
- Linguistic Matrix Theory
- Incremental Monoidal Grammars
- Towards Functorial Language-Games
- Equational reasoning with context-free families of string diagrams
- Compositionality and String Diagrams for Game Theory
- Relational Models for the Lambek Calculus with Intersection and Constants
- !-Graphs with Trivial Overlap are Context-Free
- Categorical Vector Space Semantics for Lambek Calculus with a Relevant Modality (Extended Abstract)
- Classical Copying versus Quantum Entanglement in Natural Language: The Case of VP-ellipsis
- Complexity of Grammar Induction for Quantum Types
- Pregroup Grammars, their Syntax and Semantics
- Lambek pregroups are Frobenius spiders in preorders
- Vector spaces as Kripke frames
- Internal Wiring of Cartesian Verbs and Prepositions
- From quantum foundations via natural language meaning to a theory of everything
- Static and Dynamic Vector Semantics for Lambda Calculus Models of Natural Language
- Information Flow in Pregroup Models of Natural Language
- Categorical Vector Space Semantics for Lambek Calculus with a Relevant Modality
- Grover's Algorithm for Question Answering
- Compositional Distributional Cognition
- A vector logic for extensional formal semantics
- DisCoCat for Donkey Sentences
- A Proof-Theoretic Approach to Scope Ambiguity in Compositional Vector Space Models