Lune

CVPR2023Top-tier venue

Difficulty-Based Sampling for Debiased Contrastive Representation Learning

Taeuk Jang, Xiaoqian Wang

Abstract

Contrastive learning is a self-supervised representation learning method that achieves milestone performance in various classification tasks. However, due to its unsupervised fashion, it suffers from the false negative sample problem: randomly drawn negative samples that are assumed to have a different label but actually have the same label as the anchor. This deteriorates the performance of contrastive learning as it contradicts the motivation of contrasting semantically similar and dissimilar pairs. This raised the attention and the importance of finding legitimate negative samples, which should be addressed by distinguishing between 1) true vs. false negatives; 2) easy vs. hard negatives. However, previous works were limited to the statistical approach to handle false negative and hard negative samples with hyperparameters tuning. In this paper, we go beyond the statistical approach and explore the connection between hard negative samples and data bias. We introduce a novel debiased contrastive learning method to explore hard negatives by relative difficulty referencing the bias amplifying counterpart. We propose triplet loss for training a biased encoder that focuses more on easy negative samples. We theoretically show that the triplet loss amplifies the bias in self-supervised representation learning. Finally, we empirically show the proposed method improves downstream classification performance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hard Negative Mixing for Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Hard Negative Mixing for Contrastive Learning cites Supervised Contrastive Learning
  • A Simple Framework for Contrastive Learning of Visual Representations cites Data-Efficient Image Recognition with Contrastive Predictive Coding
  • How does Labeling Error Impact Contrastive Learning? A Perspective from Data Dimensionality Reduction cites A Simple Framework for Contrastive Learning of Visual Representations
  • How does Labeling Error Impact Contrastive Learning? A Perspective from Data Dimensionality Reduction cites Supervised Contrastive Learning
  • Contrastive Learning with Hard Negative Samples cites Data-Efficient Image Recognition with Contrastive Predictive Coding
  • Contrastive Learning with Hard Negative Samples cites Hard Negative Mixing for Contrastive Learning
  • Contrastive Learning with Hard Negative Samples cites A Simple Framework for Contrastive Learning of Visual Representations
  • SNAPHARD CONTRAST LEARNING cites A Simple Framework for Contrastive Learning of Visual Representations
  • Supervised Contrastive Learning cites Data-Efficient Image Recognition with Contrastive Predictive Coding
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Think Twice: Test-Time Reasoning for Robust CLIP Zero-Shot ClassificationShenyu Lu, Zhaoying Pan, Xiaoqian WangICCV 2025 · 1 citation
  2. Evo-Retriever: LLM-Guided Curriculum Evolution with Viewpoint-Pathway Collaboration for Multimodal Document RetrievalWeiqing Li, Jinyue Guo, Yaqi Wang, Haiyang Xiao et al.CVPR 2026 · 1 citation
  3. Attention IoU: Examining Biases in CelebA using Attention MapsAaron Serianni, Tyler Zhu, Olga Russakovsky, Vikram V. RamaswamyCVPR 2025
  4. How does Labeling Error Impact Contrastive Learning? A Perspective from Data Dimensionality ReductionJun Chen, Hong Chen, Yonghua Yu, Yiming YingICML 2025
  5. SNAPHARD CONTRAST LEARNINGChangpu Meng, Jie Yang, Wanqing Li, Yi GuoICLR 2026

Builds on18

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. Data-Efficient Image Recognition with Contrastive Predictive CodingOlivier J. HénaffICML 2020 · 1,553 citations
  4. Contrastive Learning with Hard Negative SamplesJoshua David Robinson, Ching-Yao Chuang, Suvrit Sra, Stefanie JegelkaICLR 2021 · 999 citations
  5. Hard Negative Mixing for Contrastive LearningYannis Kalantidis, Mert Bülent Sariyildiz, Noé Pion, Philippe Weinzaepfel et al.NeurIPS 2020 · 805 citations

Related papers

  1. Debiased Contrastive LearningChing-Yao Chuang, Joshua Robinson, Yen-Chen Lin, Antonio Torralba et al.NeurIPS 2020 · 761 citations
  2. Generating Counterfactual Hard Negative Samples for Graph Contrastive LearningHaoran Yang, Hongxu Chen, Sixiao Zhang, Xiangguo Sun et al.WWW 2023 · 36 citations
  3. Incremental False Negative Detection for Contrastive LearningTsai-Shien Chen, Wei-Chih Hung, Hung-Yu Tseng, Shao-Yi Chien et al.ICLR 2022 · 82 citations
  4. Unbiased Classification through Bias-Contrastive and Bias-Balanced LearningYoungkyu Hong, Eunho YangNeurIPS 2021 · 94 citations
  5. Solving Inefficiency of Self-supervised Representation LearningGuangrun Wang, Keze Wang, Guangcong Wang, Philip H. S. Torr et al.ICCV 2021 · 64 citations
Dusk over the sea between two cliffs drawn in fine vertical lines