Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Mu, Honglin, He, Han, Zhou, Yuxin, Feng, Yunlong, Xu, Yang, Qin, Libo, Shi, Xiaoming, Liu, Zeming, Han, Xudong, Shi, Qi, Zhu, Qingfu, Che, Wanxiang
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917946789462016
author Mu, Honglin
He, Han
Zhou, Yuxin
Feng, Yunlong
Xu, Yang
Qin, Libo
Shi, Xiaoming
Liu, Zeming
Han, Xudong
Shi, Qi
Zhu, Qingfu
Che, Wanxiang
author_facet Mu, Honglin
He, Han
Zhou, Yuxin
Feng, Yunlong
Xu, Yang
Qin, Libo
Shi, Xiaoming
Liu, Zeming
Han, Xudong
Shi, Qi
Zhu, Qingfu
Che, Wanxiang
contents Large language model (LLM) safety is a critical issue, with numerous studies employing red team testing to enhance model security. Among these, jailbreak methods explore potential vulnerabilities by crafting malicious prompts that induce model outputs contrary to safety alignments. Existing black-box jailbreak methods often rely on model feedback, repeatedly submitting queries with detectable malicious instructions during the attack search process. Although these approaches are effective, the attacks may be intercepted by content moderators during the search process. We propose an improved transfer attack method that guides malicious prompt construction by locally training a mirror model of the target black-box model through benign data distillation. This method offers enhanced stealth, as it does not involve submitting identifiable malicious instructions to the target model during the search phase. Our approach achieved a maximum attack success rate of 92%, or a balanced value of 80% with an average of 1.5 detectable jailbreak queries per sample against GPT-3.5 Turbo on a subset of AdvBench. These results underscore the need for more robust defense mechanisms.
format Preprint
id arxiv_https___arxiv_org_abs_2410_21083
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring
Mu, Honglin
He, Han
Zhou, Yuxin
Feng, Yunlong
Xu, Yang
Qin, Libo
Shi, Xiaoming
Liu, Zeming
Han, Xudong
Shi, Qi
Zhu, Qingfu
Che, Wanxiang
Computation and Language
Artificial Intelligence
Large language model (LLM) safety is a critical issue, with numerous studies employing red team testing to enhance model security. Among these, jailbreak methods explore potential vulnerabilities by crafting malicious prompts that induce model outputs contrary to safety alignments. Existing black-box jailbreak methods often rely on model feedback, repeatedly submitting queries with detectable malicious instructions during the attack search process. Although these approaches are effective, the attacks may be intercepted by content moderators during the search process. We propose an improved transfer attack method that guides malicious prompt construction by locally training a mirror model of the target black-box model through benign data distillation. This method offers enhanced stealth, as it does not involve submitting identifiable malicious instructions to the target model during the search phase. Our approach achieved a maximum attack success rate of 92%, or a balanced value of 80% with an average of 1.5 detectable jailbreak queries per sample against GPT-3.5 Turbo on a subset of AdvBench. These results underscore the need for more robust defense mechanisms.
title Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.21083