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

SkillHarness:为计算机使用代理驾驭安全技能

SkillHarness: Harnessing Safe Skills for Computer-Use Agents

Yurun Chen, Biao Yi, Keting Yin, Shengyu Zhang

AI总结:

提出SkillHarness框架,通过安全约束交互过程建模技能学习与利用,利用多源监督信号识别安全技能并构建自改进约束,结合选择性技能重用,在动态环境中降低57.1%的不安全率并提升执行稳定性。

摘要:

计算机使用代理(CUA)越来越多地部署在动态交互环境中,这导致了对交互过程中持续技能学习的日益增长的需求。最近的方法通过从成功轨迹中学习可重用技能来应对这一挑战。然而,这些技能学习方法在很大程度上假设环境是静态且安全的,忽略了来自对抗性交互(例如,提示注入)和环境动态(例如,弹出窗口)的风险。在动态环境中,此类假设可能导致有风险的技能学习和脆弱的执行,从而损害CUA的可靠性。这引出了一个问题:CUA如何在动态环境中安全地学习和使用技能?为了解决这个问题,我们提出了SkillHarness,一个用于在动态环境中安全驾驭技能的框架。SkillHarness超越了静态技能抽象,将技能学习和利用建模为安全约束的交互过程。具体来说,我们引入了技能边界,利用多源监督信号从交互轨迹中识别安全技能,并在整个技能生命周期中构建自我改进的安全约束。此外,SkillHarness引入了选择性技能重用,其中任务被引导根据上下文进行分解,并通过技能子集的选择性激活来完成。我们的实验表明,SkillHarness将学习技能的不安全率显著降低了57.1%,并在动态环境变化下持续提高了执行稳定性,优于现有基线。

英文摘要:

Computer-Use Agents (CUAs) are increasingly deployed in dynamic interactive environments, creating a growing need for continual skill learning during interaction. Recent approaches address this challenge by learning reusable skills from successful trajectories. However, these skill learning methods largely assume static and safe environments, overlooking risks from adversarial interactions (e.g., prompt injections) and environmental dynamics (e.g., pop-ups). In dynamic settings, such assumptions can lead to risky skill learning and brittle execution, undermining the reliability of CUAs. This raises the question: how can CUAs learn and use skills safely in dynamic environments? To address this problem, we propose SkillHarness, a framework for safe skill harnessing in dynamic environments. SkillHarness moves beyond static skill abstractions by modeling skill learning and utilization as a safety-constrained interaction process. Specifically, we introduce the skill boundary that leverages multi-source supervision signals to identify safe skills from interaction trajectories, and construct self-improving safety constraints throughout the skill lifecycle. In addition, SkillHarness introduces selective skill reuse, where tasks are guided to decompose according to context and completed through the selective activation of skill subsets. Our experiments demonstrate that SkillHarness significantly reduces the unsafe rate of learned skills by 57.1% and consistently improves execution stability under dynamic environmental changes, outperforming existing baselines.

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

↑