arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.12931cs.ROcs.AIcs.LG
收藏

Eureka:通过编码大型语言模型实现人类级奖励设计

Eureka: Human-Level Reward Design via Coding Large Language Models

UPenn(宾夕法尼亚大学);Caltech(加州理工学院);NVIDIA(英伟达公司);UT Austin(德克萨斯大学奥斯汀分校)

Yecheng Jason Ma, William Liang, Guanzhi Wang, De-An Huang, Osbert Bastani, Dinesh Jayaraman, Yuke Zhu, Linxi Fan, Anima Anandkumar

AI总结:

Eureka 利用 GPT-4 等大语言模型的代码生成与上下文进化优化能力自动设计奖励函数,在 29 个机器人 RL 环境中 83% 任务超越人类专家,并首次实现模拟 Shadow Hand 快速转笔。

摘要:

大型语言模型(LLMs)已作为高层语义规划器在顺序决策任务中表现出色。然而,利用它们学习复杂的低层操作任务(例如灵巧的转笔)仍然是一个未解决的问题。我们弥合了这一根本性差距,并提出了 Eureka,一种由 LLMs 驱动的人类级奖励设计算法。Eureka 利用最先进的 LLMs(如 GPT-4)卓越的零样本生成、代码编写和上下文改进能力,对奖励代码执行进化优化。由此产生的奖励随后可用于通过强化学习习得复杂技能。在没有任何任务特定提示或预定义奖励模板的情况下,Eureka 生成的奖励函数优于专家人工设计的奖励。在包含 10 种不同机器人形态的 29 个开源 RL 环境的多样化套件中,Eureka 在 83% 的任务上优于人类专家,平均归一化改进达到 52%。Eureka 的通用性还催生了一种新的无梯度上下文学习方法,用于从人类反馈中进行强化学习(RLHF),能够在不更新模型的情况下轻松纳入人类输入,以提高生成奖励的质量和安全性。最后,在课程学习设置中使用 Eureka 奖励,我们首次展示了一只模拟 Shadow Hand 能够执行转笔技巧,以快速熟练地画圈操控一支笔。

英文摘要:

Large Language Models (LLMs) have excelled as high-level semantic planners for sequential decision-making tasks. However, harnessing them to learn complex low-level manipulation tasks, such as dexterous pen spinning, remains an open problem. We bridge this fundamental gap and present Eureka, a human-level reward design algorithm powered by LLMs. Eureka exploits the remarkable zero-shot generation, code-writing, and in-context improvement capabilities of state-of-the-art LLMs, such as GPT-4, to perform evolutionary optimization over reward code. The resulting rewards can then be used to acquire complex skills via reinforcement learning. Without any task-specific prompting or pre-defined reward templates, Eureka generates reward functions that outperform expert human-engineered rewards. In a diverse suite of 29 open-source RL environments that include 10 distinct robot morphologies, Eureka outperforms human experts on 83% of the tasks, leading to an average normalized improvement of 52%. The generality of Eureka also enables a new gradient-free in-context learning approach to reinforcement learning from human feedback (RLHF), readily incorporating human inputs to improve the quality and the safety of the generated rewards without model updating. Finally, using Eureka rewards in a curriculum learning setting, we demonstrate for the first time, a simulated Shadow Hand capable of performing pen spinning tricks, adeptly manipulating a pen in circles at rapid speed.

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

↑