arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.06596cs.AIcs.HCcs.SE
收藏

理解大语言模型智能体在复杂安卓环境中的弱点

Understanding the Weakness of Large Language Model Agents within a Complex Android Environment

Peking University(北京大学);Microsoft Research(微软研究院)

Mingzhe Xing, Rongkai Zhang, Hui Xue, Qi Chen, Fan Yang, Zhen Xiao

AI总结:

本研究提出AndroidArena基准,评估LLM智能体在复杂安卓环境中的表现,发现其在跨应用和约束遵循上的弱点,并通过探索策略提升成功率27%。

摘要:

大语言模型(LLMs)使智能体能够在浏览器和游戏等特定领域软件中执行复杂任务。然而,当应用于操作系统等通用软件系统时,LLM智能体面临三个主要挑战。首先,动作空间庞大且动态,使得LLM智能体难以保持最新理解并提供准确响应。其次,现实世界任务通常需要跨应用协作,要求LLM智能体具备远见规划能力。第三,智能体需要识别符合用户约束(如安全问题和偏好)的最优解决方案。这些挑战催生了AndroidArena,一个旨在现代操作系统上评估LLM智能体的环境和基准。为解决高昂的人力成本,我们设计了一种可扩展且半自动化的方法来构建该基准。在任务评估中,AndroidArena采用准确且自适应的指标来解决非唯一解的问题。我们的研究结果显示,即使是最先进的LLM智能体在跨应用场景和遵守特定约束方面也存在困难。此外,我们识别出理解、推理、探索和反思这四种关键能力的缺失,是LLM智能体失败的主要原因。进一步地,我们对反思失败进行了实证分析,并通过我们提出的探索策略将成功率提高了27%。这项工作首次提供了理解LLM智能体细粒度弱点的宝贵见解,并为该领域的未来研究指明了方向。AndroidArena的环境、基准和评估代码已在https://github.com/AndroidArenaAgent/AndroidArena发布。

英文摘要:

Large language models (LLMs) have empowered intelligent agents to execute intricate tasks within domain-specific software such as browsers and games. However, when applied to general-purpose software systems like operating systems, LLM agents face three primary challenges. Firstly, the action space is vast and dynamic, posing difficulties for LLM agents to maintain an up-to-date understanding and deliver accurate responses. Secondly, real-world tasks often require inter-application cooperation}, demanding farsighted planning from LLM agents. Thirdly, agents need to identify optimal solutions aligning with user constraints, such as security concerns and preferences. These challenges motivate AndroidArena, an environment and benchmark designed to evaluate LLM agents on a modern operating system. To address high-cost of manpower, we design a scalable and semi-automated method to construct the benchmark. In the task evaluation, AndroidArena incorporates accurate and adaptive metrics to address the issue of non-unique solutions. Our findings reveal that even state-of-the-art LLM agents struggle in cross-APP scenarios and adhering to specific constraints. Additionally, we identify a lack of four key capabilities, i.e., understanding, reasoning, exploration, and reflection, as primary reasons for the failure of LLM agents. Furthermore, we provide empirical analysis on the failure of reflection, and improve the success rate by 27% with our proposed exploration strategy. This work is the first to present valuable insights in understanding fine-grained weakness of LLM agents, and offers a path forward for future research in this area. Environment, benchmark, and evaluation code for AndroidArena are released at https://github.com/AndroidArenaAgent/AndroidArena.

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

↑