HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

SynCo: Synthetic Hard Negatives for Contrastive Visual Representation Learning

Nikolaos Giakoumoglou; Tania Stathaki

SynCo: Synthetic Hard Negatives for Contrastive Visual Representation Learning

Abstract

Contrastive learning has become a dominant approach in self-supervised visual representation learning, but efficiently leveraging hard negatives, which are samples closely resembling the anchor, 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 strong representation learning, surpassing MoCo-v2 by +0.4% and MoCHI by +1.0% on ImageNet ILSVRC-2012 linear evaluation. It also transfers more effectively to detection tasks achieving strong results on PASCAL VOC detection (57.2% AP) and significantly improving over MoCo-v2 on COCO detection (+1.0% AP) and instance segmentation (+0.8% AP). Our synthetic hard negative generation approach significantly enhances visual representations learned through self-supervised contrastive learning.

Code Repositories

giakoumoglou/synco
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-segmentation-on-coco-val2017SynCo (ResNet-50) 200ep
mask AP: 35.4
object-detection-on-coco-val2017SynCo (ResNet-50) 200ep
Bounding Box AP: 40.4
object-detection-on-pascal-voc-2012-testSynCo (ResNet-50) 200ep
Bounding Box AP: 57.2
self-supervised-image-classification-onSynCo (ResNet-50) 800ep
Number of Params: 24M
Top 1 Accuracy: 70.6%
Top 5 Accuracy: 89.8%
self-supervised-image-classification-onSynCo (ResNet-50) 200ep
Number of Params: 24M
Top 1 Accuracy: 67.9%
Top 5 Accuracy: 88
semi-supervised-image-classification-on-1SynCo (ResNet-50) 800ep
Number of params: 24M
Top 1 Accuracy: 50.8%
Top 5 Accuracy: 77.5%
semi-supervised-image-classification-on-2SynCo (ResNet-50) 800ep
Number of params: 24M
Top 1 Accuracy: 66.6%
Top 5 Accuracy: 88.0%

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
SynCo: Synthetic Hard Negatives for Contrastive Visual Representation Learning | Papers | HyperAI