Conditioned Text Generation with Transfer for Closed-Domain Dialogue Systems

Stéphane d'Ascoli, Alice Coucke, Francesco Caltagirone, Alexandre Caulier, Marc Lelarge

Introduction

Building robust task-oriented dialogue systems, such as voice assistants, typically requires vast amounts of manually annotated training data. Developers often face a "cold start" problem when introducing new intents: gathering and labeling thousands of examples is both expensive and slow. While automatic text generation is a potential solution, generating high-quality and diverse utterances from a minimal seed dataset is challenging. This paper proposes a novel method to leverage large, unannotated, and potentially noisy "reservoir" datasets to improve synthetic data generation for specific target intents without corrupting them with irrelevant information.

Methodology

The proposed system utilizes a Conditional Variational Autoencoder (CVAE) as its core engine. The CVAE employs a continuous latent vector to capture stylistic variations and a discrete categorical vector to represent specific intents.

Query Transfer and the "None" Intent

To address data scarcity, the authors introduce a "Query Transfer" mechanism. The model is trained on a small annotated dataset alongside a massive, unannotated reservoir. To prevent noisy or irrelevant data from the reservoir from polluting the target intents, the authors add an extra "None" dimension to the CVAE’s categorical latent space.

The CVAE architecture (left) integrated with the Query Transfer mechanism (right), showing how relevant and irrelevant intents are handled.

A hyperparameter $\alpha$ controls the strength of supervision for reservoir queries toward this "None" class. This allows the model to act as a "linguistic sponge," learning general grammar and vocabulary from the reservoir while routing irrelevant queries away from the target intents. Additionally, the authors use pre-trained sentence embeddings (InferSent) for initial filtering and delexicalization to ensure the model learns sentence structures rather than just memorizing specific entities.

Experimental Results

The methodology was evaluated using the Snips benchmark dataset (artificially restricted to simulate scarcity) and a large in-house reservoir dataset. To visually demonstrate the transfer mechanism, the authors also applied it to image datasets like MNIST and Fashion MNIST.

Visual demonstration of the transfer mechanism on the Fashion MNIST dataset, illustrating how features are learned and transferred across categories.

Key Findings

  • Enhanced Diversity: The query transfer method significantly increased the "originality" of generated sentences—the fraction of synthetic data not present in the training set—without sacrificing intent accuracy or BLEU scores.
  • Reduced Perplexity: When the generated data was used to augment a 4-gram language model, the authors observed a 5.9% relative reduction in perplexity in extreme low-data regimes (e.g., 125 seed examples).
  • Soft Transfer Advantage: The CVAE’s latent transfer mechanism outperformed hard pseudo-labeling baselines, as it allowed for more organic learning of linguistic patterns from noisy data.

Conclusion and Future Work

The study demonstrates that a CVAE with a dedicated "None" class can effectively harness unannotated data to boost the performance of dialogue systems in low-data scenarios. While the results show clear improvements in language model perplexity and generation diversity, future work will focus on evaluating the impact of this synthetic data on downstream Spoken Language Understanding (SLU) tasks, such as intent classification and slot-filling accuracy.

Summary updated

BibTeX
@inproceedings{dascoli2020conditioned,
  author = {Stéphane d'Ascoli and Alice Coucke and Francesco Caltagirone and Alexandre Caulier and Marc Lelarge},
  title = {{Conditioned Text Generation with Transfer for Closed-Domain Dialogue Systems}},
  booktitle = {SLSP},
  year = {2020},
  doi = {10.1007/978-3-030-59430-5\_2},
}
Figure