Large-scale Simple Question Answering with Memory Networks

Antoine Bordes, Nicolas Usunier, Sumit Chopra, Jason Weston

TL;DR

This paper introduces SimpleQuestions, a massive new dataset of over 100,000 human-annotated questions, to tackle the challenge of large-scale "simple" question answering—where an answer can be found in a single fact from a Knowledge Base (KB). By leveraging Memory Networks and multitask learning, the authors achieve state-of-the-art results on existing benchmarks and demonstrate that their model can successfully transfer knowledge to entirely new KBs without retraining.

What Problem Does This Paper Address?

While recent AI research has focused on complex reasoning (combining multiple facts to answer a question), the authors argue that "Simple Question Answering" is far from a solved problem at scale.

The challenge isn't the logic; it's the retrieval. In a large-scale KB like Freebase, which contains millions of entities and facts, finding the one specific fact that answers a natural language question is incredibly difficult due to:

  1. Massive Search Space: Millions of candidate facts.
  2. Lexical Variability: The countless ways humans can phrase the same query.
  3. Data Scarcity: Existing benchmarks (like WebQuestions) are small (~6k questions), covering only a tiny fraction of the "long tail" of knowledge.

Methods

The authors frame the problem using Memory Networks (MemNNs). In this setup, the KB is the "memory," and the system learns to query it.

The Architecture

  • Input Module: Preprocesses questions into bag-of-ngrams and KB facts into bag-of-symbol vectors.
  • Generalization Module: Adds new facts to the memory. Crucially, the authors simplified the structure of Freebase by removing "mediator nodes" (intermediate nodes used for complex relationships), turning paths of length 2 into direct links.
  • Output Module: Performs candidate generation (finding entities in the question) and then scores candidate facts using cosine similarity in a shared embedding space.
  • Response Module: Returns the object(s) from the highest-scoring fact.

Multitask Training

The model is trained jointly on four sources:

  1. SimpleQuestions: The new 100k dataset.
  2. WebQuestions: A standard, smaller benchmark.
  3. Synthetic Questions: Automatically generated from KB facts to ensure coverage of entities not in the human datasets.
  4. Paraphrases: 15 million clusters of questions from WikiAnswers to help the model handle linguistic variety.

Datasets

The paper utilizes several key datasets, summarized in the tables below:

  • SimpleQuestions (New): 108,442 questions written by humans, each paired with a Freebase fact. This is an order of magnitude larger than previous benchmarks.
  • WebQuestions: A common benchmark with ~6k questions.
  • Freebase (FB2M & FB5M): The primary KBs, containing millions of entities and facts.
  • Reverb: A highly unstructured KB used specifically to test transfer learning.
Statistics of the Knowledge Bases used in the study.
Breakdown of the training and evaluation datasets.

Key Insights and Ideas

  • KB Structure is a Hyperparameter: By simply removing mediator nodes in Freebase, the authors increased the percentage of questions answerable by a single fact from 65% to 86%. This suggests that how we organize knowledge is just as important as the model architecture.
  • Multitasking Prevents "Negative Interaction": Training on multiple datasets simultaneously improved performance across the board. The model successfully captured the different question patterns of each dataset without one "distracting" from the other.
  • Paraphrases are Key for Noise: While paraphrase data didn't help much on clean datasets like Freebase, it was vital for the noisy, unstructured Reverb KB, helping the model navigate its high lexical variability.
  • Zero-Shot Transfer is Possible: The model could answer questions using Reverb facts without ever being trained on Reverb data, simply by linking Reverb entities to the Freebase entities it already knew.

Key Results

The MemNN approach achieved impressive results across multiple benchmarks, as shown in the experimental results table:

Experimental results comparing MemNN variants against baselines.
  • WebQuestions: Achieved a state-of-the-art 42.2% F1-score, outperforming previous semantic parsing and embedding-based methods.
  • SimpleQuestions: The best models reached 63.9% accuracy. While high, the authors note this shows the task is still not "solved."
  • Reverb Transfer: Without any training on Reverb, the model achieved 68% accuracy, significantly outperforming the original Reverb-specific system (54%).

Limitations and Future Work

  • Candidate Generation Bottleneck: The system relies on an initial entity-linking step. If the correct entity isn't in the top candidates, the model cannot recover.
  • Simple vs. Complex: While this paper masters single-fact retrieval, many real-world questions require multi-hop reasoning. The authors view this work as a foundation for scaling MemNNs to those more complex tasks.
  • Weak Supervision: The current model requires knowing which fact supports which question during training. Future work will explore training MemNNs using only the final answer as a signal (weak supervision).

Summary updated

BibTeX
@misc{bordes2015large,
  author = {Antoine Bordes and Nicolas Usunier and Sumit Chopra and Jason Weston},
  title = {{Large-scale Simple Question Answering with Memory Networks}},
  year = {2015},
  eprint = {1506.02075},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.02075},
}
Figure