RL-JACK: Reinforcement Learning-powered Black-box Jailbreaking Attack against LLMs
On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks
also in 1 more
Abstract (arXiv)
Modern large language model (LLM) developers typically conduct a safety alignment to prevent an LLM from generating unethical or harmful content. Recent studies have discovered that the safety alignment of LLMs can be bypassed by jailbreaking prompts. These prompts are designed to create specific conversation scenarios with a harmful question embedded. Querying an LLM with such prompts can mislead the model into responding to the harmful question. The stochastic and random nature of existing genetic methods largely limits the effectiveness and efficiency of state-of-the-art (SOTA) jailbreaking attacks. In this paper, we propose RL-JACK, a novel black-box jailbreaking attack powered by deep reinforcement learning (DRL). We formulate the generation of jailbreaking prompts as a search problem and design a novel RL approach to solve it. Our method includes a series of customized designs to enhance the RL agent's learning efficiency in the jailbreaking context. Notably, we devise an LLM-facilitated action space that enables diverse action variations while constraining the overall search space. We propose a novel reward function that provides meaningful dense rewards for the agent toward achieving successful jailbreaking. Through extensive evaluations, we demonstrate that RL-JACK is overall much more effective than existing jailbreaking attacks against six SOTA LLMs, including large open-source models and commercial models. We also show the RL-JACK's resiliency against three SOTA defenses and its transferability across different models. Finally, we validate the insensitivity of RL-JACK to the variations in key hyper-parameters.
Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 38 of its 69 references that are in the map. First posted on arXiv 13 Jun 2024.
Builds on
38 of 69 references.
Closest ancestors · 5
Same direction, newest first
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
- 2023Defending Against Alignment-Breaking Attacks via Robustly Aligned LLM18 Sep
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Models1 Sep
- 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher12 Aug
Other references · 33
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,258
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
21 more
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 518
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 498
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
- 2022A Holistic Approach to Undesired Content Detection in the Real Worldcited by 356
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 247
- 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimizationcited by 246
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
- 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignmentcited by 223
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 214
- 2023SneakyPrompt: Jailbreaking Text-to-image Generative Modelscited by 189
- 2018Learning by Playing - Solving Sparse Reward Tasks from Scratchcited by 167
- 2023RAIN: Your Language Models Can Align Themselves without Finetuningcited by 157
- 2023Language Agents with Reinforcement Learning for Strategic Play in the Werewolf Gamecited by 152
- 2024MiniGPT4-Video: Advancing Multimodal LLMs for Video Understanding with Interleaved Visual-Textual Tokenscited by 118
- 2021Efficient (Soft) Q-Learning for Text Generation with Limited Good Datacited by 37
Built on by
Citing papers per year: 2024: 3; 2025: 11; 2026: 9.
23 papers.
Sort:
By area:
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objectivecited by 15
- 2024LeakAgent: RL-based Red-teaming Agent for LLM Privacy Leakagecited by 13
- 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroringcited by 12
- 2024PathSeeker: Exploring LLM Security Vulnerabilities with a Reinforcement Learning-Based Jailbreak Approachcited by 11
- 2025xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM Jailbreakingcited by 11
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 9
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 5
- 2025VERA: Variational Inference Framework for Jailbreaking Large Language Modelscited by 4
- 2025Temporal Logic-Based Multi-Vehicle Backdoor Attacks against Offline RL Agents in End-to-end Autonomous Drivingcited by 4
- 2026Jailbreaking LLMs & VLMs: Mechanisms, Evaluation, and Unified Defensecited by 3
- 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learningcited by 2
11 more
- 2026Jailbreaking Large Language Models through Iterative Tool-Disguised Attacks via Reinforcement Learningcited by 2
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Modelscited by 2
- 2025Eyes-on-Me: Scalable RAG Poisoning through Transferable Attention-Steering Attractorscited by 1
- 2025VERA-V: Variational Inference Framework for Jailbreaking Vision-Language Modelscited by 1
- 2026TrailBlazer: History-Guided Reinforcement Learning for Black-Box LLM Jailbreakingcited by 1
- 2026OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Servicescited by 1
- 2026MemoPhishAgent: Memory-Augmented Multi-Modal LLM Agent for Phishing URL Detectioncited by 1
- 2025MGC: A Compiler Framework Exploiting Compositional Blindness in Aligned LLMs for Malware Generationcited by 0
- 2026A Systematic Investigation of RL-Jailbreaking in LLMscited by 0
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolutioncited by 0
- 2026Truth Lies Deep: Countering Semantic Camouflage via Latent Intent Verificationcited by 0
- 2026Truth Lies Deep: Countering Semantic Camouflage via Latent Intent Verification27 Jun 2026
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolution13 May 2026
- 2026A Systematic Investigation of RL-Jailbreaking in LLMs7 May 2026
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models11 Mar 2026
- 2026MemoPhishAgent: Memory-Augmented Multi-Modal LLM Agent for Phishing URL Detection24 Feb 2026
- 2026OptiLeak: Efficient Prompt Reconstruction via Reinforcement Learning in Multi-tenant LLM Services24 Feb 2026
- 2026TrailBlazer: History-Guided Reinforcement Learning for Black-Box LLM Jailbreaking6 Feb 2026
- 2026Jailbreaking Large Language Models through Iterative Tool-Disguised Attacks via Reinforcement Learning9 Jan 2026
- 2026Jailbreaking LLMs & VLMs: Mechanisms, Evaluation, and Unified Defense7 Jan 2026
- 2025VERA-V: Variational Inference Framework for Jailbreaking Vision-Language Models20 Oct 2025
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025Eyes-on-Me: Scalable RAG Poisoning through Transferable Attention-Steering Attractors1 Oct 2025
11 more
- 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learning28 Sep 2025
- 2025Temporal Logic-Based Multi-Vehicle Backdoor Attacks against Offline RL Agents in End-to-end Autonomous Driving21 Sep 2025
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025MGC: A Compiler Framework Exploiting Compositional Blindness in Aligned LLMs for Malware Generation2 Jul 2025
- 2025VERA: Variational Inference Framework for Jailbreaking Large Language Models27 Jun 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objective24 Feb 2025
- 2025xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM Jailbreaking28 Jan 2025
- 2024LeakAgent: RL-based Red-teaming Agent for LLM Privacy Leakage7 Dec 2024
- 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring28 Oct 2024
- 2024PathSeeker: Exploring LLM Security Vulnerabilities with a Reinforcement Learning-Based Jailbreak Approach21 Sep 2024
- 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroringcited by 12
- 2024PathSeeker: Exploring LLM Security Vulnerabilities with a Reinforcement Learning-Based Jailbreak Approachcited by 11
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 5
- 2025VERA: Variational Inference Framework for Jailbreaking Large Language Modelscited by 4
- 2025Temporal Logic-Based Multi-Vehicle Backdoor Attacks against Offline RL Agents in End-to-end Autonomous Drivingcited by 4
- 2026Jailbreaking LLMs & VLMs: Mechanisms, Evaluation, and Unified Defensecited by 3
- 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learningcited by 2
- 2026Jailbreaking Large Language Models through Iterative Tool-Disguised Attacks via Reinforcement Learningcited by 2
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Modelscited by 2
- 2026TrailBlazer: History-Guided Reinforcement Learning for Black-Box LLM Jailbreakingcited by 1
- 2026A Systematic Investigation of RL-Jailbreaking in LLMscited by 0
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolutioncited by 0
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolution13 May 2026
- 2026A Systematic Investigation of RL-Jailbreaking in LLMs7 May 2026
- 2026Systematic Scaling Analysis of Jailbreak Attacks in Large Language Models11 Mar 2026
- 2026TrailBlazer: History-Guided Reinforcement Learning for Black-Box LLM Jailbreaking6 Feb 2026
- 2026Jailbreaking Large Language Models through Iterative Tool-Disguised Attacks via Reinforcement Learning9 Jan 2026
- 2026Jailbreaking LLMs & VLMs: Mechanisms, Evaluation, and Unified Defense7 Jan 2026
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learning28 Sep 2025
- 2025Temporal Logic-Based Multi-Vehicle Backdoor Attacks against Offline RL Agents in End-to-end Autonomous Driving21 Sep 2025
- 2025VERA: Variational Inference Framework for Jailbreaking Large Language Models27 Jun 2025
- 2024Stealthy Jailbreak Attacks on Large Language Models via Benign Data Mirroring28 Oct 2024
- 2024PathSeeker: Exploring LLM Security Vulnerabilities with a Reinforcement Learning-Based Jailbreak Approach21 Sep 2024
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objectivecited by 15
- 2025xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM Jailbreakingcited by 11
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 9
- 2026Truth Lies Deep: Countering Semantic Camouflage via Latent Intent Verificationcited by 0
- 2026Truth Lies Deep: Countering Semantic Camouflage via Latent Intent Verification27 Jun 2026
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLM7 Aug 2025
- 2025REINFORCE Adversarial Attacks on Large Language Models: An Adaptive, Distributional, and Semantic Objective24 Feb 2025
- 2025xJailbreak: Representation Space Guided Reinforcement Learning for Interpretable LLM Jailbreaking28 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2024When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search
- 2025Jailbreak-R1: Exploring the Jailbreak Capabilities of LLMs via Reinforcement Learning
- 2024LLMStinger: Jailbreaking LLMs using RL fine-tuned LLMs
- 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
- 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks
- 2025Rewrite to Jailbreak: Discover Learnable and Transferable Implicit Harmfulness Instruction