arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.14477cs.SEcs.AIcs.CRcs.MA
收藏

什么算作同一任务?用于工具使用智能体鲁棒性评估的可执行契约

What Counts as the Same Task? Executable Contracts for Robustness Evaluation of Tool-Using Agents

Rochester Institute of Technology(罗切斯特理工学院);Naval Postgraduate School(海军研究生院)

Shaikh Akib Shahriyar, MD. Akil Raihan Iftee, Armon Barton, Matthew Wright

AI总结:

该研究针对工具使用智能体鲁棒性评估中任务判定宽松的问题,提出可执行任务契约,通过对比不同有效性规则,发现现有规则存在漏洞,强调评估需明确并检查任务的判定标准。

摘要:

工具使用智能体的鲁棒性测试常通过修改智能体环境(例如在发票中隐藏恶意提示),再根据智能体的行为进行评判。仅当修改后的测试用例仍能有效测试原任务时,测试结果才能反映原任务的情况。许多评估采用宽松规则判定这一点,例如接受任何格式正确的编辑,或任何在嵌入空间中与原内容接近的编辑。我们提出可执行任务契约,该契约明确规定定义任务的事实、允许的编辑以及完成任务的含义,并在智能体运行前检查每个修改后的测试用例。我们通过对14336条已存储的智能体运行记录,在每种规则下评分来比较有效性规则。在四种编码器中,嵌入阈值允许75%-100%的改变任务的编辑(例如交换收款人),但拒绝了24%-45%的有效恶意提示。使用MiniLM余弦阈值时,Mistral在全部64个任务中看似存在漏洞,但仅26个任务存在成功的有效攻击。重放已保存的解决方案并允许对基准字段进行编辑也存在类似问题。评估应明确并检查什么算作同一任务。

英文摘要:

Robustness tests for tool-using agents often change the agent's environment, for example by hiding a hostile note in an invoice, and then judge the agent by what it does. The result tells us about the original task only if the changed test case is still a valid test of that task. Many evaluations decide this with weak rules, such as accepting any well-formed edit or any edit that stays close to the original in embedding space. We propose executable task contracts. A contract states which facts define a task, which edits are allowed, and what finishing the task means, and it checks each changed test case before the agent runs. We compare validity rules by scoring the same 14,336 stored agent runs under each rule. Across four encoders, embedding thresholds allowed 75-100% of edits that changed the task, such as swapping the payee, yet rejected 24-45% of valid hostile notes. With a MiniLM cosine threshold, Mistral appeared vulnerable on all 64 tasks, but only 26 had a successful valid attack. Replaying a saved solution and allowing edits to benchmark fields fail in similar ways. Evaluations should state, and check, what counts as the same task.

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

↑