Supervised Contrastive Learning for Pre-trained Language Model Fine-tuning
Not on the map. Why?
Abstract (arXiv)
State-of-the-art natural language understanding classification models follow two-stages: pre-training a large language model on an auxiliary task, and then fine-tuning the model on a task-specific labeled dataset using cross-entropy loss. However, the cross-entropy loss has several shortcomings that can lead to sub-optimal generalization and instability. Driven by the intuition that good generalization requires capturing the similarity between examples in one class and contrasting them with examples in other classes, we propose a supervised contrastive learning (SCL) objective for the fine-tuning stage. Combined with cross-entropy, our proposed SCL loss obtains significant improvements over a strong RoBERTa-Large baseline on multiple datasets of the GLUE benchmark in few-shot learning settings, without requiring specialized architecture, data augmentations, memory banks, or additional unsupervised data. Our proposed fine-tuning objective leads to models that are more robust to different levels of noise in the fine-tuning training data, and can generalize better to related tasks with limited labeled data.
Key facts. Cited by 275 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 58; 2022: 65; 2023: 49; 2024: 53; 2025: 34; 2026: 16.
275 papers.
Sort:
By area:
- 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 171
- 2021Active Learning by Acquiring Contrastive Examplescited by 154
- 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 149
- 2021Supervised Contrastive Replay: Revisiting the Nearest Class Mean Classifier in Online Class-Incremental Continual Learningcited by 140
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2021Entailment as Few-Shot Learnercited by 122
- 2022Pretrained Language Models for Text Generation: A Surveycited by 121
- 2021CLIFF: Contrastive Learning for Improving Faithfulness and Factuality in Abstractive Summarizationcited by 120
- 2022WHEN FLUE MEETS FLANG: Benchmarks and Large Pre-trained Language Model for Financial Domaincited by 117
- 2021Self-Guided Contrastive Learning for BERT Sentence Representationscited by 103
- 2022Intent Contrastive Learning for Sequential Recommendationcited by 90
38 more
- 2022SimKGC: Simple Contrastive Knowledge Graph Completion with Pre-trained Language Modelscited by 90
- 2021Graph-MLP: Node Classification without Message Passing in Graphcited by 73
- 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
- 2021Category Contrast for Unsupervised Domain Adaptation in Visual Taskscited by 65
- 2022Expanding Small-Scale Datasets with Guided Imaginationcited by 61
- 2024DeTeCtive: Detecting AI-generated Text via Multi-Level Contrastive Learningcited by 52
- 2021Unleashing the Power of Contrastive Self-Supervised Visual Models via Contrast-Regularized Fine-Tuningcited by 50
- 2022Contrastive Positive Sample Propagation along the Audio-Visual Event Linecited by 50
- 2021Few-Shot Intent Detection via Contrastive Pre-Training and Fine-Tuningcited by 46
- 2021CONFIT: Toward Faithful Dialogue Summarization with Linguistically-Informed Contrastive Fine-tuningcited by 44
- 2021Not All Negatives are Equal: Label-Aware Contrastive Loss for Fine-grained Text Classificationcited by 43
- 2024Trust No Bot: Discovering Personal Disclosures in Human-LLM Conversations in the Wildcited by 43
- 2021Modeling Discriminative Representations for Out-of-Domain Detection with Supervised Contrastive Learningcited by 42
- 2021A Primer on Contrastive Pretraining in Language Processing: Methods, Lessons Learned and Perspectivescited by 41
- 2021Improved Text Classification via Contrastive Adversarial Trainingcited by 38
- 2021Contrast and Generation Make BART a Good Dialogue Emotion Recognizercited by 35
- 2021Contrastive Learning for Fair Representationscited by 34
- 2022Robust Fine-Tuning of Deep Neural Networks with Hessian-based Generalization Guaranteescited by 34
- 2021STraTA: Self-Training with Task Augmentation for Better Few-shot Learningcited by 33
- 2022CoCo: Coherence-Enhanced Machine-Generated Text Detection Under Data Limitation With Contrastive Learningcited by 32
- 2023A Survey on Out-of-Distribution Detection in NLPcited by 31
- 2021Noise Stability Regularization for Improving BERT Fine-tuningcited by 29
- 2023Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detectioncited by 29
- 2023NADI 2023: The Fourth Nuanced Arabic Dialect Identification Shared Taskcited by 29
- 2022New Intent Discovery with Pre-training and Contrastive Learningcited by 28
- 2022On the Impossible Safety of Large AI Modelscited by 27
- 2024Heterogeneous Contrastive Learning for Foundation Models and Beyondcited by 27
- 2021ConvFiT: Conversational Fine-Tuning of Pretrained Language Modelscited by 25
- 2021Exploring Task Difficulty for Few-Shot Relation Extractioncited by 24
- 2021Topic-Aware Contrastive Learning for Abstractive Dialogue Summarizationcited by 23
- 2022FedClassAvg: Local Representation Learning for Personalized Federated Learning on Heterogeneous Neural Networkscited by 23
- 2021Revisiting Self-Training for Few-Shot Learning of Language Modelcited by 22
- 2022Dual Contrastive Learning: Text Classification via Label-Aware Data Augmentationcited by 22
- 2022Neighborhood Collective Estimation for Noisy Label Identification and Correctioncited by 22
- 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relationscited by 22
- 2022Online Continual Learning with Contrastive Vision Transformercited by 21
- 2025Inverse Reinforcement Learning with Dynamic Reward Scaling for LLM Alignmentcited by 20
- 2022Superficial White Matter Analysis: An Efficient Point-cloud-based Deep Learning Framework with Supervised Contrastive Learning for Consistent Tractography Parcellation across Populations and dMRI Acquisitionscited by 19
50 most cited of 275 All 275 (JSON)
- 2026Syntax vs. Semantics: How Transformers Learn Deep Dependencies26 Jun 2026
- 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Mining17 Jun 2026
- 2026Cross Paraphrastic Invariance Learning for Hallucination Detection6 Jun 2026
- 2026SimReg: Achieving Higher Performance in the Pretraining via Embedding Similarity Regularization9 May 2026
- 2026Contrastive Regularization for Accent-Robust ASR5 May 2026
- 2026G-Loss: Graph-Guided Fine-Tuning of Language Models28 Apr 2026
- 2026LLMSniffer: Detecting LLM-Generated Code via GraphCodeBERT and Supervised Contrastive Learning17 Apr 2026
- 2026BITS Pilani at SemEval-2026 Task 9: Structured Supervised Fine-Tuning with DPO Refinement for Polarization Detection13 Apr 2026
- 2026CoVFT: Context-aware Visual Fine-tuning for Multimodal Large Language Models22 Mar 2026
- 2026Fine-tuning Timeseries Predictors Using Reinforcement Learning20 Mar 2026
- 2026Linguistically Informed Graph Model and Semantic Contrastive Learning for Korean Short Text Classification4 Mar 2026
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphs24 Feb 2026
38 more
- 2026A Generative Model for Joint Multiple Intent Detection and Slot Filling9 Feb 2026
- 2026ACL: Aligned Contrastive Learning Improves BERT and Multi-exit BERT Fine-tuning3 Feb 2026
- 2026RPNT: Robust Pre-trained Neural Transformer -- A Pathway for Generalized Motor Decoding25 Jan 2026
- 2026LLM-Guided Lifecycle-Aware Clustering of Multi-Turn Customer Support Conversations7 Jan 2026
- 2025TermGPT: Multi-Level Contrastive Fine-Tuning for Terminology Adaptation in Legal and Financial Domain13 Nov 2025
- 2025AutoSciDACT: Automated Scientific Discovery through Contrastive Embedding and Hypothesis Testing24 Oct 2025
- 2025DETree: DEtecting Human-AI Collaborative Texts via Tree-Structured Hierarchical Representation Learning20 Oct 2025
- 2025Connecting Domains and Contrasting Samples: A Ladder for Domain Generalization19 Oct 2025
- 2025Seeing Through the Brain: New Insights from Decoding Visual Stimuli with fMRI17 Oct 2025
- 2025FairContrast: Enhancing Fairness through Contrastive learning and Customized Augmenting Methods on Tabular Data2 Oct 2025
- 2025GUI-PRA: Process Reward Agent for GUI Tasks27 Sep 2025
- 2025Dual-Actor Fine-Tuning of VLA Models: A Talk-and-Tweak Human-in-the-Loop Approach17 Sep 2025
- 2025Will Annotators Disagree? Identifying Subjectivity in Value-Laden Arguments8 Sep 2025
- 2025MGT-Prism: Enhancing Domain Generalization for Machine-Generated Text Detection via Spectral Alignment19 Aug 2025
- 2025MetaExplainer: A Framework to Generate Multi-Type User-Centered Explanations for AI Systems1 Aug 2025
- 2025Alignment and Safety in Large Language Models: Safety Mechanisms, Training Paradigms, and Emerging Challenges25 Jul 2025
- 2025Towards Privacy-Preserving and Personalized Smart Homes via Tailored Small Language Models10 Jul 2025
- 2025On the Predictive Power of Representation Dispersion in Language Models30 Jun 2025
- 2025ConLID: Supervised Contrastive Learning for Low-Resource Language Identification18 Jun 2025
- 2025Enhancing LLMs' Reasoning-Intensive Multimedia Search Capabilities through Fine-Tuning and Reinforcement Learning24 May 2025
- 2025Multimodal Integrated Knowledge Transfer to Large Language Models through Preference Optimization with Biomedical Applications9 May 2025
- 2025DMRL: Data- and Model-aware Reward Learning for Data Extraction7 May 2025
- 2025Enhancing ML Model Interpretability: Leveraging Fine-Tuned Large Language Models for Better Understanding of AI2 May 2025
- 2025Semantic-Aware Contrastive Fine-Tuning: Boosting Multimodal Malware Classification with Discriminative Embeddings25 Apr 2025
- 2025LOCO-EPI: Leave-one-chromosome-out (LOCO) as a benchmarking paradigm for deep learning based prediction of enhancer-promoter interactions1 Apr 2025
- 2025Order Independence With Finetuning30 Mar 2025
- 2025Inverse Reinforcement Learning with Dynamic Reward Scaling for LLM Alignment23 Mar 2025
- 2025Deep Contrastive Unlearning for Language Models19 Mar 2025
- 2025A Theoretical Framework for Preventing Class Collapse in Supervised Contrastive Learning11 Mar 2025
- 2025AuthorMist: Evading AI Text Detectors with Reinforcement Learning10 Mar 2025
- 2025Label Distribution Learning-Enhanced Dual-KNN for Text Classification6 Mar 2025
- 2025Active Few-Shot Learning for Text Classification26 Feb 2025
- 2025Euskarazko lehen C1 ebaluatzaile automatikoa18 Feb 2025
- 2025Probe-Free Low-Rank Activation Intervention6 Feb 2025
- 2025Multi-level Supervised Contrastive Learning4 Feb 2025
- 2025Distributional Surgery for Language Model Activations27 Jan 2025
- 2025Fact-Preserved Personalized News Headline Generation21 Jan 2025
- 2025MAGNET: Augmenting Generative Decoders with Representation Learning and Infilling Capabilities15 Jan 2025
50 newest of 275 All 275 (JSON)
- 2025Inverse Reinforcement Learning with Dynamic Reward Scaling for LLM Alignmentcited by 20
- 2025Alignment and Safety in Large Language Models: Safety Mechanisms, Training Paradigms, and Emerging Challengescited by 14
- 2025GUI-PRA: Process Reward Agent for GUI Taskscited by 8
- 2026BITS Pilani at SemEval-2026 Task 9: Structured Supervised Fine-Tuning with DPO Refinement for Polarization Detectioncited by 1
- 2025Multimodal Integrated Knowledge Transfer to Large Language Models through Preference Optimization with Biomedical Applicationscited by 0
- 2025DMRL: Data- and Model-aware Reward Learning for Data Extractioncited by 0
- 2026BITS Pilani at SemEval-2026 Task 9: Structured Supervised Fine-Tuning with DPO Refinement for Polarization Detection13 Apr 2026
- 2025GUI-PRA: Process Reward Agent for GUI Tasks27 Sep 2025
- 2025Alignment and Safety in Large Language Models: Safety Mechanisms, Training Paradigms, and Emerging Challenges25 Jul 2025
- 2025Multimodal Integrated Knowledge Transfer to Large Language Models through Preference Optimization with Biomedical Applications9 May 2025
- 2025DMRL: Data- and Model-aware Reward Learning for Data Extraction7 May 2025
- 2025Inverse Reinforcement Learning with Dynamic Reward Scaling for LLM Alignment23 Mar 2025
- 2021STraTA: Self-Training with Task Augmentation for Better Few-shot Learningcited by 33
- 2021Revisiting Self-Training for Few-Shot Learning of Language Modelcited by 22
- 2021LiST: Lite Prompted Self-training Makes Parameter-Efficient Few-shot Learnerscited by 9
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphscited by 1
- 2026Unseen-Codebases-Domain Data Synthesis and Training Based on Code Graphs24 Feb 2026
- 2021LiST: Lite Prompted Self-training Makes Parameter-Efficient Few-shot Learners12 Oct 2021
- 2021Revisiting Self-Training for Few-Shot Learning of Language Model4 Oct 2021
- 2021STraTA: Self-Training with Task Augmentation for Better Few-shot Learning13 Sep 2021
- 2023Sequential Recommendation with Diffusion Modelscited by 7
- 2023Sequential Recommendation with Diffusion Models10 Apr 2023
- 2022Correct-N-Contrast: A Contrastive Approach for Improving Robustness to Spurious Correlationscited by 171
- 2021Active Learning by Acquiring Contrastive Examplescited by 154
- 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 149
- 2021Supervised Contrastive Replay: Revisiting the Nearest Class Mean Classifier in Online Class-Incremental Continual Learningcited by 140
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2021Entailment as Few-Shot Learnercited by 122
- 2022Pretrained Language Models for Text Generation: A Surveycited by 121
- 2021CLIFF: Contrastive Learning for Improving Faithfulness and Factuality in Abstractive Summarizationcited by 120
- 2022WHEN FLUE MEETS FLANG: Benchmarks and Large Pre-trained Language Model for Financial Domaincited by 117
- 2021Self-Guided Contrastive Learning for BERT Sentence Representationscited by 103
- 2022Intent Contrastive Learning for Sequential Recommendationcited by 90
12 most cited of 255 All 255 (JSON)
- 2026Syntax vs. Semantics: How Transformers Learn Deep Dependencies26 Jun 2026
- 2026Aligning Implied Statements for Implicit Hate Speech Generalizability with Context-Bounded Semi-hard Negative Mining17 Jun 2026
- 2026Cross Paraphrastic Invariance Learning for Hallucination Detection6 Jun 2026
- 2026Contrastive Regularization for Accent-Robust ASR5 May 2026
- 2026G-Loss: Graph-Guided Fine-Tuning of Language Models28 Apr 2026
- 2026LLMSniffer: Detecting LLM-Generated Code via GraphCodeBERT and Supervised Contrastive Learning17 Apr 2026
- 2026Fine-tuning Timeseries Predictors Using Reinforcement Learning20 Mar 2026
- 2026Linguistically Informed Graph Model and Semantic Contrastive Learning for Korean Short Text Classification4 Mar 2026
- 2026A Generative Model for Joint Multiple Intent Detection and Slot Filling9 Feb 2026
- 2026ACL: Aligned Contrastive Learning Improves BERT and Multi-exit BERT Fine-tuning3 Feb 2026
- 2026RPNT: Robust Pre-trained Neural Transformer -- A Pathway for Generalized Motor Decoding25 Jan 2026
- 2026LLM-Guided Lifecycle-Aware Clustering of Multi-Turn Customer Support Conversations7 Jan 2026
12 newest of 255 All 255 (JSON)