CoNT: Contrastive Neural Text Generation
Not on the map. Why?
Abstract (arXiv)
Recently, contrastive learning attracts increasing interests in neural text generation as a new solution to alleviate the exposure bias problem. It introduces a sequence-level training signal which is crucial to generation tasks that always rely on auto-regressive decoding. However, previous methods using contrastive learning in neural text generation usually lead to inferior performance. In this paper, we analyse the underlying reasons and propose a new Contrastive Neural Text generation framework, CoNT. CoNT addresses bottlenecks that prevent contrastive learning from being widely adopted in generation tasks from three aspects -- the construction of contrastive examples, the choice of the contrastive loss, and the strategy in decoding. We validate CoNT on five generation tasks with ten benchmarks, including machine translation, summarization, code comment generation, data-to-text generation and commonsense generation. Experimental results show that CoNT clearly outperforms the conventional training framework on all the ten benchmarks with a convincing margin. Especially, CoNT surpasses previous the most competitive contrastive learning method for text generation, by 1.50 BLEU on machine translation and 1.77 ROUGE-1 on summarization, respectively. It achieves new state-of-the-art on summarization, code comment generation (without external data) and data-to-text generation.
Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 50 of its 60 references that are in the map. First posted on arXiv 29 May 2022.
Builds on
50 of 60 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2017Neural Discrete Representation Learningcited by 4,712
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
38 more
- 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
- 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,203
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2016SPICE: Semantic Propositional Image Caption Evaluationcited by 824
- 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 803
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2020Contrastive Learning with Hard Negative Samplescited by 628
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2020Hard Negative Mixing for Contrastive Learningcited by 402
- 2017A Deep Reinforced Model for Abstractive Summarizationcited by 365
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 301
- 2020ToTTo: A Controlled Table-To-Text Generation Datasetcited by 268
- 2022A Contrastive Framework for Neural Text Generationcited by 225
- 2014Learning Fine-grained Image Similarity with Deep Rankingcited by 190
- 2020Extractive Summarization as Text Matchingcited by 189
- 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
- 2021Retrieval Augmented Code Generation and Summarizationcited by 149
- 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
- 2021SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarizationcited by 132
- 2019Handling Divergent Reference Texts when Evaluating Table-to-Text Generationcited by 119
- 2016Neural Summarization by Extracting Sentences and Wordscited by 116
- 2020Text-to-Text Pre-Training for Data-to-Text Taskscited by 104
- 2020SSMBA: Self-Supervised Manifold Based Data Augmentation for Improving Out-of-Domain Robustnesscited by 96
- 2019A Mutual Information Maximization Perspective of Language Representation Learningcited by 85
- 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
- 2020Contrastive Learning with Adversarial Perturbations for Conditional Text Generationcited by 56
- 2017Table-to-text Generation by Structure-aware Seq2seq Learningcited by 54
- 2020Energy-Based Reranking: Improving Neural Machine Translation Using Energy-Based Modelscited by 44
- 2019Simple and Effective Noisy Channel Modeling for Neural Machine Translationcited by 37
- 2019Deep Metric Learning Beyond Binary Supervisioncited by 36
- 2019Ladder Loss for Coherent Visual-Semantic Embeddingcited by 15
- 2019Energy Confused Adversarial Metric Learning for Zero-Shot Image Retrieval and Clusteringcited by 10
- 2021Deep Ranking with Adaptive Margin Triplet Losscited by 8
- 2021R2D2: Relational Text Decoding with Transformerscited by 1
Built on by
Citing papers per year: 2022: 8; 2023: 7; 2024: 0; 2025: 6.
21 papers.
Sort:
By area:
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learningcited by 41
- 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
- 2022Multimedia Generative Script Learning for Task Planningcited by 12
- 2022COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarizationcited by 8
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 8
- 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translationcited by 6
- 2023Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Modelscited by 6
- 2023NewsDialogues: Towards Proactive News Grounded Conversationcited by 5
- 2025TABLET: A Large-Scale Dataset for Robust Visual Table Understandingcited by 5
- 2022MOCHA: A Multi-Task Training Approach for Coherent Text Generation from Cognitive Perspectivecited by 4
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generationcited by 4
9 more
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMscited by 4
- 2022Incorporating Task-specific Concept Knowledge into Script Learningcited by 3
- 2025Multi-Amateur Contrastive Decoding for Text Generationcited by 3
- 2022PARAGEN : A Parallel Generation Toolkitcited by 2
- 2023Optimizing Non-Autoregressive Transformers with Contrastive Learningcited by 1
- 2025Unbiased Sliced Wasserstein Kernels for High-Quality Audio Captioningcited by 1
- 2025Oreo: A Plug-in Context Reconstructor to Enhance Retrieval-Augmented Generationcited by 1
- 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
- 2022Reranking Overgenerated Responses for End-to-End Task-Oriented Dialogue Systemscited by 0
- 2025TABLET: A Large-Scale Dataset for Robust Visual Table Understanding25 Sep 2025
- 2025Confidence-Modulated Speculative Decoding for Large Language Models21 Aug 2025
- 2025Multi-Amateur Contrastive Decoding for Text Generation22 Jun 2025
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMs3 Jun 2025
- 2025Oreo: A Plug-in Context Reconstructor to Enhance Retrieval-Augmented Generation18 Feb 2025
- 2025Unbiased Sliced Wasserstein Kernels for High-Quality Audio Captioning8 Feb 2025
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generation13 Oct 2023
- 2023Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Models2 Oct 2023
- 2023NewsDialogues: Towards Proactive News Grounded Conversation12 Aug 2023
- 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation10 Jun 2023
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learning6 Jun 2023
- 2023Optimizing Non-Autoregressive Transformers with Contrastive Learning23 May 2023
9 more
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyond20 May 2023
- 2022Reranking Overgenerated Responses for End-to-End Task-Oriented Dialogue Systems7 Nov 2022
- 2022Contrastive Decoding: Open-ended Text Generation as Optimization27 Oct 2022
- 2022MOCHA: A Multi-Task Training Approach for Coherent Text Generation from Cognitive Perspective26 Oct 2022
- 2022PARAGEN : A Parallel Generation Toolkit7 Oct 2022
- 2022ContraCLM: Contrastive Learning For Causal Language Model3 Oct 2022
- 2022COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarization29 Sep 2022
- 2022Incorporating Task-specific Concept Knowledge into Script Learning31 Aug 2022
- 2022Multimedia Generative Script Learning for Task Planning25 Aug 2022
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learningcited by 41
- 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
- 2022Multimedia Generative Script Learning for Task Planningcited by 12
- 2022COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarizationcited by 8
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 8
- 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translationcited by 6
- 2023Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Modelscited by 6
- 2023NewsDialogues: Towards Proactive News Grounded Conversationcited by 5
- 2025TABLET: A Large-Scale Dataset for Robust Visual Table Understandingcited by 5
- 2022MOCHA: A Multi-Task Training Approach for Coherent Text Generation from Cognitive Perspectivecited by 4
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generationcited by 4
12 most cited of 19 All 19 (JSON)
- 2025TABLET: A Large-Scale Dataset for Robust Visual Table Understanding25 Sep 2025
- 2025Multi-Amateur Contrastive Decoding for Text Generation22 Jun 2025
- 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMs3 Jun 2025
- 2025Unbiased Sliced Wasserstein Kernels for High-Quality Audio Captioning8 Feb 2025
- 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generation13 Oct 2023
- 2023Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Models2 Oct 2023
- 2023NewsDialogues: Towards Proactive News Grounded Conversation12 Aug 2023
- 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translation10 Jun 2023
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learning6 Jun 2023
- 2023Optimizing Non-Autoregressive Transformers with Contrastive Learning23 May 2023
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyond20 May 2023
- 2022Reranking Overgenerated Responses for End-to-End Task-Oriented Dialogue Systems7 Nov 2022
12 newest of 19 All 19 (JSON)