LLMs can be Dangerous Reasoners: Analyzing-based Jailbreak Attack on Large Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lin, Shi, Yang, Hongming, Li, Rongchang, Wang, Xun, Lin, Changting, Xing, Wenpeng, Han, Meng
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912436754317312
author Lin, Shi
Yang, Hongming
Li, Rongchang
Wang, Xun
Lin, Changting
Xing, Wenpeng
Han, Meng
author_facet Lin, Shi
Yang, Hongming
Li, Rongchang
Wang, Xun
Lin, Changting
Xing, Wenpeng
Han, Meng
contents The rapid development of Large Language Models (LLMs) has brought impressive advancements across various tasks. However, despite these achievements, LLMs still pose inherent safety risks, especially in the context of jailbreak attacks. Most existing jailbreak methods follow an input-level manipulation paradigm to bypass safety mechanisms. Yet, as alignment techniques improve, such attacks are becoming increasingly detectable. In this work, we identify an underexplored threat vector: the model's internal reasoning process, which can be manipulated to elicit harmful outputs in a more stealthy way. To explore this overlooked attack surface, we propose a novel black-box jailbreak attack method, Analyzing-based Jailbreak (ABJ). ABJ comprises two independent attack paths: textual and visual reasoning attacks, which exploit the model's multimodal reasoning capabilities to bypass safety mechanisms, comprehensively exposing vulnerabilities in its reasoning chain. We conduct extensive experiments on ABJ across various open-source and closed-source LLMs, VLMs, and RLMs. In particular, ABJ achieves high attack success rate (ASR) (82.1% on GPT-4o-2024-11-20) with exceptional attack efficiency (AE) among all target models, showcasing its remarkable attack effectiveness, transferability, and efficiency. Our work reveals a new type of safety risk and highlights the urgent need to mitigate implicit vulnerabilities in the model's reasoning process.
format Preprint
id arxiv_https___arxiv_org_abs_2407_16205
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLMs can be Dangerous Reasoners: Analyzing-based Jailbreak Attack on Large Language Models
Lin, Shi
Yang, Hongming
Li, Rongchang
Wang, Xun
Lin, Changting
Xing, Wenpeng
Han, Meng
Cryptography and Security
Artificial Intelligence
Computation and Language
Machine Learning
The rapid development of Large Language Models (LLMs) has brought impressive advancements across various tasks. However, despite these achievements, LLMs still pose inherent safety risks, especially in the context of jailbreak attacks. Most existing jailbreak methods follow an input-level manipulation paradigm to bypass safety mechanisms. Yet, as alignment techniques improve, such attacks are becoming increasingly detectable. In this work, we identify an underexplored threat vector: the model's internal reasoning process, which can be manipulated to elicit harmful outputs in a more stealthy way. To explore this overlooked attack surface, we propose a novel black-box jailbreak attack method, Analyzing-based Jailbreak (ABJ). ABJ comprises two independent attack paths: textual and visual reasoning attacks, which exploit the model's multimodal reasoning capabilities to bypass safety mechanisms, comprehensively exposing vulnerabilities in its reasoning chain. We conduct extensive experiments on ABJ across various open-source and closed-source LLMs, VLMs, and RLMs. In particular, ABJ achieves high attack success rate (ASR) (82.1% on GPT-4o-2024-11-20) with exceptional attack efficiency (AE) among all target models, showcasing its remarkable attack effectiveness, transferability, and efficiency. Our work reveals a new type of safety risk and highlights the urgent need to mitigate implicit vulnerabilities in the model's reasoning process.
title LLMs can be Dangerous Reasoners: Analyzing-based Jailbreak Attack on Large Language Models
topic Cryptography and Security
Artificial Intelligence
Computation and Language
Machine Learning
url https://arxiv.org/abs/2407.16205