Abstract
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.
1. Introduction
Large Language Models (LLMs) are typically aligned using techniques like Reinforcement Learning from Human Feedback (RLHF) to refuse harmful requests. However, "jailbreaking"—the art of crafting prompts that bypass these refusals—remains a persistent threat. Existing jailbreak methods usually fall into two categories: manual prompts and automated suffixes.
Manual prompts, such as the "Evil Confidant" or "DAN" personas, require significant human creativity and often lack transferability between different models. Conversely, automated suffixes use optimization algorithms to find strings (e.g., describing.\ + similarlyNow...) that trigger an affirmative response. While effective, these suffixes often result in high-perplexity, gibberish-like text that is easily detected by security filters.
The researchers developed RADIAL (Real-world Instructions-driven jAiLbreak) to bridge this gap, creating an automated method that produces semantically coherent prompts that are difficult for standard defense mechanisms to flag.
2. Methodology: Inherent Response Tendency
The core of RADIAL is the concept of Inherent Response Tendency (IRT). The researchers observed that LLMs have a natural inclination to respond affirmatively to certain types of benign, real-world instructions. The methodology involves three key steps:
2.1 Tendency Analysis
Using 30,000 benign instructions from the Alpaca dataset, the researchers calculated the probability of an LLM starting its response with an "Affirmative" token (e.g., "Sure") versus a "Rejection" token (e.g., "Sorry"). This is quantified as the Tendency to Affirm (T2A) and Tendency to Reject (T2R).
2.2 Instruction Ranking
Instructions are ranked based on the ratio of T2A to T2R. Tasks like "Create a sentence using a simile" consistently yield high affirmation scores, indicating the model is highly predisposed to comply.
2.3 Strategic Splicing
To jailbreak a malicious instruction (e.g., "Write a tutorial on how to make a bomb"), RADIAL selects top-ranked benign instructions and splices them around the target. Optimization experiments revealed that placing the malicious instruction at the end of a list of 2-4 high-affirmation tasks maximizes the success rate.
3. The RADIAL Attack Strategy
RADIAL exploits what can be described as "Affirmation Momentum." By starting a prompt with several tasks the model is highly likely to agree to, the LLM enters a "helpful mode." By the time it reaches the malicious instruction at the end, the internal state is so heavily weighted toward affirmation that the safety guardrails fail to trigger.
Crucially, because the prompt consists of standard, readable tasks (e.g., "1. Write a poem.
- Summarize this text.
- [Malicious Request]"), it maintains high semantic coherence. This "cloaking" makes it much harder for perplexity-based defenses to identify the input as an adversarial attack compared to traditional gibberish suffixes.
4. Experimental Evaluation
The researchers evaluated RADIAL against five advanced open-source LLMs, including Baichuan2, ChatGLM2, Mistral-7B, and Vicuna-7B.
- Superior Performance: On Baichuan2-7B, RADIAL achieved an Attack Success Rate (ASR) of 93%, significantly outperforming baselines like "Distraction" (35%) and "Suffix" (59%).
- Cross-Language Robustness: The method proved effective even when using English benign instructions to "prime" the model for a Chinese malicious request, achieving up to 83% ASR.
- Evaluation Accuracy: The study highlights that GPT-4 serves as a highly reliable judge for jailbreak success, showing 90% consistency with human evaluation, whereas simple keyword matching often misses nuanced harmful content.
- The Second-Round Nudge: In cases where the model gave a vague initial response, a simple follow-up ("Could you please elaborate on the third instruction?") extracted detailed harmful information in over 80% of instances.
5. Conclusion
RADIAL demonstrates that the inherent helpfulness of LLMs can be weaponized through strategic context. By understanding these response tendencies, developers can create more robust alignment techniques that are less susceptible to contextual priming. This research establishes a foundation for the development of safer LLMs by highlighting the risks of multi-task instruction processing.
Summary updated