[Paper Review] Boosting Contrastive Self-Supervised Learning with False Negative Cancellation
This paper proposes False Negative Cancellation (FNC) to improve contrastive self-supervised learning by identifying and mitigating false negatives—negative pairs from the same semantic class. Using a simple, label-free method to detect false negatives with ~40% accuracy on ImageNet, FNC applies elimination and attraction strategies, achieving a 5.8% absolute top-1 accuracy gain over prior SOTA in the 1% supervised setting, with negligible computational overhead.
Self-supervised representation learning has made significant leaps fueled by progress in contrastive learning, which seeks to learn transformations that embed positive input pairs nearby, while pushing negative pairs far apart. While positive pairs can be generated reliably (e.g., as different views of the same image), it is difficult to accurately establish negative pairs, defined as samples from different images regardless of their semantic content or visual features. A fundamental problem in contrastive learning is mitigating the effects of false negatives. Contrasting false negatives induces two critical issues in representation learning: discarding semantic information and slow convergence. In this paper, we propose novel approaches to identify false negatives, as well as two strategies to mitigate their effect, i.e. false negative elimination and attraction, while systematically performing rigorous evaluations to study this problem in detail. Our method exhibits consistent improvements over existing contrastive learning-based methods. Without labels, we identify false negatives with 40% accuracy among 1000 semantic classes on ImageNet, and achieve 5.8% absolute improvement in top-1 accuracy over the previous state-of-the-art when finetuning with 1% labels. Our code is available at https://github.com/google-research/fnc.
Motivation & Objective
- To address the fundamental problem of false negatives in contrastive self-supervised learning, where negative pairs from the same semantic class hinder representation learning.
- To develop a label-free method for identifying false negatives in contrastive learning without relying on semantic annotations.
- To propose and evaluate two strategies—false negative elimination and attraction—to mitigate the negative impact of false negatives on contrastive objectives.
- To demonstrate consistent improvements across multiple benchmarks, including linear evaluation, semi-supervised learning, and downstream transfer tasks.
Proposed method
- Proposes a score-based method to identify potential false negatives using feature similarity between anchor and candidate samples, without requiring labels.
- Employs a max-aggregation strategy to compute a confidence score for each negative sample, filtering out those likely to be false negatives.
- Introduces two mitigation strategies: (1) false negative elimination, which removes problematic negatives from the contrastive loss, and (2) false negative attraction, which actively pulls such pairs together.
- Uses a threshold-based filtering mechanism (threshold = 0.7) and top-k selection (k=10) to focus on high-confidence false negatives.
- Integrates the FNC mechanism into standard contrastive frameworks like SimCLR v2 and MoCo v2, with minimal computational overhead.
- Employs a 3-layer MLP projector head and standard data augmentations (crop, color jitter, blur, RandAugment), with LARS optimizer and cosine learning rate decay.
Experimental results
Research questions
- RQ1How accurately can false negatives be identified in contrastive self-supervised learning without access to labels or class information?
- RQ2What is the impact of false negatives on convergence speed and representation quality in contrastive learning?
- RQ3Can false negative cancellation strategies—elimination and attraction—improve performance across diverse evaluation protocols?
- RQ4How do FNC strategies interact with existing techniques like multi-crop training and momentum contrast?
- RQ5To what extent can FNC improve performance in low-data regimes, such as 1% labeled data on ImageNet?
Key findings
- The method identifies false negatives with approximately 40% accuracy among 1,000 ImageNet classes without labels, demonstrating the feasibility of detecting false negatives in a self-supervised setting.
- In linear evaluation, the model achieves 74.4% top-1 accuracy on ImageNet, a 2.7% improvement over SimCLR v2 and a 1.4% gain over the previous SOTA among contrastive methods.
- In the semi-supervised setting with only 1% labeled data, the model achieves 63.7% top-1 accuracy, representing a 5.8% absolute improvement over the prior SOTA.
- The FNC method is highly effective when combined with multi-crop augmentation, doubling the accuracy gain (4% improvement) compared to baseline multi-crop, with negligible additional computational cost.
- On 12 downstream classification datasets, the FNC-based model outperforms both SimCLR v1 and v2 on all but one dataset in linear evaluation, and matches or exceeds BYOL performance in fine-tuning.
- In Pascal VOC object detection, the FNC model outperforms MoCo v2, SwAV, and even the supervised baseline, demonstrating strong transferability of the learned features.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.