On Compositions of Transformations in Contrastive Self-Supervised Learning

Mandela Patrick, Yuki M. Asano, Polina Kuznetsova, Ruth Fong, João F. Henriques +2 more
3/9/2020
cs.CV
contrastive-ssl

Official code: facebookresearch/GDT (47 stars, Python, Apache-2.0, last commit 2021-08-29).

Abstract

In the image domain, excellent representations can be learned by inducing invariance to content-preserving transformations via noise contrastive learning. In this paper, we generalize contrastive learning to a wider set of transformations, and their compositions, for which either invariance or distinctiveness is sought.

Show full abstract

We show that it is not immediately obvious how existing methods such as SimCLR can be extended to do so. Instead, we introduce a number of formal requirements that all contrastive formulations must satisfy, and propose a practical construction which satisfies these requirements. In order to maximise the reach of this analysis, we express all components of noise contrastive formulations as the choice of certain generalized transformations of the data (GDTs), including data sampling. We then consider videos as an example of data in which a large variety of transformations are applicable, accounting for the extra modalities -- for which we analyze audio and text -- and the dimension of time. We find that being invariant to certain transformations and distinctive to others is critical to learning effective video representations, improving the state-of-the-art for multiple benchmarks by a large margin, and even surpassing supervised pretraining.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

We present a framework for training multi-modal deep learning models on unlabelled video data by forcing the network to learn invariances to transformations applied to both the audio and video streams.

474Python, ShellJul 5, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{patrick2020compositions,
  title  = {On Compositions of Transformations in Contrastive Self-Supervised Learning},
  author = {Mandela Patrick and Yuki M. Asano and Polina Kuznetsova and Ruth Fong and João F. Henriques and Geoffrey Zweig and Andrea Vedaldi},
  year   = {2020},
  eprint = {2003.04298},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.04298}
}

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/2003.04298.svg)](https://codeofpaper.com/paper/2003.04298)

Discussion