Revisiting the Adversarial Robustness of Vision Language Models: a Multimodal Perspective

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhou, Wanqi, Bai, Shuanghao, Mandic, Danilo P., Zhao, Qibin, Chen, Badong
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917834150379520
author Zhou, Wanqi
Bai, Shuanghao
Mandic, Danilo P.
Zhao, Qibin
Chen, Badong
author_facet Zhou, Wanqi
Bai, Shuanghao
Mandic, Danilo P.
Zhao, Qibin
Chen, Badong
contents Pretrained vision-language models (VLMs) like CLIP exhibit exceptional generalization across diverse downstream tasks. While recent studies reveal their vulnerability to adversarial attacks, research to date has primarily focused on enhancing the robustness of image encoders against image-based attacks, with defenses against text-based and multimodal attacks remaining largely unexplored. To this end, this work presents the first comprehensive study on improving the adversarial robustness of VLMs against attacks targeting image, text, and multimodal inputs. This is achieved by proposing multimodal contrastive adversarial training (MMCoA). Such an approach strengthens the robustness of both image and text encoders by aligning the clean text embeddings with adversarial image embeddings, and adversarial text embeddings with clean image embeddings. The robustness of the proposed MMCoA is examined against existing defense methods over image, text, and multimodal attacks on the CLIP model. Extensive experiments on 15 datasets across two tasks reveal the characteristics of different adversarial defense methods under distinct distribution shifts and dataset complexities across the three attack types. This paves the way for a unified framework of adversarial robustness against different modality attacks, opening up new possibilities for securing VLMs against multimodal attacks. The code is available at https://github.com/ElleZWQ/MMCoA.git.
format Preprint
id arxiv_https___arxiv_org_abs_2404_19287
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Revisiting the Adversarial Robustness of Vision Language Models: a Multimodal Perspective
Zhou, Wanqi
Bai, Shuanghao
Mandic, Danilo P.
Zhao, Qibin
Chen, Badong
Computer Vision and Pattern Recognition
Pretrained vision-language models (VLMs) like CLIP exhibit exceptional generalization across diverse downstream tasks. While recent studies reveal their vulnerability to adversarial attacks, research to date has primarily focused on enhancing the robustness of image encoders against image-based attacks, with defenses against text-based and multimodal attacks remaining largely unexplored. To this end, this work presents the first comprehensive study on improving the adversarial robustness of VLMs against attacks targeting image, text, and multimodal inputs. This is achieved by proposing multimodal contrastive adversarial training (MMCoA). Such an approach strengthens the robustness of both image and text encoders by aligning the clean text embeddings with adversarial image embeddings, and adversarial text embeddings with clean image embeddings. The robustness of the proposed MMCoA is examined against existing defense methods over image, text, and multimodal attacks on the CLIP model. Extensive experiments on 15 datasets across two tasks reveal the characteristics of different adversarial defense methods under distinct distribution shifts and dataset complexities across the three attack types. This paves the way for a unified framework of adversarial robustness against different modality attacks, opening up new possibilities for securing VLMs against multimodal attacks. The code is available at https://github.com/ElleZWQ/MMCoA.git.
title Revisiting the Adversarial Robustness of Vision Language Models: a Multimodal Perspective
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.19287