paper-with-me

홈 › Papers

Not All Negatives are Equal: Label-Aware Contrastive Loss for Fine-grained Text Classification

2021-09-12 · EMNLP 2021 11 · Varsha Suresh, Desmond C. Ong

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.

📄 PDF Abstract BibTeX arXiv:2109.05427

Code (1)

varsha33/lcl_loss 공식 구현 pytorch

Tasks

AllClassificationEmotion ClassificationSentiment Analysistext-classificationText Classification

Similar Papers 제목 키워드 기반

SEAL: Semantic-Aware Hierarchical Learning for Generalized Category Discovery

2025-10-21 · Zhenqi He, Yuanpei Liu, Kai Han arxiv

This paper investigates the problem of Generalized Category Discovery (GCD). Given a partially labelled dataset, GCD aims to categorize all unlabelled images, regardless of whether they belong to known or unknown classes…

Contrastive Learning

Smoothed Graph Contrastive Learning via Seamless Proximity Integration

2024-02-23 · Maysam Behmanesh, Maks Ovsjanikov

Graph contrastive learning (GCL) aligns node representations by classifying node pairs into positives and negatives using a selection process that typically relies on establishing correspondences within two augmented gra…

Contrastive Learning

Positive-Negative Equal Contrastive Loss for Semantic Segmentation

2022-07-04 · Jing Wang, Jiangyun Li, Wei Li, Lingfei Xuan 외

The contextual information is critical for various computer vision tasks, previous works commonly design plug-and-play modules and structural losses to effectively extract and aggregate the global context. These methods …

Contrastive LearningSemantic Segmentation

CAST: Contrastive Adaptation and Distillation for Semi-Supervised Instance Segmentation

2025-05-28 · Pardis Taghavi, Tian Liu, Renjie Li, Reza Langari 외

Instance segmentation demands costly per-pixel annotations and large models. We introduce CAST, a semi-supervised knowledge distillation (SSKD) framework that compresses pretrained vision foundation models (VFM) into com…

Domain AdaptationInstance SegmentationKnowledge DistillationPseudo Label+2

Empowering Collaborative Filtering with Principled Adversarial Contrastive Loss

2023-10-28 · NeurIPS 2023 11 · An Zhang, Leheng Sheng, Zhibo Cai, Xiang Wang 외

Contrastive Learning (CL) has achieved impressive performance in self-supervised learning tasks, showing superior generalization ability. Inspired by the success, adopting CL into collaborative filtering (CF) is prevaili…

Collaborative FilteringContrastive LearningData AugmentationRecommendation Systems+1