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

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

14 Aug 2019ICLR 2020 1arXiv:1908.04942archive 2025-07-28

Yu Chen, Lingfei Wu, Mohammed J. Zaki

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1908.04942")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hugochan/RL-based-Graph2Seq-for-NQG officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hugochan/RL-based-Graph2Seq-for-NQG. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_text_to_bert_features hugochan/RL-based-Graph2Seq-for-NQG/src/core/utils/bert_utils.py official repository unverified Apache-2.0 (permissive) · dbbab18dfe1739f9 · report
dev_batch hugochan/RL-based-Graph2Seq-for-NQG/src/core/model.py official repository unverified Apache-2.0 (permissive) · 246147b86724e625 · report
dropout hugochan/RL-based-Graph2Seq-for-NQG/src/core/layers/common.py official repository unverified Apache-2.0 (permissive) · 90744bd46d234211 · report
extract_bert_hidden_states hugochan/RL-based-Graph2Seq-for-NQG/src/core/utils/bert_utils.py official repository unverified Apache-2.0 (permissive) · 8179c77e202fa384 · report
extract_sent_dep_tree hugochan/RL-based-Graph2Seq-for-NQG/src/annotate_graphs.py official repository unverified Apache-2.0 (permissive) · 198b12358dd1545e · report
prepare_datasets hugochan/RL-based-Graph2Seq-for-NQG/src/core/utils/data_utils.py official repository unverified Apache-2.0 (permissive) · 2988ee69e45e3e36 · report
read_all_GenerationDatasets hugochan/RL-based-Graph2Seq-for-NQG/src/core/utils/data_utils.py official repository unverified Apache-2.0 (permissive) · 5c4103a76e1ea7ee · report
test_batch hugochan/RL-based-Graph2Seq-for-NQG/src/core/model.py official repository unverified Apache-2.0 (permissive) · 5cfc39a70aa4f147 · report
train_batch hugochan/RL-based-Graph2Seq-for-NQG/src/core/model.py official repository unverified Apache-2.0 (permissive) · 38eb8ab78cd2933d · report
vectorize_input hugochan/RL-based-Graph2Seq-for-NQG/src/core/utils/data_utils.py official repository unverified Apache-2.0 (permissive) · b19d07186e0f9476 · report

Tasks

Graph Neural NetworkGraph-to-SequenceQuestion GenerationQuestion-GenerationReinforcement LearningReinforcement Learning (RL)reinforcement-learning

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Graph Neural Network

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections