Lune

NeurIPS2023Top-tier venue

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

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Localizing Memorization in SSL Vision Encoders cites Emerging Properties in Self-Supervised Vision Transformers
  • Localizing Memorization in SSL Vision Encoders cites ViP: A Differentially Private Foundation Model for Computer Vision
  • Localizing Memorization in SSL Vision Encoders cites A Simple Framework for Contrastive Learning of Visual Representations
  • Localizing Memorization in SSL Vision Encoders cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Localizing Memorization in SSL Vision Encoders cites Memorization in Self-Supervised Learning Improves Downstream Generalization
  • Emerging Properties in Self-Supervised Vision Transformers cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
  • Emerging Properties in Self-Supervised Vision Transformers cites A Simple Framework for Contrastive Learning of Visual Representations
  • Emerging Properties in Self-Supervised Vision Transformers cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • ViP: A Differentially Private Foundation Model for Computer Vision cites A Simple Framework for Contrastive Learning of Visual Representations
  • ViP: A Differentially Private Foundation Model for Computer Vision cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites A Simple Framework for Contrastive Learning of Visual Representations
  • Rethinking the Role of Verbatim Memorization in LLM Privacy cites Membership Inference Attacks Against Machine Learning Models
  • Rethinking the Role of Verbatim Memorization in LLM Privacy cites ViP: A Differentially Private Foundation Model for Computer Vision
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion Models cites Memorization in Self-Supervised Learning Improves Downstream Generalization
  • Memorization in Self-Supervised Learning Improves Downstream Generalization cites Emerging Properties in Self-Supervised Vision Transformers
  • Memorization in Self-Supervised Learning Improves Downstream Generalization cites Membership Inference Attacks Against Machine Learning Models
  • Memorization in Self-Supervised Learning Improves Downstream Generalization cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Finding NeMo: Localizing Neurons Responsible For Memorization in Diffusion ModelsDominik Hintersdorf, Lukas Struppek, Kristian Kersting, Adam Dziedzic et al.NeurIPS 2024 · 46 citations
  2. ViP: A Differentially Private Foundation Model for Computer VisionYaodong Yu, Maziar Sanjabi, Yi Ma, Kamalika Chaudhuri et al.ICML 2024 · 19 citations
  3. Memorization in Self-Supervised Learning Improves Downstream GeneralizationWenhao Wang, Muhammad Ahmad Kaleem, Adam Dziedzic, Michael Backes et al.ICLR 2024 · 19 citations
  4. Localizing Memorization in SSL Vision EncodersWenhao Wang, Adam Dziedzic, Michael Backes, Franziska BoenischNeurIPS 2024 · 11 citations
  5. Rethinking the Role of Verbatim Memorization in LLM PrivacyTom Sander, Bargav Jayaraman, Mark Ibrahim, Kamalika Chaudhuri et al.NeurIPS 2025 · 5 citations

Builds on20

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  4. Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
  5. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations

Related papers

  1. Measuring Dejavu Memorization EfficientlyNarine Kokhlikyan, Bargav Jayaraman, Florian Bordes, Chuan Guo et al.NeurIPS 2024 · 4 citations
  2. Bridging the Gap to Real-World Object-Centric LearningMaximilian Seitzer, Max Horn, Andrii Zadaianchuk, Dominik Zietlow et al.ICLR 2023 · 31 citations
  3. SUA: Stealthy Multimodal Large Language Model Unlearning AttackXianren Zhang, Hui Liu, Delvin Ce Zhang, Xianfeng Tang et al.EMNLP 2025
  4. Separating Knowledge and Perception with Procedural DataAdrián Rodríguez-Muñoz, Manel Baradad, Phillip Isola, Antonio TorralbaICML 2025
  5. Déjà Vu Memorization in Vision-Language ModelsBargav Jayaraman, Chuan Guo, Kamalika ChaudhuriNeurIPS 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines