Data Augmentation with Atomic Templates for Spoken Language Understanding

Zijian Zhao, Su Zhu, Kai Yu

Introduction

Spoken Language Understanding (SLU) is a critical component of modern dialogue systems, responsible for mapping natural language utterances (e.g., "I want a cheap Italian place") into structured semantic representations (e.g., inform(price=cheap, food=Italian)). However, a significant bottleneck in developing SLU systems is data sparsity. Deep learning models typically require thousands of labeled examples to achieve high performance. When transitioning to a new domain—such as moving from restaurant bookings to tourist information—developers often face a "cold start" problem with very little labeled data.

Traditional data augmentation techniques, like synonym replacement, often fail to provide sufficient semantic variety. Conversely, manually writing full-sentence templates for every possible combination of user intents is labor-intensive and scales poorly. This paper, presented at EMNLP 2019, proposes a novel data augmentation method that leverages phrase-level "atomic templates" and a neural "stitching" engine to synthesize high-quality training data with minimal human effort.

Methodology: The Atomic Template Pipeline

The proposed approach breaks down the generation of synthetic training data into a two-step pipeline. Instead of requiring full sentences, the system uses short, phrase-level "atomic templates" to represent specific semantic components (act-slot-value triples).

The Atomic Template pipeline for generating natural language utterances from dialogue acts.

1. Atomic Templates

Humans provide simple templates for individual semantic triples. For example, for the triple deny(food=Chinese), a template might be "not Chinese food." These phrases are independent of the broader sentence context, making them significantly easier and faster to author than complete utterances.

2. Neural Sentence Generator

To combine these atomic phrases into natural-sounding sentences, the authors employ an encoder-decoder neural network:

  • Encoder: A Bidirectional LSTM (BLSTM) encodes the set of "atomic exemplars" generated from the templates.
  • Decoder: An LSTM generates the final utterance word-by-word. It utilizes a pointer softmax mechanism, allowing the model to either generate common words (like "and" or "please") or "point" to and copy specific values directly from the input phrases (e.g., "Thai food").

This generator can be pre-trained on a data-rich source domain and then transferred to a data-poor target domain, learning the underlying "grammar" of how dialogue acts are typically structured.

Experimental Setup

The method was evaluated using the Dialog State Tracking Challenge (DSTC) datasets:

  • Source Domain (DSTC 2): Restaurant searches with approximately 15.6k utterances.
  • Target Domain (DSTC 3): Tourist information, featuring a very small "seed" set of only 109 utterances. This setup specifically tests the model's ability to handle domain adaptation in low-data regimes.

Key Results and Insights

The proposed Atomic Templates (AT) method demonstrated substantial improvements over baselines. While a system with no augmentation achieved an F1 score of 78.5, and naive value-replacement augmentation reached 82.9, the AT method achieved an 88.6 F1 score.

F1-score performance across varying numbers of seed samples, comparing the proposed AT method against baselines.

The results highlight several key advantages:

  • Compositional Generalization: By training the generator to assemble phrases, the model learns to generate utterances for slot combinations it has never encountered in the training data.
  • Efficiency: The performance of the AT method comes remarkably close to that of human-designed sentence-level templates (90.4 F1), despite requiring far less manual labor.
  • Robustness to OOV: The pointer network ensures that new slot values (like specific restaurant names) can be correctly integrated into sentences even if they were absent during the generator's initial training.

Limitations and Future Work

Despite its success, the method has dependencies. The generator still requires a small "seed" dataset to learn domain-specific phrasing combinations. If this seed data is insufficient, the model may produce awkward outputs (e.g., "Does it have the television address and address?"). Additionally, while the workload is reduced, human intervention is still required to define the initial atomic templates. Future research may explore applying this framework to more complex, hierarchical semantic frames beyond flat dialogue acts.

Summary updated

BibTeX
@inproceedings{zhao2019data,
  author = {Zijian Zhao and Su Zhu and Kai Yu},
  title = {{Data Augmentation with Atomic Templates for Spoken Language Understanding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1375},
}
Figure