[Paper Review] PromptRank: Unsupervised Keyphrase Extraction Using Prompt
PromptRank proposes a novel unsupervised keyphrase extraction method that leverages a pre-trained encoder-decoder language model to rank keyphrase candidates by computing the probability of generating the candidate from a prompted version of the document. It achieves state-of-the-art performance, improving F1 scores by 34.18%, 24.87%, and 17.57% over MDERank for 5, 10, and 15 returned keyphrases, respectively, without requiring fine-tuning or architectural modifications.
The keyphrase extraction task refers to the automatic selection of phrases from a given document to summarize its core content. State-of-the-art (SOTA) performance has recently been achieved by embedding-based algorithms, which rank candidates according to how similar their embeddings are to document embeddings. However, such solutions either struggle with the document and candidate length discrepancies or fail to fully utilize the pre-trained language model (PLM) without further fine-tuning. To this end, in this paper, we propose a simple yet effective unsupervised approach, PromptRank, based on the PLM with an encoder-decoder architecture. Specifically, PromptRank feeds the document into the encoder and calculates the probability of generating the candidate with a designed prompt by the decoder. We extensively evaluate the proposed PromptRank on six widely used benchmarks. PromptRank outperforms the SOTA approach MDERank, improving the F1 score relatively by 34.18%, 24.87%, and 17.57% for 5, 10, and 15 returned results, respectively. This demonstrates the great potential of using prompt for unsupervised keyphrase extraction. We release our code at https://github.com/HLT-NLP/PromptRank.
Motivation & Objective
- To address the limitations of existing unsupervised keyphrase extraction methods, particularly length discrepancies between documents and candidates and the need for contrastive fine-tuning in PLM-based approaches.
- To explore whether prompt engineering can effectively replace fine-tuning in unsupervised keyphrase extraction while maintaining or improving performance.
- To develop a simple, plug-and-play method that leverages pre-trained models directly without additional training or parameter updates.
- To evaluate the robustness and generalization of the method across diverse datasets and model architectures.
Proposed method
- PromptRank uses a pre-trained encoder-decoder model (e.g., T5-base) with the document fed into the encoder and a prompt-template containing the candidate phrase into the decoder.
- The method computes the generation probability of the candidate phrase given the document and a designed prompt, using the decoder’s output probability as a ranking score.
- The prompt is designed to expand the candidate’s length and context, mitigating length discrepancies between documents and candidates.
- The ranking score is derived from the cross-entropy loss of the decoder’s prediction, with higher probability indicating higher relevance.
- Hyperparameters such as position weighting (β) and length scaling (γ) are dynamically adjusted based on document length to balance performance across short and long texts.
- The method is entirely unsupervised and does not require any fine-tuning or additional parameters.
Experimental results
Research questions
- RQ1Can prompt-based generation in an encoder-decoder PLM effectively replace embedding similarity for unsupervised keyphrase ranking?
- RQ2How does prompt design influence the performance of keyphrase extraction in zero-shot settings?
- RQ3Does the method generalize across different PLM architectures and sizes without fine-tuning?
- RQ4How do hyperparameters like position weighting and prompt length affect ranking performance on short versus long documents?
Key findings
- PromptRank achieves a 34.18% relative improvement in F1 score over MDERank when retrieving 5 keyphrases across six benchmarks.
- The method improves F1 by 24.87% and 17.57% for 10 and 15 keyphrases, respectively, demonstrating consistent superiority across retrieval top-k settings.
- PromptRank maintains strong performance across diverse datasets, including Inspec, SemEval, and DUC, with consistent gains over SOTA baselines.
- The method is robust across different PLM architectures: T5-small, T5-base, T5-large, BART-base, and BART-large all outperform MDERank without fine-tuning.
- The optimal hyperparameter γ for dynamic position weighting is found to be 1.2×10⁸, which balances performance on short and long documents.
- Case studies show that PromptRank assigns higher scores to gold keyphrases and better discriminates irrelevant candidates compared to MDERank.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.