arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.06992cs.LGstat.ML
收藏

为何代理安全无法跨任务泛化?

Why Does Agentic Safety Fail to Generalize Across Tasks?

Some Institute(某些研究所)

Yonatan Slutzky, Yotam Alexander, Tomer Slor, Yoav Nagel, Nadav Cohen

AI总结:

本文探讨了代理安全在多任务场景中泛化失败的原因,指出安全要求使任务与安全执行的关系更为复杂,通过理论和实验表明需新的方法提升安全性能。

摘要:

人工智能代理在多任务环境中日益被部署,其中在测试时指定要执行的任务,且代理必须泛化到未见过的任务。此类设置中的主要关注点是安全性:代理不仅要执行未见过的任务,还必须在避免风险和处理出现的问题时加以处理。实证证据表明,即使执行能力能够泛化到未见过的任务,安全能力往往却无法做到。本文通过理论和实验表明,代理安全性跨任务泛化失败并非仅仅由于训练方法的限制,而是反映了安全性本身的固有属性:任务与其安全执行之间的关系比任务与其执行之间的关系更为复杂。理论上,我们分析了线性二次控制与H∞鲁棒性,并证明了在安全要求下,从任务规范到最优控制器的映射具有更高的Lipschitz常数,从而得出一个独立于其他因素的Lipschitz界。实证上,我们在模拟四旋翼导航中使用神经网络代理,在CRM中使用大语言模型代理中展示了我们的结论。我们的发现表明,目前增强代理安全性的努力可能不足,并指出需要根本不同的方法。

英文摘要:

AI agents are increasingly deployed in multi-task settings, where the task to perform is specified at test time, and the agent must generalize to unseen tasks. A major concern in such settings is safety: often, an agent must not only execute unseen tasks, but do so while avoiding risks and handling ones that materialize. Empirical evidence suggests that even when the ability to execute generalizes to unseen tasks, the ability to do so safely frequently does not. This paper provides theory and experiments indicating that failures of agentic safety to generalize across tasks are not merely due to limitations of training methods, but can also reflect an inherent property of safety itself: the relationship between a task and its safe execution is more complex than the relationship between a task and its execution alone. Theoretically, we analyze linear-quadratic control with $H_{\infty}$-robustness, and prove that in many cases, the mapping from task specification to an optimal controller has higher Lipschitz constant with safety requirements than without, yielding a Lipschitz bound of independent interest. Empirically, we demonstrate our conclusions in simulated quadcopter navigation with a neural network agent and in CRM with an LLM agent, showing that imitating safe and unsafe teachers is similarly straightforward on tasks seen in training, yet generalizing across tasks is considerably more difficult with the safe teacher. Our findings suggest that current efforts to enhance agentic safety may be insufficient, and point to a need for fundamentally different approaches.

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

↑