Introduction
Keyphrase extraction algorithms are designed to automatically identify a concise set of phrases that represent the core content of a document. Despite their utility, evaluating these algorithms has historically been difficult due to three primary issues: the rigidity of exact matching metrics, inconsistent experimental frameworks, and flawed fixed-length cutoffs like Precision at 10 (P@10). This paper addresses these challenges by introducing a new evaluation strategy based on approximate matching and a unified framework for model comparison.
A Unified Evaluation Framework
To enable fair, head-to-head comparisons between disparate models, the authors developed a generalized, language-independent pipeline using DKPro UIMA. This framework standardizes critical steps such as tokenization, part-of-speech (POS) tagging, and chunking. By isolating these variables, researchers can more accurately assess the impact of specific candidate selection strategies (e.g., N-grams vs. Noun Phrases) and ranking algorithms (e.g., tf.idf, TextRank, and Kea).
Methodology: Approximate Matching and R-precision
The core contribution of this work is the shift from strict exact matching to a more human-aligned approximate matching strategy. The proposed algorithm accepts non-exact matches based on two rules:
- MORPH: Accepts morphological variants, specifically plurals.
- INCLUDES: Accepts cases where the extracted phrase contains all tokens of the gold standard phrase plus additional tokens.
A human validation study confirmed that this combined strategy (MORPH + INCLUDES) achieved an 83% agreement rate with human judges, whereas a PARTOF rule (where the extracted phrase is a subset of the gold phrase) was frequently rejected as too vague.
Additionally, the authors adopt R-precision (R-p) from information retrieval. Unlike fixed cutoffs, R-precision uses a dynamic cutoff equal to the number of gold standard keyphrases assigned to a specific document, preventing systems from being unfairly penalized on documents with few valid keyphrases.
Experimental Setup
The framework was tested across three datasets representing different document lengths and domains:
- Inspec: Short scientific abstracts (~140 tokens).
- DUC: Medium-length news documents (~900 tokens).
- SP: Long scientific publications (~8,500 tokens).
Key Results
The experimental results demonstrate that the perceived performance of extraction models is heavily influenced by both the evaluation metric and document length.
The Impact of Document Length
There is no universal "best" algorithm. Unsupervised graph-based methods, such as TextRank, significantly outperform supervised systems like Kea on short-to-medium texts. For instance, on the Inspec dataset, TextRank achieved an approximate R-precision of .36, compared to Kea's .19. However, on long documents (SP dataset), the trend reverses: Kea leads with .25 R-precision, while TextRank drops to .10.
Candidate Selection and Metric Sensitivity
On long documents, simple candidate selection (like all tokens) often over-generates irrelevant candidates. Restricting candidates to Noun Phrases nearly doubled TextRank's performance on the SP dataset, raising its R-precision from .10 to .18. Furthermore, approximate matching revealed that the performance gap between supervised and unsupervised models is often smaller than exact matching suggests. On the SP dataset, the gap between Kea and the best tf.idf baseline shrank from .08 (exact) to just .03 (approximate).
Conclusion
This research highlights that exact matching underestimates the true performance of keyphrase extraction systems. By adopting approximate matching and dynamic cutoffs like R-precision, researchers can obtain a more realistic assessment of model quality. Future work will focus on expanding the matching algorithm to include a wider range of morphological and semantic variants, such as synonyms.
Summary updated