A Deep Ensemble Model with Slot Alignment for Sequence-to-Sequence Natural Language Generation

Juraj Juraska, Panagiotis Karagiannis, Kevin Bowden, Marilyn A. Walker

Abstract

Natural language generation lies at the core of generative dialogue systems and conversational agents. We describe an ensemble neural language generator, and present several novel methods for data representation and augmentation that yield improved results in our model. We test the model on three datasets in the restaurant, TV and laptop domains, and report both objective and subjective evaluations of our best model. Using a range of automatic metrics, as well as human evaluators, we show that our approach achieves better results than state-of-the-art models on the same datasets.

Introduction

In task-oriented dialogue systems, such as virtual assistants, the system must translate a structured Meaning Representation (MR) into a natural, fluent sentence. An MR is typically a list of attributes or "slots," such as name[The Golden Curry], food[Japanese], price[moderate]. While modern end-to-end neural models have improved fluency over traditional rule-based systems, they frequently suffer from semantic errors—either hallucinating information or failing to mention specific attributes from the input—and often lack syntactic diversity.

Example of a Meaning Representation (MR) and its corresponding natural language utterance (Utt).

The fundamental challenge is that training data is often unaligned; the model must learn which words correspond to which data points without explicit supervision. This paper introduces a neural ensemble model that combines diverse architectures with a heuristic slot-alignment mechanism to ensure semantic accuracy and improve generation quality.

Methodology

The proposed system is built upon the standard Encoder-Decoder with Attention framework, enhanced by several key innovations designed to improve robustness and variety.

The standard Encoder-Decoder architecture with attention used as the foundation for the ensemble model.

Diverse Ensembling and Reranking

Rather than using identical models, the ensemble combines two bidirectional LSTMs with one CNN-based encoder. This structural diversity allows the system to capture a wider variety of syntactic structures. To maintain coherence, the system avoids simple probability averaging. Instead, each model generates its top 10 candidates via beam search, and a semantic reranker selects the final output.

Heuristic Slot Alignment

A core component of the system is a heuristic slot aligner built using a gazetteer and rule-based logic. This tool identifies where MR values appear in the text and serves two purposes:

  1. Data Preprocessing: It enables "smart delexicalization," using specific placeholders (e.g., SLOT_VOW_CUISINE for "Italian") to help the model learn correct grammatical articles.
  2. Semantic Safety Net: The reranker uses the aligner to penalize any candidate sentence that misses or adds extra slots, ensuring the output is factually grounded in the input MR.

Data Augmentation and Selection

To improve mapping granularity, the researchers implemented Utterance Splitting, breaking complex, multi-sentence reference utterances into simpler single-sentence pairs. Additionally, they utilized an "Elegance Filter" using the Stanford CoreNLP toolkit to identify high-quality, complex sentences for training, prioritizing naturalness over raw data volume.

Datasets and Evaluation

The model was evaluated across three distinct domains:

  • E2E Dataset: A large-scale restaurant domain dataset (~48k samples).
  • TV Dataset: Television specifications (~7k samples).
  • Laptop Dataset: Computer specifications (~13k samples).

Key Results

The model achieved significant success in the E2E NLG Challenge, ranking #1 in Quality (grammatical correctness and adequacy) and #2 in Naturalness among 20 competing systems in human evaluations. Automated metrics confirmed these findings; for instance, the utterance splitting technique raised the BLEU score on the E2E dataset from 0.66 to 0.69. Furthermore, the ensemble model demonstrated strong cross-domain performance, significantly reducing slot error rates on the Laptop dataset compared to previous state-of-the-art models like SCLSTM.

Conclusion

By combining diverse neural architectures with a heuristic alignment mechanism, this approach effectively addresses the twin challenges of semantic accuracy and linguistic diversity in NLG. While the current reliance on manually crafted heuristics for alignment presents a scaling challenge, the results demonstrate that adding a "semantic safety net" to neural generators significantly improves their utility for real-world conversational agents. Future work will focus on developing learned aligners to facilitate easier expansion into new domains.

Summary updated

BibTeX
@inproceedings{juraska2018deep,
  author = {Juraj Juraska and Panagiotis Karagiannis and Kevin Bowden and Marilyn A. Walker},
  title = {{A Deep Ensemble Model with Slot Alignment for Sequence-to-Sequence Natural Language Generation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  url = {https://openreview.net/forum?id=r1ZoFX-ObS},
}
Figure