Knowledge Questions from Knowledge Graphs

Dominic Seyler, Mohamed Yahya, Klaus BerbericharXiv 2016 · DOI

TL;DR

This paper introduces an end-to-end pipeline for automatically generating natural language quiz questions from Knowledge Graphs (KGs). By leveraging historical Jeopardy! data and web-scale entity salience, the authors developed a model that can not only verbalize facts into questions but also accurately predict their difficulty for human players.

What Problem Does This Paper Address?

While Knowledge Graphs like DBpedia and YAGO contain millions of facts, turning those facts into engaging, human-readable quiz questions is non-trivial. The authors identify three main challenges:

  1. Selection: How do you pick facts that result in a unique answer and avoid "spoiling" the answer within the question text?
  2. Verbalization: How do you transform a dry triple like (BarackObama, won, GrammyAward) into a natural-sounding sentence?
  3. Difficulty Estimation: This is the core challenge. A popular entity doesn't guarantee an easy question. For example, most people know Barack Obama was President (easy), but few know he won a Grammy (hard). Quantifying this "hardness" is essential for educational apps or qualification tests.

Methods

The authors propose a four-stage pipeline:

Figure 2: Question generation pipeline.
  1. Query Generation: The system selects a target entity and finds a set of "triple patterns" (facts) that uniquely identify it. It filters out facts that have textual overlap with the answer to prevent the question from being too obvious.
  2. Difficulty Estimation: They train a logistic regression classifier to predict if a question is "easy" or "hard." The model uses features like Entity Salience (how often an entity is linked on Wikipedia) and Coherence (how often two entities appear together in the same context).
  3. Query Verbalization: Using a template-based approach, the system converts structured queries into natural language. To avoid robotic phrasing, they mined a large corpus to find diverse ways to express relations (e.g., "starred in" vs. "appeared in").
  4. Distractor Generation: For multiple-choice questions, the system generates "confusable" incorrect answers by relaxing the original query constraints.

Datasets

  • YAGO2s: The primary Knowledge Graph used to source facts.
  • Jeopardy! Archive: Over 30 years of questions and their monetary values (used as a proxy for difficulty) were used to train the difficulty classifier.
  • ClueWeb09/12 & FACC: Used to calculate entity salience and coherence features based on web-scale document mentions.
  • WordNet: Used for type paraphrasing and hierarchy.

Key Insights and Ideas

  • Salience vs. Coherence: A question's difficulty isn't just about how famous the answer is. It's about the "distance" between the clues and the answer. High coherence between a clue and an answer (e.g., Obama and the White House) makes a question easier, while low coherence (e.g., Obama and a Grammy) makes it harder.
  • Humans are Poor Judges: The study found that non-expert humans only agree with Jeopardy! ground-truth difficulty about 62.5% of the time. The automated model actually outperformed the average human in judging absolute difficulty.
  • Unique Answers are Vital: By starting with a structured SPARQL-like query, the system ensures that every generated question has exactly one correct answer in the KG, which is critical for automated grading.
A fragment of a KG and a generated question

Key Results

  • Difficulty Classification: The logistic regression model achieved 66.4% accuracy in binary (easy vs. hard) classification using ten-fold cross-validation.
  • Feature Importance: The ablation study showed that combining salience, coherence, and entity type features yielded the best results, proving these signals are complementary.
  • Distractor Quality: In a user study, the system's "confusability" estimator agreed with human annotations on which distractors were more challenging 76% of the time (a Cohen’s $\kappa$ of 0.521, indicating moderate agreement).

Limitations and Future Work

  • Template Rigidity: While the system uses mined paraphrases, the underlying structure is still template-based, which can lead to repetitive phrasing compared to human-written questions.
  • KG Completeness: The system is limited by the facts present in the Knowledge Graph. If a KG lacks "interesting" or "quirky" facts, the generated questions may feel dry.
  • Future Directions: The authors suggest exploring more complex query structures (beyond single-variable queries) and applying the difficulty model to other domains like medical or technical knowledge assessment.

Summary updated

BibTeX
@misc{seyler2016knowledge,
  author = {Dominic Seyler and Mohamed Yahya and Klaus Berberich},
  title = {{Knowledge Questions from Knowledge Graphs}},
  year = {2016},
  eprint = {1610.09935},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.09935},
}
Figure