SGG: Learning to Select, Guide, and Generate for Keyphrase Generation

Jing Zhao, Junwei Bao, Yifan Wang, Youzheng Wu, Xiaodong He, Bowen Zhou

Introduction: The Challenge of Keyphrase Generation

Keyphrase generation is a fundamental task in Natural Language Processing (NLP) aimed at summarizing documents into concise, representative phrases. These phrases are categorized into two types: present keyphrases, which appear verbatim in the source text, and absent keyphrases, which capture the semantic essence but are not explicitly found in the document.

Existing models often rely on Sequence-to-Sequence (Seq2Seq) architectures with a copying mechanism. However, these models frequently suffer from a "copying bias"—since present keyphrases are more prevalent in training data, the models become overly reliant on extraction and struggle to generate meaningful absent keyphrases. Additionally, searching a large vocabulary to find words already present in a short abstract is computationally inefficient.

Conceptual overview of the SGG approach, distinguishing between selecting present keyphrases and generating absent ones.

The SGG Architecture

To address these limitations, the authors introduce SGG (Select-Guide-Generate), a hierarchical neural network designed to decouple the extraction and generation processes.

The hierarchical architecture of SGG, featuring the Encoder, Selector, Guider, and Generator layers.

The architecture consists of three primary layers:

  1. The Selector (Low Layer): This component focuses exclusively on the source text. Using a pointing mechanism, it identifies sequences that serve as present keyphrases without searching the entire vocabulary.
  2. The Guider (Middle Layer): Acting as a bridge, the Guider aggregates attention scores from the Selector into a global "memory" vector. This vector informs the subsequent layer about which parts of the text have already been identified as keyphrases.
  3. The Generator (High Layer): Dedicated to absent keyphrases, this layer utilizes the Guider's information to avoid redundancy. It combines a standard vocabulary search with a pointing-generating mechanism to "imagine" contextually relevant phrases not found in the source.

The entire system is trained using a multi-task learning strategy, jointly minimizing the loss for both the selection and generation components.

Experimental Setup and Datasets

The model was trained on a massive dataset of approximately 570,000 scientific publication samples (titles and abstracts) collected from online digital libraries. Evaluation was conducted on four gold-standard benchmarks: Inspec, Krapivin, NUS, and SemEval-2010.

Key Results and Insights

SGG demonstrated superior performance across all evaluated metrics:

  • Present Keyphrases: SGG consistently outperformed strong baselines like CopyRNN and CatSeq. For example, on the Inspec dataset, it achieved an F1@10 of 35.9, compared to CopyRNN’s 34.2.
  • Absent Keyphrases: The improvement was most pronounced here, with SGG reaching a Recall@50 of 23.5 on the Krapivin dataset, significantly higher than the 20.2 achieved by CopyRNN.
  • Bias Mitigation: Standard models typically generate absent keyphrases only 11-13% of the time. In contrast, SGG’s generator produced absent keyphrases at a rate of approximately 79%, effectively overcoming the copying bias.
  • Extensibility: The architecture proved effective for title generation, where the Selector identifies core concepts to guide the title generation process. Human evaluations confirmed higher fluency and better topic coverage compared to standard pointer-generator networks.

Conclusion

By separating the concerns of extraction and generation through a hierarchical "select-then-generate" logic, SGG provides a more robust and efficient framework for keyphrase generation. This decoupling allows the generator to focus on semantic abstraction rather than replication. Future work may extend this approach to more complex tasks such as long-form document summarization and multi-turn dialogue systems.

Summary updated

BibTeX
@inproceedings{zhao2021sgg,
  author = {Jing Zhao and Junwei Bao and Yifan Wang and Youzheng Wu and Xiaodong He and Bowen Zhou},
  title = {{SGG: Learning to Select, Guide, and Generate for Keyphrase Generation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.455},
}
Figure