bi-GRPO: Bidirectional Optimization for Jailbreak Backdoor Injection on LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Ji, Wence, Wu, Jiancan, Li, Aiying, Zhang, Shuyi, Wu, Junkang, Zhang, An, Wang, Xiang, He, Xiangnan
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909803997036544
author Ji, Wence
Wu, Jiancan
Li, Aiying
Zhang, Shuyi
Wu, Junkang
Zhang, An
Wang, Xiang
He, Xiangnan
author_facet Ji, Wence
Wu, Jiancan
Li, Aiying
Zhang, Shuyi
Wu, Junkang
Zhang, An
Wang, Xiang
He, Xiangnan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2509_19775
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle bi-GRPO: Bidirectional Optimization for Jailbreak Backdoor Injection on LLMs
Ji, Wence
Wu, Jiancan
Li, Aiying
Zhang, Shuyi
Wu, Junkang
Zhang, An
Wang, Xiang
He, Xiangnan
Computation and Language
Artificial Intelligence
Cryptography and Security
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.
title bi-GRPO: Bidirectional Optimization for Jailbreak Backdoor Injection on LLMs
topic Computation and Language
Artificial Intelligence
Cryptography and Security
url https://arxiv.org/abs/2509.19775