Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machine
We present LARL-RM (Large language model-generated Automaton for Reinforcement Learning with Reward Machine) algorithm in order to encode high-level knowledge into reinforcement learning using automaton to expedite the reinforcement learning. Our method uses Large Language Models (LLM) to obtain high-level domain-specific knowledge using prompt engineering instead of providing the reinforcement learning algorithm directly with the high-level knowledge which requires an expert to encode the automaton. We use chain-of-thought and few-shot methods for prompt engineering and demonstrate that our method works using these approaches. Additionally, LARL-RM allows for fully closed-loop reinforcement learning without the need for an expert to guide and supervise the learning since LARL-RM can use the LLM directly to generate the required high-level knowledge for the task at hand. We also show the theoretical guarantee of our algorithm to converge to an optimal policy. We demonstrate that LARL-RM speeds up the convergence by 30% by implementing our method in two case studies.
Code (0)
등록된 구현이 없습니다.
Tasks
Language ModelingLanguage ModellingLarge Language ModelPrompt Engineeringreinforcement-learningReinforcement LearningSimilar Papers 제목 키워드 기반
Learning to Ask for Conversational Machine Learning
Natural language has recently been explored as a new medium of supervision for training machine learning models. Here, we explore learning classification tasks using language in a conversational setting {--} where the au…
BIG-bench Machine LearningReinforcement LearningTowards Autonomous Reinforcement Learning for Real-World Robotic Manipulation with Large Language Models
Recent advancements in Large Language Models (LLMs) and Visual Language Models (VLMs) have significantly impacted robotics, enabling high-level semantic motion planning applications. Reinforcement Learning (RL), a comple…
Motion Planningreinforcement-learningReinforcement LearningReinforcement Learning (RL)Human-centric Reward Optimization for Reinforcement Learning-based Automated Driving using Large Language Models
One of the key challenges in current Reinforcement Learning (RL)-based Automated Driving (AD) agents is achieving flexible, precise, and human-like behavior cost-effectively. This paper introduces an innovative approach …
In-Context LearningReinforcement Learning (RL)Reinforcement Learning Based Minimum State-flipped Control for the Reachability of Boolean Control Networks
This paper proposes model-free reinforcement learning methods for minimum-cost state-flipped control in Boolean control networks (BCNs). We tackle two questions: 1) finding the flipping kernel, namely the flip set with t…
Q-LearningTransfer LearningSelf-Refined Large Language Model as Automated Reward Function Designer for Deep Reinforcement Learning in Robotics
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 inpu…
Common Sense ReasoningDeep Reinforcement LearningLanguage ModelingLanguage Modelling+1