arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.11964cs.AI
收藏

从语言模型到实用的自我改进计算机智能体

From Language Models to Practical Self-Improving Computer Agents

New York University(纽约大学)

Alex Sheng

AI总结:

本文提出一种让LLM智能体通过生成工具自我增强的方法,仅从终端访问开始,即可执行多种真实计算机任务并自我改进。

摘要:

我们开发了一种简单直接的方法来创建能够执行多种计算机任务并通过开发工具和增强功能自我改进的AI计算机智能体,使其能够解决日益复杂的任务。由于大型语言模型(LLMs)已被证明能从非参数增强中受益,近期大量工作聚焦于开发增强LLM各种能力的软件。我们提出,与其通过人工工程努力手动开发静态软件来增强LLM,不如让LLM智能体系统性地生成软件来增强自身。通过几个案例研究,我们展示了带有适当提示工程的最小查询循环能使LLM生成并使用各种增强功能,自由扩展自身能力以执行真实世界的计算机任务。仅从终端访问开始,我们提示LLM智能体自我增强检索、互联网搜索、网页导航和文本编辑器能力。该智能体有效使用这些工具解决了包括自动化软件开发和基于网页的任务在内的各种问题。

英文摘要:

We develop a simple and straightforward methodology to create AI computer agents that can carry out diverse computer tasks and self-improve by developing tools and augmentations to enable themselves to solve increasingly complex tasks. As large language models (LLMs) have been shown to benefit from non-parametric augmentations, a significant body of recent work has focused on developing software that augments LLMs with various capabilities. Rather than manually developing static software to augment LLMs through human engineering effort, we propose that an LLM agent can systematically generate software to augment itself. We show, through a few case studies, that a minimal querying loop with appropriate prompt engineering allows an LLM to generate and use various augmentations, freely extending its own capabilities to carry out real-world computer tasks. Starting with only terminal access, we prompt an LLM agent to augment itself with retrieval, internet search, web navigation, and text editor capabilities. The agent effectively uses these various tools to solve problems including automated software development and web-based tasks.

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

↑