Subtree Mining for Relation Extraction from Wikipedia

Dat P. T. Nguyen, Yutaka Matsuo, Mitsuru IshizukaNAACL 2007

Abstract: Dat P.T. Nguyen, Yutaka Matsuo, Mitsuru Ishizuka. Human Language Technologies 2007: The Conference of the North American Chapter of the Association for Computational Linguistics; Companion Volume, Short Papers.

2007.

Introduction

Relation Extraction (RE) is the task of identifying semantic relationships between entities in text, such as recognizing that "Steve Ballmer joined Microsoft" implies an employment relationship. While previous research often relied on simple lexical patterns or the "shortest dependency path" between entities, these methods frequently miss crucial context or "clue words" that fall outside that direct path.

This paper introduces a novel framework for extracting structured relations (like "CEO of" or "spouse of") from Wikipedia by mining subtrees from syntactic dependency parses. By leveraging Wikipedia’s unique internal structure—such as hyperlinks and category hierarchies—the authors outperform traditional methods that rely solely on linear paths.

System Architecture

The authors propose a multi-stage pipeline that integrates NLP techniques with Wikipedia-specific heuristics. The system treats Wikipedia not just as raw text, but as a semi-structured database where articles are usually centered around a "Principal Entity" (the subject of the page) and link to "Secondary Entities."

System Architecture

The pipeline consists of four main stages:

  1. Entity Anchoring: A rule-based system identifies the Principal Entity (PE) and Secondary Entities (SE) using hyperlinks and referring expressions (including pronouns).
  2. Entity Classification: An SVM classifier assigns types (e.g., Person, Organization) using features like Wikipedia category hierarchies.
  3. Keyword Extraction: Clue words for specific relations (e.g., "born" for birth date) are identified via a semi-automatic process using TF-IDF scores.
  4. Relation Extractor: This core component utilizes dependency trees and subtree mining to classify the relationship between the PE and SE.

Subtree Mining and Core Trees

The core innovation is the use of subtree mining instead of simple path analysis. The authors construct a "Core Tree" that includes the shortest path between the PE and SE, plus the paths to any identified keywords.

Subtree Mining Process

As illustrated in the figure above, the process involves:

  • (a, b) Generating full dependency trees for sentences.
  • (c, d) Extracting "Core Trees" that focus on the entities and relevant keywords.
  • (e, f) Converting these to a uniform graph format.
  • (g) Mining common subtrees using a frequent tree-mining algorithm (FREQT). These subtrees serve as features for a final SVM-based relation classifier.

By expanding the path into a core tree, the model captures much richer semantic evidence than the "shortest path" alone, which often misses the verb or modifier that actually defines the relationship.

Experimental Results

The study utilized a corpus of 5,975 Wikipedia articles. The proposed DepTree (Subtree-based) method was compared against two baselines: B0 (Bag-of-words) and B1 (TF-IDF on dependency paths).

Method Precision Recall F1-Score
B0 (Bag-of-words) 8.70% 22.26% 12.51%
B1 (Path-based) 9.88% 25.31% 14.21%
DepTree (Proposed) 29.07% 53.86% 37.76%

The subtree mining approach more than doubled the F1-score of the baselines, demonstrating that structural features derived from subtrees are far more predictive than simple word-level or path-level features.

Conclusion

This research demonstrates that treating Wikipedia as a structured resource and applying subtree mining significantly improves relation extraction performance. While precision remains a challenge due to noise in the tree-mining process and error propagation through the pipeline, the "Principal Entity" assumption provides a robust framework for large-scale knowledge extraction. Future work will focus on more robust feature selection to filter out irrelevant subtrees generated during the mining phase.

Summary updated

BibTeX
@inproceedings{nguyen2007subtree,
  author = {Dat P. T. Nguyen and Yutaka Matsuo and Mitsuru Ishizuka},
  title = {{Subtree Mining for Relation Extraction from Wikipedia}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2007},
  url = {https://openreview.net/forum?id=HJZfamWd-H},
}
Figure