arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.03290cs.AIcs.CL
收藏

语言智能体能否替代 PPO?一项基于 OpenAI Gym 的初步实证研究

Can language agents be alternatives to PPO? A Preliminary Empirical Study On OpenAI Gym

East China Normal University(华东师范大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Tongji University(同济大学)

Junjie Sheng, Zixiao Huang, Chuyun Shen, Wenhao Li, Yun Hua, Bo Jin, Hongyuan Zha, Xiangfeng Wang

AI总结:

该研究构建 TextGym 与统一评测框架,通过 5 级场景和 EXE 智能体实验,初步考察语言智能体在序列决策任务中替代 PPO 的可行性。

摘要:

语言智能体在零样本或少样本决策方面展现出的强大能力,促使我们提出一个引人关注的问题:在传统序列决策任务中,语言智能体能否成为 PPO 智能体的替代方案?为研究这一问题,我们首先将 OpenAI Gym 中收集的环境作为测试平台,并将其落地为文本环境,构建了 TextGym 模拟器。鉴于 OpenAI Gym 的广泛使用,这使得 PPO 智能体与语言智能体之间能够进行直接且高效的比较。为确保公平、有效的基准评测,我们引入了用于精确控制领域知识的 5 个场景层级,并提出一个受 RL 启发、面向语言智能体的统一框架。此外,我们提出一种创新的探索—利用引导语言(EXE)智能体,用于解决 TextGym 中的任务。通过数值实验和消融研究,我们获得了关于语言智能体决策能力的有价值洞见,并对其在经典序列决策问题中替代 PPO 的潜力进行了初步评估。本文阐明了语言智能体的性能表现,并为这一令人兴奋领域的未来研究铺平道路。我们的代码已公开发布于 https://github.com/mail-ecnu/Text-Gym-Agents。

英文摘要:

The formidable capacity for zero- or few-shot decision-making in language agents encourages us to pose a compelling question: Can language agents be alternatives to PPO agents in traditional sequential decision-making tasks? To investigate this, we first take environments collected in OpenAI Gym as our testbeds and ground them to textual environments that construct the TextGym simulator. This allows for straightforward and efficient comparisons between PPO agents and language agents, given the widespread adoption of OpenAI Gym. To ensure a fair and effective benchmarking, we introduce $5$ levels of scenario for accurate domain-knowledge controlling and a unified RL-inspired framework for language agents. Additionally, we propose an innovative explore-exploit-guided language (EXE) agent to solve tasks within TextGym. Through numerical experiments and ablation studies, we extract valuable insights into the decision-making capabilities of language agents and make a preliminary evaluation of their potential to be alternatives to PPO in classical sequential decision-making problems. This paper sheds light on the performance of language agents and paves the way for future research in this exciting domain. Our code is publicly available at~\url{https://github.com/mail-ecnu/Text-Gym-Agents}.

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

↑