Iterative GNN-based Decoder for Question Generation

Zichu Fei, Qi Zhang, Yaqian ZhouEMNLP 2021

Introduction

Automatic Question Generation (QG) aims to transform a declarative sentence and a target answer into a natural-sounding question. Traditional approaches typically employ Sequence-to-Sequence (Seq2Seq) architectures that treat the input and output as flat word sequences. However, these models often overlook the rich syntactic structure of human language and struggle to track the state of "copied" words during the decoding process. This paper introduces the Iterative Graph Network-based Decoder (IGND), which treats question generation as a dynamic structural process by updating a graph representation of the source passage at each decoding step.

Methodology

The IGND architecture consists of two primary components: a Relational-Graph Encoder and an Iterative Graph Network-based Decoder.

Relational-Graph Encoder

The encoder constructs a graph where words serve as nodes and edges represent dependency relations. It utilizes a Bi-directional Gated Graph Neural Network (bi-GGNN) to generate answer-aware representations of each word in the passage, capturing the syntactic context necessary for high-quality question generation.

Iterative Graph Network-based Decoder

The core innovation of this work is the iterative decoding process. Unlike standard decoders that maintain a static representation of the input, the IGND updates "role tags" for every node in the passage graph at each time step. Nodes are tagged as answer, copied, or no-copy. When a word is copied into the generated question, its tag in the passage graph is updated to copied. The model then re-runs a GNN over this updated graph to recalculate the context for the next word. This mechanism provides the model with a "structural memory," allowing it to track which parts of the sentence have already been utilized.

The IGND architecture featuring the Relational Graph Encoder and the Iterative Graph Network-based Decoder.

Experimental Setup

The model was evaluated on two benchmark datasets for reading comprehension:

  • SQuAD: A large-scale dataset of Wikipedia articles and crowdsourced questions.
  • MS MARCO: A dataset based on real-world Bing search queries and web documents.

Results

The IGND model achieved state-of-the-art (SOTA) performance across both datasets. On SQuAD, it reached a BLEU-4 score of 20.33, surpassing previous recurrent BERT-based models. On MS MARCO, the model achieved a BLEU-4 score of 23.87, significantly outperforming existing baselines.

Comparison of BLEU-4 scores on the MS MARCO dataset, showing IGND (Our Model) achieving state-of-the-art results.

Human evaluations further validated these results, with annotators rating IGND questions higher in terms of fluency, relevancy, and answerability. Notably, the iterative graph updates only introduce a marginal computational overhead, with the model being approximately 1.1x slower than a non-iterative version.

Conclusion

The Iterative Graph Network-based Decoder demonstrates that incorporating dynamic syntactic structure into the decoding process significantly improves question generation quality. By treating words as entities with evolving states, the model effectively manages complex sentence structures and maintains better focus during generation. Future work will explore scaling this approach to multi-sentence passages and other structured-to-text tasks.

Summary updated

BibTeX
@inproceedings{fei2021iterative,
  author = {Zichu Fei and Qi Zhang and Yaqian Zhou},
  title = {{Iterative GNN-based Decoder for Question Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.201},
}
Figure