色婷婷色综合,亚洲天堂2014,亚洲精品2区,亚洲午夜一区二区

<Back

Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Control

Longtao Zheng, Rundong Wang, Xinrun Wang, Bo An

ICLR 2024 Conference

May 2024

Keywords: AI Agents, Large Language Models, Prompting

Abstract:

Building agents with large language models (LLMs) for computer control is a burgeoning research area, where the agent receives computer states and performs actions to complete complex tasks. Previous computer agents have demonstrated the benefits of in-context learning (ICL); however, their performance is hindered by several issues. First, the limited context length of LLMs and complex computer states restrict the number of exemplars, as a single webpage can consume the entire context. Second, the exemplars in current methods, such as high-level plans and multi-choice questions, cannot represent complete trajectories, leading to suboptimal performance in long-horizon tasks. Third, existing computer agents rely on task-specific exemplars and overlook the similarity among tasks, resulting in poor generalization to novel tasks. To address these challenges, we introduce Synapse, a computer agent featuring three key components: i) state abstraction, which filters out task-irrelevant information from raw states, allowing more exemplars within the limited context, ii) trajectory-as-exemplar prompting, which prompts the LLM with complete trajectories of the abstracted states and actions to improve multi-step decision-making, and iii) exemplar memory, which stores the embeddings of exemplars and retrieves them via similarity search for generalization to novel tasks. We evaluate Synapse on MiniWoB++, a standard task suite, and Mind2Web, a real-world website benchmark. In MiniWoB++, Synapse achieves a 99.2% average success rate (a 10% relative improvement) across 64 tasks using demonstrations from only 48 tasks. Notably, Synapse is the first ICL method to solve the book-flight task in MiniWoB++. Synapse also exhibits a 56% relative improvement in average step success rate over the previous state-of-the-art prompting scheme in Mind2Web.

View More PDF>>

主站蜘蛛池模板: 南木林县| 勐海县| 阜阳市| 江北区| 北票市| 通海县| 大荔县| 图片| 紫阳县| 蒙自县| 浪卡子县| 眉山市| 徐汇区| 武功县| 金华市| 茂名市| 达州市| 荔浦县| 斗六市| 印江| 临沭县| 寿光市| 红安县| 类乌齐县| 永登县| 庐江县| 安泽县| 望江县| 白银市| 甘孜县| 中方县| 东台市| 韶关市| 大理市| 镇康县| 信阳市| 清远市| 大荔县| 开平市| 怀宁县| 连南|