ImgTrojan: Jailbreaking Vision-Language Models with ONE Image

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tao, Xijia, Zhong, Shuai, Li, Lei, Liu, Qi, Kong, Lingpeng
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916975159017472
author Tao, Xijia
Zhong, Shuai
Li, Lei
Liu, Qi
Kong, Lingpeng
author_facet Tao, Xijia
Zhong, Shuai
Li, Lei
Liu, Qi
Kong, Lingpeng
contents There has been an increasing interest in the alignment of large language models (LLMs) with human values. However, the safety issues of their integration with a vision module, or vision language models (VLMs), remain relatively underexplored. In this paper, we propose a novel jailbreaking attack against VLMs, aiming to bypass their safety barrier when a user inputs harmful instructions. A scenario where our poisoned (image, text) data pairs are included in the training data is assumed. By replacing the original textual captions with malicious jailbreak prompts, our method can perform jailbreak attacks with the poisoned images. Moreover, we analyze the effect of poison ratios and positions of trainable parameters on our attack's success rate. For evaluation, we design two metrics to quantify the success rate and the stealthiness of our attack. Together with a list of curated harmful instructions, a benchmark for measuring attack efficacy is provided. We demonstrate the efficacy of our attack by comparing it with baseline methods.
format Preprint
id arxiv_https___arxiv_org_abs_2403_02910
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ImgTrojan: Jailbreaking Vision-Language Models with ONE Image
Tao, Xijia
Zhong, Shuai
Li, Lei
Liu, Qi
Kong, Lingpeng
Computer Vision and Pattern Recognition
Artificial Intelligence
There has been an increasing interest in the alignment of large language models (LLMs) with human values. However, the safety issues of their integration with a vision module, or vision language models (VLMs), remain relatively underexplored. In this paper, we propose a novel jailbreaking attack against VLMs, aiming to bypass their safety barrier when a user inputs harmful instructions. A scenario where our poisoned (image, text) data pairs are included in the training data is assumed. By replacing the original textual captions with malicious jailbreak prompts, our method can perform jailbreak attacks with the poisoned images. Moreover, we analyze the effect of poison ratios and positions of trainable parameters on our attack's success rate. For evaluation, we design two metrics to quantify the success rate and the stealthiness of our attack. Together with a list of curated harmful instructions, a benchmark for measuring attack efficacy is provided. We demonstrate the efficacy of our attack by comparing it with baseline methods.
title ImgTrojan: Jailbreaking Vision-Language Models with ONE Image
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2403.02910