[Paper Review] Exclusive Hierarchical Decoding for Deep Keyphrase Generation
This paper proposes Exclusive Hierarchical Decoding (ExHiRD) for deep keyphrase generation, introducing a phrase-level and word-level decoding process to model hierarchical compositionality in keyphrase sets, along with soft and hard exclusion mechanisms to reduce duplication. Experiments show significant improvements in keyphrase diversity and accuracy across multiple benchmarks, with lower duplication ratios and higher F1 scores compared to prior methods.
Keyphrase generation (KG) aims to summarize the main ideas of a document into a set of keyphrases. A new setting is recently introduced into this problem, in which, given a document, the model needs to predict a set of keyphrases and simultaneously determine the appropriate number of keyphrases to produce. Previous work in this setting employs a sequential decoding process to generate keyphrases. However, such a decoding method ignores the intrinsic hierarchical compositionality existing in the keyphrase set of a document. Moreover, previous work tends to generate duplicated keyphrases, which wastes time and computing resources. To overcome these limitations, we propose an exclusive hierarchical decoding framework that includes a hierarchical decoding process and either a soft or a hard exclusion mechanism. The hierarchical decoding process is to explicitly model the hierarchical compositionality of a keyphrase set. Both the soft and the hard exclusion mechanisms keep track of previously-predicted keyphrases within a window size to enhance the diversity of the generated keyphrases. Extensive experiments on multiple KG benchmark datasets demonstrate the effectiveness of our method to generate less duplicated and more accurate keyphrases.
Motivation & Objective
- To address the limitations of sequential decoding in keyphrase generation, which ignores hierarchical structure and produces duplicated keyphrases.
- To model the hierarchical compositionality of keyphrase sets by separating phrase-level and word-level decoding processes.
- To enhance keyphrase diversity through soft and hard exclusion mechanisms that track previously generated keyphrases within a sliding window.
- To simultaneously predict both the number and content of keyphrases without relying on fixed-length beam search.
- To improve generation quality by rescaling word-level attention using phrase-level attention scores for better context focus.
Proposed method
- The hierarchical decoding framework consists of phrase-level decoding (PD) to identify the current aspect to summarize, followed by word-level decoding (WD) to generate keyphrases word by word.
- PD uses document content and previously generated keyphrases to determine the next aspect, initializing WD with the corresponding hidden representation.
- Word-level decoding attends to the document and rescales attention scores using the PD attention to emphasize the current aspect.
- A soft exclusion mechanism is applied during training, encouraging different first words for new keyphrases compared to the last K previously generated keyphrases.
- A hard exclusion mechanism is used during inference, forcing the model to avoid first words already used in the last K keyphrases via exclusive search.
- The exclusion mechanisms are applied within a sliding window of size K, with both mechanisms designed to reduce duplication while preserving generation accuracy.
Experimental results
Research questions
- RQ1Can modeling hierarchical compositionality in keyphrase sets improve generation accuracy?
- RQ2Does incorporating exclusion mechanisms reduce keyphrase duplication in sequence-based generation?
- RQ3How does the window size of the exclusion mechanism affect diversity and performance?
- RQ4Can the proposed exclusion mechanism be generalized to other keyphrase generation models?
- RQ5Does hierarchical decoding outperform standard sequential decoding in terms of F1 and duplication control?
Key findings
- ExHiRD-h achieved the highest F1@5 score of 0.110 on the KP20k dataset, outperforming all baselines including those enhanced with exclusive search.
- The DupRatio was reduced to 3.97 on KP20k, significantly lower than the baseline catSeq (3.70) and catSeqCorr (3.36), indicating improved diversity.
- Increasing the exclusive search window size K_ES led to lower DupRatio and higher F1@5, with K_ES = 'all' yielding the best results despite stemming effects.
- Applying the exclusive search mechanism to other baselines (e.g., catSeq, Transformer) improved their F1@5 and reduced duplication, but ExHiRD-h still outperformed them.
- Case studies confirmed that ExHiRD-h generated fewer duplicates—e.g., 'debugging' was generated only once, compared to three or more times by baselines.
- The model achieved a Present F1 of 0.374 and Absent F1 of 0.311 on KP20k, demonstrating strong performance on both keyphrase types.
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.