Abstract
Transforming a natural language (NL) question into a corresponding logical form (LF) is central to the knowledge-based question answering (KB-QA) task. Unlike most previous methods that achieve this goal based on mappings between lexicalized phrases and logical predicates, this paper goes one step further and proposes a novel embedding-based approach that maps NL-questions into LFs for KBQA by leveraging semantic associations between lexical representations and KBproperties in the latent space. Experimental results demonstrate that our proposed method outperforms three KB-QA baseline methods on two publicly released QA data sets.
Introduction
Traditional Knowledge-based Question Answering (KB-QA) systems rely on semantic parsing to transform natural language (NL) questions into structured logical forms (LF) that a database can execute. Historically, this transformation was mediated by "lexical triggers"—pre-defined mappings between specific phrases and database predicates. However, this approach suffers from a significant coverage gap due to the linguistic diversity of natural language and the disconnected nature of Named Entity Recognition (NER) and predicate mapping. This paper introduces a novel approach that replaces rigid rules with joint relational embeddings.
Proposed Method: Joint Relational Embeddings
The authors propose a model that learns to represent linguistic features and database properties in a shared low-dimensional latent space. By mapping n-grams, entity types, and logical predicates together, the system can simultaneously handle entity disambiguation and predicate mapping.
Triplet Representation
The model decomposes the question and the knowledge base (KB) into three core components:
- Context ($C$): The n-grams (uni-, bi-, and tri-grams) extracted from the question.
- Entity Types ($T$): The semantic categories of the subject entity within the KB.
- Predicates ($P$): The logical relations defined in the KB.
Joint Learning and Weak Supervision
The system simultaneously learns three types of relationships: Context-Type ($C-T$), Context-Predicate ($C-P$), and Type-Predicate ($T-P$). This joint approach ensures that the chosen entity type "fits" the selected predicate. To train these embeddings without extensive manual labeling, the authors utilize weak supervision by mining Wikipedia for sentences containing entity pairs that exist in known KB triples.
Decoding and Ranking
During inference, the system generates candidate logical forms and ranks them based on the similarity (dot product) between the question's n-grams and the candidate's types and predicates in the latent space. Z-score normalization is used to combine these similarity scores fairly.
Experimental Evaluation
The model was evaluated on two prominent benchmarks: Free917 (917 questions across 81 domains) and WebQuestions (WebQ) (5,810 diverse questions sampled from Google search logs).
Key Results
The proposed method significantly outperformed several state-of-the-art baselines. On Free917, it achieved an accuracy of 71.38%, a substantial improvement over the 62.00% reported by Berant et al. (2013). On the more challenging WebQuestions dataset, it reached 41.34% accuracy.
Ablation Study and Insights
Ablation studies revealed that while the Context-Predicate ($C-P$) relationship is the most influential factor, the inclusion of Type-Predicate ($T-P$) and Context-Type ($C-T$) relationships provides critical boosts for disambiguation. The $T-P$ relationship acts as a semantic constraint; for instance, if the predicate is contained_by, the model learns that the subject should likely be a "Location" rather than a "Person."
Conclusion
By utilizing embeddings rather than exact string matches, the system gains "semantic flexibility," allowing it to handle linguistic variations and grammatical errors through a robust bag-of-n-grams approach. While challenges remain in disambiguating rare entities and handling complex paraphrasing, this work demonstrates the power of joint latent representations for KB-QA. Future research will explore concept-level context embeddings to capture deeper semantic meanings beyond surface-level n-grams.
Summary updated