[Paper Review] Building a Neural Semantic Parser from a Domain Ontology
This paper proposes a framework to build neural semantic parsers from domain ontologies by generating training data via natural language templates derived from meaning representations. It uses crowd-sourced paraphrasing of these templates into natural utterances, enabling a neural parser to learn compositional rule derivation, achieving strong performance on complex, multi-turn tasks across restaurant and hotel domains.
Semantic parsing is the task of converting natural language utterances into machine interpretable meaning representations which can be executed against a real-world environment such as a database. Scaling semantic parsing to arbitrary domains faces two interrelated challenges: obtaining broad coverage training data effectively and cheaply; and developing a model that generalizes to compositional utterances and complex intentions. We address these challenges with a framework which allows to elicit training data from a domain ontology and bootstrap a neural parser which recursively builds derivations of logical forms. In our framework meaning representations are described by sequences of natural language templates, where each template corresponds to a decomposed fragment of the underlying meaning representation. Although artificial, templates can be understood and paraphrased by humans to create natural utterances, resulting in parallel triples of utterances, meaning representations, and their decompositions. These allow us to train a neural semantic parser which learns to compose rules in deriving meaning representations. We crowdsource training data on six domains, covering both single-turn utterances which exhibit rich compositionality, and sequential utterances where a complex task is procedurally performed in steps. We then develop neural semantic parsers which perform such compositional tasks. In general, our approach allows to deploy neural semantic parsers quickly and cheaply from a given domain ontology.
Motivation & Objective
- To address the challenge of acquiring low-cost, high-coverage training data for neural semantic parsing in new or evolving domains.
- To enable neural semantic parsers to generalize to compositional utterances and complex, multi-step human intentions.
- To develop a method that leverages domain ontologies to systematically generate training data with parallel utterances, meaning representations, and their decomposed templates.
- To design a neural parser that explicitly models the composition of logical rules through derivation trees, improving interpretability and generalization.
- To evaluate the framework on both single-turn and sequential, multi-turn utterances across diverse domains like restaurants and hotels.
Proposed method
- The framework starts from a formal meaning representation space defined by a domain ontology, generating logical forms as derivations using compositional rules.
- Each meaning representation is decomposed into a sequence of natural language templates, where each template corresponds to a rule application in the derivation.
- Crowdworkers are asked to paraphrase these artificial templates into fluent, natural utterances, creating parallel triples of (utterance, meaning representation, decomposition).
- A neural semantic parser is trained to predict the derivation tree of meaning representations by learning to compose rules in a sequence-to-tree generation setup.
- The parser uses a sequence-to-derivation (S2D) architecture that models the compositional structure explicitly, improving generalization over end-to-end sequence-to-sequence approaches.
- The model is evaluated on both single-turn and multi-turn dialogues, including structures like exploration, merging (union/intersection), and unrelated tasks, with context modeling explored via S2D C.
Experimental results
Research questions
- RQ1Can a domain ontology be used to systematically generate high-quality, paraphrasable training data for neural semantic parsing?
- RQ2Can a neural parser trained on template-based data learn to compose complex, compositional meaning representations effectively?
- RQ3How does explicit modeling of derivation trees compare to end-to-end sequence-to-sequence parsing in handling compositional utterances?
- RQ4What is the performance of the parser on multi-turn dialogues involving co-reference, topic shifts, and complex logical structures?
- RQ5Does explicit context modeling during decoding improve parsing performance on co-referential utterances?
Key findings
- The S2D model outperforms S2S and S2T baselines across all domains, achieving 73.6% F1 on the restaurant domain and 73.7% on the hotel domain for overall semantic match.
- The parser performs best on Exploration and Unrelated structures, with F1 scores of 78.6% and 71.7% respectively on the restaurant domain, indicating strong handling of sequential, non-co-occurring tasks.
- Performance on Merging structures (involving union or intersection) is significantly lower, with F1 of 34.5% on the restaurant domain, indicating difficulty in detecting and composing complex logical combinations.
- Context-dependent decoding (S2D C) yields only marginal improvements, suggesting that surface-level cues in utterances are often sufficient for co-reference resolution.
- The framework enables rapid deployment of neural semantic parsers from a domain ontology, with minimal human effort beyond paraphrasing templates.
- The approach achieves state-of-the-art results on multi-turn semantic parsing, particularly in handling complex, multi-step human intentions through structured derivation learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.