Skip to main content
QUICK REVIEW

[Paper Review] A Compositional Distributional Semantics, Two Concrete Constructions, and some Experimental Evaluations

Mehrnoosh Sadrzadeh, Edward Grefenstette|arXiv (Cornell University)|May 9, 2011
Advanced Text Analysis TechniquesComputer Science16 references5 citations
TL;DR

This paper presents a hybrid compositional distributional model that integrates logical grammar with vector space semantics using category theory and tensor products to compute sentence meanings. It introduces two concrete constructions—structured vector spaces and plain vector spaces—and demonstrates through experiments on the British National Corpus that the categorical model outperforms baseline methods in sentence similarity and word sense disambiguation, especially on syntactically complex sentences.

ABSTRACT

We provide an overview of the hybrid compositional distributional model of meaning, developed in Coecke et al. (arXiv:1003.4394v1 [cs.CL]), which is based on the categorical methods also applied to the analysis of information flow in quantum protocols. The mathematical setting stipulates that the meaning of a sentence is a linear function of the tensor products of the meanings of its words. We provide concrete constructions for this definition and present techniques to build vector spaces for meaning vectors of words, as well as that of sentences. The applicability of these methods is demonstrated via a toy vector space as well as real data from the British National Corpus and two disambiguation experiments.

Motivation & Objective

  • To unify logical compositional semantics with distributional vector space models using categorical frameworks.
  • To address the limitation of non-compositional distributional models that ignore syntactic structure in sentence meaning computation.
  • To develop concrete, implementable constructions of the abstract categorical model for practical application on real linguistic data.
  • To evaluate the model’s performance on real-world tasks such as word sense disambiguation and sentence similarity using the British National Corpus.
  • To demonstrate that compositional structure improves performance on complex syntactic constructions, especially where baseline models fail.

Proposed method

  • Uses compact closed categories and diagrammatic reasoning to model grammatical structure as morphisms acting on word vectors.
  • Employs tensor products to compose word vectors into sentence-level meaning vectors within a unified vector space.
  • Applies two concrete constructions: one using structured vector spaces (with grammatical types) and another using plain vector spaces.
  • Utilizes Firth’s 'you know a word by the company it keeps' principle to derive word vectors from co-occurrence statistics in large corpora.
  • Applies categorical operations (e.g., caps and cups) to model syntactic dependencies such as subject-verb-object relations.
  • Employs cosine similarity between sentence vectors to measure semantic similarity, enabling downstream NLP tasks like disambiguation.

Experimental results

Research questions

  • RQ1Can a compositional distributional model based on category theory effectively compute sentence meanings from word vectors while preserving grammatical structure?
  • RQ2How do different concrete constructions (structured vs. plain vector spaces) perform in practice on real linguistic data?
  • RQ3Does the model’s performance improve with increasing syntactic complexity, as predicted by its compositional design?
  • RQ4To what extent does the categorical model outperform non-compositional baselines in word sense disambiguation tasks?
  • RQ5Can the model align better with human-annotated similarity judgments than existing distributional or logical models?

Key findings

  • The categorical model achieved a Spearman’s rho of 0.21 in the second disambiguation experiment, significantly outperforming the baseline (0.16) and multiplicative model (0.17), indicating better alignment with human judgments.
  • In the first experiment, the model achieved a rho of 0.17, slightly better than the multiplicative model (0.17) and baseline (0.08), but the difference was less pronounced due to simpler syntactic structure.
  • The model’s performance increased with syntactic complexity, as evidenced by the higher improvement in the second experiment, confirming the value of compositionality.
  • The categorical model showed a smaller difference between high and low similarity sentence scores (0.84 vs. 0.79) than the baseline (0.27 vs. 0.26), indicating more consistent and nuanced similarity estimation.
  • The UpperBound (human agreement) had a rho of 0.40 in the first experiment and 0.62 in the second, showing that the model’s performance gap to human judgment narrowed with increased complexity.
  • The results suggest that more complex datasets involving adjectives, adverbs, and quantifiers would further enhance the model’s performance, supporting its scalability to richer linguistic phenomena.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.