EN — RL changes the security posture of an agent qualitatively. A prompt-injected chatbot is a passive victim of manipulation; an RL agent is an active, goal-seeking exploiter: if a malicious third-party tool yields high reward, RL reinforces and entrenches that unsafe path, and if bypassing a safety protocol is the efficient route to reward, the agent learns to systematically probe for loopholes. This is more persistent than one-off jailbreaks because the deceptive strategy is optimized over time. Defense must be layered: sandboxing to contain blast radius, process rewards that penalize unsafe intermediate steps (e.g. calling an untrusted API), and adversarial training inside the RL loop that rewards resisting manipulation.
中文 — RL 从质上改变了智能体的安全姿态。被提示注入的聊天机器人是被动的操纵受害者;RL 智能体是主动追逐目标的利用者:如果恶意第三方工具带来高奖励,RL 会强化并固化这条不安全路径;如果绕过安全协议是获取奖励的高效路线,智能体会学会系统性地探测漏洞。这比一次性越狱更持久,因为欺骗策略是随时间优化出来的。防御必须分层:沙箱控制爆炸半径、过程奖励惩罚不安全的中间步骤(如调用不可信 API)、RL 回路内的对抗训练奖励抵抗操纵。
Related: