LeakyCLIP: Extracting Training Data from CLIP
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
- 2023On Memorization in Diffusion Models4 Oct
- 2023Understanding and Mitigating Copying in Diffusion Models31 May
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
Other references · 39
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,937
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
- 2023Extracting Training Data from Diffusion Modelscited by 732
- 2021Image Segmentation Using Text and Image Promptscited by 512
27 more
- 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 424
- 2024Long-CLIP: Unlocking the Long-Text Capability of CLIPcited by 300
- 2023Demystifying CLIP Datacited by 270
- 2023Challenges and Applications of Large Language Modelscited by 254
- 2019The Secret Revealer: Generative Model-Inversion Attacks Against Deep Neural Networkscited by 246
- 2022A Self-Supervised Descriptor for Image Copy Detectioncited by 176
- 2024Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings for Robust Large Vision-Language Modelscited by 120
- 2020Knowledge-Enriched Distributional Model Inversion Attackscited by 67
- 2023BadCLIP: Trigger-Aware Prompt Learning for Backdoor Attacks on CLIPcited by 67
- 2022Plug & Play Attacks: Towards Robust and Flexible Model Inversion Attackscited by 60
- 2022Label-Only Model Inversion Attacks via Boundary Repulsioncited by 56
- 2023Re-thinking Model Inversion Attacks Against Deep Neural Networkscited by 39
- 2024Privacy Leakage on DNNs: A Survey of Model Inversion Attacks and Defensescited by 30
- 2023Pseudo Label-Guided Model Inversion Attack via Conditional Generative Adversarial Networkcited by 28
- 2023Contrastive Learning Is Spectral Clustering On Similarity Graphcited by 25
- 2022Does CLIP Know My Face?cited by 19
- 2024Memorization in Self-Supervised Learning Improves Downstream Generalizationcited by 18
- 2022Do Perceptually Aligned Gradients Imply Adversarial Robustness?cited by 15
- 2024Memorization in deep learning: A surveycited by 15
- 2024What do we learn from inverting CLIP models?cited by 13
- 2023CLIPAG: Towards Generator-Free Text-to-Image Generationcited by 12
- 2023LDP-Feat: Image Features with Local Differential Privacycited by 10
- 2024D'ej`a Vu Memorization in Vision-Language Modelscited by 9
- 2022SecretGen: Privacy Recovery on Pre-Trained Models via Distribution Discriminationcited by 7
- 2024TwinDiffusion: Enhancing Coherence and Efficiency in Panoramic Image Generation with Diffusion Modelscited by 5
- 2025Captured by Captions: On Memorization and its Mitigation in CLIP Modelscited by 4
- 2025CapRecover: A Cross-Modality Feature Inversion Attack Framework on Vision Language Modelscited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026RA-Det: Towards Universal Detection of AI-Generated Images via Robustness Asymmetrycited by 1
- 2026Semantic Leakage from Image Embeddingscited by 0
- 2026TrustCLIP: Learning Private Visual Features via Adversarial Reconstructioncited by 0
- 2026CLeaR: A Unified Framework for Resolving the Leakage-Degradation Dilemma in Style Transfercited by 0
- 2026CLeaR: A Unified Framework for Resolving the Leakage-Degradation Dilemma in Style Transfer29 Sep 2026
- 2026TrustCLIP: Learning Private Visual Features via Adversarial Reconstruction5 Jul 2026
- 2026RA-Det: Towards Universal Detection of AI-Generated Images via Robustness Asymmetry2 Mar 2026
- 2026Semantic Leakage from Image Embeddings30 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2025Bridging the Task Gap: Multi-Task Adversarial Transferability in CLIP and Its Derivatives
- 2023Better Safe than Sorry: Pre-training CLIP against Targeted Data Poisoning and Backdoor Attacks
- 2025ToxicTextCLIP: Text-Based Poisoning and Backdoor Attacks on CLIP Pre-training
- 2024Zero-Shot Class Unlearning in CLIP with Synthetic Samples
- 2025Erasing CLIP Memories: Non-Destructive, Data-Free Zero-Shot class Unlearning in CLIP Models
- 2026Memorization In Stable Diffusion Is Unexpectedly Driven by CLIP Embeddings
- 2025Pre-training CLIP against Data Poisoning with Optimal Transport-based Matching and Alignment
- 2024Diffusion Feedback Helps CLIP See Better