[论文解读] AppAgent: Multimodal Agents as Smartphone Users
本文提出 AppAgent,是一个多模态基于大语言模型的框架,使具备视觉能力的代理能够通过 GUI 基于操作空间来操作智能手机应用,通过自主探索或人类示范学习,并配备文档引导的记忆,用于跨 10 个应用的任务。
Recent advancements in large language models (LLMs) have led to the creation of intelligent agents capable of performing complex tasks. This paper introduces a novel LLM-based multimodal agent framework designed to operate smartphone applications. Our framework enables the agent to operate smartphone applications through a simplified action space, mimicking human-like interactions such as tapping and swiping. This novel approach bypasses the need for system back-end access, thereby broadening its applicability across diverse apps. Central to our agent's functionality is its innovative learning method. The agent learns to navigate and use new apps either through autonomous exploration or by observing human demonstrations. This process generates a knowledge base that the agent refers to for executing complex tasks across different applications. To demonstrate the practicality of our agent, we conducted extensive testing over 50 tasks in 10 different applications, including social media, email, maps, shopping, and sophisticated image editing tools. The results affirm our agent's proficiency in handling a diverse array of high-level tasks.
研究动机与目标
- 展示一个多模态代理,它可以通过与 GUI 交互而不是系统后端来操作任意智能手机应用。
- 为应用控制开发一个简化、类似人类的动作空间(点击、滑动、文本等)。
- 展示基于探索的学习过程(自主探索和观看示范)以建立可用的知识/文档基础。
- 在多应用任务上评估代理,以评估适应性、学习效率和现实世界适用性。
提出的方法
- 定义一个基于 Android 的实验环境,具有两输入接口(截图 + XML 元素图)和一个简单的元素标识覆盖层。
- 提出一个四功能动作空间(Tap、Long_press、Swipe、Text)再加 Back 和 Exit,以在没有精确坐标的情况下操作 GUI 元素。
- 实现自主探索和基于示范的学习,以构建 UI 元素功能和效果的动态参考文档。
- 使用该文档通过包含观察、推理和行动摘要的逐步提示来指导部署,形成后续步骤的记忆。
- 通过定量指标(SR、奖励、平均步骤)和定性案例研究,评估各种设计选择(简化的动作空间、自治探索、观看示范以及人工设计的文档)。
实验结果
研究问题
- RQ1具备视觉能力的 LLM 代理是否能够通过 GUI 级别的操作而非后端 API 可靠地操作多样的智能手机应用?
- RQ2探索(自主探索与基于示范)以及文档生成对跨应用的任务成功率和效率有何影响?
- RQ3对于复杂手势和多点触控交互,简化动作空间的取舍与限制有哪些?
主要发现
- 与原始动作 API 相比,简化的动作空间显著提升了 GPT-4 基线的性能。
- 探索策略(自主探索和观看人类示范)在各应用间显著提升成功率与效率。
- 通过自主探索或示范生成的文档接近手工设计文档的效果,使得无需逐应用再训练即可实现有效部署。
- 图像编辑(Lightroom)案例研究表明,基于代理的结果在编辑质量的用户排名上可超越 GPT-4 基线。
- 整体架构在 10 个应用和 50 个任务中实现高 SR 和有利的奖励/步骤权衡。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。