QRelScore: Better Evaluating Generated Questions with Deeper Understanding of Context-aware Relevance

Xiaoqiang Wang, Bang Liu, Siliang Tang, Lingfei Wu

Introduction

In the field of Question Generation (QG), the goal is to develop models capable of reading a source text and generating intelligent, relevant questions. However, evaluating these models remains a significant challenge. Traditional metrics like BLEU or ROUGE rely on comparing generated questions to a single human-written "gold standard" reference. This approach suffers from three primary limitations: reference incompleteness (a text can inspire many valid questions beyond the reference), semantic drift (hallucinations that appear fluent but lack factual support), and a lack of reasoning (difficulty in assessing complex linguistic dependencies like coreference resolution).

To address these issues, we introduce QRelScore, a reference-free metric that evaluates a question's relevance directly against its source context rather than a limited set of human references.

Methods: The QRelScore Architecture

QRelScore evaluates relevance through two complementary lenses: word-level reasoning and sentence-level factual consistency.

The dual-component architecture of QRelScore, featuring Local Relevance Matching (LRM) via BERT and Global Relevance Generation (GRG) via GPT-2.

Local Relevance Matching ($QRel_{LRM}$)

This component utilizes BERT to analyze word-level connections. By feeding the question and context into the model simultaneously, QRelScore leverages cross-attention, allowing every word in the question to interact with every word in the context. Furthermore, it employs layer-wise embeddings to capture a hierarchy of linguistic features, from simple keyword matching in shallow layers to complex relational reasoning in deeper layers.

Global Relevance Generation ($QRel_{GRG}$)

To ensure factual consistency, this component uses GPT-2 to calculate "confidence gain." It measures how much more likely the model is to generate the source context when it is first prompted with the candidate question. A high confidence gain indicates that the question is factually grounded in the text.

The final QRelScore is the harmonic mean of these two components. For scenarios where human references are available, a hybrid version called Ref-QRelScore can be used.

Experimental Setup and Datasets

The metric was validated using standard benchmarks including SQuADv1 (factoid questions) and HotpotQA (multi-hop reasoning). To test robustness, the authors developed a custom set of 20,000 adversarial samples, where negative samples were created by subtly altering questions through entity swapping, pronoun swapping, or sentence negation.

Key Results and Insights

QRelScore demonstrates a significantly higher correlation with human judgment than traditional metrics across various dimensions, including grammaticality, answerability, and relevance.

Qualitative examples comparing QRelScore with traditional metrics. Note how QRelScore aligns with human judgment even when BLEU4 scores are zero due to lack of n-gram overlap with the reference.

Key findings include:

  • Superior Robustness: In adversarial testing, QRelScore achieved an AUC of 0.844 on SQuADv1, far outperforming BERTScore (0.740) and BLEU-4 (0.698).
  • Downstream Utility: When integrated as a reward function in Reinforcement Learning for QG model training, QRelScore led to a 4.36% improvement in downstream Question Answering performance.
  • Context-Awareness: The results confirm that the source context provides a much richer ground truth for evaluation than a single human reference.

Limitations and Future Work

While effective, QRelScore is a "black box" model, making it difficult to interpret why a specific score was assigned. Additionally, as it relies on large pre-trained models like BERT and GPT-2, it is computationally more expensive than n-gram metrics and may inherit underlying model biases. Future research will focus on developing more efficient backbone models and testing the metric in specialized domains such as legal or medical literature.

Summary updated

BibTeX
@inproceedings{wang2022qrelscore,
  author = {Xiaoqiang Wang and Bang Liu and Siliang Tang and Lingfei Wu},
  title = {{QRelScore: Better Evaluating Generated Questions with Deeper Understanding of Context-aware Relevance}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.37},
}
Figure