mlsanityData to 14 Oct 2026

LeakyCLIP: Extracting Training Data from CLIP

arXiv 2508.00756 ↗First posted 1 Aug 2025cs.CRcited by 4

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

Understanding the memorization and privacy leakage risks in Contrastive Language--Image Pretraining (CLIP) is critical for ensuring the security of multimodal models. Recent studies have demonstrated the feasibility of extracting sensitive training examples from diffusion models, with conditional diffusion models exhibiting a stronger tendency to memorize and leak information. In this work, we investigate data memorization and extraction risks in CLIP through the lens of CLIP inversion, a process that aims to reconstruct training images from text prompts. To this end, we introduce LeakyCLIP, a novel attack framework designed to achieve high-quality, semantically accurate image reconstruction from CLIP embeddings. We identify three key challenges in CLIP inversion: 1) non-robust features, 2) limited visual semantics in text embeddings, and 3) low reconstruction fidelity. To address these challenges, LeakyCLIP employs 1) adversarial fine-tuning to enhance optimization smoothness, 2) linear transformation-based embedding alignment, and 3) Stable Diffusion-based refinement to improve fidelity. Empirical results demonstrate the superiority of LeakyCLIP, achieving over 258% improvement in Structural Similarity Index Measure (SSIM) for ViT-B-16 compared to baseline methods on LAION-2B subset. Furthermore, we uncover a pervasive leakage risk, showing that training data membership can even be successfully inferred from the metrics of low-fidelity reconstructions. Our work introduces a practical method for CLIP inversion while offering novel insights into the nature and scope of privacy risks in multimodal models. The code is in the https://github.com/dongdongunique/LeakyCLIP

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 42 of its 59 references that are in the map. First posted on arXiv 1 Aug 2025.

Builds on

42 of 59 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023On Memorization in Diffusion Models4 Oct
  2. 2023Understanding and Mitigating Copying in Diffusion Models31 May
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec

Other references · 39

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  4. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  5. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  6. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  7. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  8. 2020Extracting Training Data from Large Language Modelscited by 2,189
  9. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
  10. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  11. 2023Extracting Training Data from Diffusion Modelscited by 732
  12. 2021Image Segmentation Using Text and Image Promptscited by 512
27 more
  1. 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 424
  2. 2024Long-CLIP: Unlocking the Long-Text Capability of CLIPcited by 300
  3. 2023Demystifying CLIP Datacited by 270
  4. 2023Challenges and Applications of Large Language Modelscited by 254
  5. 2019The Secret Revealer: Generative Model-Inversion Attacks Against Deep Neural Networkscited by 246
  6. 2022A Self-Supervised Descriptor for Image Copy Detectioncited by 176
  7. 2024Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Modelscited by 120
  8. 2020Knowledge-Enriched Distributional Model Inversion Attackscited by 67
  9. 2023BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIPcited by 67
  10. 2022Plug & Play Attacks: Towards Robust and Flexible Model Inversion Attackscited by 60
  11. 2022Label-Only Model Inversion Attacks via Boundary Repulsioncited by 56
  12. 2023Re-thinking Model Inversion Attacks Against Deep Neural Networkscited by 39
  13. 2024Privacy Leakage on DNNs: A Survey of Model Inversion Attacks and Defensescited by 30
  14. 2023Pseudo Label-Guided Model Inversion Attack via Conditional Generative Adversarial Networkcited by 28
  15. 2023Contrastive Learning Is Spectral Clustering On Similarity Graphcited by 25
  16. 2022Does CLIP Know My Face?cited by 19
  17. 2024Memorization in Self-Supervised Learning Improves Downstream Generalizationcited by 18
  18. 2022Do Perceptually Aligned Gradients Imply Adversarial Robustness?cited by 15
  19. 2024Memorization in deep learning: A surveycited by 15
  20. 2024What do we learn from inverting CLIP models?cited by 13
  21. 2023CLIPAG: Towards Generator-Free Text-to-Image Generationcited by 12
  22. 2023LDP-Feat: Image Features with Local Differential Privacycited by 10
  23. 2024D'ej`a Vu Memorization in Vision-Language Modelscited by 9
  24. 2022SecretGen: Privacy Recovery on Pre-Trained Models via Distribution Discriminationcited by 7
  25. 2024TwinDiffusion: Enhancing Coherence and Efficiency in Panoramic Image Generation with Diffusion Modelscited by 5
  26. 2025Captured by Captions: On Memorization and its Mitigation in CLIP Modelscited by 4
  27. 2025CapRecover: A Cross-Modality Feature Inversion Attack Framework on Vision Language Modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Bridging the Task Gap: Multi-Task Adversarial Transferability in CLIP and Its Derivatives
  2. 2023Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attacks
  3. 2025ToxicTextCLIP: Text-Based Poisoning and Backdoor Attacks on CLIP Pre-training
  4. 2024Zero-Shot Class Unlearning in CLIP with Synthetic Samples
  5. 2025Erasing CLIP Memories: Non-Destructive, Data-Free Zero-Shot class Unlearning in CLIP Models
  6. 2026Memorization In Stable Diffusion Is Unexpectedly Driven by CLIP Embeddings
  7. 2025Pre-training CLIP against Data Poisoning with Optimal Transport-based Matching and Alignment
  8. 2024Diffusion Feedback Helps CLIP See Better