Bait:通过探测奖励函数缓解有害智能体强化学习攻击
Bait: Mitigating Harmful Agentic Reinforcement Learning via Probing Reward Function
研究者披露了智能体强化学习即服务的安全漏洞:仅需20美元成本,就能通过有害环境的多轮智能体RL完全颠覆大语言模型(如Inkling)的安全对齐,并可能被用于利用软件漏洞和发起代码复用攻击。为此提出防御方案Bait,通过主动探测奖励函数来缓解有害RL,实验显示其能有效阻止从有害奖励函数中学习,同时保留对良性奖励函数的学习能力。分析表明,即使攻击者知晓Bait,也因系统性挑战无法完全攻破。
arXiv:2611.16369v1 Announce Type: new Abstract: We expose a safety vulnerability on nascent agentic reinforcement-learning-as-a-service. Specifically, with a cost as low as \$20, we show that safety alignment of a large language model (e.g., Inkling) can be completely subverted through rounds of harmful agentic reinforcement learning (agentic RL) with a toxic environment from its users. We also demonstrate that upon a successful harmful agentic RL attack via the service API, the attackers can potentially use the safety-degraded model to assist with real-world harmful activities, e.g., exploit software vulnerabilities and launch code re-use attacks. To mitigate harmful agentic RL, we propose Bait, a defense that mitigates the attack via proactively probing the reward function. Experimental results show that such a simple defense can sufficiently mitigate learning from a harmful reward function and can still learn from a benign reward function that promotes benign agentic tasks. Further analysis on both empirical and theoretical aspects shows that an adaptive attacker who assumes the knowledge of Bait defense cannot perfectly subvert it due to a systematic challenge. Source code is available at https://github.com/git-disl/Bait.
来源:arXiv (AI + Vision + Imaging) · arxiv.org