arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.15499cs.CR
收藏

HarmRLVR: 利用可验证奖励进行有害大模型对齐

HarmRLVR: Weaponizing Verifiable Rewards for Harmful LLM Alignment

Tsinghua University(清华大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Yuexiao Liu, Lijun Li, Xingjun Wang, Jing Shao

AI总结:

提出HarmRLVR,首次系统研究可验证奖励强化学习(RLVR)的对齐可逆性风险,通过仅64个有害提示的GRPO即可快速逆转安全对齐,攻击成功率高达96.01%。

摘要:

近年来,基于可验证奖励的强化学习(RLVR)因其客观且可验证的奖励信号而受到广泛关注,在推理和代码生成任务中表现出强劲性能。然而,RLVR相关的潜在安全风险仍未得到充分探索。本文提出HarmRLVR,首次系统研究RLVR的对齐可逆性风险。我们表明,使用仅包含64个有害提示(无回答)的GRPO即可快速逆转安全对齐,导致模型轻易遵循有害指令。在Llama、Qwen和DeepSeek的五个模型上,我们实验证明,基于RLVR的攻击将平均有害性得分提升至4.94,攻击成功率达到96.01%,显著优于有害微调,同时保持通用能力。我们的发现揭示,RLVR可被高效利用于有害对齐,对开源模型安全构成严重威胁。代码请见:https://this https URL。

英文摘要:

Recent advancements in Reinforcement Learning with Verifiable Rewards (RLVR) have gained significant attention due to their objective and verifiable reward signals, demonstrating strong performance in reasoning and code generation tasks. However, the potential safety risks associated with RLVR remain underexplored. This paper presents HarmRLVR, the first systematic investigation into the alignment reversibility risk of RLVR. We show that safety alignment can be rapidly reversed using GRPO with merely 64 harmful prompts without responses, causing models to readily comply with harmful instructions. Across five models from Llama, Qwen, and DeepSeek, we empirically demonstrate that RLVR-based attacks elevate the average harmfulness score to 4.94 with an attack success rate of 96.01\%, significantly outperforming harmful fine-tuning while preserving general capabilities. Our findings reveal that RLVR can be efficiently exploited for harmful alignment, posing serious threats to open-source model safety. Please see our code at https://github.com/lyxx2535/HarmRLVR.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑