arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.12710cs.AIcs.CL
收藏

基于大语言模型的网络代理的AI规划框架

AI Planning Framework for LLM-Based Web Agents

Faculty of Computer and Information Science, University of Haifa(计算机与信息科学学院,海法大学)

Orit Shahnovsky, Rotem Dror

AI总结:

本文提出一种将网络任务视为序列决策过程的AI规划框架,通过将现代代理架构映射到传统规划范式,提出五种新的评估指标,验证了全计划提前代理在技术指标上的优势。

摘要:

开发自主代理以执行网络任务是人工智能的核心挑战。尽管大型语言模型(LLM)代理能够解释复杂用户请求,但它们通常作为黑箱操作,难以诊断失败原因或规划过程。本文通过将网络任务正式视为序列决策过程来填补这一空白。我们引入了一种分类法,将现代代理架构映射到传统规划范式:逐步代理映射到广度优先搜索(BFS),树搜索代理映射到最佳优先树搜索,全计划提前代理映射到深度优先搜索(DFS)。该框架允许对系统故障如上下文漂移和不一致的任务分解进行原理性诊断。为了评估这些行为,我们提出了五种新的评估指标,这些指标超越了简单的成功率来评估轨迹质量。我们通过WebArena基准的794个人标注轨迹新数据集支持这一分析。最后,我们通过将基线逐步代理与新型全计划提前实现进行比较,验证了我们的评估框架。我们的结果表明,尽管逐步代理更接近人类黄金轨迹(38%总体成功),但全计划提前代理在技术指标如元素准确性(89%)上表现更优,证明了我们提出的指标在选择适合特定应用约束的代理架构方面的必要性。

英文摘要:

Developing autonomous agents for web-based tasks is a core challenge in AI. While Large Language Model (LLM) agents can interpret complex user requests, they often operate as black boxes, making it difficult to diagnose why they fail or how they plan. This paper addresses this gap by formally treating web tasks as sequential decision-making processes. We introduce a taxonomy that maps modern agent architectures to traditional planning paradigms: Step-by-Step agents to Breadth-First Search (BFS), Tree Search agents to Best-First Tree Search, and Full-Plan-in-Advance agents to Depth-First Search (DFS). This framework allows for a principled diagnosis of system failures like context drift and incoherent task decomposition. To evaluate these behaviors, we propose five novel evaluation metrics that assess trajectory quality beyond simple success rates. We support this analysis with a new dataset of 794 human-labeled trajectories from the WebArena benchmark. Finally, we validate our evaluation framework by comparing a baseline Step-by-Step agent against a novel Full-Plan-in-Advance implementation. Our results reveal that while the Step-by-Step agent aligns more closely with human gold trajectories (38% overall success), the Full-Plan-in-Advance agent excels in technical measures such as element accuracy (89%), demonstrating the necessity of our proposed metrics for selecting appropriate agent architectures based on specific application constraints.

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

↑