mlsanityData to 7 Oct 2026

Using Large Language Models to Automate and Expedite Reinforcement Learning with Reward Machine

arXiv 2402.07069 ↗First posted 11 Feb 2024cs.LG cs.AI cs.CLcited by 9

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  6. 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
  7. 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
  8. 2023ChatGPT for Robotics: Design Principles and Model Abilitiescited by 296
  9. 2016Hierarchical Deep Reinforcement Learning: Integrating Temporal Abstraction and Intrinsic Motivationcited by 282
  10. 2021Symbolic Knowledge Distillation: from General Language Models to Commonsense Modelscited by 270
  11. 2023MotionLM: Multi-Agent Motion Forecasting as Language Modelingcited by 154
  12. 2023Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Modelscited by 152
4 more
  1. 2019Joint Inference of Reward Machines and Policies for Reinforcement Learningcited by 56
  2. 2022Can Large Language Models Truly Understand Prompts? A Case Study with Negated Promptscited by 56
  3. 2022Automaton-Based Representations of Task Knowledge from Generative Language Modelscited by 12
  4. 2023Fine-Tuning Language Models Using Formal Methods Feedbackcited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 3; 2026: 2.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024On the Modeling Capabilities of Large Language Models for Sequential Decision Making
  2. 2025Prompted Policy Search: Reinforcement Learning through Linguistic and Numerical Reasoning in LLMs
  3. 2025PCGRLLM: Large Language Model-Driven Reward Design for Procedural Content Generation Reinforcement Learning
  4. 2026A Survey of Reinforcement Learning for Large Language Models under Data Scarcity: Challenges and Solutions
  5. 2025A Survey of Reinforcement Learning for Large Reasoning Models
  6. 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learning
  7. 2025Solver-Informed RL: Grounding Large Language Models for Authentic Optimization Modeling
  8. 2025SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data