Self-Refined Large Language Model as Automated Reward Function Designer for Deep Reinforcement Learning in Robotics

Jiayang Song, Zhehua Zhou, Jiawei Liu, Chunrong Fang, Zhan Shu +1 more
9/13/2023
52 citations
cs.ROcs.AI
rl

Official code: zhehuazhou/LLM_Reward_Design (9 stars, last commit 2023-09-08).

Abstract

Although Deep Reinforcement Learning (DRL) has achieved notable success in numerous robotic applications, designing a high-performing reward function remains a challenging task that often requires substantial manual input. Recently, Large Language Models (LLMs) have been extensively adopted to address tasks demanding in-depth common-sense knowledge, such as reasoning and planning.

Show full abstract

Recognizing that reward function design is also inherently linked to such knowledge, LLM offers a promising potential in this context. Motivated by this, we propose in this work a novel LLM framework with a self-refinement mechanism for automated reward function design. The framework commences with the LLM formulating an initial reward function based on natural language inputs. Then, the performance of the reward function is assessed, and the results are presented back to the LLM for guiding its self-refinement process. We examine the performance of our proposed framework through a variety of continuous robotic control tasks across three diverse robotic systems. The results indicate that our LLM-designed reward functions are able to rival or even surpass manually designed reward functions, highlighting the efficacy and applicability of our approach.

View on arXivView PDF

Code Implementations(1)

90Sep 8, 20233 years ago

Similar Papers

Cite this paper

@article{song2023selfrefined,
  title  = {Self-Refined Large Language Model as Automated Reward Function Designer for Deep Reinforcement Learning in Robotics},
  author = {Jiayang Song and Zhehua Zhou and Jiawei Liu and Chunrong Fang and Zhan Shu and Lei Ma},
  year   = {2023},
  eprint = {2309.06687},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.06687v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.06687.svg)](https://codeofpaper.com/paper/2309.06687)

Discussion