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

21 Dec 2022  ยท  Julien Denize, Jaonary Rabarisoa, Astrid Orcesi, Romain Hรฉrault ยท

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.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Self-Supervised Action Recognition HMDB51 SCE (R3D-50) Top-1 Accuracy 74.7 # 4
Pre-Training Dataset Kinetics400 # 1
Frozen false # 1
Self-supervised Video Retrieval HMDB51 SCE (R3D-50) Top-1 45.9 # 1
Pretrain Kinetics400 # 1
Self-supervised Video Retrieval HMDB51 SCE (R3D-18) Top-1 40.1 # 2
Pretrain Kinetics400 # 1
Self-Supervised Action Recognition UCF101 SCE (R3D-50) 3-fold Accuracy 95.3 # 7
Pre-Training Dataset Kinetics400 # 1
Frozen false # 1
Self-supervised Video Retrieval UCF101 SCE (R3D-18) Top-1 74.5 # 2
Pretrain Kinetics400 # 1
Self-supervised Video Retrieval UCF101 SCE (R3D-50) Top-1 83.9 # 1
Pretrain Kinetics400 # 1

Methods