ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-training

Weizhen Qi, Yu Yan, Yeyun Gong, Dayiheng Liu, Nan Duan +3 more
1/13/2020
514 citations
cs.CL

Official code: microsoft/ProphetNet (745 stars, Python, MIT, last commit 2024-07-25).

Abstract

This paper presents a new sequence-to-sequence pre-training model called ProphetNet, which introduces a novel self-supervised objective named future n-gram prediction and the proposed n-stream self-attention mechanism. Instead of optimizing one-step-ahead prediction in the traditional sequence-to-sequence model, the ProphetNet is optimized by n-step ahead prediction that predicts the next n tokens simultaneously based on previous context tokens at each time step.

Show full abstract

The future n-gram prediction explicitly encourages the model to plan for the future tokens and prevent overfitting on strong local correlations. We pre-train ProphetNet using a base scale dataset (16GB) and a large-scale dataset (160GB), respectively. Then we conduct experiments on CNN/DailyMail, Gigaword, and SQuAD 1.1 benchmarks for abstractive summarization and question generation tasks. Experimental results show that ProphetNet achieves new state-of-the-art results on all these datasets compared to the models using the same scale pre-training corpus.

View on arXivView PDF

Code Implementations(1)

MIT

A research project for natural language generation, containing the official implementations by MSRA NLC team.

745119Python, ShellFeb 17, 20202 years agoMIT

Similar Papers

Cite this paper

@article{qi2020prophetnet,
  title  = {ProphetNet: Predicting Future N-gram for Sequence-to-Sequence Pre-training},
  author = {Weizhen Qi and Yu Yan and Yeyun Gong and Dayiheng Liu and Nan Duan and Jiusheng Chen and Ruofei Zhang and Ming Zhou},
  year   = {2020},
  eprint = {2001.04063},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.04063}
}

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/2001.04063.svg)](https://codeofpaper.com/paper/2001.04063)

Discussion