Graph Based Similarity Measures for Synonym Extraction from Parsed Text

Einat Minkov, William W. CohenTextGraphs @ ACL 2012

Abstract

Einat Minkov and William Cohen (2012) propose a graph-based approach for synonym extraction from parsed text. Their method, Path Constrained Graph Walk (PCW), learns to navigate syntactic dependency graphs to identify word similarities. By specializing models for different parts of speech, the authors demonstrate significant improvements over state-of-the-art vector-space models.

Introduction

Extracting synonyms—words with equivalent meanings—is a fundamental challenge in Natural Language Processing (NLP), supporting tasks like document summarization and question answering. Traditional approaches typically fall into two categories: vector-space models based on the distributional hypothesis and ontology-based graphs like WordNet. However, vector-space models often rely on manual heuristics to weight syntactic relationships, which may not be optimal for all word types. This research addresses this limitation by learning the most informative syntactic paths for synonymy directly from data.

Methodology

The researchers represent a text corpus as a large-scale graph. In this graph, nodes represent both specific word mentions in sentences and general word types (dictionary terms). Edges represent dependency relations, such as nominal subjects (nsubj) or adjectival modifiers (amod).

Dependency graph illustrating word mentions, types, and syntactic relations used in the PCW approach.

The core of the proposed method is the Path Constrained Graph Walk (PCW). Unlike standard random walks, PCW:

  1. Learns Paths: It identifies sequences of edge types (paths) that frequently connect synonyms in a training set.
  2. Constructs Path-Trees: It builds a structured representation of these meaningful paths.
  3. Applies Dynamic Weighting: It performs a walk biased by these learned paths, using the walk's history to filter out noise.
  4. Specializes by Part-of-Speech: Separate models are trained for nouns, verbs, and adjectives to capture their unique syntactic "signatures."

Experimental Setup

The study utilized a corpus of 1.3 million words from the British National Corpus (BNC) and Associated Press (AP). The Stanford dependency parser generated a graph with approximately 0.5 million nodes and 1.7 million edges. Evaluation was conducted using a custom dataset of 68 synonym pairs (22 nouns, 22 verbs, and 24 adjectives) through 5-fold cross-validation.

Results and Discussion

The evaluation compared PCW against several baselines, including simple co-occurrence (CO-Lin) and Dependency Vectors (DV-Lin).

Mean Average Precision (MAP) performance of various models across different parts of speech.

The results indicate that the specialized PCW model (PCW-P) significantly outperforms the state-of-the-art DV-Lin model. Specifically, the PCW-P model achieved an overall Mean Average Precision (MAP) of 0.59, compared to 0.50 for DV-Lin. The improvement was most pronounced for verbs, where the MAP increased from 0.49 to 0.68. These findings suggest that syntactic structure provides a much richer signal for synonymy than simple word proximity, and that different parts of speech utilize these syntactic structures in distinct ways.

Conclusion

This research demonstrates the efficacy of learning path-constrained graph walks for synonym extraction. By leveraging the full syntactic context and specializing models for different linguistic categories, the authors achieved a 20% relative improvement over vector-based methods. Future work will focus on scaling these graph-based methods to larger datasets and extending the approach to other semantic relationships like hypernymy.

Summary updated

BibTeX
@inproceedings{minkov2012graph,
  author = {Einat Minkov and William W. Cohen},
  title = {{Graph Based Similarity Measures for Synonym Extraction from Parsed Text}},
  booktitle = {TextGraphs @ ACL},
  year = {2012},
  url = {https://openreview.net/forum?id=fMPysIYEnip},
}
Figure