mlsanityData to 7 Oct 2026

A Simple Contrastive Learning Objective for Alleviating Neural Text Degeneration

arXiv 2205.02517 ↗First posted 5 May 2022cs.CLcited by 18

Not on the map. Why?

Abstract (arXiv)

The cross-entropy objective has proved to be an all-purpose training objective for autoregressive language models (LMs). However, without considering the penalization of problematic tokens, LMs trained using cross-entropy exhibit text degeneration. To address this, unlikelihood training has been proposed to reduce the probability of unlikely tokens predicted by LMs. But unlikelihood does not consider the relationship between the label tokens and unlikely token candidates, thus showing marginal improvements in degeneration. We propose a new contrastive token learning objective that inherits the advantages of cross-entropy and unlikelihood training and avoids their limitations. The key idea is to teach a LM to generate high probabilities for label tokens and low probabilities of negative candidates. Comprehensive experiments on language modeling and open-domain dialogue generation tasks show that the proposed contrastive token objective yields much less repetitive texts, with a higher generation quality than baseline approaches, achieving the new state-of-the-art performance on text degeneration.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 29 of its 38 references that are in the map. First posted on arXiv 5 May 2022.

Builds on

29 of 38 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  6. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  7. 2016Pointer Sentinel Mixture Modelscited by 2,992
  8. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  9. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  10. 2020Supervised Contrastive Learningcited by 2,803
  11. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  12. 2018Hierarchical Neural Story Generationcited by 1,182
17 more
  1. 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
  2. 2018Personalizing Dialogue Agents: I have a dog, do you have pets too?cited by 820
  3. 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 649
  4. 2020Recipes for building an open-domain chatbotcited by 593
  5. 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
  6. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  7. 2022A Contrastive Framework for Neural Text Generationcited by 224
  8. 2019What makes a good conversation? How controllable attributes affect human judgmentscited by 140
  9. 2020Can You Put it All Together: Evaluating Conversational Agents' Ability to Blend Skillscited by 130
  10. 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
  11. 2021Contrastive Learning for Many-to-many Multilingual Neural Machine Translationcited by 108
  12. 2020Contrastive Learning with Adversarial Perturbations for Conditional Text Generationcited by 56
  13. 2021Contrastive Learning for Neural Topic Modelcited by 48
  14. 2019Improving Neural Response Diversity with Frequency-Aware Cross-Entropy Losscited by 29
  15. 2018Why are Sequence-to-Sequence Models So Dull? Understanding the Low-Diversity Problem of Chatbotscited by 12
  16. 2021Frequency-Aware Contrastive Learning for Neural Machine Translationcited by 11
  17. 2020TLDR: Token Loss Dynamic Reweighting for Reducing Repetitive Utterance Generationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 8; 2024: 2; 2025: 3; 2026: 1.

18 papers.

Sort:

By area:

  1. 2023Some things are more CRINGE than others: Iterative Preference Optimization with the Pairwise Cringe Losscited by 108
  2. 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learningcited by 41
  3. 2022The CRINGE Loss: Learning what language not to modelcited by 39
  4. 2022Contrastive Learning Reduces Hallucination in Conversationscited by 39
  5. 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
  6. 2022DIRECTOR: Generator-Classifiers For Supervised Language Modelingcited by 38
  7. 2023SequenceMatch: Imitation Learning for Autoregressive Sequence Modelling with Backtrackingcited by 13
  8. 2023Look-back Decoding for Open-Ended Text Generationcited by 10
  9. 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 7
  10. 2023Improving Summarization with Human Editscited by 7
  11. 2024Minor DPO reject penalty to increase training robustnesscited by 5
  12. 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generationcited by 4
6 more
  1. 2025Teaching Models to Understand (but not Generate) High-risk Datacited by 2
  2. 2024Contrastive Token Learning with Similarity Decay for Repetition Suppression in Machine Translationcited by 1
  3. 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domaincited by 1
  4. 2022IFDID: Information Filter upon Diversity-Improved Decoding for Diversity-Faithfulness Tradeoff in NLGcited by 0
  5. 2025Medical Referring Image Segmentation via Next-Token Mask Predictioncited by 0
  6. 2026news-crawler-LM: A Small Long-Context Model For High-Quality News Crawlingcited by 0