Tailoring Language Generation Models under Total Variation Distance
Preprint
Abstract
The standard paradigm of neural language generation adopts maximum likelihood estimation (MLE) as the optimizing method. From a distributional view, MLE in fact minimizes the Kullback-Leibler divergence (KLD) between the distribution of the real data and that of the model. However, this approach forces the model to distribute non-zero (sometimes large) probability mass to all training samples regardless of their quality. Moreover, in the attempt to cover the low-probability regions in the data distribution, the model systematically overestimates the probability of corrupted text sequences, which we conjecture is one of the main reasons for text degeneration during autoregressive decoding. To remedy this problem, we leverage the total variation distance (TVD) with its robustness to outliers, and develop practical bounds to apply it to language generation. Then, we introduce the TaiLr objective that balances the tradeoff of estimating TVD. Intuitively, TaiLr downweights real data samples that have low model probabilities with tunable penalization intensity. Experimental results show that our method alleviates the overestimation of degenerated sequences without sacrificing diversity and improves generation quality on a wide range of text generation tasks.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- DiscoDVT: Generating Long Text with Discourse-Aware Discrete Variational Transformer2021
- On Hallucination and Predictive Uncertainty in Conditional Language Generation2021
- Long Text Generation by Modeling Sentence-Level and Discourse-Level Coherence2021
- Reducing Quantity Hallucinations in Abstractive Summarization2020
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2020
- Improved Natural Language Generation via Loss Truncation2020
- SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimization2020
- Microsoft COCO: Common Objects in Context2014
- Simple statistical gradient-following algorithms for connectionist reinforcement learningMachine Learning, 1992
- Possible generalization of Boltzmann-Gibbs statisticsJournal of Statistical Physics, 1988