RetGen: A Joint framework for Retrieval and Grounded Text Generation Modeling

Yizhe Zhang, Siqi Sun, Xiang Gao, Yuwei Fang, Chris Brockett +3 more
5/14/2021
cs.CLcs.AI
moe

Official code: dreasysnail/RetGen (116 stars, Python, last commit 2022-10-04).

Abstract

Recent advances in large-scale pre-training such as GPT-3 allow seemingly high quality text to be generated from a given prompt. However, such generation systems often suffer from problems of hallucinated facts, and are not inherently designed to incorporate useful external information.

Show full abstract

Grounded generation models appear to offer remedies, but their training typically relies on rarely-available parallel data where information-relevant documents are provided for context. We propose a framework that alleviates this data constraint by jointly training a grounded generator and document retriever on the language model signal. The model learns to reward retrieval of the documents with the highest utility in generation, and attentively combines them using a Mixture-of-Experts (MoE) ensemble to generate follow-on text. We demonstrate that both generator and retriever can take advantage of this joint training and work synergistically to produce more informative and relevant text in both prose and dialogue generation.

View on arXivView PDF

Code Implementations(1)

dreasysnail/RetGenOfficial100%
11618Python, ShellMay 2, 20214 years ago

Similar Papers

Cite this paper

@article{zhang2021retgen,
  title  = {RetGen: A Joint framework for Retrieval and Grounded Text Generation Modeling},
  author = {Yizhe Zhang and Siqi Sun and Xiang Gao and Yuwei Fang and Chris Brockett and Michel Galley and Jianfeng Gao and Bill Dolan},
  year   = {2021},
  eprint = {2105.06597},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.06597}
}

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

Discussion