Not All Negatives are Equal: Label-Aware Contrastive Loss for Fine-grained Text Classification
Not on the map. Why?
Abstract (arXiv)
Fine-grained classification involves dealing with datasets with larger number of classes with subtle differences between them. Guiding the model to focus on differentiating dimensions between these commonly confusable classes is key to improving performance on fine-grained tasks. In this work, we analyse the contrastive fine-tuning of pre-trained language models on two fine-grained text classification tasks, emotion classification and sentiment analysis. We adaptively embed class relationships into a contrastive objective function to help differently weigh the positives and negatives, and in particular, weighting closely confusable negatives more than less similar negative examples. We find that Label-aware Contrastive Loss outperforms previous contrastive methods, in the presence of larger number and/or more confusable classes, and helps models to produce output distributions that are more differentiated.
Key facts. Cited by 43 papers in the map (data through 7 Oct 2026). Builds on 40 of its 56 references that are in the map. First posted on arXiv 12 Sep 2021.
Builds on
40 of 56 references.
References · 40
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2020Supervised Contrastive Learningcited by 2,803
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2019Contrastive Multiview Codingcited by 1,297
- 2018Co-teaching: Robust Training of Deep Neural Networks with Extremely Noisy Labelscited by 1,053
- 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2016Sequence-Level Knowledge Distillationcited by 761
28 more
- 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 733
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
- 2020Recipes for building an open-domain chatbotcited by 593
- 2020Learning from Noisy Labels with Deep Neural Networks: A Surveycited by 580
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 479
- 2020Keystroke Dynamics as Part of Lifeloggingcited by 334
- 2020Combating noisy labels by agreement: A joint training method with co-regularizationcited by 289
- 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 275
- 2020CERT: Contrastive Self-supervised Learning for Language Understandingcited by 169
- 2014Evaluation of Output Embeddings for Fine-Grained Image Classificationcited by 166
- 2017Active Bias: Training More Accurate Neural Networks by Emphasizing High Variance Samplescited by 147
- 2019Fine-Grained Analysis of Propaganda in News Articlescited by 130
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2019Fine-grained Fact Verification with Kernel Graph Attention Networkcited by 105
- 2019Knowledge Distillation from Internal Representationscited by 87
- 2020Contrastive Distillation on Intermediate Representations for Language Model Compressioncited by 57
- 2020SKEP: Sentiment Knowledge Enhanced Pre-training for Sentiment Analysiscited by 54
- 2019Fine-grained Sentiment Classification using BERTcited by 38
- 2017WASSA-2017 Shared Task on Emotion Intensitycited by 37
- 2020SentiBERT: A Transferable Transformer-Based Architecture for Compositional Sentiment Semanticscited by 30
- 2020BERT-EMD: Many-to-Many Layer Mapping for BERT Compression with Earth Mover's Distancecited by 27
- 2019Deep Learning for Fine-Grained Image Analysis: A Surveycited by 18
- 2018Evolutionary Data Measures: Understanding the Difficulty of Text Classification Taskscited by 11
- 2021Using Knowledge-Embedded Attention to Augment Pre-trained Language Models for Fine-Grained Emotion Recognitioncited by 10
- 2019Learning a Matching Model with Co-teaching for Multi-turn Response Selection in Retrieval-based Dialogue Systemscited by 7
- 2017Multitask Learning for Fine-Grained Twitter Sentiment Analysiscited by 5
- 2021Co-matching: Combating Noisy Labels by Augmentation Anchoringcited by 4
Built on by
Citing papers per year: 2022: 12; 2023: 12; 2024: 11; 2025: 7; 2026: 1.
43 papers.
Sort:
By area:
- 2023AnglE-optimized Text Embeddingscited by 98
- 2024Large Language Models Produce Responses Perceived to be Empathiccited by 36
- 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relationscited by 22
- 2022A Survey of Methods for Addressing Class Imbalance in Deep-Learning Based Natural Language Processingcited by 20
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmarkcited by 19
- 2022CPL: Counterfactual Prompt Learning for Vision and Language Modelscited by 18
- 2025Contrastive Representation Regularization for Vision-Language-Action Modelscited by 16
- 2022Fine-grained Category Discovery under Coarse-grained supervision with Hierarchical Weighted Self-contrastive Learningcited by 13
- 2022A Multi-level Supervised Contrastive Learning Framework for Low-Resource Natural Language Inferencecited by 8
- 2022Exploiting Contrastive Learning and Numerical Evidence for Confusing Legal Judgment Predictioncited by 8
- 2023Label-Aware Hyperbolic Embeddings for Fine-grained Emotion Classificationcited by 8
- 2024Simple-Sampling and Hard-Mixup with Prototypes to Rebalance Contrastive Learning for Text Classificationcited by 8
31 more
- 2022Label Anchored Contrastive Learning for Language Understandingcited by 7
- 2023Subjective Crowd Disagreements for Subjective Data: Uncovering Meaningful CrowdOpinion with Population-level Learningcited by 7
- 2023Joint Multiple Intent Detection and Slot Filling with Supervised Contrastive Learning and Self-Distillationcited by 7
- 2022CL-XABSA: Contrastive Learning for Cross-lingual Aspect-based Sentiment Analysiscited by 6
- 2023Using Positive Matching Contrastive Loss with Facial Action Units to mitigate bias in Facial Expression Recognitioncited by 4
- 2023W-procer: Weighted Prototypical Contrastive Learning for Medical Few-Shot Named Entity Recognitioncited by 4
- 2023Controlled Text Generation with Hidden Representation Transformationscited by 4
- 2023Instances and Labels: Hierarchy-aware Joint Supervised Contrastive Learning for Hierarchical Multi-Label Text Classificationcited by 4
- 2023DNA: Denoised Neighborhood Aggregation for Fine-grained Category Discoverycited by 4
- 2023The Skipped Beat: A Study of Sociopragmatic Understanding in LLMs for 64 Languagescited by 3
- 2024Learning Label Hierarchy with Supervised Contrastive Learningcited by 3
- 2022Type-enriched Hierarchical Contrastive Strategy for Fine-Grained Entity Typingcited by 2
- 2022A Benchmark Study of Contrastive Learning for Arabic Social Meaningcited by 2
- 2025CoDiEmb: A Collaborative yet Distinct Framework for Unified Representation Learning in Information Retrieval and Semantic Textual Similaritycited by 2
- 2022Contrastive Learning of Sociopragmatic Meaning in Social Mediacited by 1
- 2022Dictionary-Assisted Supervised Contrastive Learningcited by 1
- 2024Constrained Multi-Layer Contrastive Learning for Implicit Discourse Relationship Recognitioncited by 1
- 2025Semantic Adapter for Universal Text Embeddings: Diagnosing and Mitigating Negation Blindness to Enhance Universalitycited by 1
- 2025Supervised Contrastive Learning for Ordinal Engagement Measurementcited by 1
- 2025Bridging the Gap Between Multimodal Foundation Models and World Modelscited by 1
- 2022A Chinese Spelling Check Framework Based on Reverse Contrastive Learningcited by 0
- 2023Contrastive Bootstrapping for Label Refinementcited by 0
- 2024Visual Analytics for Fine-grained Text Classification Models and Datasetscited by 0
- 2024SensoryT5: Infusing Sensorimotor Norms into T5 for Enhanced Fine-grained Emotion Classificationcited by 0
- 2024Automatic Alignment of Discourse Relations of Different Discourse Annotation Frameworkscited by 0
- 2024Improved Text Emotion Prediction Using Combined Valence and Arousal Ordinal Classificationcited by 0
- 2024Improving Node Representation by Boosting Target-Aware Contrastive Losscited by 0
- 2024Class-Aware Contrastive Optimization for Imbalanced Text Classificationcited by 0
- 2025Advancing Sentiment Analysis: A Novel LSTM Framework with Multi-head Attentioncited by 0
- 2025Domain Lexical Knowledge-based Word Embedding Learning for Text Classification under Small Datacited by 0
- 2026Contextual Discrepancy-Aware Contrastive Learning for Robust Medical Time Series Diagnosis in Small-Sample Scenarioscited by 0
- 2026Contextual Discrepancy-Aware Contrastive Learning for Robust Medical Time Series Diagnosis in Small-Sample Scenarios12 Jan 2026
- 2025Bridging the Gap Between Multimodal Foundation Models and World Models4 Oct 2025
- 2025Contrastive Representation Regularization for Vision-Language-Action Models2 Oct 2025
- 2025CoDiEmb: A Collaborative yet Distinct Framework for Unified Representation Learning in Information Retrieval and Semantic Textual Similarity15 Aug 2025
- 2025Domain Lexical Knowledge-based Word Embedding Learning for Text Classification under Small Data2 Jun 2025
- 2025Supervised Contrastive Learning for Ordinal Engagement Measurement27 May 2025
- 2025Semantic Adapter for Universal Text Embeddings: Diagnosing and Mitigating Negation Blindness to Enhance Universality1 Apr 2025
- 2025Advancing Sentiment Analysis: A Novel LSTM Framework with Multi-head Attention11 Mar 2025
- 2024Class-Aware Contrastive Optimization for Imbalanced Text Classification29 Oct 2024
- 2024Improving Node Representation by Boosting Target-Aware Contrastive Loss4 Oct 2024
- 2024Constrained Multi-Layer Contrastive Learning for Implicit Discourse Relationship Recognition7 Sep 2024
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmark27 May 2024
31 more
- 2024Simple-Sampling and Hard-Mixup with Prototypes to Rebalance Contrastive Learning for Text Classification19 May 2024
- 2024Improved Text Emotion Prediction Using Combined Valence and Arousal Ordinal Classification2 Apr 2024
- 2024Automatic Alignment of Discourse Relations of Different Discourse Annotation Frameworks29 Mar 2024
- 2024Large Language Models Produce Responses Perceived to be Empathic26 Mar 2024
- 2024SensoryT5: Infusing Sensorimotor Norms into T5 for Enhanced Fine-grained Emotion Classification22 Mar 2024
- 2024Visual Analytics for Fine-grained Text Classification Models and Datasets21 Mar 2024
- 2024Learning Label Hierarchy with Supervised Contrastive Learning31 Jan 2024
- 2023The Skipped Beat: A Study of Sociopragmatic Understanding in LLMs for 64 Languages23 Oct 2023
- 2023DNA: Denoised Neighborhood Aggregation for Fine-grained Category Discovery16 Oct 2023
- 2023Instances and Labels: Hierarchy-aware Joint Supervised Contrastive Learning for Hierarchical Multi-Label Text Classification8 Oct 2023
- 2023AnglE-optimized Text Embeddings22 Sep 2023
- 2023Joint Multiple Intent Detection and Slot Filling with Supervised Contrastive Learning and Self-Distillation28 Aug 2023
- 2023Subjective Crowd Disagreements for Subjective Data: Uncovering Meaningful CrowdOpinion with Population-level Learning7 Jul 2023
- 2023Label-Aware Hyperbolic Embeddings for Fine-grained Emotion Classification26 Jun 2023
- 2023Contrastive Bootstrapping for Label Refinement7 Jun 2023
- 2023Controlled Text Generation with Hidden Representation Transformations30 May 2023
- 2023W-procer: Weighted Prototypical Contrastive Learning for Medical Few-Shot Named Entity Recognition29 May 2023
- 2023Using Positive Matching Contrastive Loss with Facial Action Units to mitigate bias in Facial Expression Recognition8 Mar 2023
- 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relations6 Jan 2023
- 2022Exploiting Contrastive Learning and Numerical Evidence for Confusing Legal Judgment Prediction15 Nov 2022
- 2022Dictionary-Assisted Supervised Contrastive Learning27 Oct 2022
- 2022A Chinese Spelling Check Framework Based on Reverse Contrastive Learning25 Oct 2022
- 2022A Benchmark Study of Contrastive Learning for Arabic Social Meaning22 Oct 2022
- 2022CPL: Counterfactual Prompt Learning for Vision and Language Models19 Oct 2022
- 2022Fine-grained Category Discovery under Coarse-grained supervision with Hierarchical Weighted Self-contrastive Learning14 Oct 2022
- 2022A Survey of Methods for Addressing Class Imbalance in Deep-Learning Based Natural Language Processing10 Oct 2022
- 2022Type-enriched Hierarchical Contrastive Strategy for Fine-Grained Entity Typing22 Aug 2022
- 2022A Multi-level Supervised Contrastive Learning Framework for Low-Resource Natural Language Inference31 May 2022
- 2022Label Anchored Contrastive Learning for Language Understanding26 Apr 2022
- 2022CL-XABSA: Contrastive Learning for Cross-lingual Aspect-based Sentiment Analysis2 Apr 2022
- 2022Contrastive Learning of Sociopragmatic Meaning in Social Media15 Mar 2022
- 2023AnglE-optimized Text Embeddingscited by 98
- 2024Large Language Models Produce Responses Perceived to be Empathiccited by 36
- 2023Facilitating Contrastive Learning of Discourse Relational Senses by Exploiting the Hierarchy of Sense Relationscited by 22
- 2022A Survey of Methods for Addressing Class Imbalance in Deep-Learning Based Natural Language Processingcited by 20
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmarkcited by 19
- 2022CPL: Counterfactual Prompt Learning for Vision and Language Modelscited by 18
- 2022Fine-grained Category Discovery under Coarse-grained supervision with Hierarchical Weighted Self-contrastive Learningcited by 13
- 2022A Multi-level Supervised Contrastive Learning Framework for Low-Resource Natural Language Inferencecited by 8
- 2022Exploiting Contrastive Learning and Numerical Evidence for Confusing Legal Judgment Predictioncited by 8
- 2023Label-Aware Hyperbolic Embeddings for Fine-grained Emotion Classificationcited by 8
- 2024Simple-Sampling and Hard-Mixup with Prototypes to Rebalance Contrastive Learning for Text Classificationcited by 8
- 2022Label Anchored Contrastive Learning for Language Understandingcited by 7
12 most cited of 41 All 41 (JSON)
- 2026Contextual Discrepancy-Aware Contrastive Learning for Robust Medical Time Series Diagnosis in Small-Sample Scenarios12 Jan 2026
- 2025CoDiEmb: A Collaborative yet Distinct Framework for Unified Representation Learning in Information Retrieval and Semantic Textual Similarity15 Aug 2025
- 2025Domain Lexical Knowledge-based Word Embedding Learning for Text Classification under Small Data2 Jun 2025
- 2025Supervised Contrastive Learning for Ordinal Engagement Measurement27 May 2025
- 2025Semantic Adapter for Universal Text Embeddings: Diagnosing and Mitigating Negation Blindness to Enhance Universality1 Apr 2025
- 2025Advancing Sentiment Analysis: A Novel LSTM Framework with Multi-head Attention11 Mar 2025
- 2024Class-Aware Contrastive Optimization for Imbalanced Text Classification29 Oct 2024
- 2024Improving Node Representation by Boosting Target-Aware Contrastive Loss4 Oct 2024
- 2024Constrained Multi-Layer Contrastive Learning for Implicit Discourse Relationship Recognition7 Sep 2024
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmark27 May 2024
- 2024Simple-Sampling and Hard-Mixup with Prototypes to Rebalance Contrastive Learning for Text Classification19 May 2024
- 2024Improved Text Emotion Prediction Using Combined Valence and Arousal Ordinal Classification2 Apr 2024
12 newest of 41 All 41 (JSON)