Why Do Self-Supervised Models Transfer? Investigating the Impact of Invariance on Downstream Tasks

Linus Ericsson, Henry Gouk, Timothy M. Hospedales
11/22/2021
cs.CV
contrastive-ssl

Official code: linusericsson/ssl-invariances (16 stars, Python, MIT, last commit 2021-12-07).

Abstract

Self-supervised learning is a powerful paradigm for representation learning on unlabelled images. A wealth of effective new methods based on instance matching rely on data-augmentation to drive learning, and these have reached a rough agreement on an augmentation scheme that optimises popular recognition benchmarks.

Show full abstract

However, there is strong reason to suspect that different tasks in computer vision require features to encode different (in)variances, and therefore likely require different augmentation strategies. In this paper, we measure the invariances learned by contrastive methods and confirm that they do learn invariance to the augmentations used and further show that this invariance largely transfers to related real-world changes in pose and lighting. We show that learned invariances strongly affect downstream task performance and confirm that different downstream tasks benefit from polar opposite (in)variances, leading to performance loss when the standard augmentation strategy is used. Finally, we demonstrate that a simple fusion of representations with complementary invariances ensures wide transferability to all the diverse downstream tasks considered.

View on arXivView PDF

Code Implementations(1)

MIT

Official code for the paper "Why Do Self-Supervised Models Transfer? Investigating the Impact of Invariance on Downstream Tasks".

161PythonNov 22, 20214 years agoMIT

Similar Papers

Cite this paper

@article{ericsson2021selfsupervised,
  title  = {Why Do Self-Supervised Models Transfer? Investigating the Impact of Invariance on Downstream Tasks},
  author = {Linus Ericsson and Henry Gouk and Timothy M. Hospedales},
  year   = {2021},
  eprint = {2111.11398},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.11398}
}

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

Discussion