AGRank: Augmented Graph-based Unsupervised Keyphrase Extraction

Haoran Ding, Xiao Luo2022

Abstract

Keyphrase extraction is a fundamental task in natural language processing, aimed at identifying the most representative terms in a document. While supervised models have shown high performance, they are often limited by the need for extensive labeled data and poor domain transferability. Unsupervised Keyphrase Extraction (UKE) offers a more scalable alternative but faces challenges in balancing local word relationships with global document themes, particularly in long-form texts. AGRank addresses these challenges through a three-stage process that combines deep semantic embeddings with structural graph algorithms.

The AGRank Framework

AGRank operates by building a sophisticated graph that captures both local semantic relationships and global document context. The process is divided into three main stages:

  1. Candidate Graph Generation: The model identifies noun phrases as potential keyphrases. Unlike traditional methods that rely on simple co-occurrence, AGRank utilizes the internal attention mechanisms of a pre-trained BERT model. By aggregating word-level attention into phrase-level weights, the model captures complex syntactic and semantic relationships that simple distance-based models miss.
  2. Graph Augmentation: To provide global context, the graph is "augmented" with a Document Node (representing the entire text) and multiple Sentence Nodes (representing local context). Edges are established between these context nodes and candidate nodes based on the cosine similarity of their BERT embeddings. This creates a hierarchy where a candidate strongly related to the document as a whole receives a ranking boost.
The augmented graph structure in AGRank, featuring a central document node, sentence nodes, and candidate keyphrase nodes.
  1. Refinement and Scoring: The model incorporates position weighting, giving higher priority to candidates appearing early in the document—a common trait in human writing. It also employs a pruning strategy based on the "Elbow law" for document frequency to remove generic terms. Finally, a weighted PageRank algorithm is applied to the augmented graph to rank candidates by their centrality and importance.

Experimental Results

The authors evaluated AGRank on four benchmark datasets: Inspec and SemEval2017 for short documents (abstracts), and SemEval2010 and Nguyen2007 for long documents (full scientific papers). AGRank was compared against 13 baseline models, including statistical methods (TF-IDF), graph-based methods (TextRank), and embedding-based approaches (EmbedRank).

AGRank consistently outperformed or matched state-of-the-art unsupervised baselines across all text lengths. Notably, on the SemEval2010 dataset for long papers, AGRank achieved an F1@5 score 3% higher than the next best unsupervised method. The study confirms that for long documents, adjusting edge weights based on sentence position significantly boosts performance.

Limitations and Analysis

While highly effective and relatively efficient (taking about a minute for long documents on standard hardware), AGRank's performance is sensitive to several hyperparameters. These include the position threshold ($k$), the pruning percentile ($p_s$), and the document frequency threshold ($df_\theta$).

Sensitivity analysis showing the impact of hyperparameters k, ps, and dfθ on the F1@15 score across different datasets.

As shown in the sensitivity analysis, while the model is robust, optimal performance currently requires manual tuning for specific domains. Future research aims to automate this parameter selection to enhance the model's "plug-and-play" utility for researchers across different fields.

Conclusion

AGRank demonstrates that augmenting graph-based models with deep contextual information and hierarchical nodes can significantly advance unsupervised keyphrase extraction. Its ability to handle both short abstracts and long scientific papers makes it a versatile and powerful tool for various NLP applications.

Summary updated

BibTeX
@misc{ding2022agrank,
  author = {Haoran Ding and Xiao Luo},
  title = {{AGRank: Augmented Graph-based Unsupervised Keyphrase Extraction}},
  year = {2022},
  doi = {10.18653/v1/2022.aacl-main.19},
}
Figure