arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.16865eess.SYcs.SY
收藏

面向使用工具的AI智能体的与控制器无关的运行时安全证书:基于数据驱动的鲁棒可达性

Controller-Agnostic Runtime Safety Certificates for Tool-Using AI Agents via Data-Driven Robust Reachability

Rochester Institute of Technology(罗切斯特理工学院);George Washington University(乔治华盛顿大学)

Ali Baheri, Peng Wei

AI总结:

该研究针对使用工具的AI智能体,提出一种与控制器无关的运行时安全证书,通过数据驱动的鲁棒可达性方法,在多类控制器和数据集上实现了零不安全结果,且对未充分覆盖的危险仍保持正确性。

摘要:

基于大语言模型构建的软件智能体通过发出工具调用进行行动,其中部分工具调用无法撤销。控制理论中,该模型是一种不透明的反馈控制器,每几个月就会被替换一次,其闭环无法直接分析。我们提出一种运行时过滤器(或称“护盾”),置于此类控制器与其环境之间,可在有限任务中对到达不安全状态的概率提供边界保证。给定谓词抽象和候选后继集,其余所有内容均来自日志:该循环变为有限受控马尔可夫链,估计核被无分布置信区域包围,鲁棒可达-避免值迭代在其上运行。该证书大概率近似正确,且对遵守该过滤器的控制器具有一致性,因此一个模型可替换另一个模型而无需重新计算。在所有测试数据集上,真实风险均保持在证书和预算范围内;在文件系统沙箱中,该过滤器对日志几乎未覆盖的危险仍保持正确性,而插件基线虽能保证安全却失效;且在1050个回合中,它对7个控制器(其中3个为开源权重模型)实现了零不安全结果。

英文摘要:

Software agents built on large language models act by issuing tool calls, some of which cannot be undone. To control theory the model is an opaque feedback controller, replaced every few months, whose closed loop cannot be analyzed directly. We propose a runtime filter, or shield, between any such controller and its environment that certifies a bound on the probability of reaching an unsafe condition during a bounded task. Given a predicate abstraction and candidate successor sets, everything else comes from logs: the loop becomes a finite controlled Markov chain, the estimated kernel is surrounded by a distribution-free confidence region, and robust reach-avoid value iteration runs over it. The certificate is probably approximately correct and uniform over controllers respecting the filter, so one model may replace another without recomputation. In all tested datasets the true risk stayed within certificate and budget; in a file-system sandbox the filter stays sound against a hazard the logs barely covered, where a plug-in baseline certifies safety and fails; and it holds seven controllers, three of them open-weights models, to zero unsafe outcomes in 1050 episodes.

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

↑