A Simple Contrastive Learning Objective for Alleviating Neural Text Degeneration
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
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2020Supervised Contrastive Learningcited by 2,803
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2018Hierarchical Neural Story Generationcited by 1,182
17 more
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,068
- 2018Personalizing Dialogue Agents: I have a dog, do you have pets too?cited by 820
- 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 649
- 2020Recipes for building an open-domain chatbotcited by 593
- 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
- 2019Neural Text Generation with Unlikelihood Trainingcited by 489
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2019What makes a good conversation? How controllable attributes affect human judgmentscited by 140
- 2020Can You Put it All Together: Evaluating Conversational Agents' Ability to Blend Skillscited by 130
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2021Contrastive Learning for Many-to-many Multilingual Neural Machine Translationcited by 108
- 2020Contrastive Learning with Adversarial Perturbations for Conditional Text Generationcited by 56
- 2021Contrastive Learning for Neural Topic Modelcited by 48
- 2019Improving Neural Response Diversity with Frequency-Aware Cross-Entropy Losscited by 29
- 2018Why are Sequence-to-Sequence Models So Dull? Understanding the Low-Diversity Problem of Chatbotscited by 12
- 2021Frequency-Aware Contrastive Learning for Neural Machine Translationcited by 11
- 2020TLDR: Token Loss Dynamic Reweighting for Reducing Repetitive Utterance Generationcited by 6
Built on by
Citing papers per year: 2022: 4; 2023: 8; 2024: 2; 2025: 3; 2026: 1.
18 papers.
Sort:
By area:
- 2023Some things are more CRINGE than others: Iterative Preference Optimization with the Pairwise Cringe Losscited by 108
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learningcited by 41
- 2022The CRINGE Loss: Learning what language not to modelcited by 39
- 2022Contrastive Learning Reduces Hallucination in Conversationscited by 39
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2022DIRECTOR: Generator-Classifiers For Supervised Language Modelingcited by 38
- 2023SequenceMatch: Imitation Learning for Autoregressive Sequence Modelling with Backtrackingcited by 13
- 2023Look-back Decoding for Open-Ended Text Generationcited by 10
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 7
- 2023Improving Summarization with Human Editscited by 7
- 2024Minor DPO reject penalty to increase training robustnesscited by 5
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generationcited by 4
6 more
- 2025Teaching Models to Understand (but not Generate) High-risk Datacited by 2
- 2024Contrastive Token Learning with Similarity Decay for Repetition Suppression in Machine Translationcited by 1
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domaincited by 1
- 2022IFDID: Information Filter upon Diversity-Improved Decoding for Diversity-Faithfulness Tradeoff in NLGcited by 0
- 2025Medical Referring Image Segmentation via Next-Token Mask Predictioncited by 0
- 2026news-crawler-LM: A Small Long-Context Model For High-Quality News Crawlingcited by 0
- 2026news-crawler-LM: A Small Long-Context Model For High-Quality News Crawling23 Jul 2026
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domain13 Nov 2025
- 2025Medical Referring Image Segmentation via Next-Token Mask Prediction7 Nov 2025
- 2025Teaching Models to Understand (but not Generate) High-risk Data5 May 2025
- 2024Contrastive Token Learning with Similarity Decay for Repetition Suppression in Machine Translation30 Sep 2024
- 2024Minor DPO reject penalty to increase training robustness19 Aug 2024
- 2023Some things are more CRINGE than others: Iterative Preference Optimization with the Pairwise Cringe Loss27 Dec 2023
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective16 Oct 2023
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generation13 Oct 2023
- 2023Improving Summarization with Human Edits9 Oct 2023
- 2023SequenceMatch: Imitation Learning for Autoregressive Sequence Modelling with Backtracking8 Jun 2023
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learning6 Jun 2023
6 more
- 2023Look-back Decoding for Open-Ended Text Generation22 May 2023
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyond20 May 2023
- 2022Contrastive Learning Reduces Hallucination in Conversations20 Dec 2022
- 2022The CRINGE Loss: Learning what language not to model10 Nov 2022
- 2022IFDID: Information Filter upon Diversity-Improved Decoding for Diversity-Faithfulness Tradeoff in NLG25 Oct 2022
- 2022DIRECTOR: Generator-Classifiers For Supervised Language Modeling15 Jun 2022
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learningcited by 41
- 2022The CRINGE Loss: Learning what language not to modelcited by 39
- 2022Contrastive Learning Reduces Hallucination in Conversationscited by 39
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspectivecited by 39
- 2022DIRECTOR: Generator-Classifiers For Supervised Language Modelingcited by 38
- 2023Look-back Decoding for Open-Ended Text Generationcited by 10
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 7
- 2023Improving Summarization with Human Editscited by 7
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generationcited by 4
- 2025Teaching Models to Understand (but not Generate) High-risk Datacited by 2
- 2024Contrastive Token Learning with Similarity Decay for Repetition Suppression in Machine Translationcited by 1
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domaincited by 1
12 most cited of 15 All 15 (JSON)
- 2026news-crawler-LM: A Small Long-Context Model For High-Quality News Crawling23 Jul 2026
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domain13 Nov 2025
- 2025Medical Referring Image Segmentation via Next-Token Mask Prediction7 Nov 2025
- 2025Teaching Models to Understand (but not Generate) High-risk Data5 May 2025
- 2024Contrastive Token Learning with Similarity Decay for Repetition Suppression in Machine Translation30 Sep 2024
- 2023Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective16 Oct 2023
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generation13 Oct 2023
- 2023Improving Summarization with Human Edits9 Oct 2023
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learning6 Jun 2023
- 2023Look-back Decoding for Open-Ended Text Generation22 May 2023
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyond20 May 2023
- 2022Contrastive Learning Reduces Hallucination in Conversations20 Dec 2022
12 newest of 15 All 15 (JSON)