Detecting Backdoor Samples in Contrastive Language Image Pretraining
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Contrastive language-image pretraining (CLIP) has been found to be vulnerable to poisoning backdoor attacks where the adversary can achieve an almost perfect attack success rate on CLIP models by poisoning only 0.01% of the training dataset. This raises security concerns on the current practice of pretraining large-scale models on unscrutinized web data using CLIP. In this work, we analyze the representations of backdoor-poisoned samples learned by CLIP models and find that they exhibit unique characteristics in their local subspace, i.e., their local neighborhoods are far more sparse than that of clean samples. Based on this finding, we conduct a systematic study on detecting CLIP backdoor attacks and show that these attacks can be easily and efficiently detected by traditional density ratio-based local outlier detectors, whereas existing backdoor sample detection methods fail. Our experiments also reveal that an unintentional backdoor already exists in the original CC3M dataset and has been trained into a popular open-source model released by OpenCLIP. Based on our detector, one can clean up a million-scale web dataset (e.g., CC3M) efficiently within 15 minutes using 4 Nvidia A100 GPUs. The code is publicly available in our hrefhttps://github.com/HanxunH/Detect-CLIP-Backdoor-SamplesGitHub repository.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. First posted on arXiv 3 Feb 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 7; 2026: 10.
17 papers.
Sort:
By area:
- 2025X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIPcited by 21
- 2025BackdoorVLM: A Benchmark for Backdoor Attacks and Defenses on Vision-Language Modelscited by 5
- 2025A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Modelscited by 3
- 2025Pre-training CLIP against Data Poisoning with Optimal Transport-based Matching and Alignmentcited by 3
- 2026BadCLIP++: Stealthy and Persistent Backdoors in Multimodal Contrastive Learningcited by 2
- 2026Dimensionality-Aware Anomaly Detection in Learned Representations of Self-Supervised Speech Modelscited by 2
- 2025PersGuard: Preventing Malicious Personalization in Text-to-Image Diffusion Models via Model Backdoorscited by 1
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimensioncited by 1
- 2026Right Predictions, Misleading Explanations: On the Vulnerability of Vision-Language Model Explanationscited by 1
- 2025Assimilation Matters: Model-level Backdoor Detection in Vision-Language Pretrained Modelscited by 0
- 2026CLIP-Inspector: Model-Level Backdoor Detection for Prompt-Tuned CLIP via OOD Trigger Inversioncited by 0
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecastingcited by 0
5 more
- 2026The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-trainingcited by 0
- 2026When Modalities Fail to Tango: Conformal Backdoor Detection in Multimodal Contrastive Learningcited by 0
- 2026DEFUSE: Generalizable Backdoor Defense for Self-Supervised Encoders with Generative Priorscited by 0
- 2026LAYERSCOPE: A Layerwise Characterization of Video and Multimodal Learned Representationscited by 0
- 2026TraceGuard: Adaptive Multimodal Poison Filtering through Cross-Feature Rank Agreementcited by 0
- 2026TraceGuard: Adaptive Multimodal Poison Filtering through Cross-Feature Rank Agreement24 Sep 2026
- 2026LAYERSCOPE: A Layerwise Characterization of Video and Multimodal Learned Representations23 Sep 2026
- 2026DEFUSE: Generalizable Backdoor Defense for Self-Supervised Encoders with Generative Priors26 Aug 2026
- 2026When Modalities Fail to Tango: Conformal Backdoor Detection in Multimodal Contrastive Learning4 Aug 2026
- 2026The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-training28 Jun 2026
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecasting21 May 2026
- 2026Right Predictions, Misleading Explanations: On the Vulnerability of Vision-Language Model Explanations15 May 2026
- 2026Dimensionality-Aware Anomaly Detection in Learned Representations of Self-Supervised Speech Models4 May 2026
- 2026CLIP-Inspector: Model-Level Backdoor Detection for Prompt-Tuned CLIP via OOD Trigger Inversion10 Apr 2026
- 2026BadCLIP++: Stealthy and Persistent Backdoors in Multimodal Contrastive Learning19 Feb 2026
- 2025Assimilation Matters: Model-level Backdoor Detection in Vision-Language Pretrained Models29 Nov 2025
- 2025BackdoorVLM: A Benchmark for Backdoor Attacks and Defenses on Vision-Language Models24 Nov 2025
5 more
- 2025Pre-training CLIP against Data Poisoning with Optimal Transport-based Matching and Alignment23 Sep 2025
- 2025X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP8 May 2025
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimension5 Mar 2025
- 2025A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Models26 Feb 2025
- 2025PersGuard: Preventing Malicious Personalization in Text-to-Image Diffusion Models via Model Backdoors22 Feb 2025
- 2025X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIPcited by 21
- 2025BackdoorVLM: A Benchmark for Backdoor Attacks and Defenses on Vision-Language Modelscited by 5
- 2026Right Predictions, Misleading Explanations: On the Vulnerability of Vision-Language Model Explanationscited by 1
- 2025Assimilation Matters: Model-level Backdoor Detection in Vision-Language Pretrained Modelscited by 0
- 2026CLIP-Inspector: Model-Level Backdoor Detection for Prompt-Tuned CLIP via OOD Trigger Inversioncited by 0
- 2026Right Predictions, Misleading Explanations: On the Vulnerability of Vision-Language Model Explanations15 May 2026
- 2026CLIP-Inspector: Model-Level Backdoor Detection for Prompt-Tuned CLIP via OOD Trigger Inversion10 Apr 2026
- 2025Assimilation Matters: Model-level Backdoor Detection in Vision-Language Pretrained Models29 Nov 2025
- 2025BackdoorVLM: A Benchmark for Backdoor Attacks and Defenses on Vision-Language Models24 Nov 2025
- 2025X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP8 May 2025
- 2025Pre-training CLIP against Data Poisoning with Optimal Transport-based Matching and Alignmentcited by 3
- 2026BadCLIP++: Stealthy and Persistent Backdoors in Multimodal Contrastive Learningcited by 2
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimensioncited by 1
- 2026The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-trainingcited by 0
- 2026When Modalities Fail to Tango: Conformal Backdoor Detection in Multimodal Contrastive Learningcited by 0
- 2026When Modalities Fail to Tango: Conformal Backdoor Detection in Multimodal Contrastive Learning4 Aug 2026
- 2026The Platonic Defense: Backdoor Defense for Self-Supervised Encoders in the Era of Large Scale Pre-training28 Jun 2026
- 2026BadCLIP++: Stealthy and Persistent Backdoors in Multimodal Contrastive Learning19 Feb 2026
- 2025Pre-training CLIP against Data Poisoning with Optimal Transport-based Matching and Alignment23 Sep 2025
- 2025Geometry-Guided Adversarial Prompt Detection via Curvature and Local Intrinsic Dimension5 Mar 2025
- 2025A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Modelscited by 3
- 2025PersGuard: Preventing Malicious Personalization in Text-to-Image Diffusion Models via Model Backdoorscited by 1
- 2026DEFUSE: Generalizable Backdoor Defense for Self-Supervised Encoders with Generative Priorscited by 0
- 2026DEFUSE: Generalizable Backdoor Defense for Self-Supervised Encoders with Generative Priors26 Aug 2026
- 2025A Dual-Purpose Framework for Backdoor Defense and Backdoor Amplification in Diffusion Models26 Feb 2025
- 2025PersGuard: Preventing Malicious Personalization in Text-to-Image Diffusion Models via Model Backdoors22 Feb 2025
- 2026Dimensionality-Aware Anomaly Detection in Learned Representations of Self-Supervised Speech Modelscited by 2
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecastingcited by 0
- 2026LAYERSCOPE: A Layerwise Characterization of Video and Multimodal Learned Representationscited by 0
- 2026TraceGuard: Adaptive Multimodal Poison Filtering through Cross-Feature Rank Agreementcited by 0
- 2026TraceGuard: Adaptive Multimodal Poison Filtering through Cross-Feature Rank Agreement24 Sep 2026
- 2026LAYERSCOPE: A Layerwise Characterization of Video and Multimodal Learned Representations23 Sep 2026
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecasting21 May 2026
- 2026Dimensionality-Aware Anomaly Detection in Learned Representations of Self-Supervised Speech Models4 May 2026