Learning to Generate Question by Asking Question: A Primal-Dual Approach with Uncommon Word Generation

Qifan Wang, Li Yang, Xiaojun Quan, Fuli Feng, Dongfang Liu, Zenglin Xu, Sinong Wang, Hao Ma

Introduction

Automatic Question Generation (AQG) aims to produce relevant questions from a given passage and target answer. Despite progress, existing models struggle with two primary issues: the Answerability Gap, where generated questions do not lead back to the target answer, and the Copy Trap, where models over-rely on passage text, resulting in repetitive and unnatural questions. This paper proposes a novel framework, QG+AQ+UG, to address these challenges through a primal-dual approach and knowledge distillation for uncommon word generation.

The QG+AQ+UG Framework

The proposed architecture integrates three core components to enhance question specificity and lexical diversity.

The architecture of the QG+AQ+UG framework, showing the primal-dual encoder-decoder and knowledge distillation modules.

Primal-Dual Learning

The model treats Question Generation (Primal) and Question Answering (Dual) as interconnected tasks. By sharing a unified Transformer-based encoder, the system can "ask the question back" to verify if the generated question correctly retrieves the target answer. This feedback loop ensures a strong semantic bond between the question and the intended answer.

Uncommon Word Generation (UG)

To overcome the "copy trap," the authors employ knowledge distillation from a pre-trained T5 teacher model. During training, tokens in the passage—specifically verbs—are masked. The student model learns to predict these masked tokens by matching the teacher's word distribution, effectively expanding its vocabulary beyond the immediate passage text.

Unified Contextual Encoding

Unlike traditional models using separate encoders, this framework utilizes a single encoder with self-attention. This allows the passage, answer, and generated question to interact across all layers, producing superior contextual embeddings.

Experimental Results

The model was evaluated on the SQuAD (split-1 and split-2) and HotpotQA benchmarks.

Quantitative performance comparison of QG+AQ+UG against state-of-the-art baselines across multiple benchmarks.

Quantitative Performance

As shown in the results table, the QG+AQ+UG model consistently outperforms previous state-of-the-art methods like RefineNet and G2S+Bert+RL. Notably, on SQuAD-split-2, the model achieved a BLEU-4 score of 19.34, representing a significant improvement over the previous best of 18.30. Similar gains were observed across METEOR and ROUGE-L metrics.

Qualitative Insights

Human evaluations confirmed the model's superiority in "Answerability" (4.12) and "Naturalness" (3.85). The use of the Average Generalizability Score (AGS) further demonstrated the model's ability to generate more diverse and less common words, particularly verbs, which are crucial for human-like question phrasing.

Conclusion and Future Work

While the QG+AQ+UG framework sets a new standard for AQG, limitations remain. The current Transformer encoder is constrained by a 512-token sequence length, limiting its application to very long documents. Additionally, the model is currently optimized for single-question generation. Future research will explore multi-question generation for educational contexts and handling more complex, structural question types.

Summary updated

BibTeX
@inproceedings{wang2022learning,
  author = {Qifan Wang and Li Yang and Xiaojun Quan and Fuli Feng and Dongfang Liu and Zenglin Xu and Sinong Wang and Hao Ma},
  title = {{Learning to Generate Question by Asking Question: A Primal-Dual Approach with Uncommon Word Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.4},
}
Figure