Keyphrase Generation with Cross-Document Attention

Shizhe Diao, Yan Song, Tong Zhang
4/21/2020
cs.CL
transformer-attention

Official code: SVAIGBA/CDKGen (23 stars, Python, MIT, last commit 2020-05-04).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

SVAIGBA/CDKGenOfficial100%
MIT
231Python, ShellApr 12, 20206 years agoMIT

Similar Papers

Cite this paper

@article{diao2020keyphrase,
  title  = {Keyphrase Generation with Cross-Document Attention},
  author = {Shizhe Diao and Yan Song and Tong Zhang},
  year   = {2020},
  eprint = {2004.09800},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.09800}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.09800.svg)](https://codeofpaper.com/paper/2004.09800)

Discussion