Do SSL Models Have Déjà Vu? A Case of Unintended Memorization in Self-supervised Learning

Casey Meehan, Florian Bordes, Pascal Vincent, Kamalika Chaudhuri, Chuan Guo
4/26/2023
cs.CVcs.CRcs.LG

Official code: facebookresearch/DejaVu (36 stars, last commit 2023-05-02).

Abstract

Self-supervised learning (SSL) algorithms can produce useful image representations by learning to associate different parts of natural images with one another. However, when taken to the extreme, SSL models can unintendedly memorize specific parts in individual training samples rather than learning semantically meaningful associations. In this work, we perform a systematic study of the unintended memorization of image-specific information in SSL models -- which we refer to as déjà vu memorization. Concretely, we show that given the trained model and a crop of a training image containing only the background (e.g., water, sky, grass), it is possible to infer the foreground object with high accuracy or even visually reconstruct it. Furthermore, we show that déjà vu memorization is common to different SSL algorithms, is exacerbated by certain design choices, and cannot be detected by conventional techniques for evaluating representation quality. Our study of déjà vu memorization reveals previously unknown privacy risks in SSL models, as well as suggests potential practical mitigation strategies. Code is available at https://github.com/facebookresearch/DejaVu.

View on arXivView PDF

Code Implementations(1)

Repository for the paper Do SSL Models Have Déjà Vu? A Case of Unintended Memorization in Self-supervised Learning

361Shell, PythonApr 17, 20233 years agoNOASSERTION

Similar Papers

Cite this paper

@article{meehan2023models,
  title  = {Do SSL Models Have Déjà Vu? A Case of Unintended Memorization in Self-supervised Learning},
  author = {Casey Meehan and Florian Bordes and Pascal Vincent and Kamalika Chaudhuri and Chuan Guo},
  year   = {2023},
  eprint = {2304.13850},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.13850v3},
  journal = {NEURIPS 2023 2023}
}

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

Discussion