Introduction
Keyphrase generation (KG) is a critical task in Natural Language Processing (NLP) aimed at producing concise, descriptive phrases that encapsulate the core themes of a document. Unlike simple keyphrase extraction, generative models are capable of producing "absent keyphrases"—terms that are semantically relevant but do not appear verbatim in the source text. This capability is vital for indexing and retrieving documents where the most descriptive terms might be implied rather than stated.
Current state-of-the-art models, such as CopyRNN, typically treat a document's title and main body as a single, concatenated sequence. This approach overlooks a fundamental aspect of professional and academic writing: the title is a human-curated summary designed to highlight the most salient points. By failing to distinguish the title from the body, existing models lose a powerful signal that could guide the encoding process.
The TG-Net Architecture
To address this limitation, the authors propose TG-Net (Title-Guided Network). The core innovation is a specialized "Title-Guided Encoder" that treats the title as a high-level query to guide the identification of important information within the document context.
The architecture consists of three primary layers:
- Sequence Encoding Layer: The model employs two independent bi-directional Gated Recurrent Units (bi-GRUs). One encodes the document title, while the other encodes the full context (title plus body).
- Matching Layer: This layer implements an attention-based matching mechanism. The title representation acts as a query to perform "title-to-title" self-matching and "main body-to-title" matching. This process identifies which segments of the body align most closely with the themes established in the title.
- Merging Layer: The original context representations are merged with the title-aggregated information using a final bi-GRU and a residual connection. This ensures that the final word representations are informed by their relevance to the title.
The decoder utilizes a standard attention mechanism paired with a copy mechanism (pointer-generator), allowing the model to either generate words from a fixed vocabulary or copy them directly from the source.
Experimental Setup
The model was evaluated on five standard scientific publication benchmarks. The KP20k dataset, containing over 567,000 articles, served as the primary training and evaluation set. To test generalization across domains, the authors also used four smaller datasets: Inspec, Krapivin, NUS, and SemEval-2010.
Key Results and Analysis
TG-Net consistently outperformed baseline models like CopyRNN and CopyCNN across all datasets. The improvements were particularly notable in the generation of absent keyphrases, where the model must rely on a deep semantic understanding of the text.
On the KP20k dataset, TG-Net achieved a 9.4% improvement in F1@10 for present keyphrases and a dramatic 19.1% improvement in Recall@50 for absent keyphrases. These results validate the hypothesis that title-guidance helps the model capture the underlying semantics necessary for high-quality keyphrase generation.
The Title as a Compass
Statistical analysis of the KP20k dataset revealed that approximately 59% of present keyphrases and 33% of absent keyphrases share at least one non-stop-word with the title. This confirms the title's role as a "compass" for keyphrase selection. TG-Net leverages this by framing the title as a query, a concept borrowed from Question Answering (QA) tasks.
Performance Across Title-Length Ratios
An interesting finding was TG-Net's robustness across different "title-length ratios" (the length of the title relative to the body). The model maintains a significant edge even when titles are very short, where traditional models often fail to distinguish the title's signal from the noise of the main body.
Discussion and Future Work
While TG-Net represents a significant advancement, the authors note several areas for future exploration. Current evaluation metrics like F1 and Recall rely on exact string matching, which may unfairly penalize semantically correct but lexically different keyphrases. Additionally, while the current model uses GRUs, the architecture could potentially be adapted to Transformer-based frameworks using cross-attention mechanisms.
Finally, the paper highlights a "performance floor" in scenarios with extremely limited context (very high title-length ratios), suggesting that even with title guidance, a minimum amount of body text is required for effective keyphrase generation.
Summary updated