arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2606.15034cs.AI
收藏

OSGuard:计算机使用智能体安全基准

OSGuard: A Benchmark for Safety in Computer-Use Agents

University of California, Santa Cruz(加州大学圣克鲁兹分校)

Mina Mohammadmirzaei, Jeffrey Flanigan

AI总结:

提出OSGuard双粒度基准,通过动作级安全判断和风险增强执行评估智能体在良性指令下的安全性,揭示局部监督与端到端安全的差距。

摘要:

计算机使用智能体越来越根据它们是否完成现实的桌面和网页任务来评估。然而,仅凭任务成功可能会遗漏智能体通过不安全捷径达到名义目标时的失败。我们引入了OSGuard,一个双粒度基准套件,用于在良性、未更改的用户指令下评估计算机使用智能体的安全性。OSGuard包含一个用于局部护栏决策的动作级基准和一个用于端到端评估的风险增强执行套件。动作级基准由上下文化的提议动作组成,这些动作被标记为允许、无关或不安全,每个判断都相对于原始指令和当前界面状态。执行套件包含手动构建的OSWorld衍生任务变体,其中原始任务仍然可完成,但环境被修改以引入潜在危险,如破坏性覆盖等。每个变体都配有增强评估器,保留原始任务成功标准,同时添加显式的基于状态的安全不变量,使我们能够区分安全完成和满足名义任务目标的不安全完成。我们在OSGuard上的实验结果表明,当前的多模态护栏在孤立的动作判断上表现良好,而风险增强执行暴露了局部监督与可靠端到端安全之间的剩余差距。这种双粒度设计能够更精确地诊断模型是否既能识别不安全的提议动作,又能在作为护栏部署时提高全任务安全性。

英文摘要:

Computer-use agents can complete benign user instructions while violating important constraints of the user's environment. We introduce OSGuard, a dual-granularity benchmark suite for evaluating safety through local, pre-execution guardrail decisions and end-to-end task execution. Its action-level benchmark contains 324 human-annotated examples in which guardrails classify candidate actions as allowed, unrelated, or unsafe given the original instruction and current interface state. Its risk-augmented execution suite contains 45 tasks derived from 40 OSWorld tasks, keeping original instructions unchanged while modifying the environment to introduce state-dependent safety constraints and preserve a safe path to completion. Augmented evaluators retain the original task-success criteria and add explicit state-based safety checks, distinguishing safe completion from nominal success that violates these constraints. On the action-level benchmark, the strongest evaluated guardrail reaches 79.9\% accuracy and 0.80 macro-F1, but performance drops substantially on actions from risk-augmented executions. In full-task evaluation, an unguarded agent completes 62.2\% of tasks safely while 37.8\% result in unsafe completion; adding the strongest guardrail reduces unsafe completion to 33.3\% while leaving safe success unchanged. These results show that state-dependent safety constraints remain challenging both to recognize locally and to preserve during end-to-end computer use.

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

↑