Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-06T09:55:19.795Z Has data issue: false hasContentIssue false

Adaptive graph walk-based similarity measures for parsed text

Published online by Cambridge University Press:  11 February 2013

EINAT MINKOV
Affiliation:
Department of Information Systems, University of Haifa, Haifa, Israel e-mail: einatm@is.haifa.ac.il
WILLIAM W. COHEN
Affiliation:
School of Computer Science, Carnegie Mellon University, Pittsburgh, PA, USA e-mail: wcohen@cs.cmu.edu
Rights & Permissions [Opens in a new window]

Abstract

We consider a dependency-parsed text corpus as an instance of a labeled directed graph, where nodes represent words and weighted directed edges represent the syntactic relations between them. We show that graph walks, combined with existing techniques of supervised learning that model local and global information about the graph walk process, can be used to derive a task-specific word similarity measure in this graph. We also propose and evaluate a new learning method in this framework, a path-constrained graph walk variant, in which the walk process is guided by high-level knowledge about meaningful edge sequences (paths) in the graph. Empirical evaluation on the tasks of named entity coordinate term extraction and general word synonym extraction show that this framework is preferable to, or competitive with, vector-based models when learning is applied, and using small to moderate size text corpora.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2013 
Figure 0

Fig. 1. The suggested graph schema, demonstrated for a two-sentence corpus: ‘He shut down the company's New-York headquarters’ and ‘MrKume visited Honda's headquarters in Tokyo.’

Figure 1

Fig. 2. The toy graph on the left (a) is annotated with a query node (in black), as well as a correct answer node (left bottom node, in blue), and an irrelevant node (right bottom node, in red). The path tree constructed based on this example is shown on the right (b), including the computed conditional typed edge weights. The graph and path tree include the edge labels ℓ, m, n and k.

Figure 2

Algorithm 1 Pseudo-code for path-constrained graph walk

Figure 3

Table 1. NE coordinate term extraction: corpus statistics

Figure 4

Fig. 3. Test results: precision at the top 100 ranks, for the city name extraction task (top), and person name extraction task (bottom).

Figure 5

Fig. 4. Word synonym pairs: the left words were used as query terms in our experiments.

Figure 6

Table 2. 10-fold cross-validation results: MAP

Figure 7

Fig. 5. Synonym extraction results: cumulative recall at top ranks.

Figure 8

Fig. 6. Synonym extraction results: top-ranked term lists and the associated scores output by the DV-Lin and PCW-P methods for a couple of example queries.

Figure 9

Fig. 7. Precision-recall curves varying the walk length K for city name extraction (top) and person name extraction (bottom). The left graphs show full curves, and the right graphs focus on the top of the lists (down to recall 0.2). These results were all generated using the MUC corpus.

Figure 10

Fig. 8. Precison-recall performance for city name extraction from the MUC corpus for path-constrained walks with varying thresholds, and graph walks with uniform weights.

Figure 11

Table 3. Node and edge counts of incrementally larger corpora constructed for graph walk scalability assessment

Figure 12

Fig. 9. Average query processing time and standard deviation (sec) for the named entity coordinate extraction tasks, using graph walk of k = 6 steps and path-constrained graph walk with varying thresholds.

Figure 13

Fig. 10. The cumulative number of nodes visited at each step of the graph walk using the MUC+AP corpus, for city name extraction and person name extraction, applying unconstrained graph walk and path-constrained walk with varying thresholds.