Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machine
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 16 of its 30 references that are in the map. First posted on arXiv 11 Feb 2024.
Builds on
16 of 30 references.
References · 16
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
- 2023ChatGPT for Robotics: Design Principles and Model Abilitiescited by 296
- 2016Hierarchical Deep Reinforcement Learning: Integrating Temporal Abstraction and Intrinsic Motivationcited by 282
- 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
- 2023MotionLM: Multi-Agent Motion Forecasting as Language Modelingcited by 154
- 2023Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Modelscited by 152
4 more
- 2019Joint Inference of Reward Machines and Policies for Reinforcement Learningcited by 56
- 2022Can Large Language Models Truly Understand Prompts? A Case Study with Negated Promptscited by 56
- 2022Automaton-Based Representations of Task Knowledge from Generative Language Modelscited by 12
- 2023Fine-Tuning Language Models Using Formal Methods Feedbackcited by 12
Built on by
Citing papers per year: 2024: 4; 2025: 3; 2026: 2.
9 papers.
- 2024Leveraging LLM for Automated Ontology Extraction and Knowledge Graph Generationcited by 5
- 2025A Domain Adaptation of Large Language Models for Classifying Mechanical Assembly Componentscited by 5
- 2025ARM-FM: Automated Reward Machines via Foundation Models for Compositional Reinforcement Learningcited by 5
- 2024LLMs as Probabilistic Minimally Adequate Teachers for DFA Learningcited by 3
- 2024CUDLE: Learning Under Label Scarcity to Detect Cannabis Use in Uncontrolled Environmentscited by 2
- 2024A Declarative Query Language for Scientific Machine Learningcited by 0
- 2025GluMind: Multimodal Parallel Attention and Knowledge Retention for Robust Cross-Population Blood Glucose Forecastingcited by 0
- 2026An Actor-Critic Framework for Continuous-Time Jump-Diffusion Controls with Normalizing Flowscited by 0
- 2026Reward Shaping and Action Masking for Compositional Tasks using Behavior Trees and LLMscited by 0
- 2026Reward Shaping and Action Masking for Compositional Tasks using Behavior Trees and LLMs7 May 2026
- 2026An Actor-Critic Framework for Continuous-Time Jump-Diffusion Controls with Normalizing Flows7 Apr 2026
- 2025ARM-FM: Automated Reward Machines via Foundation Models for Compositional Reinforcement Learning16 Oct 2025
- 2025GluMind: Multimodal Parallel Attention and Knowledge Retention for Robust Cross-Population Blood Glucose Forecasting22 Sep 2025
- 2025A Domain Adaptation of Large Language Models for Classifying Mechanical Assembly Components2 May 2025
- 2024Leveraging LLM for Automated Ontology Extraction and Knowledge Graph Generation30 Nov 2024
- 2024CUDLE: Learning Under Label Scarcity to Detect Cannabis Use in Uncontrolled Environments4 Oct 2024
- 2024LLMs as Probabilistic Minimally Adequate Teachers for DFA Learning6 Aug 2024
- 2024A Declarative Query Language for Scientific Machine Learning25 May 2024
Similar, not cited
Close in wording, no citation either way
- 2024On the Modeling Capabilities of Large Language Models for Sequential Decision Making
- 2025Prompted Policy Search: Reinforcement Learning through Linguistic and Numerical Reasoning in LLMs
- 2025PCGRLLM: Large Language Model-Driven Reward Design for Procedural Content Generation Reinforcement Learning
- 2026A Survey of Reinforcement Learning for Large Language Models under Data Scarcity: Challenges and Solutions
- 2025A Survey of Reinforcement Learning for Large Reasoning Models
- 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learning
- 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling
- 2025SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data