LLM-Augmented Symbolic Reinforcement Learning with Landmark-Based Task Decomposition

Alireza Kheirandish, Duo Xu, Faramarz Fekri
10/2/2024
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

One of the fundamental challenges in reinforcement learning (RL) is to take a complex task and be able to decompose it to subtasks that are simpler for the RL agent to learn. In this paper, we report on our work that would identify subtasks by using some given positive and negative trajectories for solving the complex task. We assume that the states are represented by first-order predicate logic using which we devise a novel algorithm to identify the subtasks. Then we employ a Large Language Model (LLM) to generate first-order logic rule templates for achieving each subtask. Such rules were then further fined tuned to a rule-based policy via an Inductive Logic Programming (ILP)-based RL agent. Through experiments, we verify the accuracy of our algorithm in detecting subtasks which successfully detect all of the subtasks correctly. We also investigated the quality of the common-sense rules produced by the language model to achieve the subtasks. Our experiments show that our LLM-guided rule template generation can produce rules that are necessary for solving a subtask, which leads to solving complex tasks with fewer assumptions about predefined first-order logic predicates of the environment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kheirandish2024llmaugmented,
  title  = {LLM-Augmented Symbolic Reinforcement Learning with Landmark-Based Task Decomposition},
  author = {Alireza Kheirandish and Duo Xu and Faramarz Fekri},
  year   = {2024},
  eprint = {2410.01929},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.01929v1}
}

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/2410.01929.svg)](https://codeofpaper.com/paper/2410.01929)

Discussion