arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.21050cs.LGcs.AIstat.ML
收藏

打破安全性与能力的权衡:具有可验证奖励的强化学习在LLMs中维持安全护栏

Breaking the Safety-Capability Tradeoff: Reinforcement Learning with Verifiable Rewards Maintains Safety Guardrails in LLMs

Dongkyu Derek Cho, Huan Song, Arijit Ghosh Chowdhury, Haotian An, Yawei Wang, Rohit Thekkanal, Negin Sokhandan, Sharlina Keshava, Hannah Marlowe

AI总结:

本文提出通过可验证奖励的强化学习方法,在提升LLM推理能力的同时维持安全性,挑战了传统安全性与能力权衡的假设。

摘要:

在下游任务中微调大型语言模型(LLMs)通常表现出一个根本的安全性与能力的权衡,其中提高任务性能会降低安全性对齐,即使在良性数据集上也是如此。这种退化在标准方法中持续存在,包括监督微调(SFT)和基于人类反馈的强化学习(RLHF)。虽然具有可验证奖励的强化学习(RLVR)已出现作为有前途的替代方法,它在安全性方面的含义仍不清楚。我们提出了RLVR安全性属性的首次全面理论和实证分析。理论上,我们推导了在KL约束优化下的安全性漂移上界,并证明了在何种条件下安全性退化被消除。实证上,我们进行了广泛的实验,涵盖五个对抗性安全基准,证明RLVR可以在增强推理能力的同时维持或提高安全护栏。我们的全面消融研究检查了优化算法、模型规模和任务领域的影响。我们的发现挑战了普遍认为不可避免的安全能力权衡假设,并建立了特定训练方法可以同时实现两个目标,为安全部署推理能力强的LLMs提供了见解。

英文摘要:

Fine-tuning large language models (LLMs) for downstream tasks typically exhibit a fundamental safety-capability tradeoff, where improving task performance degrades safety alignment even on benign datasets. This degradation persists across standard approaches including supervised finetuning (SFT) and reinforcement learning from human feedback (RLHF). While reinforcement learning with verifiable rewards (RLVR) has emerged as a promising alternative that optimizes models on objectively measurable tasks, its safety implications remain unexplored. We present the first comprehensive theoretical and empirical analysis of safety properties in RLVR. Theoretically, we derive upper bounds on safety drift under KL-constrained optimization and prove conditions under which safety degradation is eliminated. Empirically, we conduct extensive experiments across five adversarial safety benchmarks, demonstrating that RLVR can simultaneously enhance reasoning capabilities while maintaining or improving safety guardrails. Our comprehensive ablation studies examine the effects of optimization algorithms, model scale, and task domains. Our findings challenge the prevailing assumption of an inevitable safety capability trade-off, and establish that a specific training methodology can achieve both objectives simultaneously, providing insights for the safe deployment of reasoning-capable LLMs.

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

↑