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

CASEL:面向可靠长周期工具使用智能体的后果感知选择性执行

CASEL: Consequence-Aware Selective Execution for Reliable Long-Horizon Tool-Using Agents

Carnegie Mellon University(卡内基梅隆大学);Feinity LLC(Feinity有限责任公司);Dartmouth College(达特茅斯学院)

Yanyan Zhang, Fei Shen, Ting Yan, Hao Zhang

AI总结:

本研究提出CASEL,一种后果感知的工具调用运行时分配策略,在受控模拟中可显著降低工具使用智能体的有害副作用轨迹比例与平均归一化伤害,且性能优于部分对比方法。

摘要:

使用工具的语言智能体越来越多地修改外部系统,但大多数运行时安全措施通过通用不确定性分数或粗略的突变启发式方法分配审查资源。我们提出CASEL(Consequence-Aware Selective Execution Layer,后果感知选择性执行层),这是一种与模型无关的运行时分配策略,结合校准的故障概率、依赖状态的后果、可逆性、模糊性和证据时效性,针对每个提议的工具调用,通过最小化每种模式的成本,在直接执行、验证、沙箱处理、澄清、批准和弃权(不执行)之间做出选择。我们将直接执行形式化为选择性预测和状态,并测试有限样本阈值和轨迹风险账本的有效性条件。在包含20个随机种子、每个种子120000个测试动作的受控模拟中,所有方法具有相同的干预菜单和相同的计算成本,CASEL将有害副作用轨迹从不确定性排名门的14.75%降至7.02%,平均归一化伤害从0.184降至0.123。按故障概率与后果的乘积排名的门达到相似的伤害(5.82%,0.120),但发送给人工批准的动作多45%,移除可逆性感知路由会使该比率升至15.53%。相比之下,轨迹级风险预算在相同成本下会增加伤害(11.82%)。本研究假设干预有效但未对其进行测量,结果是在模拟器假设下对分配规则的排名,并未确立部署有效性。

英文摘要:

Tool-using language agents increasingly modify external systems, yet most runtime safeguards allocate scrutiny by generic uncertainty scores or coarse mutation heuristics. We introduce CASEL (Consequence-Aware Selective Execution Layer), a model-agnostic runtime allocation policy that combines calibrated failure probability, state-dependent consequence, reversibility, ambiguity, and evidence freshness to choose, for each proposed tool call, among direct execution, verification, sandboxing, clarification, approval, and abstention by minimizing a per-mode cost. We formalize direct execution as selective prediction and state and test the validity conditions of a finite-sample threshold and a trajectory risk ledger. In a controlled simulation over 20 seeds with 120,000 test actions each, in which every method has the same intervention menu and the same compute cost, CASEL reduces harmful-side-effect trajectories from 14.75 percent for an uncertainty-ranked gate to 7.02 percent and mean normalized harm from 0.184 to 0.123. A gate ranked by the product of failure probability and consequence reaches similar harm (5.82 percent, 0.120) but sends 45 percent more actions to human approval, and removing reversibility-aware routing raises the rate to 15.53 percent. A trajectory-level risk budget, in contrast, increases harm at equal cost (11.82 percent). Intervention effectiveness is assumed, not measured: the results rank allocation rules under the simulator's assumptions and do not establish deployment effectiveness.

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

↑