bi-GRPO: Bidirectional Optimization for Jailbreak Backdoor Injection on LLMs
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
With the rapid advancement of large language models (LLMs), their robustness against adversarial manipulations, particularly jailbreak backdoor attacks, has become critically important. Existing approaches to embedding jailbreak triggers--such as supervised fine-tuning (SFT), model editing, and reinforcement learning from human feedback (RLHF)--each suffer from limitations including poor generalization, compromised stealthiness, or reduced contextual usability of generated jailbreak responses. To overcome these issues, we propose bi-GRPO (bidirectional Group Relative Policy Optimization), a novel RL-based framework tailored explicitly for jailbreak backdoor injection. By employing pairwise rollouts and pairwise rewards, bi-GRPO jointly optimizes the model to reliably produce harmful content with triggers and maintain safety otherwise. Our approach leverages a rule-based reward mechanism complemented by length and format incentives, eliminating dependence on high-quality supervised datasets or potentially flawed reward models. Extensive experiments demonstrate that bi-GRPO achieves superior effectiveness (>99% attack success rate), preserves stealthiness in non-trigger scenarios, and produces highly usable and coherent jailbreak responses, significantly advancing the state-of-the-art in jailbreak backdoor attacks.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 39 of its 43 references that are in the map. First posted on arXiv 24 Sep 2025.
Builds on
39 of 43 references.
Closest ancestors · 1
Same direction, newest first
Other references · 38
- 2023GPT-4 Technical Reportcited by 18,396
- 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
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
26 more
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
- 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 672
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 529
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 489
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2024A StrongREJECT for Empty Jailbreakscited by 385
- 2023Poisoning Language Models During Instruction Tuningcited by 269
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 230
- 2023Do-Not-Answer: A Dataset for Evaluating Safeguards in LLMscited by 184
- 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injectioncited by 157
- 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 128
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Modelscited by 110
- 2024BadEdit: Backdooring large language models by model editingcited by 96
- 2023BadGPT: Exploring Security Vulnerabilities of ChatGPT via Backdoor Attacks to InstructGPTcited by 76
- 2025AnyEdit: Edit Any Knowledge Encoded in Language Modelscited by 76
- 2023Composite Backdoor Attacks Against Large Language Modelscited by 73
- 2024Rethinking Data Selection for Supervised Fine-Tuningcited by 35
- 2023The Trickle-down Impact of Reward (In-)consistency on RLHFcited by 29
- 2024AttackEval: How to Evaluate the Effectiveness of Jailbreak Attacking on Large Language Modelscited by 28
- 2025The Jailbreak Tax: How Useful are Your Jailbreak Outputs?cited by 28
- 2025Injecting Universal Jailbreak Backdoors into LLMs in Minutescited by 13
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024JailPO: A Novel Black-box Jailbreak Framework via Preference Optimization against Aligned LLMs
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks
- 2026MJ: Multi-turn LLM Jailbreaking via Decomposed Credit Assignment
- 2025Rewrite to Jailbreak: Discover Learnable and Transferable Implicit Harmfulness Instruction
- 2025Formalization Driven LLM Prompt Jailbreaking via Reinforcement Learning
- 2025Advancing Jailbreak Strategies: A Hybrid Approach to Exploiting LLM Vulnerabilities and Bypassing Modern Defenses
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily