Abstract
This paper presents the first large-scale empirical benchmark of unsupervised keyword extraction methods, comparing traditional statistical approaches with modern graph-based models across 15 diverse datasets. While tf-idf remains a ubiquitous baseline, our findings reveal that lexical specificity and hybrid models—which combine statistical priors with graph connectivity—consistently offer superior performance. Specifically, the proposed TFIDFRank model achieves the highest overall precision, suggesting that the industry standard should move beyond vanilla tf-idf.
Introduction
Keyword extraction—the task of identifying the most representative noun phrases in a document—is a foundational component of Information Retrieval and Natural Language Processing. Despite the proliferation of deep learning, unsupervised methods remain the industry standard due to their domain-agnostic nature and lack of requirement for expensive labeled training data. However, most practitioners default to tf-idf out of habit, without a rigorous understanding of how it compares to graph-based alternatives like TextRank or alternative statistical measures like Lexical Specificity. This study fills that gap by analyzing these methods across varying document lengths and vocabulary densities.
Methodology
The authors categorize unsupervised keyword extraction into three primary families, all following a standard processing pipeline.
1. Statistical Models
These models rely on word-level surface features and frequency distributions:
- tf-idf: The standard baseline measuring term frequency against inverse document frequency.
- Lexical Specificity (LexSpec): Based on the hypergeometric distribution, this measures how "unexpected" a word's frequency is relative to a reference corpus, offering more robustness to document size variations.
2. Graph-based Models
These treat documents as networks where words are nodes and edges represent co-occurrence. Importance is derived via PageRank-style algorithms:
- TextRank/SingleRank: Basic graph models focusing on local connectivity.
- TopicRank/PositionRank: Advanced variants that incorporate topic clustering or word positions.
3. Hybrid Approaches
The authors introduce TFIDFRank and LexRank. These models use statistical scores (tf-idf or LexSpec) to initialize the "prior distribution" in the PageRank algorithm, guiding the graph walker toward statistically significant terms while maintaining the benefits of local connectivity analysis.
Datasets and Experimental Setup
The study utilizes 15 diverse public datasets, including scientific papers (Inspec, PubMed), news reports (KPCrowd), and web content (citeulike180). These datasets provide a broad spectrum of document lengths, vocabulary diversity, and human-assigned "gold" keywords to ensure the generalizability of the results.
Key Results and Discussion
The experimental results highlight several critical insights into the performance and efficiency of these weighting schemes.
- The Superiority of Hybrid Models: TFIDFRank emerged as the top performer, achieving the highest average Precision@5 (21.6). This confirms that "seeding" graph models with statistical priors captures both global importance and local context more effectively than either method alone.
- Lexical Specificity as a Strong Alternative: LexSpec outperformed tf-idf in Mean Reciprocal Rank (MRR), scoring 46.0 against 44.0. It proved particularly effective because it does not require a perfect partition of documents to function.
- Efficiency vs. Performance: Statistical methods remain roughly twice as fast as graph-based methods. While graph models are slower due to iterative calculations, they remain efficient enough for real-time applications, averaging approximately 0.01 seconds per document.
- The Failure of Raw Frequency: Simply using term frequency (tf) without normalization resulted in abysmal performance (7.9 P@5), underscoring the necessity of document-level weighting.
Conclusion
This benchmark demonstrates that while tf-idf is a reliable baseline, it is no longer the optimal choice for unsupervised keyword extraction. Practitioners seeking higher accuracy should consider Lexical Specificity for purely statistical needs or TFIDFRank for a high-performance hybrid approach. Future work will involve extending this analysis to morphologically rich languages and comparing these optimized "basic" methods against supervised transformer-based models.
Summary updated