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.
Grounding Large Language Models in Reaction Knowledge Graphs for Synthesis Retrieval
Department of Intelligent Systems, Delft University of Technology(智能系统系,代尔夫特理工大学);Department of Chemical Engineering, Delft University of Technology(化学工程系,代尔夫特理工大学)
Prompting is not enough: supervised baselines and leakage control for measuring shared decision-making with LLMs in pediatric encounters
University of Utah(犹他大学);University of Utah Spencer Fox Eccles School of Medicine(犹他大学斯宾塞·福克斯·埃克尔斯医学院);Kahlert School of Computing, University of Utah(犹他大学卡勒特计算机学院);Huntsman Cancer Institute, University of Utah(犹他大学亨茨曼癌症研究所)
Rethinking the Chain-of-Thought: The Roles of In-Context Learning and Pre-trained Priors
School of Intelligence Science and Technology, National Key Laboratory for Novel Software Technology, Nanjing University(智能科学与技术学院,新型软件技术国家重点实验室,南京大学);School of Computing and Information Systems, Singapore Management University(计算与信息系统学院,新加坡管理大学);Central South University(中南大学);School of Global Education and Development, International Chinese Language Education, University of Chinese Academy of Social Sciences(全球教育与发展学院,国际中文教育,中国社会科学院)
TAGS: A Test-Time Generalist-Specialist Framework with Retrieval-Augmented Reasoning and Verification
Mohamed bin Zayed University of Artificial Intelligence(莫莫德·本·扎耶德人工智能大学);Monash University(墨尔本大学);Xi’an Jiaotong-Liverpool University(西安交通大学利物浦大学);University of Southampton(南安普顿大学)
From Textual Requirements to Microservice Architectures - A Comprehensive Evaluation of LLM-Based Design Synthesis
Federal University of Campina Grande (UFCG)(帕伊巴联邦大学(UFCG));VIRTUS/UFCG;Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)(国家科学技术研究委员会(CONICET));Universidad Nacional del Centro de la Provincia de Buenos Aires (UNICEN)(布宜诺斯艾利斯省中部国立大学(UNICEN));Federal Institute of Pernambuco (IFPE)(伯南布哥联邦学院(IFPE));Rui Barbosa State School(鲁伊·巴尔博萨州立学校)