Strong Baselines for Simple Question Answering over Knowledge Graphs with and without Neural Networks

Salman Mohammed, Peng Shi, Jimmy Lin

Abstract

In the race to build ever-more complex neural architectures for Question Answering (QA), the effectiveness of simple baselines is often overlooked. This paper demonstrates that "vanilla" neural networks and traditional non-neural models (such as Logistic Regression and CRFs) achieve results remarkably close to the state-of-the-art on the SimpleQuestions dataset. Our findings suggest that much of the recent architectural complexity in the field may be unnecessary for simple QA tasks, and that simple heuristics often drive significant performance gains.

Introduction

Simple Question Answering over Knowledge Graphs (KG) targets questions that can be answered by a single triple (subject, predicate, object). As NLP research trends toward increasingly intricate architectures involving attention mechanisms and hierarchical encoders, the authors argue for a return to empirical rigor. By establishing strong, minimalist baselines, we can better evaluate whether complex features provide meaningful value or merely marginal gains at the cost of interpretability and efficiency.

Methodology

The authors decompose the QA task into four straightforward stages, testing minimalist models for each:

  1. Entity Detection: Identifying the question span referring to an entity using a standard BiLSTM/BiGRU or a Conditional Random Field (CRF).
  2. Entity Linking: Mapping detected text to Knowledge Graph nodes using a non-neural approach based on an inverted index and Levenshtein distance.
  3. Relation Prediction: Identifying the target property using BiLSTMs, CNNs, or Logistic Regression (with tf-idf and word embeddings).
  4. Evidence Integration: Combining scores using simple heuristics, such as favoring "popular" entities with high graph connectivity.

Key Results and Comparison

The experimental results on the SimpleQuestions dataset show that basic models perform within 1-2 percentage points of highly sophisticated state-of-the-art systems. A combination of a BiLSTM for entity detection and a BiGRU for relation prediction achieved 74.9% accuracy.

Table 1: Accuracy of various entity and relation model combinations compared to previous work.

Notably, the "NN-Free" baseline (CRF + Logistic Regression) achieved 69.9% accuracy. While lower than the best neural models, it still outperformed the original sophisticated Memory Network approach (62.7%) proposed when the dataset was released, proving that high-performance QA does not strictly require deep learning.

Relation Prediction Analysis

In the relation prediction sub-task, the authors found that a "vanilla" CNN actually slightly outperformed the BiGRU, reaching 82.8% R@1. This reinforces the idea that standard, well-tuned architectures are formidable competitors to more complex models.

Table 2: Relation prediction performance (R@1 and R@5) for different architectures.

Discussion: Heuristics and Bottlenecks

Analysis suggests that a significant portion of model performance stems from simple tie-breaking rules, such as choosing the most popular entity in the knowledge graph. This indicates that the "intelligence" often attributed to complex neural networks may actually reside in basic data-driven heuristics. Furthermore, error analysis reveals that entity linking remains the primary bottleneck due to the high number of entities with identical names in large-scale knowledge graphs like Freebase.

Conclusion

This study advocates for a "peeling the onion" approach to NLP research: starting with simple baselines and adding complexity only when it provides a clear, isolated benefit. By prioritizing empirical rigor over architectural complexity, researchers can better identify the true drivers of progress in the field. Future work should extend this analysis to complex, multi-hop questions where sophisticated reasoning may be more critical.

Summary updated

BibTeX
@inproceedings{mohammed2018strong,
  author = {Salman Mohammed and Peng Shi and Jimmy Lin},
  title = {{Strong Baselines for Simple Question Answering over Knowledge Graphs with and without Neural Networks}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-2047},
}
Figure