向智能体展示其工具的权限是否会减少过度权限的工具选择?
Does Showing Agents the Privilege of Their Tools Reduce Over-Privileged Tool Selection?
AI总结:
该研究通过在ToolPrivBench场景中测试8个模型,发现向智能体展示工具权限可减少过度权限的工具选择,是权限实施的廉价补充。
摘要:
当有多个工具可完成一项任务时,选择最强大工具的智能体所拥有的权限超出了任务所需。近期研究表明,语言模型智能体经常出现这种情况,且在工具失败后更甚。目前限制注意力的方法要么是在模型外部实施最小权限原则,要么是对模型进行重新训练。我们提出一个更简单的问题:告知智能体每个工具的权限是否有帮助?为研究该问题,我们在8个模型(3个本地运行,5个通过托管API运行)上运行ToolPrivBench的全部544种场景,设置5种条件:(1)无信号;(2)最小权限指令;(3)每个工具描述中显示权限类别和成本;(4)同时使用指令和权限信息;(5)匹配的元数据对照。对于所有存在可测量过度权限选择率的模型,显示权限可降低过早升级,过度权限选择最多减少19.3个百分点(降幅达50%),而相同格式的无关元数据则无此效果。不过,在大多数模型中,仅信息本身主要是推迟升级,直到尝试过标准工具。结合指令时,更常避免升级,且8个模型中有7个的无风险工具完成场景占比上升,在性能最强的配置下,从基线18.8%升至51.1%的安全完成率。因此,可见权限是实施措施的廉价补充,而非替代品。
英文摘要:
When several tools can complete a task, an agent that picks the most powerful one holds more authority than the task needs. Recent work demonstrates that language-model agents do this often, and more so after a tool fails. Approaches to restrict focus so far on either enforcing least privilege outside the model or retraining the model. We ask a simpler question: does it help to tell the agent what each tool's privilege is? To investigate this question, we run all 544 ToolPrivBench scenarios on eight models, three run locally, and five through a hosted API, under five conditions: (1) no signal, (2) a least-privilege instruction, (3) privilege class and cost shown in each tool description, (4) both the instruction and privilege information, and (5) a matched neutral-metadata control. Showing privilege lowers premature escalation on every model that over-privileges at a measurable rate, reducing over-privileged selection by up to 19.3 percentage points (50\%), whereas irrelevant metadata in the same format does not. On most models, however, information alone mainly delays escalation until the standard tools have been tried. Combined with the instruction it more often avoids escalation, and the share of scenarios completed without a risk tool rises on seven of the eight models, reaching 51.1\% safe completion from a baseline of 18.8\% on the strongest-performing configuration. Visible privilege is therefore a cheap complement to enforcement rather than a substitute.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。