paper-with-me

홈 › Papers

When hard negative sampling meets supervised contrastive learning

2023-08-28 · Zijun Long, George Killick, Richard McCreadie, Gerardo Aragon Camarasa, Zaiqiao Meng

State-of-the-art image models predominantly follow a two-stage strategy: pre-training on large datasets and fine-tuning with cross-entropy loss. Many studies have shown that using cross-entropy can result in sub-optimal generalisation and stability. While the supervised contrastive loss addresses some limitations of cross-entropy loss by focusing on intra-class similarities and inter-class differences, it neglects the importance of hard negative mining. We propose that models will benefit from performance improvement by weighting negative samples based on their dissimilarity to positive counterparts. In this paper, we introduce a new supervised contrastive learning objective, SCHaNe, which incorporates hard negative sampling during the fine-tuning phase. Without requiring specialized architectures, additional data, or extra computational resources, experimental results indicate that SCHaNe outperforms the strong baseline BEiT-3 in Top-1 accuracy across various benchmarks, with significant gains of up to $3.32\%$ in few-shot learning settings and $3.41\%$ in full dataset fine-tuning. Importantly, our proposed objective sets a new state-of-the-art for base models on ImageNet-1k, achieving an 86.14\% accuracy. Furthermore, we demonstrate that the proposed objective yields better embeddings and explains the improved effectiveness observed in our experiments.

📄 PDF Abstract BibTeX arXiv:2308.14893

Code (0)

등록된 구현이 없습니다.

Tasks

Contrastive LearningFew-Shot Learning

Methods 이 논문이 사용한 방법론

Contrastive Learning 설명 없음
Supervised Contrastive Loss 설명 없음
BASE 설명 없음

Similar Papers 제목 키워드 기반

Can LLM-Driven Hard Negative Sampling Empower Collaborative Filtering? Findings and Potentials

2025-04-07 · Chu Zhao, Enneng Yang, YuTing Liu, Jianzhe Zhao 외

Hard negative samples can accelerate model convergence and optimize decision boundaries, which is key to improving the performance of recommender systems. Although large language models (LLMs) possess strong semantic und…

Collaborative FilteringProfile GenerationRecommendation Systems

Multimodal Contrastive Learning with Hard Negative Sampling for Human Activity Recognition

2023-09-03 · Hyeongju Choi, Apoorva Beedu, Irfan Essa

Human Activity Recognition (HAR) systems have been extensively studied by the vision and ubiquitous computing communities due to their practical applications in daily life, such as smart homes, surveillance, and health m…

Activity RecognitionContrastive LearningHuman Activity Recognition

Contrastive Learning with Hard Negative Samples

2020-10-09 · ICLR 2021 1 · Joshua Robinson, Ching-Yao Chuang, Suvrit Sra, Stefanie Jegelka

How can you sample good negative examples for contrastive learning? We argue that, as with metric learning, contrastive learning of representations benefits from hard negative samples (i.e., points that are difficult to …

Contrastive LearningMetric Learning

Clustering-based hard negative sampling for supervised contrastive speaker verification

2025-07-23 · Piotr Masztalski, Michał Romaniuk, Jakub Żak, Mateusz Matuszewski 외 arxiv

In speaker verification, contrastive learning is gaining popularity as an alternative to the traditionally used classification-based approaches. Contrastive methods can benefit from an effective use of hard negative pair…

Representation LearningSpeaker VerificationContrastive Learning

Hard Negative Sampling via Regularized Optimal Transport for Contrastive Representation Learning

2021-11-04 · Ruijie Jiang, Prakash Ishwar, Shuchin Aeron

We study the problem of designing hard negative sampling distributions for unsupervised contrastive representation learning. We propose and analyze a novel min-max framework that seeks a representation which minimizes th…

Contrastive LearningRepresentation Learning