arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.00467cs.AIcs.HC
收藏

基于LLM的图形用户界面自动化的动态规划

Dynamic Planning for LLM-based Graphical User Interface Automation

School of Computer Science and Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术学院);School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院)

Shaoqing Zhang, Zhuosheng Zhang, Kehai Chen, Xinbei Ma, Muyun Yang, Tiejun Zhao, Min Zhang

AI总结:

针对LLM GUI智能体因动态环境和历史过长导致规划失效的问题,提出D-PoT方法动态调整规划,准确率较GPT-4V提升12.7%,并增强泛化与抗幻觉能力。

摘要:

大型语言模型(LLMs)的出现推动了基于LLM的自主智能体的发展,特别是在智能手机图形用户界面(GUIs)中引人注目的应用。当给定一个任务目标时,这些智能体通常在GUI环境中模拟人类操作,直到任务完成。然而,一个关键挑战在于制定有效的计划来指导GUI任务中的动作预测,尽管规划已被广泛认为是将复杂任务分解为一系列步骤的有效方法。具体而言,鉴于动作执行后环境GUI的动态特性,基于环境反馈和动作历史动态调整计划至关重要。我们展示了广泛使用的ReAct方法由于过长的历史对话而失败。为了应对这一挑战,我们提出了一种名为Dynamic Planning of Thoughts(D-PoT)的新方法,用于基于LLM的GUI智能体。D-PoT涉及基于环境反馈和执行历史动态调整规划。实验结果表明,提出的D-PoT在准确率上显著超越了强大的GPT-4V基线,提升了+12.7%(34.66%→47.36%)。分析强调了动态规划在不同骨干LLM中的通用性,以及在减轻幻觉和适应未见任务方面的益处。代码可在https://github.com/sqzhang-lazy/D-PoT获取。

英文摘要:

The advent of large language models (LLMs) has spurred considerable interest in advancing autonomous LLMs-based agents, particularly in intriguing applications within smartphone graphical user interfaces (GUIs). When presented with a task goal, these agents typically emulate human actions within a GUI environment until the task is completed. However, a key challenge lies in devising effective plans to guide action prediction in GUI tasks, though planning have been widely recognized as effective for decomposing complex tasks into a series of steps. Specifically, given the dynamic nature of environmental GUIs following action execution, it is crucial to dynamically adapt plans based on environmental feedback and action history.We show that the widely-used ReAct approach fails due to the excessively long historical dialogues. To address this challenge, we propose a novel approach called Dynamic Planning of Thoughts (D-PoT) for LLM-based GUI agents.D-PoT involves the dynamic adjustment of planning based on the environmental feedback and execution history. Experimental results reveal that the proposed D-PoT significantly surpassed the strong GPT-4V baseline by +12.7% (34.66% $\rightarrow$ 47.36%) in accuracy. The analysis highlights the generality of dynamic planning in different backbone LLMs, as well as the benefits in mitigating hallucinations and adapting to unseen tasks. Code is available at https://github.com/sqzhang-lazy/D-PoT.

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

↑