Constructing Semantic Space Models from Parsed Corpora

Sebastian Padó, Mirella Lapata

Introduction

Traditional vector-based semantic models, such as Latent Semantic Analysis (LSA) or Hyperspace Analogue to Language (HAL), are built upon the distributional hypothesis: words appearing in similar contexts share similar meanings. Conventionally, "context" is defined as a sliding window of $N$ words surrounding a target term. However, this "bag-of-words" approach treats all proximal words as equally relevant, regardless of their syntactic roles. For instance, in the sentence "The hungry cat quickly ate the fish," a window-based model might incorrectly weigh the adverb "quickly" as heavily as the subject "cat" or the object "fish" in defining the semantics of "ate."

This paper introduces a formal framework for constructing semantic space models that move beyond simple word-window co-occurrence by incorporating syntactic dependency relations. By leveraging parsed corpora to define context, the proposed models capture more nuanced lexical relations and outperform traditional models in simulating human semantic priming and distinguishing between specific word relationships, such as synonyms and antonyms.

Methodology: Dependency-based Vector Spaces

The authors propose a Dependency-based Vector Space Model that utilizes a dependency parser (MINIPAR) to identify the grammatical structure of sentences within a corpus. Unlike window-based models, this approach filters context through syntactic relevance.

Dependency tree representation of a sample sentence, illustrating the syntactic paths used to define word context.

The framework is defined by three primary components:

  1. Context Specification Function: Determines which paths in the dependency tree are followed (e.g., direct neighbors vs. extended paths).
  2. Path Value Function: Assigns weights to these paths, potentially penalizing longer syntactic "hops."
  3. Path Equivalence Relation: Defines how paths are mapped to vector dimensions, typically grouping them by the terminal word and its specific grammatical relation (e.g., "fish" as an "object").

The study evaluated 14 distinct parameterizations of this model, varying context breadth (minimum, noun phrase, wide, and maximum) and weighting schemes (plain, length-based, and obliqueness-based).

Experimental Setup

The models were trained on the British National Corpus (BNC), a 100-million-word representative sample of English. Evaluation focused on two key areas of human semantic performance:

  • Semantic Priming: Using 48 target words to test direct priming (e.g., lion-tiger) and mediated priming (e.g., lion-stripes).
  • Lexical Relations: Analyzing 142 word pairs across six categories, including synonymy, antonymy, and category coordination (e.g., truck-train).

Results and Key Insights

The dependency-based approach demonstrated significant improvements over traditional methods. A key finding was that syntactic relations act as a high-quality filter, reducing noise by ignoring physically proximal but syntactically unrelated words.

Performance in Semantic Priming

The "wide" context specification—incorporating subjects, objects, and prepositional phrases—consistently yielded the best results. Specifically, Model 7 (wide context with plain weighting) accounted for 23.1% of the variance in human priming data, nearly doubling the 12.2% achieved by the traditional window-based model.

Statistical comparison of Model 7 against traditional window-based and other baseline models in semantic priming.

Distinguishing Lexical Relations

Traditional models often struggle to differentiate between types of semantic similarity. In the lexical relations task, the window-based model failed to find a significant effect ($p = .200$), meaning it could not reliably distinguish the distance between synonyms versus antonyms. In contrast, the dependency-based models showed a highly reliable effect ($p < .001$), proving particularly adept at recognizing "category coordination."

Conclusion and Future Work

While the dependency-based models excel at capturing direct semantic relationships, they share a limitation with traditional models: a failure to fully replicate "mediated priming" effects. This suggests that human transitive semantic memory may require higher-order co-occurrences or different path integration strategies.

Furthermore, the model's performance is inherently tied to the accuracy of the underlying dependency parser. Despite the increased computational cost of parsing large corpora, the gains in semantic precision make this framework a powerful tool for tasks requiring fine-grained relational knowledge, such as word sense discrimination and automatic thesaurus construction.

Summary updated

BibTeX
@inproceedings{pado2003constructing,
  author = {Sebastian Padó and Mirella Lapata},
  title = {{Constructing Semantic Space Models from Parsed Corpora}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2003},
  doi = {10.3115/1075096.1075113},
}
Figure