paper-with-me

Papers

CleanCLIP: Mitigating Data Poisoning Attacks in Multimodal Contrastive Learning

2023-03-06 · ICCV 2023 1 · Hritik Bansal, Nishad Singhi, Yu Yang, Fan Yin, Aditya Grover, Kai-Wei Chang

Multimodal contrastive pretraining has been used to train multimodal representation models, such as CLIP, on large amounts of paired image-text data. However, previous studies have revealed that such models are vulnerable to backdoor attacks. Specifically, when trained on backdoored examples, CLIP learns spurious correlations between the embedded backdoor trigger and the target label, aligning their representations in the joint embedding space. Injecting even a small number of poisoned examples, such as 75 examples in 3 million pretraining data, can significantly manipulate the model's behavior, making it difficult to detect or unlearn such correlations. To address this issue, we propose CleanCLIP, a finetuning framework that weakens the learned spurious associations introduced by backdoor attacks by independently re-aligning the representations for individual modalities. We demonstrate that unsupervised finetuning using a combination of multimodal contrastive and unimodal self-supervised objectives for individual modalities can significantly reduce the impact of the backdoor attack. Additionally, we show that supervised finetuning on task-specific labeled image data removes the backdoor trigger from the CLIP vision encoder. We show empirically that CleanCLIP maintains model performance on benign examples while erasing a range of backdoor attacks on multimodal contrastive learning. The code and checkpoints are available at https://github.com/nishadsinghi/CleanCLIP.

📄 PDF Abstract BibTeX arXiv:2303.03323

Code (1)

nishadsinghi/cleanclip 공식 구현 pytorch

Tasks

Backdoor AttackContrastive LearningData Poisoning

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

Effective Backdoor Mitigation in Vision-Language Models Depends on the Pre-training Objective

2023-11-25 · Sahil Verma, Gantavya Bhatt, Avi Schwarzschild, Soumye Singhal 외

Despite the advanced capabilities of contemporary machine learning (ML) models, they remain vulnerable to adversarial and backdoor attacks. This vulnerability is particularly concerning in real-world deployments, where c…

zero-shot-classificationZero-Shot Learning

ToxicTextCLIP: Text-Based Poisoning and Backdoor Attacks on CLIP Pre-training

2025-11-01 · Xin Yao, Haiyang Zhao, Yimin Chen, Jiawei Guo 외 arxiv

The Contrastive Language-Image Pretraining (CLIP) model has significantly advanced vision-language modeling by aligning image-text pairs from large-scale web data through self-supervised contrastive learning. Yet, its re…

Contrastive Learning

Benchmarking Poisoning Attacks against Retrieval-Augmented Generation

2025-05-24 · Baolei Zhang, Haoran Xin, Jiatong Li, Dongzhe Zhang 외

Retrieval-Augmented Generation (RAG) has proven effective in mitigating hallucinations in large language models by incorporating external knowledge during inference. However, this integration introduces new security vuln…

BenchmarkingQuestion AnsweringRAGRetrieval+1

Mitigating Data Poisoning in Text Classification with Differential Privacy

2021-11-01 · Findings (EMNLP) 2021 11 · Chang Xu, Jun Wang, Francisco Guzmán, Benjamin Rubinstein 외

NLP models are vulnerable to data poisoning attacks. One type of attack can plant a backdoor in a model by injecting poisoned examples in training, causing the victim model to misclassify test instances which include a s…

ClassificationData Poisoningtext-classificationText Classification

Data Poisoning Attacks Against Multimodal Encoders

2022-09-30 · Ziqing Yang, Xinlei He, Zheng Li, Michael Backes 외

Recently, the newly emerged multimodal models, which leverage both visual and linguistic modalities to train powerful encoders, have gained increasing attention. However, learning from a large-scale unlabeled dataset als…

Contrastive LearningData Poisoning