arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.04010cs.CLcs.AI
收藏

HarmonyGuard:通过自适应策略增强与双目标优化实现Web智能体的安全性与实用性

HarmonyGuard: Toward Safety and Utility in Web Agents via Adaptive Policy Enhancement and Dual-Objective Optimization

Zhejiang University(浙江大学);Xiamen University(厦门大学);Shanghai Jiao Tong University(上海交通大学)

Yurun Chen, Xavier Hu, Yuhan Liu, Keting Yin, Juncheng Li, Zhuosheng Zhang, Shengyu Zhang

AI总结:

针对Web智能体在长序列任务中安全与效用难以兼顾的问题,提出多智能体框架HarmonyGuard,通过自适应策略增强与双目标优化,将策略合规性提升38%,任务完成度提升20%。

摘要:

大型语言模型使智能体能够在开放网络环境中自主执行任务。然而,随着网络中的隐藏威胁不断演变,Web智能体在长序列操作中面临着平衡任务性能与新兴风险的挑战。尽管这一挑战至关重要,但当前研究仍局限于单目标优化或单轮场景,缺乏在网络环境中对安全性和实用性进行协同优化的能力。为解决这一空白,我们提出了HarmonyGuard,一个多智能体协作框架,利用策略增强和目标优化来共同提升实用性与安全性。HarmonyGuard采用多智能体架构,具有两个基本能力:(1)自适应策略增强:我们在HarmonyGuard中引入了策略智能体,它能够自动从非结构化外部文档中提取并维护结构化安全策略,同时根据不断演变的威胁持续更新策略。(2)双目标优化:基于安全性和实用性这两个目标,HarmonyGuard中集成的效用智能体执行马尔可夫实时推理来评估目标,并利用元认知能力对其进行优化。在多个基准上的广泛评估表明,与现有基线相比,HarmonyGuard将策略合规性提高了最多38%,任务完成度提高了最多20%,同时在所有任务中实现了超过90%的策略合规性。我们的项目可在此处获取:https://github.com/YurunChen/HarmonyGuard。

英文摘要:

Large language models enable agents to autonomously perform tasks in open web environments. However, as hidden threats within the web evolve, web agents face the challenge of balancing task performance with emerging risks during long-sequence operations. Although this challenge is critical, current research remains limited to single-objective optimization or single-turn scenarios, lacking the capability for collaborative optimization of both safety and utility in web environments. To address this gap, we propose HarmonyGuard, a multi-agent collaborative framework that leverages policy enhancement and objective optimization to jointly improve both utility and safety. HarmonyGuard features a multi-agent architecture characterized by two fundamental capabilities: (1) Adaptive Policy Enhancement: We introduce the Policy Agent within HarmonyGuard, which automatically extracts and maintains structured security policies from unstructured external documents, while continuously updating policies in response to evolving threats. (2) Dual-Objective Optimization: Based on the dual objectives of safety and utility, the Utility Agent integrated within HarmonyGuard performs the Markovian real-time reasoning to evaluate the objectives and utilizes metacognitive capabilities for their optimization. Extensive evaluations on multiple benchmarks show that HarmonyGuard improves policy compliance by up to 38% and task completion by up to 20% over existing baselines, while achieving over 90% policy compliance across all tasks. Our project is available here: https://github.com/YurunChen/HarmonyGuard.

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

↑