HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Similarity Contrastive Estimation for Image and Video Soft Contrastive Self-Supervised Learning

Julien Denize; Jaonary Rabarisoa; Astrid Orcesi; Romain Hérault

Similarity Contrastive Estimation for Image and Video Soft Contrastive Self-Supervised Learning

Abstract

Contrastive representation learning has proven to be an effective self-supervised learning method for images and videos. Most successful approaches are based on Noise Contrastive Estimation (NCE) and use different views of an instance as positives that should be contrasted with other instances, called negatives, that are considered as noise. However, several instances in a dataset are drawn from the same distribution and share underlying semantic information. A good data representation should contain relations between the instances, or semantic similarity and dissimilarity, that contrastive learning harms by considering all negatives as noise. To circumvent this issue, we propose a novel formulation of contrastive learning using semantic similarity between instances called Similarity Contrastive Estimation (SCE). Our training objective is a soft contrastive one that brings the positives closer and estimates a continuous distribution to push or pull negative instances based on their learned similarities. We validate empirically our approach on both image and video representation learning. We show that SCE performs competitively with the state of the art on the ImageNet linear evaluation protocol for fewer pretraining epochs and that it generalizes to several downstream image tasks. We also show that SCE reaches state-of-the-art results for pretraining video representation and that the learned representation can generalize to video downstream tasks.

Code Repositories

cea-list/sce
pytorch
Mentioned in GitHub
juliendenize/eztorch
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
self-supervised-action-recognition-on-hmdb51SCE (R3D-50)
Frozen: false
Pre-Training Dataset: Kinetics400
Top-1 Accuracy: 74.7
self-supervised-action-recognition-on-ucf101SCE (R3D-50)
3-fold Accuracy: 95.3
Frozen: false
Pre-Training Dataset: Kinetics400

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