Addressing Exposure Bias in Sequential Text Generation

This direction is merged into another direction: exposure bias (training-inference discrepancy). Its last version stays readable and citable here.

Version 1 of 162 papers64 conceptsfrozen 2026-10-04

Most neural text generators are trained like a student who is corrected by a teacher after every single word. During training, the model predicts the next token given the ground-truth prefix. This technique, known as "teacher forcing," is efficient but creates a fundamental rift: during inference, the teacher disappears. The model must generate text based on its own previous—and potentially erroneous—predictions.

This discrepancy is known as exposure bias. When a model makes a small mistake early in a sequence, it enters a state it never encountered during training. Without the "gold-standard" data to pull it back on track, errors compound, leading to the incoherent, repetitive, or "hallucinated" text often seen in long-form generation.

The Mechanism of Error Accumulation

To understand why exposure bias matters, consider the transition from training to deployment. In Adversarial Neural Machine Translation, Lijun Wu and colleagues describe this as a mismatch where the model is never exposed to its own mistakes during the learning phase.

If a model's training distribution consists only of perfect human sentences, it never learns how to "recover" from a typo or a poor word choice. As noted in Video Captioning via Hierarchical Reinforcement Learning by Xin Eric Wang et al., this leads to a cascade effect. A single divergence from the ground truth shifts the context for all subsequent tokens, pushing the model further into low-probability regions of the state space where it lacks reliable guidance.

Closing the Loop with Reinforcement Learning

The most direct way to fix this is to let the model "see" its own outputs during training. Researchers have turned to Reinforcement Learning (RL) to bridge this gap. Instead of maximizing the likelihood of the next word, RL allows the model to generate a full sequence and receive a reward based on the final quality.

In A Deep Reinforced Model for Abstractive Summarization, Caiming Xiong and Richard Socher combined standard supervised learning with policy gradient optimization. This hybrid approach forces the model to navigate its own generated sequences while still being anchored by the ground truth. Similarly, William Fedus and Ian Goodfellow introduced MaskGAN: Better Text Generation via Filling in the _, using an actor-critic framework to produce text that is more realistic because the model was trained on the same "autonomous" generation process it uses at test time.

Contrastive and Scheduled Sampling

Other researchers have sought more efficient ways to expose models to their own errors without the high variance of RL.

  • Scheduled Sampling: Xiang Lin and Shafiq Joty proposed DYSI, which uses a dynamic schedule to gradually replace ground-truth tokens with the model's own predictions during training. This "weans" the model off the teacher.
  • Contrastive Learning: The CoNT framework by Chenxin An et al. teaches models to rank their own generated candidates against the ground truth. By learning why its own mistakes are "worse" than the target, the model develops a more robust internal map of the language space.
  • Correction Prefixes: Zhimeng Wang and Juntao Li introduced Contrastive Tuning and Decoding, which trains a tiny "correction" prefix to identify and subtract the model's own typical errors during inference.

Diffusion as an Alternative to Sequentiality

A more radical solution is to abandon the left-to-right autoregressive paradigm entirely. Diffusion Language Models generate text by starting with noise and iteratively refining the entire sequence in parallel.

As Caglar Gulcehre notes in Promises, Outlooks and Challenges of Diffusion Language Modeling, diffusion models naturally avoid exposure bias because they don't rely on a fixed sequential history. However, they introduce their own discrepancies. Fred Zhangzhi Peng and Anru Zhang argue in Planner Aware Path Learning that even diffusion models suffer from a training-inference mismatch if they are trained on random noise but use specific "confidence-based" paths during generation.

Is Exposure Bias Overrated?

Despite the massive research effort to "fix" exposure bias, some evidence suggests the problem might be less catastrophic than once thought. In Quantifying Exposure Bias for Neural Language Generation, Tianxing He and James R. Glass conducted experiments showing that the quantitative impact of the bias is often minimal.

They found that modern, high-capacity language models possess a "self-recovery" ability. Even when forced into a distorted state by an incorrect prefix, these models can often steer themselves back toward coherent language. This suggests that while the training-inference gap is real, the primary challenge for neural text generation may lie in the model's fundamental understanding of context rather than just the mechanics of sequential prediction.

Papers in this version

Showing 60 of 62 papers.

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_addressing_exposure_bias_in_sequential_t_79ce0d0a,
  title = {Addressing Exposure Bias in Sequential Text Generation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/addressing-exposure-bias-in-sequential-text-generation/rdr_79ce0d0abe274226a46ed14806488b01},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_addressing_exposure_bias_in_sequential_t_79ce0d0a_v1,
  title = {Addressing Exposure Bias in Sequential Text Generation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/addressing-exposure-bias-in-sequential-text-generation/rdr_79ce0d0abe274226a46ed14806488b01/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}