Introduction
Semantic parsing—the task of translating natural language questions into machine-executable logical forms—is a cornerstone of modern question-answering systems. While current models excel at simple queries, complex questions involving multiple entities, relations, or constraints remain a significant challenge. The primary hurdle is compositionality: the ability to understand how a complex question is built from simpler sub-questions.
Traditional approaches often rely on rigid, hand-crafted rules or "splitting" methods that attempt to find physical breakpoints in a sentence. However, sub-questions are frequently not direct substrings of the original input. For instance, answering "When was Obama’s daughter born?" requires first identifying "Who is Obama’s daughter?", a phrase that does not appear verbatim in the original text.
The Hierarchical Semantic Parsing (HSP) Framework
To address these limitations, researchers have introduced the Hierarchical Semantic Parsing (HSP) model. HSP moves away from "one-shot" generation, instead adopting a three-stage "decompose-extract-integrate" pipeline.
- Question Decomposer (QD): A neural generative model that "imagines" the necessary sub-questions. By generating rather than extracting, the model can create natural-sounding intermediate queries.
- Information Extractor (IE): This stage identifies the key predicates or Knowledge Base relations (e.g.,
people.person.children) required to answer the sub-questions. - Semantic Parser (SP): The final stage integrates the original question, the generated sub-questions, and the extracted relations to produce the final logical form.
The architecture utilizes a Transformer-based encoder-decoder enhanced with a copy mechanism, allowing it to handle specific entities (like names) by copying them directly from the input.
Experimental Setup
The HSP model was evaluated on the COMPLEXWEBQUESTIONS (v1.0) dataset, which contains over 27,000 samples designed to test multi-hop reasoning. The dataset covers four primary complex question types: composition, conjunctions, superlatives, and comparatives.
Results and Discussion
The HSP model established a new state-of-the-art on the COMPLEXWEBQUESTIONS dataset, significantly outperforming existing architectures.
As shown in the results table, HSP achieved an accuracy of 66.18% on the test set, representing a +6.27% absolute improvement over the SP Unit baseline. It also substantially outperformed other popular models such as Coarse2Fine (58.07%) and the standard Transformer (53.41%).
Ablation studies confirmed the importance of each stage. Removing the Question Decomposition (QD) stage (represented as DR in the table) led to a 3.02% performance drop, while removing the Information Extraction (IE) stage (SR) resulted in a 1.7% drop. This demonstrates that every step of the hierarchy is vital to the final result.
Conclusion
The HSP framework demonstrates that generative decomposition is a powerful alternative to extractive splitting for complex semantic parsing. By breaking down the problem into manageable, natural-language sub-tasks, the model simplifies the search space and improves overall accuracy. Future work may focus on mitigating error propagation across the pipeline and testing the framework's generalizability across diverse domains.
Summary updated