Junwei Bao, Nan Duan, Zhao Yan, Ming Zhou, Tiejun Zhao
Proceedings of COLING 2016, the 26th International Conference on Computational Linguistics: Technical Papers
Abstract
This paper introduces a systematic approach to Knowledge-Based Question Answering (KBQA) that moves beyond "simple" single-relation questions. The authors propose a Multi-Constraint Query Graph (MulCG) framework to handle complex queries and release ComplexQuestions, a new benchmark dataset designed specifically to test a system's ability to navigate multiple semantic constraints.
Introduction
Most existing KBQA systems excel at "simple" questions—those that can be answered by looking up a single fact in a knowledge base (e.g., "Who directed Inception?"). However, real-world queries are often far more nuanced. A user might ask, "Which films starring Forest Whitaker were directed by Mark Rydell after 2000?"
The authors identify two major gaps in the field:
- Dataset Bias: Popular benchmarks like WebQuestions and SimpleQuestions consist mostly (over 85%) of simple questions, making it difficult to evaluate how systems handle complexity.
- System Rigidity: Existing methods often struggle to integrate multiple types of constraints—such as dates, entity types, or rankings (ordinals)—into a single, coherent search strategy.
The Multi-Constraint Query Graph (MulCG) Framework
The core of the paper is the Multi-Constraint Query Graph (MulCG). Instead of trying to map a question to a single path in a Knowledge Base (KB), the authors build a graph representation that grows as constraints are identified. The process follows three main steps:
- Basic Query Graph Generation: The system identifies a primary entity (e.g., "Forest Whitaker") and finds potential paths in the KB (like
acted_films). - Constraint Detection and Binding: The system scans the question for six specific types of constraints: multi-entity, type, explicit temporal, implicit temporal, ordinal, and aggregation.
- Features and Ranking: Because one question can generate many possible graphs, the authors use a Siamese Convolutional Neural Network (CNN). This model learns to calculate the semantic similarity between the natural language question and the candidate query graph paths, allowing the system to pick the most likely answer.
Handling Implicit Constraints
A significant contribution of this work is the handling of implicit temporal constraints. If a user asks about a president "after the Civil War," the system first resolves the date of the Civil War to "1861" and then treats it as a standard numerical constraint.
Experimental Evaluation
The authors evaluate their work on three datasets:
- WebQuestions: A standard benchmark of 5,810 questions.
- SimpleQuestions: A large dataset of 100k+ single-relation questions.
- ComplexQuestions (New): The authors' own contribution, containing 2,100 multi-constraint question-answer pairs sampled from search engine logs.
Key Results
The MulCG approach demonstrated a clear advantage in handling complexity:
- ComplexQuestions: The system achieved an F1 score of 42.33, outperforming the previous state-of-the-art (STAGG) by roughly 4.6 points.
- WebQuestions: It achieved an F1 of 54.36, which was the state-of-the-art result at the time of publication (2016).
- Stability: The system remained robust on simple questions, achieving 72.78% accuracy on the SimpleQuestions test set, proving that adding complexity does not degrade performance on "easy" cases.
Discussion and Future Work
While MulCG provides a systematic way to handle constraints, it remains dependent on the accuracy of initial entity linking and the resolution of reference events for implicit time. If the system cannot find the date for the "Civil War," the query fails. Future work should focus on better matching between natural language expressions and semantic constraints, potentially using larger-scale data to learn these mappings automatically.
Summary updated