Classifying Taxonomic Relations between Pairs of Wikipedia Articles

Or Biran, Kathleen R. McKeownIJCNLP 2013

Abstract

This paper presents a supervised learning approach for the automatic construction of taxonomic thesauri from Wikipedia. By framing the identification of synonyms and hypernyms as a binary classification task between article pairs, we utilize a Support Vector Machine (SVM) with features derived from hyperlink structure, article text, and lexical properties. Our results demonstrate that this method effectively identifies complex scientific and technical relations often absent from curated databases like WordNet, achieving high precision and significantly outperforming existing ontologies such as DBPedia and Yago.

Introduction

Natural Language Generation (NLG) systems depend on structured taxonomic knowledge to ensure lexical variety and logical coherence. While WordNet serves as a primary resource, its manual curation leads to gaps in domain-specific and rapidly evolving technical terminology. Wikipedia offers a vast repository of such information, but its internal structure is primarily thematic rather than taxonomic. This work aims to bridge this gap by automatically extracting formal taxonomic relations directly from Wikipedia's unstructured and semi-structured data.

Methodology

We model the problem as a binary classification task: given a pair of Wikipedia articles (A and B), the classifier determines if A is a hypernym (a more general category) of B. We employ an SVM classifier with 14 features grouped into four categories:

  1. Hyperlink Structure: Analysis of incoming and outgoing link overlap and cosine similarity.
  2. Article Text: Bag-of-words cosine similarity between the full text of both articles.
  3. Redirect Structure: Evaluation of shared redirects or direct redirects between the pair.
  4. Lexical Features: String comparisons between titles, including word overlap and word count differences.

If the classifier determines that A is a hypernym of B and B is a hypernym of A, the pair is classified as synonyms.

Datasets

To establish ground truth for training and evaluation, we mapped Wikipedia titles to WordNet synsets, resulting in a pool of approximately 117,000 terms. A specialized "Science" subset was created to evaluate performance on technical knowledge, specifically excluding non-scientific branches that often clutter Wikipedia’s top-level categories. Negative samples were generated by randomly pairing terms from WordNet that have no known relation.

Results

Our SVM classifiers significantly outperformed existing baselines and established ontologies. One of the most notable findings was the efficiency of the chosen features; models trained on only 5,000 samples performed nearly as well as those trained on 100,000 samples, as shown in the performance stability across datasets.

Performance metrics for synonym detection across balanced, unbalanced, and scientific datasets.

In synonym detection, the system reached approximately 99% precision on balanced datasets. For the main hypernymy task, the SVM achieved an F-measure of ~50-52% on unbalanced test sets, which mimic real-world conditions. In the scientific domain, the performance improved to an F-measure of ~62-63%.

Comparison of SVM performance against baselines and external ontologies (DBPedia, Yago) for hypernymy detection.

As illustrated above, the SVM approach provides a substantial improvement over DBPedia and Yago, which both struggled with extremely low recall (often less than 1%) in identifying these relations.

Discussion and Conclusion

The proposed method successfully extracts taxonomic relations that are missing from traditional databases. The stability of the SVM's precision is particularly valuable for NLG tasks where accuracy is paramount. However, the $N^2$ search space of article pairs remains a computational hurdle, necessitating a pre-filtering step for large-scale application. Future work will focus on incorporating word sense disambiguation to handle polysemous terms and the construction of a standalone scientific thesaurus for live NLG integration.

Summary updated

BibTeX
@inproceedings{biran2013classifying,
  author = {Or Biran and Kathleen R. McKeown},
  title = {{Classifying Taxonomic Relations between Pairs of Wikipedia Articles}},
  booktitle = {IJCNLP},
  year = {2013},
}
Figure