Abstract
Exposure bias has been regarded as a central problem for auto-regressive language models (LM). It claims that teacher forcing would cause the test-time generation to be incrementally distorted due to the training-generation discrepancy. Although a lot of algorithms have been proposed to avoid teacher forcing and therefore alleviate exposure bias, there is little work showing how serious the exposure bias problem actually is. In this work, we focus on the task of open-ended language generation, propose metrics to quantify the impact of exposure bias in the aspects of quality, diversity, and consistency. Our key intuition is that if we feed ground-truth data prefixes (instead of prefixes generated by the model itself) into the model and ask it to continue the generation, the performance should become much better because the training-generation discrepancy in the prefix is removed. Both automatic and human evaluations are conducted in our experiments. On the contrary to the popular belief in exposure bias, we find that the the distortion induced by the prefix discrepancy is limited, and does not seem to be incremental during the generation. Moreover, our analysis reveals an interesting self-recovery ability of the LM, which we hypothesize to be countering the harmful effects from exposure bias.
Introduction
Most modern language models (LMs) are trained using teacher forcing, where the model predicts the next word based on ground-truth preceding context. At test time, however, the model must predict based on its own previous outputs. This discrepancy is widely believed to cause exposure bias: the theory that small errors early in a sequence snowball, leading the model into states it never encountered during training and causing the output to drift into gibberish.
Quantifying Exposure Bias
To measure the actual severity of exposure bias, the authors introduce a "prefix-switching" framework. By comparing how a model performs when continuing from a ground-truth "data prefix" ($P_D$) versus a "model prefix" ($P_M$) it generated itself, the researchers can isolate the impact of the training-generation discrepancy.
The study proposes two primary metrics:
- EB-M (Exposure Bias - Marginal): Measures the relative gain in quality and diversity when the model is provided with a data prefix.
- EB-C (Exposure Bias - Conditional): A word-level metric measuring the divergence between predicted distributions under different prefix conditions.
Key Findings
Distortions are Limited and Non-Incremental
Contrary to the "snowball effect" theory, the research finds that distortions are not incremental. Performance gaps do not widen significantly as generated sequences grow longer; a 100-token prefix does not result in substantially worse distortion than a 20-token one. In human evaluations, the quality difference between sequences started with data prefixes versus model prefixes was a negligible 0.02 on a 5-point scale.
The Self-Recovery Ability
The most striking insight is the model's inherent self-recovery. Even when forced to start with "corrupted" prefixes (random or shuffled words), LMs eventually transition back into generating grammatically correct and logical structures.
Conclusion
The study suggests that exposure bias is significantly overrated in open-ended generation. While the discrepancy between training and inference exists, models tend to stay within a "comfort zone" and possess a robust ability to recover from distorted inputs. Furthermore, the authors note that while GAN-based training can reduce distributional divergence, it often results in lower overall quality than standard Maximum Likelihood Estimation (MLE), suggesting that the "cure" for exposure bias may sometimes be worse than the condition itself.
Summary updated