Mitigating the Learning Bias towards Repetition by Self-Contrastive Training for Open-Ended Generation
–arXiv.org Artificial Intelligence
Despite the huge progress in myriad generation tasks, pretrained language models (LMs) such as GPT2 still tend to generate repetitive texts with maximization-based decoding algorithms for open-ended generation. We attribute their overestimation of token-level repetition probabilities to the learning bias: LMs capture simple repetitive patterns faster with the MLE loss. We propose self-contrastive training to penalize the output of a premature checkpoint of the same model when it incorrectly predicts repetition, which is shown to mitigate repetition effectively while maintaining fluency on two datasets. Furthermore, we find that LMs use longer-range dependencies to predict repetitive tokens than non-repetitive ones, which may be the cause of sentence-level repetition loops.
arXiv.org Artificial Intelligence
Jul-4-2023
- Country:
- Asia
- Europe
- Hungary (0.04)
- Russia (0.04)
- United Kingdom
- England
- Greater London > London (0.04)
- Lancashire (0.04)
- Leicestershire
- Leicester (0.04)
- Loughborough (0.04)
- Northamptonshire (0.04)
- Scotland > City of Dundee
- Dundee (0.04)
- England
- North America > United States
- California
- Alameda County > Berkeley (0.04)
- Los Angeles County > Los Angeles (0.14)
- San Diego County > San Diego (0.04)
- Illinois > Cook County
- Chicago (0.04)
- West Virginia (0.04)
- California
- Genre:
- Personal (1.00)
- Research Report (1.00)
- Industry:
- Leisure & Entertainment (1.00)
- Media
- Film (1.00)
- Television (0.72)
- Technology: