Skip to main content
QUICK REVIEW

[Paper Review] Keyphrase Generation with Cross-Document Attention

Shizhe Diao, Yan Song|arXiv (Cornell University)|Apr 21, 2020
Advanced Text Analysis TechniquesComputer Science45 references7 citations
TL;DR

This paper proposes CDKGen, a Transformer-based keyphrase generation model that enhances keyphrase extraction by integrating cross-document attention to capture latent topics and global document dependencies across a corpus. By leveraging multiple reference documents and a copy mechanism for OOV words, CDKGen achieves state-of-the-art performance across five benchmark datasets, improving keyphrase relevance and diversity.

ABSTRACT

Keyphrase generation aims to produce a set of phrases summarizing the essentials of a given document. Conventional methods normally apply an encoder-decoder architecture to generate the output keyphrases for an input document, where they are designed to focus on each current document so they inevitably omit crucial corpus-level information carried by other similar documents, i.e., the cross-document dependency and latent topics. In this paper, we propose CDKGen, a Transformer-based keyphrase generator, which expands the Transformer to global attention with cross-document attention networks to incorporate available documents as references so as to generate better keyphrases with the guidance of topic information. On top of the proposed Transformer + cross-document attention architecture, we also adopt a copy mechanism to enhance our model via selecting appropriate words from documents to deal with out-of-vocabulary words in keyphrases. Experiment results on five benchmark datasets illustrate the validity and effectiveness of our model, which achieves the state-of-the-art performance on all datasets. Further analyses confirm that the proposed model is able to generate keyphrases consistent with references while keeping sufficient diversity. The code of CDKGen is available at https://github.com/SVAIGBA/CDKGen.

Motivation & Objective

  • To address the limitation of conventional keyphrase generation models that focus only on a single document and miss corpus-level topic information.
  • To improve keyphrase relevance and diversity by incorporating latent topics from multiple related documents.
  • To handle out-of-vocabulary (OOV) words in keyphrases through a copy mechanism that selects terms directly from source documents.
  • To develop a global attention mechanism that enables the model to attend to relevant content across multiple documents during keyphrase generation.
  • To achieve state-of-the-art performance on keyphrase generation benchmarks while maintaining consistency with reference documents and diversity in outputs.

Proposed method

  • CDKGen extends the standard Transformer encoder-decoder architecture with a cross-document attention mechanism that allows the decoder to attend to representations from multiple related documents.
  • The cross-document attention module computes attention scores between the decoder hidden states and encoded representations of a set of reference documents, enabling the model to access shared topic patterns across the corpus.
  • A copy mechanism is integrated into the decoder to allow direct copying of words from input documents, particularly beneficial for rare or OOV terms in keyphrases.
  • The model is trained end-to-end using a combination of cross-entropy loss for generation and a copy gate mechanism to balance between generating and copying words.
  • The encoder processes each document independently, while the decoder attends to all documents in the reference set to enrich context during decoding.
  • The architecture supports dynamic reference sets, allowing the model to adaptively attend to the most relevant documents based on the input.

Experimental results

Research questions

  • RQ1Can incorporating cross-document attention improve keyphrase generation by capturing latent topic structures across multiple documents?
  • RQ2How does the inclusion of multiple reference documents affect the relevance and diversity of generated keyphrases?
  • RQ3To what extent does the copy mechanism improve performance on out-of-vocabulary keyphrase terms?
  • RQ4Does the proposed model outperform existing state-of-the-art methods on standard benchmark datasets?
  • RQ5How consistent are the generated keyphrases with reference keyphrases while maintaining sufficient diversity?

Key findings

  • CDKGen achieves state-of-the-art performance on all five benchmark datasets, outperforming previous methods in both precision and recall metrics.
  • The model demonstrates improved consistency with reference keyphrases by leveraging topic information from multiple documents through cross-document attention.
  • The copy mechanism significantly enhances performance on rare and OOV terms, reducing generation errors for such words.
  • Ablation studies confirm that both cross-document attention and the copy mechanism contribute independently and substantially to the model's performance.
  • The generated keyphrases exhibit a favorable balance between relevance to the input document and diversity across different outputs.
  • Qualitative analysis confirms that CDKGen generates keyphrases that are semantically coherent and aligned with the main topics of the input and reference documents.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.