Compressive Visual Representations

Kuang-Huei Lee, Anurag Arnab, Sergio Guadarrama, John Canny, Ian Fischer
9/27/2021
cs.LGcs.CVcs.IT
contrastive-ssl

Official code: google-research/compressive-visual-representations (37 stars, Python, Apache-2.0, TensorFlow, last commit 2022-01-18).

Abstract

Learning effective visual representations that generalize well without human supervision is a fundamental problem in order to apply Machine Learning to a wide variety of tasks. Recently, two families of self-supervised methods, contrastive learning and latent bootstrapping, exemplified by SimCLR and BYOL respectively, have made significant progress.

Show full abstract

In this work, we hypothesize that adding explicit information compression to these algorithms yields better and more robust representations. We verify this by developing SimCLR and BYOL formulations compatible with the Conditional Entropy Bottleneck (CEB) objective, allowing us to both measure and control the amount of compression in the learned representation, and observe their impact on downstream tasks. Furthermore, we explore the relationship between Lipschitz continuity and compression, showing a tractable lower bound on the Lipschitz constant of the encoders we learn. As Lipschitz continuity is closely related to robustness, this provides a new explanation for why compressed models are more robust. Our experiments confirm that adding compression to SimCLR and BYOL significantly improves linear evaluation accuracies and model robustness across a wide range of domain shifts. In particular, the compressed version of BYOL achieves 76.0% Top-1 linear evaluation accuracy on ImageNet with ResNet-50, and 78.8% with ResNet-50 2x.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

Tensorflow 2 implementations of the C-SimCLR and C-BYOL self-supervised visual representation methods from "Compressive Visual Representations" (NeurIPS 2021)

375Python, ShellOct 18, 20214 years agoApache-2.0
deep-learningmachine-learningself-supervised-learningtensorflowvisual-representation

Similar Papers

Cite this paper

@article{lee2021compressive,
  title  = {Compressive Visual Representations},
  author = {Kuang-Huei Lee and Anurag Arnab and Sergio Guadarrama and John Canny and Ian Fischer},
  year   = {2021},
  eprint = {2109.12909},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.12909}
}

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

Discussion