mlsanityData to 14 Oct 2026

CoNT: Contrastive Neural Text Generation

arXiv 2205.14690 ↗First posted 29 May 2022cs.CLcited by 21

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  4. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  6. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  7. 2017Neural Discrete Representation Learningcited by 4,712
  8. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  9. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
  10. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  11. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  12. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
38 more
  1. 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
  2. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
  3. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  4. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  5. 2020BLEURT: Learning Robust Metrics for Text Generationcited by 1,203
  6. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,102
  7. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  8. 2016SPICE: Semantic Propositional Image Caption Evaluationcited by 824
  9. 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 803
  10. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
  11. 2020Contrastive Learning with Hard Negative Samplescited by 628
  12. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  13. 2020Hard Negative Mixing for Contrastive Learningcited by 402
  14. 2017A Deep Reinforced Model for Abstractive Summarizationcited by 365
  15. 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 301
  16. 2020ToTTo: A Controlled Table-To-Text Generation Datasetcited by 268
  17. 2022A Contrastive Framework for Neural Text Generationcited by 225
  18. 2014Learning Fine-grained Image Similarity with Deep Rankingcited by 190
  19. 2020Extractive Summarization as Text Matchingcited by 189
  20. 2019Facebook FAIR's WMT19 News Translation Task Submissioncited by 179
  21. 2021Retrieval Augmented Code Generation and Summarizationcited by 149
  22. 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
  23. 2021SimCLS: A Simple Framework for Contrastive Learning of Abstractive Summarizationcited by 132
  24. 2019Handling Divergent Reference Texts when Evaluating Table-to-Text Generationcited by 119
  25. 2016Neural Summarization by Extracting Sentences and Wordscited by 116
  26. 2020Text-to-Text Pre-Training for Data-to-Text Taskscited by 104
  27. 2020SSMBA: Self-Supervised Manifold Based Data Augmentation for Improving Out-of-Domain Robustnesscited by 96
  28. 2019A Mutual Information Maximization Perspective of Language Representation Learningcited by 85
  29. 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
  30. 2020Contrastive Learning with Adversarial Perturbations for Conditional Text Generationcited by 56
  31. 2017Table-to-text Generation by Structure-aware Seq2seq Learningcited by 54
  32. 2020Energy-Based Reranking: Improving Neural Machine Translation Using Energy-Based Modelscited by 44
  33. 2019Simple and Effective Noisy Channel Modeling for Neural Machine Translationcited by 37
  34. 2019Deep Metric Learning Beyond Binary Supervisioncited by 36
  35. 2019Ladder Loss for Coherent Visual-Semantic Embeddingcited by 15
  36. 2019Energy Confused Adversarial Metric Learning for Zero-Shot Image Retrieval and Clusteringcited by 10
  37. 2021Deep Ranking with Adaptive Margin Triplet Losscited by 8
  38. 2021R2D2: Relational Text Decoding with Transformerscited by 1

Built on by

Cited by year

Citing papers per year: 2022: 8; 2023: 7; 2024: 0; 2025: 6.

21 papers.

Sort:

By area:

  1. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  2. 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learningcited by 41
  3. 2022ContraCLM: Contrastive Learning For Causal Language Modelcited by 18
  4. 2022Multimedia Generative Script Learning for Task Planningcited by 12
  5. 2022COLO: A Contrastive Learning based Re-ranking Framework for One-Stage Summarizationcited by 8
  6. 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 8
  7. 2023INK: Injecting kNN Knowledge in Nearest Neighbor Machine Translationcited by 6
  8. 2023Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Modelscited by 6
  9. 2023NewsDialogues: Towards Proactive News Grounded Conversationcited by 5
  10. 2025TABLET: A Large-Scale Dataset for Robust Visual Table Understandingcited by 5
  11. 2022MOCHA: A Multi-Task Training Approach for Coherent Text Generation from Cognitive Perspectivecited by 4
  12. 2023Multi-level Adaptive Contrastive Learning for Knowledge Internalization in Dialogue Generationcited by 4
9 more
  1. 2025Advancing Decoding Strategies: Enhancements in Locally Typical Sampling for LLMscited by 4
  2. 2022Incorporating Task-specific Concept Knowledge into Script Learningcited by 3
  3. 2025Multi-Amateur Contrastive Decoding for Text Generationcited by 3
  4. 2022PARAGEN : A Parallel Generation Toolkitcited by 2
  5. 2023Optimizing Non-Autoregressive Transformers with Contrastive Learningcited by 1
  6. 2025Unbiased Sliced Wasserstein Kernels for High-Quality Audio Captioningcited by 1
  7. 2025Oreo: A Plug-in Context Reconstructor to Enhance Retrieval-Augmented Generationcited by 1
  8. 2025Confidence-Modulated Speculative Decoding for Large Language Modelscited by 1
  9. 2022Reranking Overgenerated Responses for End-to-End Task-Oriented Dialogue Systemscited by 0