[Paper Review] Data Poisoning Attacks Against Multimodal Encoders
This paper presents the first comprehensive study of data poisoning attacks against multimodal encoders, targeting both visual and linguistic modalities simultaneously. It proposes three attack types that achieve high success rates—e.g., 91.8% top-5 accuracy in misrouting 'sheep' text to aeroplane images—while preserving model utility, and introduces novel pre-training and post-training defenses that effectively mitigate attacks with minimal performance drop.
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 also exposes the model to the risk of potential poisoning attacks, whereby the adversary aims to perturb the model's training data to trigger malicious behaviors in it. In contrast to previous work, only poisoning visual modality, in this work, we take the first step to studying poisoning attacks against multimodal models in both visual and linguistic modalities. Specially, we focus on answering two questions: (1) Is the linguistic modality also vulnerable to poisoning attacks? and (2) Which modality is most vulnerable? To answer the two questions, we propose three types of poisoning attacks against multimodal models. Extensive evaluations on different datasets and model architectures show that all three attacks can achieve significant attack performance while maintaining model utility in both visual and linguistic modalities. Furthermore, we observe that the poisoning effect differs between different modalities. To mitigate the attacks, we propose both pre-training and post-training defenses. We empirically show that both defenses can significantly reduce the attack performance while preserving the model's utility.
Motivation & Objective
- Investigate whether linguistic modality is vulnerable to data poisoning attacks in multimodal models.
- Compare the relative vulnerability of visual and linguistic modalities to poisoning attacks.
- Develop effective defenses against poisoning attacks in multimodal learning systems.
- Evaluate attack and defense performance across diverse datasets and model architectures.
- Demonstrate that poisoning affects visual and language encoders differently in terms of performance metrics.
Proposed method
- Propose three poisoning attack types targeting both visual and linguistic encoders in contrastive learning-based multimodal models.
- Design attacks that inject poisoned samples into the training data to misalign text and image embeddings toward a target class.
- Use a dual-branch contrastive learning framework where text and image encoders are jointly trained on paired data.
- Implement a pre-training defense by retraining the model on clean data to disrupt the poisoned alignment between modalities.
- Apply a post-training defense via fine-tuning on clean data with a carefully chosen learning rate to erase attack-induced biases.
- Evaluate attack success using metrics like Hit@K, MinRank, and accuracy on retrieval tasks across datasets like Flickr-PASCAL and COCO.
Experimental results
Research questions
- RQ1Is the linguistic modality vulnerable to data poisoning attacks in multimodal models, similar to the visual modality?
- RQ2Which modality—visual or linguistic—is more susceptible to poisoning attacks in terms of attack success and impact?
- RQ3How do poisoning attacks affect the performance of visual and language encoders differently?
- RQ4Can pre-training and post-training defenses effectively mitigate poisoning attacks without degrading model utility?
- RQ5What hyperparameters (e.g., learning rate, fine-tuning epochs) most significantly influence defense effectiveness?
Key findings
- The proposed poisoning attacks achieve a top-5 retrieval accuracy of 0.918 in mapping 'sheep' text to aeroplane images on the Flickr-PASCAL dataset.
- Poisoning the visual modality leads to significantly improved MinRank (e.g., 2.192 in Attack II), indicating better alignment with target images.
- Poisoning the linguistic modality results in higher Hit@1 and Hit@5 scores (e.g., 0.280 and 0.864), showing stronger immediate retrieval bias.
- The post-training defense reduces Hit@10 performance from 0.936 to 0.008 when fine-tuned with a 10^-5 learning rate, demonstrating strong mitigation.
- The pre-training defense effectively disrupts the poisoned alignment between modalities, reducing attack success even before fine-tuning.
- The defense remains effective with only one epoch of fine-tuning, and performance drops sharply within the first 50 batches (from 0.936 to 0.032 Hit@10).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.