智能体工作流记忆(Agent Workflow Memory)
Agent Workflow Memory
AI总结:
针对长周期复杂任务下智能体表现不佳的问题,提出Agent Workflow Memory方法,通过归纳复用工作流指导智能体行动,在两大网页导航基准上显著提升成功率与泛化能力。
摘要:
尽管基于语言模型的智能体在解决网页导航等现实任务方面颇具潜力,但现有方法仍难以应对具有复杂动作轨迹的长周期任务。相比之下,人类能够从过往经验中学习可复用的任务工作流,并以此指导后续行动,从而灵活解决复杂任务。为构建能同样受益于这一过程的智能体,我们提出Agent Workflow Memory(AWM,智能体工作流记忆)方法,该方法可归纳出常用的可复用例程即工作流,并选择性地向智能体提供工作流以指导后续生成。AWM可灵活应用于离线和在线场景:智能体可预先从训练样本中归纳工作流,也可在测试时根据查询实时归纳。我们在两大主流网页导航基准——Mind2Web和WebArena——上开展实验,这两个基准共涵盖来自旅游、购物、社交媒体等200多个领域的1000余项任务。AWM大幅提升了基线性能,在Mind2Web和WebArena上的相对成功率分别提高24.6%和51.1%,同时减少了成功解决WebArena任务所需的步骤数。此外,在线AWM在跨任务、跨网站和跨领域评估中展现出强泛化能力,随着训练-测试任务分布差距扩大,其性能较基线高出8.9至14.0个绝对百分点。
英文摘要:
Despite the potential of language model-based agents to solve real-world tasks such as web navigation, current methods still struggle with long-horizon tasks with complex action trajectories. In contrast, humans can flexibly solve complex tasks by learning reusable task workflows from past experiences and using them to guide future actions. To build agents that can similarly benefit from this process, we introduce Agent Workflow Memory (AWM), a method for inducing commonly reused routines, i.e., workflows, and selectively providing workflows to the agent to guide subsequent generations. AWM flexibly applies to both offline and online scenarios, where agents induce workflows from training examples beforehand or from test queries on the fly. We experiment on two major web navigation benchmarks -- Mind2Web and WebArena -- that collectively cover 1000+ tasks from 200+ domains across travel, shopping, and social media, among others. AWM substantially improves the baseline results by 24.6% and 51.1% relative success rate on Mind2Web and WebArena while reducing the number of steps taken to solve WebArena tasks successfully. Furthermore, online AWM robustly generalizes in cross-task, website, and domain evaluations, surpassing baselines from 8.9 to 14.0 absolute points as train-test task distribution gaps widen.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。