arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08740cs.CLcs.SYeess.SY
收藏

一种用于计算机控制的零样本语言智能体:基于结构化反思

A Zero-Shot Language Agent for Computer Control with Structured Reflection

Google Research(谷歌研究院);University of Toronto(多伦多大学)

Tao Li, Gang Li, Zhiwei Deng, Bryan Wang, Yang Li

AI总结:

提出一种零样本语言智能体,通过自我反思和结构化思维管理在部分可观察环境中自主规划动作并从错误中学习,无需专家轨迹即可在MiniWoB++任务上达到或超越现有最佳模型。

摘要:

大型语言模型(LLMs)在实时计算机环境(例如MiniWoB++)中规划和执行高级目标的能力日益增强。为了执行任务,近期的工作通常需要模型通过监督学习或少/多样本提示从任务的轨迹示例中学习。如果没有这些轨迹示例,智能体如何自主学习和改进其对计算机的控制仍然是一个挑战,这限制了智能体执行新任务的能力。我们通过一个不需要给定专家轨迹的零样本智能体来解决这个问题。我们的智能体在部分可观察的环境中规划可执行的动作,并通过自我反思和结构化思维管理来识别并从错误中学习,从而迭代地推进任务。在MiniWoB++的简单任务上,我们展示了零样本智能体通常优于近期的SoTA,且推理更高效。对于更复杂的任务,尽管先前的工作具有访问专家轨迹或额外屏幕信息的优势,我们的反思型智能体的表现仍与之前的最佳模型相当。

英文摘要:

Large language models (LLMs) have shown increasing capacity at planning and executing a high-level goal in a live computer environment (e.g. MiniWoB++). To perform a task, recent works often require a model to learn from trace examples of the task via either supervised learning or few/many-shot prompting. Without these trace examples, it remains a challenge how an agent can autonomously learn and improve its control on a computer, which limits the ability of an agent to perform a new task. We approach this problem with a zero-shot agent that requires no given expert traces. Our agent plans for executable actions on a partially observed environment, and iteratively progresses a task by identifying and learning from its mistakes via self-reflection and structured thought management. On the easy tasks of MiniWoB++, we show that our zero-shot agent often outperforms recent SoTAs, with more efficient reasoning. For tasks with more complexity, our reflective agent performs on par with prior best models, even though previous works had the advantages of accessing expert traces or additional screen information.

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

↑