Knowledge Graph Simple Question Answering for Unseen Domains

Georgios Sidiropoulos, Nikos Voskarides, Evangelos KanoulasarXiv 2020

TL;DR

This paper introduces a data-centric domain adaptation framework for Knowledge Graph Simple Question Answering (KGSQA) when encountering completely unseen domains at test time. By leveraging distant supervision to extract rich, relation-specific keywords from Wikipedia, the authors train a sequence-to-sequence model to generate lexically diverse synthetic questions, significantly boosting zero-shot performance without requiring manual human annotations.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) like Freebase and Wikidata store vast amounts of real-world knowledge as subject-relation-object triples. KGSQA systems aim to answer natural language questions by mapping them to a single KG fact (e.g., mapping "Who directed The Godfather?" to the triple (The Godfather, film.film.directed_by, Francis Ford Coppola)).

However, existing systems face two major bottlenecks:

  1. Data Scarcity: Human-annotated QA datasets only cover a tiny fraction of the thousands of relations present in a modern KG.
  2. Dynamic KGs: KGs are constantly updated with entirely new domains and relations.

When a KGSQA system encounters an "unseen domain" at test time—one for which no question-answer training pairs exist—standard classification-based models fail completely. This paper tackles this zero-shot domain adaptation challenge, aiming to build a system that generalizes gracefully to new topics without human intervention.

Methods

The authors propose a data-centric domain adaptation framework consisting of two main pillars:

1. A Flexible Relation-Ranking KGSQA System

Traditional models treat relation prediction as a fixed-class classification problem, which breaks when a new relation appears. Instead, the authors model relation prediction as a ranking task. They use separate LSTMs to encode both the question and the textual label of the relation (e.g., film.film.directed_by), computing their similarity via cosine distance. This allows the model to evaluate and score any arbitrary relation at inference time, even if it was never seen during training.

2. Distant Supervision-Powered Question Generation (QG)

To prepare the ranking model for an unseen domain, the framework automatically generates synthetic training questions from the new domain's KG facts.

Standard QG models often suffer from a lack of lexical variety, generating repetitive, formulaic questions. To fix this, the authors use distant supervision:

  • They locate Wikipedia articles containing the subject and object entities of a target relation.
  • They extract sentences that mention these entities and use TF-IDF to score and select the top-$k$ keywords that best characterize the relation.
  • These keywords form a "rich textual context" fed into an encoder-decoder QG model, forcing it to generate questions with diverse phrasings (e.g., learning that both "who wrote X" and "who authored X" map to the same relation).
Table 1: Examples of relation textual contexts extracted by our keyword extraction approach.

Datasets

  • SimpleQuestions: The primary benchmark dataset, consisting of 108,442 questions paired with Freebase facts. To simulate unseen domains, the authors use a leave-one-out setup across six target domains: Film, Book, Location, Astronomy, Education, and Fictional Universe.
  • Wikipedia (via DAWT): Used as the text corpus to extract candidate sentences and keywords for the distant supervision phase.

Key Insights and Ideas

  • Lexical Variety is Key: The core bottleneck in synthetic data generation for QA isn't just grammatical correctness, but lexical diversity. Humans ask the same question in dozens of ways. Injecting noisy but diverse keywords from real-world text corpora (like Wikipedia) bridges this gap.
  • Data-Centric Over Model-Centric: Rather than engineering highly complex neural architectures to handle domain shifts, modifying the data pipeline—specifically by generating high-quality synthetic training examples—is a simpler and highly effective way to achieve robust domain adaptation.

Key Results

The framework was evaluated on its ability to predict relations in completely unseen domains.

As shown in the results table below, completely omitting synthetic data for the unseen domain yields a low macro-average accuracy of 30.21%. Introducing raw Wikipedia sentences helps marginally, but the authors' keyword-enriched QG method pushes the macro-average relation prediction accuracy to 69.86%, significantly outperforming the previous state-of-the-art QG baseline.

Relation Prediction accuracy across different synthetic training data methods

For end-to-end KGSQA, the full framework achieves a macro-accuracy of 66.49% across the unseen domains, demonstrating strong stability regardless of whether the target domain is large (like Film) or medium-sized (like Astronomy).

Limitations and Future Work

  • The Synthetic-to-Gold Gap: Although the synthetic questions provide a massive performance leap over zero-shot baselines, a noticeable gap remains when compared to training on human-annotated "gold" questions (which achieve 84.56% macro-accuracy).
  • Narrow Text Sources: The keyword extraction currently relies entirely on Wikipedia. The authors suggest that incorporating broader text sources, such as news streams or web crawls, could capture an even wider variety of natural language expressions.
  • Hybrid Frameworks: The authors note that their data-centric approach is orthogonal to model-centric domain adaptation methods (e.g., adversarial training), making the combination of both paradigms a promising avenue for future research.

Summary updated

BibTeX
@misc{sidiropoulos2020knowledge,
  author = {Georgios Sidiropoulos and Nikos Voskarides and Evangelos Kanoulas},
  title = {{Knowledge Graph Simple Question Answering for Unseen Domains}},
  year = {2020},
  eprint = {2005.12040},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.12040},
}

Loading related content...

Figure