TL;DR
This paper introduces HPE, a novel framework for answering complex questions over text by combining neural question parsing with symbolic execution. HPE breaks down complex questions into a structured "H-expression" and then uses a hybrid approach to execute it, achieving state-of-the-art results across various QA settings and offering improved interpretability.
What Problem Does This Paper Address?
End-to-end neural models have become the go-to for question answering (QA) over text, excelling at simple questions. However, they struggle with complex, multi-hop questions that require intricate reasoning. This is in contrast to semantic parsing methods used with structured data (like databases), which convert questions into logical forms for execution, offering better interpretability and precision. The challenge is to bridge this gap, combining the flexibility of neural models with the robustness and explainability of symbolic reasoning for complex textual QA.
Methods
HPE tackles this by introducing a two-pronged approach:
- Hybrid Question Parsing (H-parser): A neural network (specifically, a T5-based Seq2Seq model) parses complex questions into an intermediate representation called an "H-expression." This H-expression is a hierarchical structure where primitive, single-hop questions form the leaves, and symbolic operations (like JOIN, UNION, COMP_=) act as internal nodes, defining how to combine answers. This parsing is context-independent, aiming to capture the question's inherent structure.
- Hybrid Execution (H-executor): This component takes the generated H-expression and executes it. It uses a "drop-in" neural reader to answer the primitive single-hop questions. Deterministic symbolic rules, defined by the operations in the H-expression, then hierarchically combine these answers in a bottom-up fashion to produce the final answer. This process is akin to a top-down parse followed by a bottom-up answer backtracking.
Datasets
The paper evaluates HPE on several standard datasets:
- MuSiQue: A multi-hop, multi-passage textual QA dataset with various reasoning types.
- 2WikiMultiHopQA (2WikiQA): Another multi-hop QA dataset requiring reasoning over passages.
- HotpotQA: Used for zero-shot evaluation, featuring distractor passages and requiring reasoning across two passages.
- Natural Questions (NQ): Used for zero-shot evaluation, treated as a dataset that can involve multi-hop reasoning.
The authors also mention using datasets like TriviaQA, SQuAD, and BoolQ for pre-training the reader network.
Key Insights and Ideas
- Decomposition is Key: Breaking down complex questions into simpler, executable sub-questions is crucial for robust reasoning. HPE demonstrates that this decomposition, when represented symbolically, significantly improves performance.
- Symbolic Structure Guides Neural Execution: The H-expression acts as a blueprint, guiding the neural reader and ensuring that the reasoning process is deterministic and interpretable, unlike purely end-to-end neural approaches.
- Modularity for Adaptability: The H-executor's design allows for easy replacement of the neural reader, meaning the symbolic framework can adapt to new reader models without retraining the entire system.
- Generalization through Structure: By disentangling parsing from simple question answering, HPE shows better generalization capabilities, especially in few-shot and zero-shot settings, compared to end-to-end models.
Key Results
HPE achieved state-of-the-art performance across supervised, few-shot, and zero-shot settings on the evaluated datasets.
- Supervised: HPE outperformed existing models on MuSiQue and 2WikiQA, showing significant gains over the baseline FiD model.
- Few-Shot: HPE demonstrated better generalization than end-to-end models, achieving comparable or better performance with limited training data.
- Zero-Shot: On HotpotQA, HPE showed a significant gain (around 15% absolute) when combined with FiD, indicating its ability to handle unseen questions and reasoning types. It also showed promising results on NQ, suggesting that even "simple" questions can benefit from decomposition.
- Interpretability: The framework naturally exposes its reasoning process through the H-expression and execution trace, facilitating error analysis and debugging.
Limitations and Future Work
The authors acknowledge several limitations and suggest future directions:
- Maturity of H-expression: While the defined H-expression covers various reasoning types, it's not yet mature for all possible reasoning types. Retraining the question parser is needed for new types. Future work aims to leverage in-context learning in large language models to generate H-expressions for new reasoning types without retraining.
- Exposure Bias: The bottom-up execution process can suffer from exposure bias, where errors in earlier steps propagate. The authors suggest using beam search to generate multiple answers at each step to mitigate this.
- Global Question Parser: Developing a truly generalizable global question parser that can accurately decompose any unseen question remains a challenge. The paper conjectures that incorrect H-expression generation by the parser is a reason for some errors.
- Extensibility: The authors suggest that the framework can be extended to solve knowledge base and table QA by replacing the text reader with KB or table-based neural networks.
Summary updated