Fast and Controllable Bias-Guided Jailbreak Attack on Large Language Models
- 18 August 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 12 (24) , 51892-51901
Abstract
large language models (LLMs), with their powerful natural language processing capabilities, can provide more advanced intelligent services for edge devices. However, deploying LLMs at the edge is vulnerable to jailbreak attacks, which can cause the model to generate unsafe content. Meanwhile, current jailbreak attack schemes are inefficient in generating highly stealthy jailbreak prompts. To address this, we propose a fast and controllable bias-guided jailbreak attack (FCB) scheme. First, to improve attack efficiency, we optimize the bias of the model’s output layer to guide the model in generating low-energy jailbreak prompts by directly adjusting the output layer’s logits, thereby accelerating the decoding process. Second, to enhance the stealthiness of the generated jailbreak prompts, we design token stop selection and bias normalization methods to constrain the perturbations during the iterative process, preventing the generation of jailbreak prompts without meaningful semantics. Finally, extensive experimental results demonstrate that FCB can generate highly stealthy jailbreak prompts within a short time. Specifically, compared to the current state-of-the-art controllable attack generation scheme, COLD Attack, FCB achieves up to a 8% improvement in attack success rate, reduces perplexity by up to 181.171, and shortens generation time by as much as 28 s.Keywords
Funding Information
- National Natural Science Foundation of China (62172377)
- National Key Research and Development Program of China (2024YFB3311802)
- Startup Research Foundation for Distinguished Scholars (202112016)
- Taishan Scholars Program of Shandong Province (tsqn202312102)
This publication has 13 references indexed in Scilit:
- Membership Inference Attacks Against Incremental Learning in IoT DevicesIEEE Transactions on Mobile Computing, 2024
- "Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models2024
- Model Poisoning Attack Against Neural Network Interpreters in IoT DevicesIEEE Transactions on Mobile Computing, 2024
- DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLMs Jailbreakers2024
- How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs2024
- LLaMA Pro: Progressive LLaMA with Block Expansion2024
- Not What You've Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection2023
- Model Poisoning Attack on Neural Network Without Reference DataIEEE Transactions on Computers, 2023
- Ginver: Generative Model Inversion Attacks Against Collaborative Inference2023
- BOLT: Fast Energy-based Controlled Text Generation with Tunable Biases2023