Abstract
Keyphrase extraction is a critical task for document summarization and information retrieval. Traditional methods often rely on contiguous n-gram extraction or require manual tuning of gap constraints to capture non-contiguous semantic relationships. This paper introduces KeyRank, a framework utilizing a novel algorithm: Keyphrase Candidate Search with Sequential Pattern Mining (KCSP). By leveraging a "no-repeat" heuristic—the observation that words rarely repeat within a single keyphrase—KCSP automatically determines optimal search boundaries in a single document scan. Evaluated on the SemEval-2010 benchmark, KeyRank demonstrates superior performance in Precision, Recall, and F1-score compared to established supervised and graph-based models.
Introduction
The goal of keyphrase extraction is to identify a small set of terms that best represent the core topics of a document. Most existing systems follow a two-step paradigm: candidate generation and subsequent ranking. However, current candidate search methods face two primary challenges. First, many systems focus exclusively on contiguous word sequences, thereby ignoring semantic relationships between words separated by "filler" terms. Second, existing sequential pattern mining approaches are often computationally expensive, requiring multiple passes over the data and manual configuration of "gap constraints"—the maximum distance allowed between words in a phrase.
The KCSP Algorithm
To address these inefficiencies, the authors propose the KCSP algorithm. KCSP is designed to extract high-quality candidate phrases efficiently by making a fundamental assumption: words do not repeatedly appear in an effective keyphrase.
Automatic Gap Constraints
The "secret sauce" of KCSP is its ability to derive search boundaries directly from the text. Instead of requiring a human to define a fixed gap (e.g., "allow up to 2 words between terms"), KCSP uses the distance between occurrences of the same word to define search limits. For instance, if the word "data" appears at position 1 and again at position 10, the algorithm recognizes that any keyphrase starting with "data" at position 1 must conclude before position 10.
Single-Pass Extraction
By recording word positions during a single scan, the algorithm recursively builds phrases by checking if subsequent frequent words fall within these automatically defined gaps. This approach significantly reduces the search space without sacrificing the quality of the extracted candidates, allowing for the discovery of meaningful non-contiguous phrases.
Ranking with KeyRank
Once candidates are generated, they must be ranked to select the most representative phrases. KeyRank employs a modified version of the classic TF-IDF (Term Frequency-Inverse Document Frequency) mechanism. To improve filtering, the authors incorporate entropy into the ranking score. This addition helps the system distinguish between patterns that are frequent throughout a corpus and those that are uniquely descriptive of a specific document's topic.
Experimental Evaluation
The researchers evaluated KeyRank using the SemEval-2010 dataset, a standard benchmark in the field consisting of 244 scientific articles. The dataset was split into 144 documents for training the ranking mechanism and 100 for testing. KeyRank was compared against two industry standards: Kea, a supervised learning approach, and TextRank, an unsupervised graph-based approach.
Performance Results
KeyRank consistently outperformed both Kea and TextRank across all primary metrics. As illustrated in the F1-measure comparison, KeyRank maintains a higher accuracy rate regardless of whether 5 or 25 keyphrases are extracted.
The results highlight the effectiveness of the pattern-mining approach. While TextRank often struggles with the structural complexity of scientific text and Kea relies heavily on pre-defined features, KeyRank’s data-driven gap constraints allow it to capture the nuanced terminology of the domain more accurately.
Conclusion
KeyRank provides a robust and efficient solution for keyphrase extraction by automating the discovery of semantic patterns. The "no-repeat" heuristic simplifies the complex search problem of sequential mining into a manageable, single-pass process. While currently validated on scientific literature, future work will explore the application of KCSP to more diverse and informal text types, such as social media and legal documentation, to further test the universality of the "no-repeat" rule.
Summary updated