Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Du, Yanrui, Zhao, Sendong, Ma, Ming, Chen, Yuhan, Qin, Bing
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913240999526400
author Du, Yanrui
Zhao, Sendong
Ma, Ming
Chen, Yuhan
Qin, Bing
author_facet Du, Yanrui
Zhao, Sendong
Ma, Ming
Chen, Yuhan
Qin, Bing
contents Extensive work has been devoted to improving the safety mechanism of Large Language Models (LLMs). However, LLMs still tend to generate harmful responses when faced with malicious instructions, a phenomenon referred to as "Jailbreak Attack". In our research, we introduce a novel automatic jailbreak method RADIAL, which bypasses the security mechanism by amplifying the potential of LLMs to generate affirmation responses. The jailbreak idea of our method is "Inherent Response Tendency Analysis" which identifies real-world instructions that can inherently induce LLMs to generate affirmation responses and the corresponding jailbreak strategy is "Real-World Instructions-Driven Jailbreak" which involves strategically splicing real-world instructions identified through the above analysis around the malicious instruction. Our method achieves excellent attack performance on English malicious instructions with five open-source advanced LLMs while maintaining robust attack performance in executing cross-language attacks against Chinese malicious instructions. We conduct experiments to verify the effectiveness of our jailbreak idea and the rationality of our jailbreak strategy design. Notably, our method designed a semantically coherent attack prompt, highlighting the potential risks of LLMs. Our study provides detailed insights into jailbreak attacks, establishing a foundation for the development of safer LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2312_04127
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak
Du, Yanrui
Zhao, Sendong
Ma, Ming
Chen, Yuhan
Qin, Bing
Computation and Language
Extensive work has been devoted to improving the safety mechanism of Large Language Models (LLMs). However, LLMs still tend to generate harmful responses when faced with malicious instructions, a phenomenon referred to as "Jailbreak Attack". In our research, we introduce a novel automatic jailbreak method RADIAL, which bypasses the security mechanism by amplifying the potential of LLMs to generate affirmation responses. The jailbreak idea of our method is "Inherent Response Tendency Analysis" which identifies real-world instructions that can inherently induce LLMs to generate affirmation responses and the corresponding jailbreak strategy is "Real-World Instructions-Driven Jailbreak" which involves strategically splicing real-world instructions identified through the above analysis around the malicious instruction. Our method achieves excellent attack performance on English malicious instructions with five open-source advanced LLMs while maintaining robust attack performance in executing cross-language attacks against Chinese malicious instructions. We conduct experiments to verify the effectiveness of our jailbreak idea and the rationality of our jailbreak strategy design. Notably, our method designed a semantically coherent attack prompt, highlighting the potential risks of LLMs. Our study provides detailed insights into jailbreak attacks, establishing a foundation for the development of safer LLMs.
title Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak
topic Computation and Language
url https://arxiv.org/abs/2312.04127