Domain-Specific Keyphrase Extraction

Eibe Frank, Gordon W. Paynter, Ian H. Witten, Carl Gutwin, Craig G. Nevill-ManningIJCAI 1999

Introduction

Keyphrases serve as a concise summary of a document's content, facilitating efficient information retrieval, document clustering, and rapid relevance assessment. Despite their utility, most digital documents lack author-assigned keyphrases. Manual assignment is a labor-intensive process that fails to scale with the exponential growth of online content. Early automated solutions, such as the GenEx system, utilized complex genetic algorithms to optimize heuristic rules. While effective, these "black box" systems are computationally expensive and slow to train. This paper introduces Kea, a simple yet robust algorithm that leverages a Naive Bayes classifier to achieve state-of-the-art performance with significantly lower overhead.

The Kea Algorithm

Kea treats keyphrase extraction as a supervised classification task, determining whether a candidate phrase within a document is a "keyphrase" or not. The algorithm operates in three distinct phases:

  1. Candidate Generation: The source text undergoes preprocessing, including punctuation removal, stopword filtering, and stemming via the Lovins algorithm. Kea identifies all subsequences of up to three words that appear at least twice in the document.
  2. Feature Engineering: The authors identified two primary features that drive predictive performance:
  3. TFxIDF: A standard metric in Information Retrieval that quantifies a phrase's frequency in a specific document relative to its rarity across a broader corpus.
  4. Distance: The normalized position (0 to 1) of the phrase's first occurrence. Keyphrases typically appear early in a document's structure.
  5. Classification: These continuous features are discretized using an entropy-based method. A Naive Bayes model then calculates the probability of a candidate being a keyphrase based on patterns learned from training data.

Experimental Evaluation

The versatility of Kea was tested across several diverse datasets, including journal articles, web collections (FIPS, Aliweb, NASA), and the Computer Science Technical Reports (CSTR) corpus. The latter provided a "noisy" real-world testbed to evaluate how the algorithm scales with domain-specific data.

The Impact of Training Volume

A critical finding of the study is the efficiency of the learning process. Unlike many machine learning models that require vast amounts of labeled data, Kea's performance stabilizes remarkably quickly.

Figure 2: Performance of Kea as a function of the number of training documents.

As shown in Figure 2, the number of correctly identified keyphrases plateaus after approximately 50 training documents. This "50-document rule" suggests that Kea can be rapidly deployed in new domains with minimal manual labeling effort.

Key Results and Comparison

Kea was benchmarked against the then-state-of-the-art GenEx system and standard C4.5 decision trees.

Figure 3: Comparison of Kea performance against GenEx and C4.5 across different experimental conditions.

The results in Figure 3 demonstrate that Kea performs at a level statistically equivalent to GenEx while consistently outperforming standard decision tree approaches. Notably, Kea offers a significant advantage in training speed, being orders of magnitude faster than genetic algorithm-based systems. Furthermore, the algorithm benefits significantly from domain-specific training; when "tuned" to a specific field, the quality of extracted phrases improves as the model exploits domain-specific vocabulary.

Conclusion

The Kea algorithm demonstrates that simplicity and feature parsimony can rival complex heuristic systems in natural language processing tasks. By focusing on TFxIDF and document position within a Naive Bayes framework, Kea provides a fast, transparent, and easily adaptable solution for automated keyphrase extraction. While challenges remain regarding noisy data and the subjective nature of "gold standard" keyphrases, Kea represents a significant step toward scalable metadata generation for digital libraries.

Summary updated

BibTeX
@inproceedings{frank1999domain,
  author = {Eibe Frank and Gordon W. Paynter and Ian H. Witten and Carl Gutwin and Craig G. Nevill-Manning},
  title = {{Domain-Specific Keyphrase Extraction}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1999},
}
Figure