Abstract
Knowledge Base Question Answering (KBQA) requires mapping natural language questions to structured relations within a large-scale knowledge base. This task is challenged by the vast number of relations, the presence of unseen relations at test time, and the complexity of multi-relation queries. This paper introduces the Hierarchical Residual Bidirectional LSTM (HR-BiLSTM), which utilizes multi-level question abstractions and residual learning to bridge these gaps. The model achieves state-of-the-art results on the SimpleQuestions and WebQSP benchmarks, demonstrating significant improvements in both single-relation and complex multi-relation detection.
Introduction
In KBQA, systems must accurately identify relations (e.g., "place of birth") from natural language input to query knowledge bases like Freebase. This process faces three primary hurdles:
- Scale: KBQA involves thousands of potential relations (e.g., over 6,000 in Freebase2M), far exceeding standard relation extraction tasks.
- Zero-Shot Generalization: Models must often predict relations that were never encountered during training.
- Structural Complexity: Questions frequently involve chains of relations or multiple entities, expanding the search space exponentially.
Furthermore, errors in entity linking often cascade into relation detection. This paper proposes a robust architecture and a two-step pipeline to mitigate these issues.
Methods: The HR-BiLSTM Architecture
The core innovation is the HR-BiLSTM model, designed to capture both global and local semantic features of relations and questions.
Dual Relation Representation
To handle the scale and zero-shot requirements, the model represents relations in two ways:
- Relation-Level Token: Captures the specific, global meaning of a relation.
- Word-Level Sequence: Decomposes relations into individual words (e.g., "written", "episodes"), allowing the model to generalize to unseen relations by understanding their constituent parts.
Hierarchical Matching and Residual Learning
The model employs two layers of BiLSTMs to encode questions at different levels of abstraction. Inspired by ResNets in computer vision, "shortcut connections" (residuals) are added between these layers. This ensures the second layer focuses on learning complementary information, stabilizing the training of deeper networks and improving performance on complex queries.
Two-Step KBQA Pipeline
The authors implement a pipeline where relation detection and entity linking reinforce each other:
- Entity Re-ranking: Predicted relations are used to "boost" the scores of entity candidates that possess those specific relations in the KB.
- Refined Detection: Once an entity is identified, it is replaced with a special
<e>token in the question, helping the model focus on the intent and word positions.
Experimental Results
The model was evaluated on SimpleQuestions (SQ) for single-relation tasks and WebQuestions Semantic Parses (WebQSP) for multi-relation chains.
As shown in the results table, HR-BiLSTM set new benchmarks, achieving 93.3% accuracy on SQ and 82.53% on WebQSP. A key finding was the impact of residual learning: removing these connections led to a significant performance drop on the more complex WebQSP task (from 82.53% to 80.65%), while the effect on the simpler SQ task was marginal. This confirms that deeper hierarchical reasoning is essential for multi-relation queries.
Conclusion
The HR-BiLSTM effectively addresses the challenges of scale and complexity in KBQA. By integrating residual learning and dual relation representations, the model provides a robust framework for relation detection. Future work includes moving toward fully end-to-end trainable systems and incorporating pre-trained knowledge graph embeddings to further enhance performance on rare relations.
Summary updated