Keyphrase Extraction Using Neighborhood Knowledge Based on Word Embeddings

Yuchen Liang, Mohammed J. ZakiarXiv 2021

Introduction

In Natural Language Processing (NLP), keyphrase extraction (KPE) is the essential task of distilling a document into its most representative topics. Traditional unsupervised models have primarily relied on statistical frequency and local co-occurrence. However, Yuchen Liang and Mohammed J. Zaki from RPI argue that these signals are insufficient for capturing deeper semantic relationships. They propose a novel unsupervised model that leverages "neighborhood knowledge" from word embeddings to bridge semantic gaps that simple statistics miss.

The Semantic Gap in Keyphrase Extraction

Most unsupervised KPE models represent a document as a graph where nodes are words and edges represent co-occurrence. While effective for terms appearing in close proximity, this approach fails when a document uses synonyms or semantically related terms across different sections (e.g., "automobile" and "car"). Without semantic awareness, a model might fail to identify a central theme expressed through varied vocabulary. The core challenge addressed is how to inject external "background knowledge" into a model processing a single document.

Methodology: Neighborhood-Enriched Ranking

The proposed pipeline moves from raw text to a semantically enriched ranking through several key steps:

  1. Candidate Extraction: Potential phrases are identified using Part-of-Speech (POS) patterns, focusing on sequences of adjectives and nouns.
  2. Neighborhood Construction: For each candidate, the model retrieves its $k$ nearest neighbors from a pre-trained Word2Vec space (trained on Google News).
  3. Semantic Graph Construction: This is the central innovation. Edge weights between phrases are calculated not just by direct co-occurrence, but by the co-occurrence of a phrase with the neighbors of another phrase.
  4. Biased PageRank: A ranking algorithm is applied where initial weights are biased toward phrases appearing earlier in the document, leveraging the common heuristic that important information often appears first.
  5. Ensemble Ranking: Graph-based scores are combined with TF-IDF to balance local document importance with global corpus-level distinctiveness.

Experimental Setup

The model was evaluated across three standard benchmarks representing different domains and document lengths: Inspec (short abstracts), DUC2001 (medium news articles), and the NUS corpus (long scientific papers).

Table 1: Statistics of the datasets used for evaluation, highlighting the variance in document length.

Key Results and Discussion

The proposed model was compared against several established unsupervised baselines, including TextRank, SingleRank, and PositionRank.

Table 2: Performance comparison of the proposed model against state-of-the-art unsupervised baselines across three datasets.

The results demonstrate several key insights:

  • Superior Accuracy: On the Inspec dataset, the model achieved a top F-score of 38.7, outperforming PositionRank (36.9).
  • Significant Gains on Long Text: The most notable improvements occurred on the NUS corpus, where the F-score reached 16.5 compared to 12.2 for PositionRank. This suggests that semantic linking is increasingly critical as document length and complexity grow.
  • Ensemble Effectiveness: Combining the neighborhood-aware graph with TF-IDF (Our Model 1) generally yielded the best overall performance, indicating that semantic relationships and statistical frequency are complementary signals.

Conclusion and Future Directions

By integrating Word2Vec embeddings, the model brings "common sense" to KPE, allowing it to recognize relationships between terms like "processor" and "CPU" even if they do not co-occur. While the model shows robust performance, it remains dependent on the quality and domain-coverage of the pre-trained embeddings. Future work may involve refining neighborhood selection and testing the approach on more diverse, domain-specific datasets.

Summary updated

BibTeX
@misc{liang2021keyphrase,
  author = {Yuchen Liang and Mohammed J. Zaki},
  title = {{Keyphrase Extraction Using Neighborhood Knowledge Based on Word Embeddings}},
  year = {2021},
  eprint = {2111.07198},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.07198},
}
Figure