Enhancing Question Generation with Commonsense Knowledge

Xin Jia, Hao Wang, Dawei Yin, Yunfang Wu

TL;DR

Standard AI models for Question Generation (QG) often struggle because they lack the "background knowledge" humans take for granted. This paper introduces a multi-task learning framework that pulls commonsense triples from databases like ConceptNet and WordNet to bridge the gap between a source text and a high-quality question. By training the model to classify relations and generate missing concepts, the authors achieve more human-like, knowledge-rich questions on the SQuAD benchmark.

What Problem Does This Paper Address?

Question Generation (QG) is the task of taking a piece of text (context) and an answer, then generating a relevant question. While modern neural models are good at "copying" and "rephrasing" words found directly in the text, they often fail to produce questions that require external reasoning.

For example, if a text mentions the "European Parliament," a human might ask a question about "governing bodies." A standard AI model, however, might not "know" that the Parliament is a governing body unless that specific phrase is in the text. This "knowledge gap" leads to shallow, repetitive questions. The authors aim to inject this missing commonsense background into the QG process.

Methods

The researchers proposed a multi-task learning framework that goes beyond simply feeding extra data into a model. Their approach involves three main stages:

  1. Knowledge Extraction & Filtering: They retrieve (head, relation, tail) triples from ConceptNet and WordNet. Crucially, they filter these to keep only "informative" triples—where the head concept appears in the context and the tail concept appears in the human-written reference question. This ensures the knowledge actually helps bridge the gap between the source and the target.
  2. The Main QG Model: They use a standard Seq2Seq model (Bi-LSTM encoder + LSTM decoder) enhanced with attention and a pointer-copy mechanism.
  3. Two Auxiliary Tasks: To force the model to "absorb" the knowledge, they add two secondary training goals:
  4. Relation Classification (RC): Given a head and tail concept, the model must predict the relationship (e.g., "IsA" or "Synonymy").
  5. Tail Concept Generation (TG): Given a head concept and a relation, the model must generate the tail concept.
  6. Iterative Training Framework (ITF): Since not every sentence in a dataset has a clear commonsense link in a database, they use an iterative approach. The model alternates between training on "knowledge-equipped" samples (using all three tasks) and "pure" samples (updating only the main QG parameters).

Datasets

The authors used SQuAD (Stanford Question Answering Dataset), the gold standard for QG research.

  • Training set: 75,722 samples.
  • Knowledge Coverage: Through their extraction process, they found that roughly 61.3% of SQuAD samples could be paired with relevant commonsense triples from ConceptNet or WordNet.

Key Insights and Ideas

  • Bridging the Gap: The most important insight is that commonsense knowledge in QG acts as a "bridge." The model shouldn't just see the knowledge; it needs to understand the transition from a specific entity in the text to a more general or related concept in the question.
  • Multi-tasking over Simple Input: Previous methods often just "plugged" knowledge triples into the encoder. This paper argues that making the model perform tasks (like predicting a relation) leads to a deeper integration of that knowledge into the model's internal representations.
  • Filtering is Key: Not all commonsense is useful. By specifically selecting triples that connect the context to the target question, the authors reduce noise and provide a clearer training signal.

Key Results

The proposed "Unified Model" was tested using both ELMo and BERT embeddings:

  • Quantitative: On the SQuAD test set, the BERT-based unified model achieved a 18.65 BLEU-4 score, outperforming strong Seq2Seq baselines and rivaling complex reinforcement learning-based models.
  • Ablation Studies: Removing either the Relation Classification or Tail Generation task led to a drop in performance, proving that both auxiliary tasks are necessary for the model to "learn" commonsense effectively.
  • Human Evaluation: In a blind test, human evaluators rated the Unified Model higher than the baseline in Relevancy, Fluency, and Answerability. The model was significantly better at using "human-like" synonyms (e.g., knowing that "ha" in a text refers to "hectares" in a question).

Limitations and Future Work

  • Single Triple Constraint: Currently, the auxiliary tasks only take one knowledge triple as input at a time. In reality, a single question might rely on multiple pieces of background knowledge.
  • Database Dependency: The model is limited by the scope of ConceptNet and WordNet. If a concept isn't in those databases, the model reverts to standard behavior.
  • Future Directions: The authors suggest exploring ways to incorporate multiple triples simultaneously and applying this multi-task framework to other generative tasks like story generation or chatbot response generation.

Summary updated

BibTeX
@inproceedings{jia2021enhancing,
  author = {Xin Jia and Hao Wang and Dawei Yin and Yunfang Wu},
  title = {{Enhancing Question Generation with Commonsense Knowledge}},
  booktitle = {CCL},
  year = {2021},
  url = {https://openreview.net/forum?id=McSAa7xzwx},
}

Loading related content...

Figure