SynCo: Synthetic Hard Negatives for Contrastive Visual Representation Learning

Nikolaos Giakoumoglou, Tania Stathaki
10/3/2024
6 citations
cs.CVcs.AI
contrastive-ssl

Official code: giakoumoglou/synco (3 stars, Python, MIT, PyTorch, last commit 2026-04-07).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

giakoumoglou/syncoOfficial100%
PyTorchMIT

PyTorch implementation of SynCo: https://arxiv.org/abs/2410.02401

30Python, ShellJun 29, 20247 months agoMIT
computer-visioncontrastive-learningdeep-learningpytorchrepresentation-learning+2 more

Similar Papers

Cite this paper

@article{giakoumoglou2024synco,
  title  = {SynCo: Synthetic Hard Negatives for Contrastive Visual Representation Learning},
  author = {Nikolaos Giakoumoglou and Tania Stathaki},
  year   = {2024},
  eprint = {2410.02401},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.02401v7}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.02401.svg)](https://codeofpaper.com/paper/2410.02401)

Discussion