Introduction
Keyphrase extraction is a fundamental task in natural language processing, aimed at identifying a small set of terms that best represent the main topics of a document. While unsupervised methods like TextRank have proven effective for general summarization, they often fail when a document is associated with multiple distinct labels or categories. In such cases, users frequently require keyphrases that are specific to a particular label rather than generally central to the entire text. This paper presents a novel approach to label-specific keyphrase extraction using graph-based random walks and the innovative concept of "sink nodes."
Problem Statement
Standard keyphrase extraction algorithms are typically "label-blind." They analyze the internal structure of a document—often through word co-occurrence graphs—to find central terms. However, in multi-labeled documents, such as a legal text covering both environmental policy and plant biology, these methods may return generic or cross-category terms.
The challenge lies in extracting phrases relevant to a specific target label while suppressing terms that belong to other labels assigned to the same document. For instance, a reader interested in "Plant Physiology" should see terms like "stomatal movements" rather than "sulphur dioxide," even if the latter is more frequent in the text.
Methodology
The authors extend the TextRank framework, where a document is represented as a graph of word nodes connected by co-occurrence edges. They propose two primary models to incorporate label information:
Personalized TextRank (PTR)
PTR adapts the Personalized PageRank algorithm by biasing the random walker's "jump" probability. Instead of jumping to any node uniformly, the walker is more likely to land on "seed" nodes—unigrams known to be strongly associated with the target label based on external corpus statistics.
TextRank using Ranking on Data Manifolds with Sinks (TRDMS)
TRDMS introduces a more sophisticated mechanism to handle topical overlap. It identifies terms associated with the target label as "query nodes" and terms associated with other labels on the document as "sink nodes."
The "sink" innovation is critical: sink nodes are assigned a fixed score of zero and do not propagate importance to their neighbors. This effectively "drains" the ranking score away from irrelevant topics, preventing "topical leakage" where a high-scoring word from an unrelated category might inadvertently boost the score of a neighbor.
Experimental Setup
The models were evaluated using the EUR-Lex dataset, consisting of European Union legal documents labeled with EUROVOC descriptors. The researchers focused on a subset of 100 documents, each containing 2 to 3 labels. To establish a ground truth, graduate students manually annotated these documents to identify label-specific keyphrases.
Results and Discussion
The experimental results demonstrate the superiority of the TRDMS model. By actively suppressing irrelevant topics through sink nodes, TRDMS achieved an F-measure of 0.392, significantly outperforming the PTR model (0.247) and a baseline approach of post-filtering standard TextRank results (0.177).
A key insight from the study is that "importance" in a document graph is fluid. Without negative constraints like sinks, a biased random walk still allows relevance to flow into irrelevant clusters if they are linguistically connected. However, the performance of TRDMS is sensitive to label correlation; when labels are highly similar, the query and sink nodes may overlap, leading to premature score drainage.
Conclusion
This research highlights the importance of incorporating both positive (query) and negative (sink) label information for effective keyphrase extraction in multi-labeled contexts. The TRDMS model provides a robust framework for generating topic-focused summaries, enabling more efficient navigation of large, categorized document repositories. Future work may explore handling highly correlated labels and reducing the dependence on pre-labeled corpora for feature selection.
Summary updated