High Fidelity Visualization of What Your Self-Supervised Representation Knows About

Florian Bordes, Randall Balestriero, Pascal Vincent
12/16/2021
85 citations
cs.LGcs.AI
contrastive-ssl

Official code: facebookresearch/RCDM (111 stars, Python, MIT, last commit 2023-05-03).

Abstract

Discovering what is learned by neural networks remains a challenge. In self-supervised learning, classification is the most common task used to evaluate how good a representation is.

Show full abstract

However, relying only on such downstream task can limit our understanding of what information is retained in the representation of a given input. In this work, we showcase the use of a Representation Conditional Diffusion Model (RCDM) to visualize in data space the representations learned by self-supervised models. The use of RCDM is motivated by its ability to generate high-quality samples -- on par with state-of-the-art generative models -- while ensuring that the representations of those samples are faithful i.e. close to the one used for conditioning. By using RCDM to analyze self-supervised models, we are able to clearly show visually that i) SSL (backbone) representation are not invariant to the data augmentations they were trained with -- thus debunking an often restated but mistaken belief; ii) SSL post-projector embeddings appear indeed invariant to these data augmentation, along with many other data symmetries; iii) SSL representations appear more robust to small adversarial perturbation of their inputs than representations trained in a supervised manner; and iv) that SSL-trained representations exhibit an inherent structure that can be explored thanks to RCDM visualization and enables image manipulation.

View on arXivView PDF

Code Implementations(1)

MIT

Visualizing representations with diffusion based conditional generative model.

11114PythonAug 8, 20223 years agoMIT

Similar Papers

Cite this paper

@article{bordes2021high,
  title  = {High Fidelity Visualization of What Your Self-Supervised Representation Knows About},
  author = {Florian Bordes and Randall Balestriero and Pascal Vincent},
  year   = {2021},
  eprint = {2112.09164},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09164}
}

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

Discussion