TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/SynCo: Synthetic Hard Negatives in Contrastive Learning fo...

SynCo: Synthetic Hard Negatives in Contrastive Learning for Better Unsupervised Visual Representations

Nikolaos Giakoumoglou, Tania Stathaki

2024-10-03Unsupervised Pre-trainingSelf-Supervised Image ClassificationImage ClassificationRepresentation LearningSelf-Supervised LearningSemantic SegmentationContrastive LearningInstance SegmentationObject DetectionImage SegmentationLinear evaluationSemi-Supervised Image Classification
PaperPDFCode(official)

Abstract

Contrastive learning has become a dominant approach in self-supervised visual representation learning. Hard negatives - samples closely resembling the anchor - are key to enhancing learned representations' discriminative power. However, efficiently leveraging hard negatives remains challenging. We introduce SynCo (Synthetic Negatives in Contrastive learning), a novel approach that improves model performance by generating synthetic hard negatives on the representation space. Building on the MoCo framework, SynCo introduces six strategies for creating diverse synthetic hard negatives on-the-fly with minimal computational overhead. SynCo achieves faster training and better representation learning, reaching 67.9% top-1 accuracy on ImageNet ILSVRC-2012 linear evaluation after 200 pretraining epochs, surpassing MoCo's 67.5% using the same ResNet-50 encoder. It also transfers more effectively to detection tasks: on PASCAL VOC, it outperforms both the supervised baseline and MoCo with 82.5% AP; on COCO, it sets new benchmarks with 40.9% AP for bounding box detection and 35.5% AP for instance segmentation. Our synthetic hard negative generation approach significantly enhances visual representations learned through self-supervised contrastive learning. Code is available at https://github.com/giakoumoglou/synco.

Results

TaskDatasetMetricValueModel
Object DetectionPASCAL VOC 2012 testBounding Box AP57.2SynCo (ResNet-50) 200ep
Object DetectionCOCO val2017Bounding Box AP40.4SynCo (ResNet-50) 200ep
Image ClassificationImageNetTop 5 Accuracy88SynCo (ResNet-50) 200ep
3DPASCAL VOC 2012 testBounding Box AP57.2SynCo (ResNet-50) 200ep
3DCOCO val2017Bounding Box AP40.4SynCo (ResNet-50) 200ep
2D Semantic SegmentationCOCO val2017mask AP35.4SynCo (ResNet-50) 200ep
2D ClassificationPASCAL VOC 2012 testBounding Box AP57.2SynCo (ResNet-50) 200ep
2D ClassificationCOCO val2017Bounding Box AP40.4SynCo (ResNet-50) 200ep
2D Object DetectionPASCAL VOC 2012 testBounding Box AP57.2SynCo (ResNet-50) 200ep
2D Object DetectionCOCO val2017Bounding Box AP40.4SynCo (ResNet-50) 200ep
Image SegmentationCOCO val2017mask AP35.4SynCo (ResNet-50) 200ep
16kPASCAL VOC 2012 testBounding Box AP57.2SynCo (ResNet-50) 200ep
16kCOCO val2017Bounding Box AP40.4SynCo (ResNet-50) 200ep

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17