A Good Sample is Hard to Find: Noise Injection Sampling and Self-Training for Neural Language Generation Models

Chris Kedzie, Kathleen R. McKeown

Abstract

Neural language generation models often struggle with semantic fidelity, either omitting information or hallucinating details not present in the input. This paper demonstrates that a simple sequence-to-sequence model can achieve state-of-the-art semantic accuracy through a novel data augmentation strategy. By injecting noise into a base model's decoder and using a parser to "re-label" the resulting diverse outputs, the authors create a massive synthetic dataset that teaches the model to be significantly more faithful to its input specifications, reducing semantic errors to near zero.

Introduction: The Reliability Gap in NLG

In Natural Language Generation (NLG), the primary objective is to transform a formal Meaning Representation (MR)—such as a list of restaurant attributes—into fluent, natural language. While Deep Neural Networks (DNNs) excel at producing human-like text, they are notoriously unreliable. They frequently suffer from semantic errors: "hallucinating" information not present in the input (e.g., claiming a restaurant is "kid-friendly" when the MR is silent on the matter) or omitting crucial details (e.g., neglecting to mention the price range).

Existing solutions typically involve complex architectures, specialized "coverage" mechanisms, or computationally expensive re-ranking of multiple outputs. This research explores a different path: Can semantic failures be mitigated using a simpler architecture combined with superior training data?

Methodology: Self-Training via Noise Injection

The authors propose an architecture-agnostic self-training pipeline consisting of four primary stages:

  1. Base Model Training: A "bare-bones" vanilla sequence-to-sequence model with attention is trained on the original, limited dataset.
  2. Noise Injection Sampling: To generate synthetic data, novel MRs are sampled, and the base model generates corresponding utterances. Crucially, instead of standard decoding, the authors employ Noise Injection Sampling, adding Gaussian noise to the decoder's hidden states at each step. This forces the model to explore a broader range of linguistic expressions.
  3. Semantic Re-labeling: Because noise causes the model to "hallucinate," the generated text often deviates from the original input MR. Rather than discarding these samples, the authors use an MR Parser (either rule-based or a CNN classifier) to analyze the generated text and determine its actual semantic content. This text is then paired with the newly parsed MR to create a valid, synthetic training example.
  4. Retraining: A final model is trained on the combined set of original and synthetic data.

Datasets and Evaluation

The method was evaluated on three popular dialogue generation benchmarks:

  • E2E Challenge Dataset: A large dataset (42k+ examples) in the restaurant domain.
  • Laptops Dataset: A smaller dataset (7.9k examples) with diverse dialogue acts.
  • TVs Dataset: A low-data condition testbed (4.2k examples).

Key Insights

  • Hallucinations as a Resource: Traditionally viewed as failures, hallucinations are treated here as a source of diverse data. If a model mentions a "bakery" erroneously, the label is simply updated to include "bakery," teaching the model the correct realization of that attribute.
  • Data Quality Over Complexity: The results suggest that a simple, unidirectional GRU-based model can outperform sophisticated ensembles (like the "Slug" model) when provided with a more representative distribution of MR/text pairs.
  • Distribution Sharpening: Self-training appears to "sharpen" the model's probability distribution. By observing thousands of variations for specific attributes, the model converges on reliable patterns, effectively filtering internal noise.

Key Results

The proposed method achieved significant improvements in both semantic accuracy and standard fluency metrics.

Automatic evaluation metrics (BLEU, ROUGE-L, METEOR) on the E2E dataset.

As shown in the automatic evaluation, the self-trained models (particularly the delexicalized versions using beam search) achieved competitive or superior BLEU and ROUGE scores compared to complex baselines like Slug.

The most dramatic impact, however, was on semantic fidelity. On the E2E dataset, the self-trained model reduced attribute realization errors from 115 in the base model to zero in specific configurations.

Semantic error counts across different attributes for various models.

Human evaluations corroborated these findings, with judges finding the self-trained outputs indistinguishable from top-tier baselines in linguistic quality while being significantly more "correct" relative to the input data. Furthermore, the method proved effective for "fully lexicalized" models, which are traditionally difficult to train for high accuracy.

Limitations and Future Work

The success of this approach depends heavily on the availability of a reliable MR parser. While the authors found that even noisy parsers provide benefits, the method's applicability may be limited in domains where natural language parsing into formal representations is exceptionally difficult. Additionally, while correctness improved, syntactic complexity occasionally decreased, suggesting the model might become more formulaic. Future research could explore active learning to sample MRs where the model's uncertainty is highest, potentially further increasing efficiency.

Summary updated

BibTeX
@inproceedings{kedzie2019good,
  author = {Chris Kedzie and Kathleen R. McKeown},
  title = {{A Good Sample is Hard to Find: Noise Injection Sampling and Self-Training for Neural Language Generation Models}},
  booktitle = {INLG},
  year = {2019},
  doi = {10.18653/v1/w19-8672},
}
Figure