A Primer on Contrastive Pretraining in Language Processing: Methods, Lessons Learned and Perspectives
Not on the map. Why?
Abstract (arXiv)
Modern natural language processing (NLP) methods employ self-supervised pretraining objectives such as masked language modeling to boost the performance of various application tasks. These pretraining methods are frequently extended with recurrence, adversarial or linguistic property masking, and more recently with contrastive learning objectives. Contrastive self-supervised training objectives enabled recent successes in image representation pretraining by learning to contrast input-input pairs of augmented images as either similar or dissimilar. However, in NLP, automated creation of text input augmentations is still very challenging because a single token can invert the meaning of a sentence. For this reason, some contrastive NLP pretraining methods contrast over input-label pairs, rather than over input-input pairs, using methods from Metric Learning and Energy Based Models. In this survey, we summarize recent self-supervised and supervised contrastive NLP pretraining methods and describe where they are used to improve language modeling, few or zero-shot learning, pretraining data-efficiency and specific NLP end-tasks. We introduce key contrastive learning concepts with lessons learned from prior research and structure works by applications and cross-field relations. Finally, we point to open challenges and future directions for contrastive NLP to encourage bringing contrastive NLP pretraining closer to recent successes in image representation pretraining.
Key facts. Cited by 41 papers in the map (data through 7 Oct 2026). Builds on 49 of its 76 references that are in the map. First posted on arXiv 25 Feb 2021.
Builds on
49 of 76 references.
References · 49
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2020Supervised Contrastive Learningcited by 2,803
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
37 more
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
- 2020A Survey on Contrastive Self-supervised Learningcited by 553
- 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
- 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 426
- 2020A Metric Learning Reality Checkcited by 317
- 2019On Mutual Information Maximization for Representation Learningcited by 315
- 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 275
- 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 254
- 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
- 2020InfoXLM: An Information-Theoretic Framework for Cross-Lingual Language Model Pre-Trainingcited by 237
- 2021Contrastive Learning Inverts the Data Generating Processcited by 220
- 2018An efficient framework for learning sentence representationscited by 197
- 2020MixText: Linguistically-Informed Interpolation of Hidden Space for Semi-Supervised Text Classificationcited by 186
- 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
- 2020CERT: Contrastive Self-supervised Learning for Language Understandingcited by 169
- 2019What Do Compressed Deep Neural Networks Forget?cited by 164
- 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 105
- 2018Noise Contrastive Estimation and Negative Sampling for Conditional Models: Consistency and Statistical Efficiencycited by 103
- 2020A unifying mutual information view of metric learning: cross-entropy vs. pairwise lossescited by 100
- 2020Residual Energy-Based Models for Text Generationcited by 95
- 2019A Mutual Information Maximization Perspective of Language Representation Learningcited by 85
- 2019Transferable Contrastive Network for Generalized Zero-Shot Learningcited by 64
- 2020Contrastive Distillation on Intermediate Representations for Language Model Compressioncited by 57
- 2020Pre-Training Transformers as Energy-Based Cloze Modelscited by 52
- 2020Are all negatives created equal in contrastive instance discrimination?cited by 50
- 2020Pretraining with Contrastive Sentence Objectives Improves Discourse Performance of Language Modelscited by 49
- 2020CoDA: Contrast-enhanced and Diversity-promoting Data Augmentation for Natural Language Understandingcited by 41
- 2020Words aren't enough, their order matters: On the Robustness of Grounding Visual Referring Expressionscited by 33
- 2020Contrastive Self-Supervised Learning for Commonsense Reasoningcited by 25
- 2018GILE: A Generalized Input-Label Embedding for Text Classificationcited by 22
- 2019Leveraging Latent Features for Local Explanationscited by 21
- 2020On Losses for Modern Language Modelscited by 21
- 2020Data-Efficient Pretraining via Contrastive Self-Supervisioncited by 14
- 2019Contrastive Attention Mechanism for Abstractive Sentence Summarizationcited by 13
- 2021CSS-LM: A Contrastive Framework for Semi-supervised Fine-tuning of Pre-trained Language Modelscited by 5
Built on by
Citing papers per year: 2021: 6; 2022: 9; 2023: 14; 2024: 6; 2025: 5; 2026: 1.
41 papers.
Sort:
By area:
- 2021Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence Encoderscited by 88
- 2022Neighborhood Contrastive Learning for Scientific Document Representations with Citation Embeddingscited by 75
- 2022CLIPPO: Image-and-Language Understanding from Pixels Onlycited by 53
- 2021Prototypical Graph Contrastive Learningcited by 37
- 2021Pairwise Supervised Contrastive Learning of Sentence Representationscited by 31
- 2024VITaL Pretraining: Visuo-Tactile Pretraining for Tactile and Non-Tactile Manipulation Policiescited by 14
- 2022Supervised Contrastive Learning with Hard Negative Samplescited by 13
- 2025A Survey on Imitation Learning for Contact-Rich Tasks in Roboticscited by 12
- 2022Fact Checking with Insufficient Evidencecited by 11
- 2023Estimating Uncertainty in Multimodal Foundation Models using Public Internet Datacited by 10
- 2023PDSum: Prototype-driven Continuous Summarization of Evolving Multi-document Sets Streamcited by 7
- 2023Joint Multiple Intent Detection and Slot Filling with Supervised Contrastive Learning and Self-Distillationcited by 7
29 more
- 2023DiffAug: Enhance Unsupervised Contrastive Learning with Domain-Knowledge-Free Diffusion-based Data Augmentationcited by 7
- 2021Adversarial Training with Contrastive Learning in NLPcited by 6
- 2021Contrastive Document Representation Learning with Graph Attention Networkscited by 6
- 2023Hard-Negative Sampling for Contrastive Learning: Optimal Representation Geometry and Neural- vs Dimensional-Collapsecited by 6
- 2023Improving Self-supervised Molecular Representation Learning using Persistent Homologycited by 6
- 2022Empirical Evaluation and Theoretical Analysis for Representation Learning: A Surveycited by 5
- 2024Pretraining a Neural Operator in Lower Dimensionscited by 5
- 2025Contrastive Representations for Temporal Reasoningcited by 5
- 2023Transfer-Free Data-Efficient Multilingual Slot Labelingcited by 4
- 2023Topic-Guided Sampling For Data-Efficient Multi-Domain Stance Detectioncited by 4
- 2023TATA: Stance Detection via Topic-Agnostic and Topic-Aware Embeddingscited by 4
- 2023A Revisit of Fake News Dataset with Augmented Fact-checking by ChatGPTcited by 4
- 2022Evaluation of Contrastive Learning with Various Code Representations for Code Clone Detectioncited by 3
- 2022MetricBERT: Text Representation Learning via Self-Supervised Triplet Trainingcited by 3
- 2024Learning Label Hierarchy with Supervised Contrastive Learningcited by 3
- 2021Disentangled Contrastive Learning for Learning Robust Textual Representationscited by 2
- 2023Test-time Augmentation for Factual Probingcited by 2
- 2024FaultProfIT: Hierarchical Fault Profiling of Incident Tickets in Large-scale Cloud Systemscited by 2
- 2022A Comparative Study of Pre-trained Encoders for Low-Resource Named Entity Recognitioncited by 1
- 2023A Novel Information-Theoretic Objective to Disentangle Representations for Fair Classificationcited by 1
- 2025AS-GCL: Asymmetric Spectral Augmentation on Graph Contrastive Learningcited by 1
- 2022Accountable and Explainable Methods for Complex Reasoning over Textcited by 0
- 2023CoSiNES: Contrastive Siamese Network for Entity Standardizationcited by 0
- 2023Generate to Understand for Representationcited by 0
- 2024Enhancing Context Through Contrastcited by 0
- 2024Effectively Prompting Small-sized Language Models for Cross-lingual Tasks via Winning Ticketscited by 0
- 2025PLanTS: Periodicity-aware Latent-state Representation Learning for Multivariate Time Seriescited by 0
- 2025Learning Representations Through Contrastive Neural Model Checkingcited by 0
- 2026Disentangled Mode-Specific Representations for Tensor Time Series via Contrastive Learningcited by 0
- 2026Disentangled Mode-Specific Representations for Tensor Time Series via Contrastive Learning27 Feb 2026
- 2025Learning Representations Through Contrastive Neural Model Checking2 Oct 2025
- 2025PLanTS: Periodicity-aware Latent-state Representation Learning for Multivariate Time Series5 Sep 2025
- 2025Contrastive Representations for Temporal Reasoning18 Aug 2025
- 2025A Survey on Imitation Learning for Contact-Rich Tasks in Robotics16 Jun 2025
- 2025AS-GCL: Asymmetric Spectral Augmentation on Graph Contrastive Learning19 Feb 2025
- 2024Pretraining a Neural Operator in Lower Dimensions24 Jul 2024
- 2024Effectively Prompting Small-sized Language Models for Cross-lingual Tasks via Winning Tickets1 Apr 2024
- 2024VITaL Pretraining: Visuo-Tactile Pretraining for Tactile and Non-Tactile Manipulation Policies18 Mar 2024
- 2024FaultProfIT: Hierarchical Fault Profiling of Incident Tickets in Large-scale Cloud Systems27 Feb 2024
- 2024Learning Label Hierarchy with Supervised Contrastive Learning31 Jan 2024
- 2024Enhancing Context Through Contrast6 Jan 2024
29 more
- 2023A Revisit of Fake News Dataset with Augmented Fact-checking by ChatGPT19 Dec 2023
- 2023Improving Self-supervised Molecular Representation Learning using Persistent Homology29 Nov 2023
- 2023Hard-Negative Sampling for Contrastive Learning: Optimal Representation Geometry and Neural- vs Dimensional-Collapse9 Nov 2023
- 2023Test-time Augmentation for Factual Probing26 Oct 2023
- 2023TATA: Stance Detection via Topic-Agnostic and Topic-Aware Embeddings22 Oct 2023
- 2023A Novel Information-Theoretic Objective to Disentangle Representations for Fair Classification21 Oct 2023
- 2023Estimating Uncertainty in Multimodal Foundation Models using Public Internet Data15 Oct 2023
- 2023DiffAug: Enhance Unsupervised Contrastive Learning with Domain-Knowledge-Free Diffusion-based Data Augmentation10 Sep 2023
- 2023Joint Multiple Intent Detection and Slot Filling with Supervised Contrastive Learning and Self-Distillation28 Aug 2023
- 2023Generate to Understand for Representation14 Jun 2023
- 2023CoSiNES: Contrastive Siamese Network for Entity Standardization5 Jun 2023
- 2023Topic-Guided Sampling For Data-Efficient Multi-Domain Stance Detection1 Jun 2023
- 2023Transfer-Free Data-Efficient Multilingual Slot Labeling22 May 2023
- 2023PDSum: Prototype-driven Continuous Summarization of Evolving Multi-document Sets Stream10 Feb 2023
- 2022CLIPPO: Image-and-Language Understanding from Pixels Only15 Dec 2022
- 2022Accountable and Explainable Methods for Complex Reasoning over Text9 Nov 2022
- 2022Supervised Contrastive Learning with Hard Negative Samples31 Aug 2022
- 2022MetricBERT: Text Representation Learning via Self-Supervised Triplet Training13 Aug 2022
- 2022Evaluation of Contrastive Learning with Various Code Representations for Code Clone Detection17 Jun 2022
- 2022Empirical Evaluation and Theoretical Analysis for Representation Learning: A Survey18 Apr 2022
- 2022A Comparative Study of Pre-trained Encoders for Low-Resource Named Entity Recognition11 Apr 2022
- 2022Fact Checking with Insufficient Evidence5 Apr 2022
- 2022Neighborhood Contrastive Learning for Scientific Document Representations with Citation Embeddings14 Feb 2022
- 2021Contrastive Document Representation Learning with Graph Attention Networks20 Oct 2021
- 2021Adversarial Training with Contrastive Learning in NLP19 Sep 2021
- 2021Pairwise Supervised Contrastive Learning of Sentence Representations12 Sep 2021
- 2021Prototypical Graph Contrastive Learning17 Jun 2021
- 2021Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence Encoders16 Apr 2021
- 2021Disentangled Contrastive Learning for Learning Robust Textual Representations11 Apr 2021
- 2025Contrastive Representations for Temporal Reasoningcited by 5
- 2025Contrastive Representations for Temporal Reasoning18 Aug 2025
- 2021Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence Encoderscited by 88
- 2022Neighborhood Contrastive Learning for Scientific Document Representations with Citation Embeddingscited by 75
- 2022CLIPPO: Image-and-Language Understanding from Pixels Onlycited by 53
- 2021Prototypical Graph Contrastive Learningcited by 37
- 2021Pairwise Supervised Contrastive Learning of Sentence Representationscited by 31
- 2022Supervised Contrastive Learning with Hard Negative Samplescited by 13
- 2022Fact Checking with Insufficient Evidencecited by 11
- 2023Estimating Uncertainty in Multimodal Foundation Models using Public Internet Datacited by 10
- 2023PDSum: Prototype-driven Continuous Summarization of Evolving Multi-document Sets Streamcited by 7
- 2023Joint Multiple Intent Detection and Slot Filling with Supervised Contrastive Learning and Self-Distillationcited by 7
- 2021Adversarial Training with Contrastive Learning in NLPcited by 6
- 2021Contrastive Document Representation Learning with Graph Attention Networkscited by 6
12 most cited of 37 All 37 (JSON)
- 2026Disentangled Mode-Specific Representations for Tensor Time Series via Contrastive Learning27 Feb 2026
- 2025Learning Representations Through Contrastive Neural Model Checking2 Oct 2025
- 2025PLanTS: Periodicity-aware Latent-state Representation Learning for Multivariate Time Series5 Sep 2025
- 2025AS-GCL: Asymmetric Spectral Augmentation on Graph Contrastive Learning19 Feb 2025
- 2024Pretraining a Neural Operator in Lower Dimensions24 Jul 2024
- 2024Effectively Prompting Small-sized Language Models for Cross-lingual Tasks via Winning Tickets1 Apr 2024
- 2024FaultProfIT: Hierarchical Fault Profiling of Incident Tickets in Large-scale Cloud Systems27 Feb 2024
- 2024Learning Label Hierarchy with Supervised Contrastive Learning31 Jan 2024
- 2024Enhancing Context Through Contrast6 Jan 2024
- 2023A Revisit of Fake News Dataset with Augmented Fact-checking by ChatGPT19 Dec 2023
- 2023Improving Self-supervised Molecular Representation Learning using Persistent Homology29 Nov 2023
- 2023Hard-Negative Sampling for Contrastive Learning: Optimal Representation Geometry and Neural- vs Dimensional-Collapse9 Nov 2023
12 newest of 37 All 37 (JSON)