AUGNLG: Few-shot Natural Language Generation using Self-trained Data Augmentation

Xinnuo Xu, Sungjin Lee

Abstract

Natural Language Generation (NLG) is a critical component of task-oriented dialogue systems, responsible for converting structured Meaning Representations (MRs) into natural human speech. However, the reliance on large-scale, manually labeled datasets creates a significant scalability bottleneck when expanding to new domains. AUGNLG is a novel data augmentation framework that addresses this challenge by mining and automatically labeling relevant sentences from massive open-domain text sources. By leveraging a self-trained NLU model for annotation, AUGNLG enables high-quality NLG with minimal human-labeled data, outperforming existing few-shot methods across multiple benchmarks.

Introduction

Building virtual assistants for diverse tasks—from booking flights to recommending restaurants—requires robust NLG models. These models must accurately map intents and slots (e.g., inform(hotel=hilton)) to fluent utterances. Traditionally, this mapping required either rigid templates or extensive labeled corpora. While transfer learning has mitigated some data requirements, the availability of high-quality in-domain data remains a limiting factor. AUGNLG overcomes this by tapping into the nearly infinite supply of unlabeled text on the web (e.g., Reddit), transforming it into "silver" training data through an automated pipeline.

Methodology

The AUGNLG framework employs a sophisticated three-step pipeline to generate synthetic training pairs from raw text.

Data Augmentation Pipeline

The process begins with Retrieval and Filtering. Keywords are extracted from a small set of available in-domain examples using TF-IDF. These keywords are used to search a massive pool of open-domain text. To ensure semantic relevance and filter out noise (e.g., distinguishing "kids' movies" from "kids allowed" in a restaurant context), a self-trained BERT-based classifier is applied to the retrieved candidates.

Following filtering, the system performs Synthetic MR Annotation. The filtered sentences are passed through a few-shot Natural Language Understanding (NLU) model, which predicts the underlying intent and slots. This "reverse-engineering" step creates the MR-to-Text pairs necessary for training.

The AUGNLG data augmentation pipeline, featuring keyword-based retrieval, self-trained filtering, and synthetic MR annotation.

Training Strategy

The model follows a three-stage training regime to maximize the utility of both augmented and human-labeled data:

  1. LM Pre-training: Initializing with a general pre-trained language model like GPT-2.
  2. NLG Pre-training: Continued pre-training on the large-scale, automatically generated (augmented) MR-to-Text pairs.
  3. NLG Fine-tuning: Final optimization on the small set of high-quality, human-labeled "gold" data.
The three-stage training process: LM pre-training, NLG-specific pre-training with augmented data, and final fine-tuning.

Experimental Setup and Results

The authors evaluated AUGNLG on two primary benchmarks: FEWSHOTWOZ (7 domains) and FEWSHOTSGD (16 domains). The latter was introduced to test the model's performance in more linguistically diverse and challenging scenarios.

Key Results

  • State-of-the-Art Performance: AUGNLG-SC, which combines the augmentation strategy with the SC-GPT model, achieved new best-in-class results on FEWSHOTWOZ.
  • Domain Scalability: On the FEWSHOTSGD benchmark, AUGNLG-FT significantly outperformed standard fine-tuned GPT-2 baselines across all 16 domains, demonstrating its effectiveness in cold-start scenarios.
  • Reduced Hallucination: Qualitative analysis indicated that AUGNLG models are more semantically accurate, showing a lower tendency to omit critical slots or "hallucinate" extra information compared to baselines.

Discussion and Insights

A key finding is the NLU-NLG Feedback Loop: the quality of the generated text is directly proportional to the accuracy of the NLU model used for annotation. As the NLU model improves with more data, the resulting NLG performance also climbs. Furthermore, the AUGNLG strategy is orthogonal to model architecture; it serves as a data-centric enhancement that can be applied to various transfer learning methods.

Conclusion and Future Work

AUGNLG demonstrates that mining natural human language from open-domain sources is a viable alternative to synthetic text generation for few-shot NLG. While the current bottleneck is the accuracy of the few-shot NLU labeler, future research will explore "co-evolutionary" training, where NLU and NLG models are trained jointly to iteratively improve each other's performance.

Summary updated

Abstract

Natural Language Generation (NLG) is a key component in a task-oriented dialogue system, which converts the structured meaning representation (MR) to the natural language. For large-scale conversational systems, where it is common to have over hundreds of intents and thousands of slots, neither template-based approaches nor model-based approaches are scalable. Recently, neural NLGs started leveraging transfer learning and showed promising results in few-shot settings. This paper proposes AUGNLG, a novel data augmentation approach that combines a self-trained neural retrieval model with a few-shot learned NLU model, to automatically create MR-to-Text data from open-domain texts. The proposed system mostly outperforms the state-of-the-art methods on the FewShotWOZ data in both BLEU and Slot Error Rate. We further confirm improved results on the FewShotSGD data and provide comprehensive analysis results on key components of our system. Our code and data are available at https://github.com/XinnuoXu/AugNLG.
BibTeX
@misc{xu2021augnlg,
  author = {Xinnuo Xu and SUNGJIN LEE},
  title = {{AUGNLG: Few-shot Natural Language Generation using Self-trained Data Augmentation}},
  year = {2021},
  eprint = {2106.05589},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.05589},
}
Figure