Generative models, from the Recurrent Neural Networks (RNNs) of the last decade to modern Diffusion Models, share a common "Achilles' heel": the discrepancy between how they are trained and how they are used. This phenomenon, widely known as exposure bias, occurs when a model is trained on perfect ground-truth data but is forced to rely on its own imperfect predictions during inference.
The Teacher Forcing Trap
To understand exposure bias, we must first look at how sequence models are typically trained. In a process called "Teacher Forcing," a model is tasked with predicting the next token in a sequence (like a word or a musical note) given the actual preceding tokens from the training data.
As Nicolas Boulanger-Lewandowski, Yoshua Bengio, and Pascal Vincent noted in their foundational work on audio chord recognition, this creates a safety net. If the model makes a mistake at step $t$, the "teacher" corrects it for step $t+1$ by providing the ground-truth label.
However, during inference, the teacher disappears. The model must use its own prediction from step $t$ as the input for step $t+1$. If that prediction is even slightly off, the model enters a state it never encountered during training. Because it hasn't learned how to recover from its own errors, these small mistakes compound, leading to a "drift" where the generated sequence quickly becomes incoherent. Sam Wiseman and Alexander M. Rush describe this in Sequence-to-Sequence Learning as Beam-Search Optimization as a fundamental mismatch that prevents models from learning robust recovery strategies.
Sampling Drift in Diffusion Models
While exposure bias was originally framed in the context of discrete sequences, recent research has identified a nearly identical problem in continuous generative models. In Elucidating the Exposure Bias in Diffusion Models, Mang Ning and colleagues demonstrate that diffusion models suffer from "sampling drift."
During training, a diffusion model learns to denoise an image by looking at a version of the ground truth corrupted by Gaussian noise. But during the iterative sampling process at inference, the model denoises its own previous output. Giannis Daras and Alex Dimakis argue in Consistent Diffusion Models that this creates a gap between the training distribution and the actual sampling trajectory. Just like an RNN drifting off-topic, a diffusion model can drift into "out-of-distribution" regions of the image space, resulting in artifacts or degraded quality.
Strategies for Alignment
Researchers have developed several families of techniques to bridge this training-inference gap.
1. Direct Metric Optimization
Instead of predicting the next token, models can be trained to optimize for the final quality of the entire sequence. Shiqi Shen and Maosong Sun introduced Minimum Risk Training (MRT), which allows Neural Machine Translation models to optimize directly for BLEU scores. By sampling multiple possible translations during training, the model "sees" its own potential errors and learns which trajectories lead to better outcomes. Similarly, Siqi Liu and Kevin Murphy used Policy Gradient methods to stabilize image captioning, treating the generator as an agent that receives rewards for high-quality sentences.
2. Adversarial Training
Another approach is to use Generative Adversarial Networks (GANs) to force the model to produce sequences that are indistinguishable from real data, even when generating autonomously. Lantao Yu and Weinan Zhang pioneered this with SeqGAN, which uses reinforcement learning to bypass the non-differentiable nature of discrete text. By using a discriminator to evaluate the "realness" of a generated sequence, the model is incentivized to stay on the data manifold.
3. Self-Correction and Consistency
In the realm of video and long-form generation, where errors accumulate over hundreds of steps, researchers have turned to "self-forcing" mechanisms. Justin Cui and Jie Wu proposed Self-Forcing++, a framework that teaches a model to recognize and correct its own accumulated errors by comparing its free-running trajectory against a short-horizon teacher. In diffusion models, Mang Ning proposed Epsilon Scaling, a training-free method that scales down the model's output during inference to effectively "pull" the sampling trajectory back toward the learned training distribution.
Why It Works
The intuition behind all these solutions is the same: exposure. To make a model robust, it must be exposed to its own imperfections during the learning phase. Whether through reinforcement learning, consistency losses, or architectural tweaks like the Multi-Hop Transformer by Long Zhang, the goal is to ensure that the model knows what to do when it inevitably deviates from the "perfect" path. By bridging the gap between training and inference, these methods transform fragile generators into robust systems capable of high-fidelity, long-form synthesis.