Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generation

Yu Chen, Lingfei Wu, Mohammed J. Zaki
8/14/2019
cs.CL
rl

Official code: hugochan/RL-based-Graph2Seq-for-NQG (126 stars, Python, Apache-2.0, PyTorch, last commit 2022-06-22).

Abstract

Natural question generation (QG) aims to generate questions from a passage and an answer. Previous works on QG either (i) ignore the rich structure information hidden in text, (ii) solely rely on cross-entropy loss that leads to issues like exposure bias and inconsistency between train/test measurement, or (iii) fail to fully exploit the answer information.

Show full abstract

To address these limitations, in this paper, we propose a reinforcement learning (RL) based graph-to-sequence (Graph2Seq) model for QG. Our model consists of a Graph2Seq generator with a novel Bidirectional Gated Graph Neural Network based encoder to embed the passage, and a hybrid evaluator with a mixed objective combining both cross-entropy and RL losses to ensure the generation of syntactically and semantically valid text. We also introduce an effective Deep Alignment Network for incorporating the answer information into the passage at both the word and contextual levels. Our model is end-to-end trainable and achieves new state-of-the-art scores, outperforming existing methods by a significant margin on the standard SQuAD benchmark.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Code & data accompanying the ICLR 2020 paper "Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generation"

12619PythonAug 15, 20194 years agoApache-2.0
deep-learninggraph-neural-networksgraph2seqpytorchquestion-generation+2 more

Similar Papers

Cite this paper

@article{chen2019reinforcement,
  title  = {Reinforcement Learning Based Graph-to-Sequence Model for Natural Question Generation},
  author = {Yu Chen and Lingfei Wu and Mohammed J. Zaki},
  year   = {2019},
  eprint = {1908.04942},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.04942}
}

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

Discussion