Abstract
Recent studies have indicated that existing systems for simple factoid question answering over a knowledge base are not robust for different datasets. We evaluated the ability of a pretrained language model, BERT, to perform this task on four datasets, Free917, FreebaseQA, SimpleQuestions, and WebQSP, and found that, like other existing systems, the existing BERT-based system also can not solve them robustly. To investigate the reason for this problem, we employ a statistical method, partial least squares path modeling (PLSPM), with 24 BERT models and two probing tasks, SentEval and GLUE. Our results reveal that the existing BERT-based system tends to depend on the surface and syntactic features of each dataset, and it disturbs the generality and robustness of the system performance. We also discuss the reason for this phenomenon by considering the features of each dataset and the method that was used to evaluate the simple factoid question answering task.
Introduction
Question Answering over Knowledge Bases (QAKB) involves mapping a natural language question (e.g., "Which country is Albert Bolender from?") to a specific fact in a database like Freebase. While high performance on large-scale datasets like SimpleQuestions (SQ) once suggested the problem was nearly solved, subsequent research has shown that these models lack robustness when applied to different datasets like WebQSP or FreebaseQA. This paper investigates the underlying cause: is BERT truly "understanding" the semantics of questions, or is it merely exploiting linguistic shortcuts?
Methodology: Probing with PLSPM
To analyze BERT's internal representations, the authors implemented BertQA, a modular system using BERT as the encoder. The study's methodological highlight is the use of Partial Least Squares Path Modeling (PLSPM) to establish causal relationships between linguistic features and task performance.
By using 24 different versions of BERT and probing them with SentEval and GLUE, the researchers modeled how latent variables like "Encoded Semantic Information" are influenced by specific linguistic probes (e.g., tense, subject number) and how these, in turn, affect performance in Entity Detection and Relation Prediction.
Experimental Setup and Datasets
The study evaluated four major QAKB datasets, filtered to include only simple factoid questions requiring a single fact:
- SimpleQuestions (SQ): The largest dataset, created via templates.
- WebQSP (WQ): Naturally occurring user queries.
- FreebaseQA (FBQ): Questions derived from trivia.
- Free917: An early, smaller benchmark.
Key Insights and Results
The Dominance of Syntax
The PLSPM analysis revealed a striking trend: BERT’s success in QA is strongly explained by its grasp of surface features (like sentence length) and syntax (like tree depth). Surprisingly, performance on semantic probing tasks had almost no causal link to QA success. This suggests that BERT-based systems are "shortcut learners," relying on structural patterns rather than deep meaning.
The "SimpleQuestions" Trap
Models perform exceptionally well on SimpleQuestions because the questions often contain the relation label directly (e.g., "What is the profession of..."). This allows for simple pattern matching. When trained on SQ and tested on the more natural WebQSP, matching accuracy plummeted from 74.07% to 44.59%.
Evaluation Reform: Reachability
The authors found that many "errors" were due to rigid evaluation. By switching from "matching accuracy" (exact label match) to "reachability accuracy" (does the prediction lead to the correct answer?), scores improved significantly. For example, FBQ accuracy jumped from 42.29% to 51.47%, proving models often find the right answer but fail to match arbitrary dataset labels.
Conclusion
BERT-based QAKB systems suffer from a lack of robustness because they over-fit to the syntactic and surface features of specific datasets. To improve generalizability, the field must move toward more natural datasets and adopt evaluation metrics like reachability that better reflect real-world utility. Future research should focus on forcing models to utilize semantic information rather than linguistic shortcuts.
Summary updated