Sequence-to-Sequence Generation for Spoken Dialogue via Deep Syntax Trees and Strings

Ondrej Dusek, Filip JurcícekACL 2016

Abstract

Natural Language Generation (NLG) for spoken dialogue systems traditionally relies on a modular pipeline, separating sentence planning from surface realization. This paper explores the application of sequence-to-sequence (seq2seq) models to this task, comparing a traditional two-step approach—generating deep syntax trees—against a direct "joint" approach that produces natural language strings. Using the BAGEL dataset, the authors demonstrate that a joint seq2seq model with attention and a semantic reranker outperforms the pipeline method and achieves state-of-the-art results even with very limited training data.

Introduction

In Spoken Dialogue Systems (SDS), the NLG component is responsible for converting structured Meaning Representations (MRs), such as inform(name=X, food=Italian), into fluent human-readable sentences. Historically, this process was split into two distinct stages: sentence planning (content selection and structuring) and surface realization (grammatical and morphological processing). While modular, this pipeline can suffer from error propagation and often requires extensive manual rule-crafting.

With the rise of neural networks, the authors investigate whether a single seq2seq model can replace this pipeline and whether such models can be effective in data-scarce environments typical of specialized dialogue domains.

Methodology

The core of the proposed system is a Seq2seq Generator with Attention, employing Long Short-Term Memory (LSTM) networks for both encoding the input and decoding the output.

The seq2seq architecture with attention used for generating natural language strings from dialogue acts.

Input and Output Representations

Dialogue Acts (DAs) are flattened into a sequence of triples (e.g., "inform, name, X-name"). The model was tested in two primary modes:

  1. Joint Mode: The decoder generates natural language strings directly from the encoded DA.
  2. Two-Step Mode: The decoder generates linearized "deep syntax trees," which are subsequently processed by an external surface realizer (TectoMT) to produce the final text.

Semantic Reranking

To mitigate common seq2seq issues like "hallucination" or omission of key information, the authors introduced an $n$-best list reranker. This separate RNN classifier evaluates generated candidates against the original semantic set of the input DA, penalizing outputs that deviate from the intended meaning.

Experimental Setup

The models were evaluated on the BAGEL dataset, a restaurant information benchmark. Notably, the dataset is very small, containing only 202 Dialogue Acts. Data was delexicalized (replacing specific names with placeholders) to improve generalization.

Results and Discussion

The experimental results, summarized in the table below, highlight several key findings.

Quantitative results comparing the joint and tree-based setups across BLEU, NIST, and semantic error (ERR) metrics.

Joint Generation Outperforms the Pipeline

The "joint" model, which generates strings directly, consistently achieved higher BLEU and NIST scores than the tree-based pipeline. This suggests that the seq2seq framework is capable of implicitly learning complex mappings from meaning to grammar, rendering intermediate syntactic representations unnecessary for this task.

Data Efficiency and Reranking

Surprisingly, the model produced fluent and accurate text with as few as 180 training examples. However, the reranker proved essential for maintaining semantic accuracy; without it, the model frequently confused similar attributes. The joint setup with a reranker achieved a peak BLEU score of 62.76, significantly outperforming previous benchmarks.

Conclusion

This research demonstrates that seq2seq models are a powerful tool for NLG in spoken dialogue, even when training data is scarce. By bypassing the traditional linguistic pipeline in favor of a joint string-generation approach and utilizing a semantic reranker, the authors established a new state-of-the-art for the BAGEL dataset. Future work will focus on scaling these methods to larger, more diverse domains and exploring sequence-level training objectives.

Summary updated

BibTeX
@inproceedings{dusek2016sequence,
  author = {Ondrej Dusek and Filip Jurcícek},
  title = {{Sequence-to-Sequence Generation for Spoken Dialogue via Deep Syntax Trees and Strings}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-2008},
}
Figure