Skip to main content
QUICK REVIEW

[Paper Review] Semantic Parsing for Task Oriented Dialog using Hierarchical Representations

Sonal Gupta, Rushin Shah|arXiv (Cornell University)|Oct 18, 2018
Topic ModelingComputer Science15 references19 citations
TL;DR

This paper proposes a hierarchical semantic parsing framework for task-oriented dialog systems that enables compositional query understanding through nested intents and slots, using a tree-structured representation. Evaluated on a 44k-utterance dataset, recurrent neural network grammars (RNNG) outperform sequence-to-sequence models, achieving 92.48% top-5 accuracy in predicting correct parse trees, demonstrating the effectiveness of structural inductive bias for semantic parsing.

ABSTRACT

Task oriented dialog systems typically first parse user utterances to semantic frames comprised of intents and slots. Previous work on task oriented intent and slot-filling work has been restricted to one intent per query and one slot label per token, and thus cannot model complex compositional requests. Alternative semantic parsing systems have represented queries as logical forms, but these are challenging to annotate and parse. We propose a hierarchical annotation scheme for semantic parsing that allows the representation of compositional queries, and can be efficiently and accurately parsed by standard constituency parsing models. We release a dataset of 44k annotated queries (fb.me/semanticparsingdialog), and show that parsing models outperform sequence-to-sequence approaches on this dataset.

Motivation & Objective

  • To address the limitation of traditional intent-slot tagging in representing complex, nested user requests in task-oriented dialog systems.
  • To design a semantic representation that balances expressiveness with efficient annotation and parsing, avoiding the complexity of full logical forms.
  • To demonstrate that constituency parsing models can be effectively adapted to semantic parsing for task-oriented dialog using hierarchical structures.
  • To release a large-scale, high-coverage, and high-agreement dataset of 44k annotated dialog requests to support future research.

Proposed method

  • Proposes a hierarchical representation where the root is an intent, non-terminals are either intents or slots, and slots may contain nested intents, forming a constituency-style parse tree.
  • Enforces structural constraints: root must be an intent, intents can have tokens or slots as children, and slots can have tokens or one intent as child.
  • Uses Recurrent Neural Network Grammars (RNNG) as the parsing model, leveraging its inductive bias for well-formed tree generation and linear-time inference.
  • Employs a single-token vocabulary (LOTV) for output terminals to encourage focus on structural prediction rather than token reproduction.
  • Trains models with standard optimization (Adam, NAG) and evaluates using exact match and top-k accuracy metrics.
  • Performs ablation studies on RNNG components (actions LSTM, stack LSTM, buffer LSTM) to assess contribution of each module.

Experimental results

Research questions

  • RQ1Can a hierarchical, tree-structured semantic representation effectively model compositional and nested user requests in task-oriented dialog?
  • RQ2Does the proposed representation achieve high inter-annotator agreement and high coverage of real-world user utterances?
  • RQ3Can standard constituency parsing models like RNNG be effectively adapted to semantic parsing with this representation, outperforming sequence-to-sequence baselines?
  • RQ4How does the inductive bias of structured models compare to the flexibility of seq2seq models in low-data, high-structure settings?

Key findings

  • The hierarchical representation covers 70% of user requests that cannot be modeled by traditional one-intent, one-slot systems, with 30% of queries requiring compositional nesting.
  • Inter-annotator agreement on the dataset is high, indicating the annotation scheme is reliable and practical for large-scale collection.
  • RNNG achieves 92.48% top-5 accuracy in predicting correct parse trees, significantly outperforming seq2seq baselines, which achieve 78.51% for top-1 accuracy.
  • The RNNG model maintains high performance even with beam search, with Top-5 accuracy reaching 92.48% compared to 78.51% for greedy decoding.
  • Removing the buffer LSTM in RNNG causes a drastic drop in performance (to 13.78% exact match), highlighting its critical role in structural learning.
  • The use of a single-token vocabulary (LOTV) improves performance for CNN and LSTM seq2seq models but harms the Transformer, suggesting model-specific optimization is needed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.