Learning to Diversify Neural Text Generation via Degenerative Model

Jimin Hong, ChaeHun Park, Jaegul Choo

Introduction

Neural language models are notorious for "degeneration"—the tendency to produce repetitive, dull, or overly generic text. While humans naturally vary their vocabulary and sentence structure, models often gravitate toward high-probability, low-entropy "safe" responses. Existing solutions usually involve "unlikelihood training," where researchers explicitly define negative behaviors (e.g., "don't repeat words"). However, these methods are laborious and task-dependent. This paper introduces Learning from Degeneration (LfD), a framework that enhances diversity without needing manually defined rules.

Methodology: Learning from Degeneration (LfD)

The LfD framework is a two-stage training strategy based on the observation that models naturally learn "easy" (degenerative) attributes before they learn complex, diverse ones.

1. Training the Degenerative Model ($f_{\theta_D}$)

Researchers intentionally train a model to be "bad" by using truncated cross-entropy loss to force it to overfit on the most predictable, repetitive patterns in the training data. This model becomes an "expert" in the very behaviors we want to avoid.

2. Training the Main Model ($f_{\theta_M}$)

The second model is trained using a Product-of-Experts (PoE) approach. During training, the output of the main model is combined with the frozen degenerative model. If the degenerative model predicts a word with high confidence (indicating a common, repetitive pattern), the main model is incentivized to lower its own probability for that word and look for "harder," more diverse alternatives.

Figure 3: Log-perplexity of high vs. low repetition and frequency attributes during training. High-repetition and high-frequency patterns are learned more easily (lower perplexity) early in training, justifying their use as a filter.

Experimental Setup and Results

The researchers evaluated LfD across three distinct tasks: Language Modeling (WikiText-103), Dialogue Generation (DailyDialog), and Abstractive Summarization (CNN/DailyMail).

  • Diversity: On WikiText-103, LfD achieved a Zipf Coefficient of 0.94, much closer to the human gold standard (0.93) than the standard MLE baseline (1.16).
  • Unique Content: In dialogue generation, LfD significantly outperformed baselines in "Distinct-n" scores, generating a much wider variety of unique phrases.
  • Summarization: LfD increased "Novel-n" metrics (the ratio of new words in a summary not found in the source) by up to 68.5% compared to standard training.
Figure 2: Learning dynamics in DailyDialog. Attributes like high context overlap and low source entropy (more predictable) exhibit lower log-perplexity throughout training, confirming they are "easier" for the model to learn.

Key Insights

The most profound insight is that "degenerative" attributes are statistically easier for neural networks to pick up early in training. By capturing what a model learns first, we can identify what it should rely on least. Unlike previous methods that require a "repetition penalty" or a list of "stop words," LfD is entirely data-driven. The degenerative model acts as an "anti-expert," occupying the "easy" space and forcing the main model to explore the "interesting" space of the language distribution.

Limitations and Future Work

While LfD is highly effective at promoting diversity, the authors note that the framework assumes "easy to learn" equals "degenerative." However, some complex attributes like factual accuracy might also be hard to learn. Diminishing the impact of "easy" attributes might accidentally lead to other unintended behaviors. Future work will investigate if similar "negative teacher" approaches can be used to steer models away from factually incorrect patterns (hallucinations) or logical inconsistencies.

Summary updated

BibTeX
@inproceedings{hong2023learning,
  author = {Jimin Hong and ChaeHun Park and Jaegul Choo},
  title = {{Learning to Diversify Neural Text Generation via Degenerative Model}},
  booktitle = {IJCNLP (Findings)},
  year = {2023},
  doi = {10.18653/v1/2023.findings-ijcnlp.6},
}
Figure