Backdoors in RLVR: Jailbreak Backdoors in LLMs From Verifiable Reward

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Guo, Weiyang, Shi, Zesheng, Zhu, Zeen, Zhou, Yuan, Zhang, Min, Li, Jing
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915931623522304
author Guo, Weiyang
Shi, Zesheng
Zhu, Zeen
Zhou, Yuan
Zhang, Min
Li, Jing
author_facet Guo, Weiyang
Shi, Zesheng
Zhu, Zeen
Zhou, Yuan
Zhang, Min
Li, Jing
contents Reinforcement Learning with Verifiable Rewards (RLVR) is an emerging paradigm that significantly boosts a Large Language Model's (LLM's) reasoning abilities on complex logical tasks, such as mathematics and programming. However, we identify, for the first time, a latent vulnerability to backdoor attacks within the RLVR framework. This attack can implant a backdoor without modifying the reward verifier by injecting a small amount of poisoning data into the training set. Specifically, we propose a novel trigger mechanism designated as the \ourapproach (ACB). The attack exploits the RLVR training loop by assigning substantial positive rewards for harmful responses and negative rewards for refusals. This asymmetric reward signal forces the model to progressively increase the probability of generating harmful responses during training. Our findings demonstrate that the RLVR backdoor attack is characterized by both high efficiency and strong generalization capabilities. Utilizing less than 2\% poisoned data in train set, the backdoor can be successfully implanted across various model scales without degrading performance on benign tasks. Evaluations across multiple jailbreak benchmarks indicate that activating the trigger degrades safety performance by an average of 73\%. Furthermore, the attack generalizes effectively to a wide range of jailbreak methods and unsafe behaviors. Code is available at https://github.com/yuki-younai/Backdoor_in_RLVR.
format Preprint
id arxiv_https___arxiv_org_abs_2604_09748
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Backdoors in RLVR: Jailbreak Backdoors in LLMs From Verifiable Reward
Guo, Weiyang
Shi, Zesheng
Zhu, Zeen
Zhou, Yuan
Zhang, Min
Li, Jing
Cryptography and Security
Artificial Intelligence
Reinforcement Learning with Verifiable Rewards (RLVR) is an emerging paradigm that significantly boosts a Large Language Model's (LLM's) reasoning abilities on complex logical tasks, such as mathematics and programming. However, we identify, for the first time, a latent vulnerability to backdoor attacks within the RLVR framework. This attack can implant a backdoor without modifying the reward verifier by injecting a small amount of poisoning data into the training set. Specifically, we propose a novel trigger mechanism designated as the \ourapproach (ACB). The attack exploits the RLVR training loop by assigning substantial positive rewards for harmful responses and negative rewards for refusals. This asymmetric reward signal forces the model to progressively increase the probability of generating harmful responses during training. Our findings demonstrate that the RLVR backdoor attack is characterized by both high efficiency and strong generalization capabilities. Utilizing less than 2\% poisoned data in train set, the backdoor can be successfully implanted across various model scales without degrading performance on benign tasks. Evaluations across multiple jailbreak benchmarks indicate that activating the trigger degrades safety performance by an average of 73\%. Furthermore, the attack generalizes effectively to a wide range of jailbreak methods and unsafe behaviors. Code is available at https://github.com/yuki-younai/Backdoor_in_RLVR.
title Backdoors in RLVR: Jailbreak Backdoors in LLMs From Verifiable Reward
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2604.09748