Introduction
Question Answering (QA) systems are typically designed to solve specific sub-tasks in isolation. Two prominent examples are Answer Selection (AS), which involves ranking natural language sentences from a candidate pool, and Knowledge Base Question Answering (KBQA), which extracts structured facts from databases like Freebase to answer a query. While these tasks share the fundamental objective of identifying the most relevant information to answer a query, they are often treated as disparate problems.
This paper introduces a novel multi-task learning (MTL) framework, the MTQA-net, which jointly addresses AS and KBQA. By leveraging a multi-view attention mechanism, the model bridges the gap between unstructured text and structured knowledge, allowing these tasks to mutually reinforce each other. The proposed approach achieves state-of-the-art results across multiple benchmarks, demonstrating the power of cross-task synergy.
Problem Statement: The Gap Between Text and Knowledge
The primary challenge in unifying AS and KBQA lies in the nature of their data. AS relies on linguistic nuance and context within natural language sentences but often lacks the grounding of hard, structured facts. Conversely, KBQA excels at precise fact retrieval but struggles with the inherent ambiguity and "messiness" of natural language queries.
The authors argue that treating these as isolated tasks is inefficient. AS can benefit from the structured grounding provided by knowledge bases, while KBQA can improve its handling of linguistic variation by learning from natural language datasets. The key is to create a unified architecture that can effectively translate and share information between these two distinct data formats.
Methodology: The MTQA-net Architecture
The MTQA-net architecture is designed to facilitate information sharing through a shared-layer structure enhanced by a sophisticated attention scheme.
Overall Architecture
The model follows a hierarchical structure consisting of task-specific encoder layers, shared representation learning layers, and task-specific output layers. This design allows the model to learn task-independent features while maintaining the flexibility to specialize for AS or KBQA.
Hybrid Encoding
To handle both text and structured data, the model employs a "Siamese" encoder structure:
- Word Encoder: Utilizes a Bidirectional Long Short-Term Memory (Bi-LSTM) network to capture the sequential linguistic context of sentences.
- Knowledge Encoder: Employs a Convolutional Neural Network (CNN) to process sequences of entities and relations derived from entity linking.
The outputs of these encoders are concatenated to form a rich initial representation of both the question and the candidate answer or fact.
Multi-View Attention Mechanism
The core innovation of this work is the Multi-View Attention mechanism. Unlike standard MTL models that simply share top-level layers, this mechanism forces the model to interact with the data from five distinct perspectives:
- Word View & Knowledge View: Captures granular, token-to-token interactions between the question and the answer text or structured entities.
- Semantic View & Knowledge Semantic View: Captures high-level interactions using the global context of the entire sentence or structured fact.
- Co-attention View: Provides a final interaction between the fully processed question and answer representations as a "sanity check."
These five views are fused together, enabling the model to learn complex correlations between natural language and structured knowledge.
Experimental Setup and Datasets
The MTQA-net was evaluated on four major benchmarks using FB5M (a subset of Freebase) as the underlying knowledge source:
- Answer Selection: YahooQA (large-scale community QA) and TREC QA (classic factoid QA).
- KBQA: SimpleQuestions (single-relation facts) and WebQSP (complex, multi-relation facts).
Key Results and Insights
The full model, MVA-MTQA-net, consistently outperformed state-of-the-art single-task models across all datasets.
- Performance Gains: On YahooQA, the model achieved a P@1 of 0.833, a significant improvement over previous benchmarks (~0.74). On SimpleQuestions, it reached an accuracy of 0.957, surpassing existing specialized models.
- MTL vs. STL: In every test case, the multi-task version (MTL) outperformed the single-task version (STL). This confirms that the "cross-talk" between AS and KBQA is beneficial rather than noisy.
- The Power of Diversity: Ablation studies showed that while the "Co-attention View" was highly influential, the combination of all five views yielded the best performance. This suggests that effective QA requires both "zoomed-in" (word-level) and "zoomed-out" (semantic-level) understanding.
Conclusion and Future Work
The MTQA-net demonstrates that AS and KBQA are fundamentally complementary ranking problems. By using multi-view attention, the model successfully leverages the strengths of both structured knowledge and natural language context.
Future work could involve integrating an end-to-end entity linker to reduce dependency on pre-processing tools. Additionally, exploring learned task-specific weights for the five attention views could further optimize performance. While the multi-view approach introduces some computational overhead, the significant gains in accuracy justify the added complexity for high-performance QA systems.
Summary updated