Prior Disambiguation of Word Tensors for Constructing Sentence Vectors

Dimitri Kartsaklis, Mehrnoosh SadrzadehEMNLP 2013

Introduction

In distributional semantics, words are typically represented as vectors based on their contextual occurrences. While effective for individual words, scaling these representations to sentences remains a significant challenge. Traditional "vector mixture" approaches, such as simple addition or multiplication of word vectors, often fail to account for grammar and polysemy. For instance, the word "file" carries distinct meanings in the contexts of office work versus carpentry. Using a single "average" vector for such words results in a "muddy" sentence representation that conflates unrelated senses.

Comparison of vector mixture and tensor-based composition models.

More sophisticated tensor-based models treat relational words, like verbs, as functions (tensors) that act upon their arguments (nouns). However, these models often start with ambiguous word representations. This research investigates whether disambiguating words prior to building these complex tensors enhances the quality of sentence representations.

Methodology

The authors propose a two-stage framework to construct unambiguous tensors:

  1. Sense Discovery: Utilizing a variation of Schütze’s (1998) algorithm, contexts for target words are collected from a large corpus and clustered using Hierarchical Agglomerative Clustering (HAC). Each cluster represents a latent "sense" of the word.
  2. Tensor Construction: Tensors are built using data from specific sense clusters. Methods include:
  3. Relational/Frobenius: Tensors are constructed by summing the outer products of subject-object pairs found in specific sense-contexts.
  4. Kronecker: The verb tensor is created as the Kronecker product of the specific sense vector with itself.
  5. Runtime Disambiguation: When a new sentence is encountered, the model compares the current context to pre-discovered sense clusters and selects the best-fitting "sense tensor" for composition.
Example of element-wise multiplication using disambiguated word vectors for the phrase "horse run".

Experimental Setup

The models were trained on the ukWaC corpus, a 2-billion-word crawl of the UK web domain. Evaluation focused on two primary tasks:

  • Verb Disambiguation: Tested on the G&S (Grefenstette and Sadrzadeh, 2011) dataset and a linguistically balanced dataset by Kartsaklis et al. (2013).
  • Sentence Similarity: Evaluated using the Mitchell and Lapata (2010) benchmark of verb-object phrases and a new "Transitive M&L" dataset introduced by the authors to test higher-order composition in Subject-Verb-Object sentences.

Key Results and Insights

The study yielded several critical findings:

  • Disambiguation as Fine-Tuning: Clustering acts as a fine-tuning mechanism, capturing subtle usage nuances even for words that are not overtly ambiguous.
  • Superiority of Tensors: Disambiguated tensor models consistently outperformed vector mixtures. On the G&S dataset, the disambiguated "Copy-object" tensor model achieved a Spearman’s $\rho$ of 0.262, significantly higher than the best multiplicative vector mixture (0.137).
  • Scaling to Transitive Sentences: In the transitive similarity task, the Kronecker tensor model reached the highest score of 0.412, significantly exceeding simple additive and multiplicative baselines.
  • Human Alignment: Disambiguation brought model outputs closer to human agreement levels, particularly for highly polysemous verbs.

Conclusion

This work demonstrates that "cleaning up" word meanings before composition significantly improves computational language models. By bridging the gap between simple vector arithmetic and complex linguistic theory through prior disambiguation, the authors achieve better alignment with human intuition. Future work may explore "pure" tensor contractions and the disambiguation of regression-based models to further refine these representations.

Summary updated

BibTeX
@inproceedings{kartsaklis2013prior,
  author = {Dimitri Kartsaklis and Mehrnoosh Sadrzadeh},
  title = {{Prior Disambiguation of Word Tensors for Constructing Sentence Vectors}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2013},
  doi = {10.18653/v1/d13-1166},
}
Figure