Abstract
Natural question generation (QG) aims to generate questions from a passage and an answer. In this paper, we propose a novel reinforcement learning (RL) based graph-to-sequence (Graph2Seq) model for QG. Our model consists of a Graph2Seq generator where a novel Bidirectional Gated Graph Neural Network is proposed 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. The proposed model outperforms previous state-of-the-art methods by a large margin on the SQuAD dataset.
Introduction
Natural Question Generation (QG) is essentially the inverse of Question Answering (QA). While QA finds an answer in a text, QG creates a relevant question given a passage and an answer. Despite recent progress, existing QG research faces three major hurdles:
- Structural Neglect: Most models treat text as a simple linear sequence (Seq2Seq), ignoring the rich syntactic and semantic relationships (like dependency trees) that define language understanding.
- Objective Mismatch: Standard models trained using cross-entropy loss often suffer from "exposure bias" and a disconnect between training objectives and evaluation metrics (like BLEU scores).
- Poor Answer Integration: Simply concatenating the answer to the passage often fails to model the global interactions between the specific answer and the broader context.
Proposed Methodology
The researchers proposed a "generator-evaluator" architecture consisting of several novel components designed to address the structural and objective limitations of previous models.
Generator Components
- Deep Alignment Network (DAN): Instead of just appending the answer, DAN performs "soft-alignment" at both the word level (using GloVe/BERT) and the hidden state level. This effectively "highlights" the parts of the passage most relevant to the answer before encoding begins.
- Bidirectional Gated Graph Neural Network (BiGGNN): The passage is converted into a graph. The authors explored both Static graphs (based on dependency parse trees) and Dynamic graphs (learned via self-attention). The BiGGNN processes this graph by considering both incoming and outgoing edges, allowing for a more holistic representation of the text.
- RNN Decoder: A standard decoder generates the final question sequence from the graph embeddings.
Hybrid Evaluator
To fix the "objective mismatch," the model uses Reinforcement Learning (specifically the Self-Critical Sequence Training algorithm). The reward function is a mix of BLEU-4 for syntactic similarity and Word Mover’s Distance (WMD) for semantic similarity. The model is first pre-trained with standard cross-entropy loss and then fine-tuned using this RL-based hybrid objective.
Experimental Results
The model was evaluated on the SQuAD (Stanford Question Answering Dataset) using two specific versions (split-1 and split-2) to ensure a fair comparison with previous baselines.
As shown in the results, the proposed model, G2S$_{sta}$+BERT+RL, set a new benchmark on SQuAD. On the split-2 test set, the model achieved a BLEU-4 score of 18.30, significantly higher than the previous state-of-the-art, CGC-QG (17.55).
Ablation studies revealed that the Deep Alignment Network (DAN) was the single most impactful component. Removing it caused the BLEU-4 score to plummet from ~17% to ~12.6%, proving that the method of answer integration is as critical as the answer itself.
Key Insights
- Graphs Beat Sequences: Moving from Seq2Seq to Graph2Seq allows the model to explicitly capture dependency structures, helping it understand relational context (e.g., "who did what to whom") better than standard LSTMs.
- Semantic Rewards Matter: Using only BLEU as an RL reward can lead to grammatically correct but nonsensical text. Adding WMD as a semantic reward ensures the generated question remains meaningful.
- Static vs. Dynamic Graphs: Interestingly, syntax-based static graphs slightly outperformed learned dynamic graphs, suggesting that human-defined linguistic structures still hold significant value in deep learning architectures.
Conclusion
This work demonstrates that a Graph-to-Sequence approach, combined with sophisticated answer alignment and a hybrid RL objective, significantly advances the state-of-the-art in question generation. Future work will investigate more effective ways to automatically learn graph structures and refine copy mechanisms to better handle rare words or complex entities.
Summary updated