paper-with-me

홈 › Papers

Synthesizing Programmatic Reinforcement Learning Policies with Large Language Model Guided Search

2024-05-26 · Max Liu, Chan-Hung Yu, Wei-Hsu Lee, Cheng-Wei Hung, Yen-Chun Chen, Shao-Hua Sun

Programmatic reinforcement learning (PRL) has been explored for representing policies through programs as a means to achieve interpretability and generalization. Despite promising outcomes, current state-of-the-art PRL methods are hindered by sample inefficiency, necessitating tens of millions of program-environment interactions. To tackle this challenge, we introduce a novel LLM-guided search framework (LLM-GS). Our key insight is to leverage the programming expertise and common sense reasoning of LLMs to enhance the efficiency of assumption-free, random-guessing search methods. We address the challenge of LLMs' inability to generate precise and grammatically correct programs in domain-specific languages (DSLs) by proposing a Pythonic-DSL strategy - an LLM is instructed to initially generate Python codes and then convert them into DSL programs. To further optimize the LLM-generated programs, we develop a search algorithm named Scheduled Hill Climbing, designed to efficiently explore the programmatic search space to improve the programs consistently. Experimental results in the Karel domain demonstrate our LLM-GS framework's superior effectiveness and efficiency. Extensive ablation studies further verify the critical role of our Pythonic-DSL strategy and Scheduled Hill Climbing algorithm. Moreover, we conduct experiments with two novel tasks, showing that LLM-GS enables users without programming skills and knowledge of the domain or DSL to describe the tasks in natural language to obtain performant programs.

📄 PDF Abstract BibTeX arXiv:2405.16450

Code (0)

등록된 구현이 없습니다.

Tasks

Common Sense ReasoningLanguage ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Programmatic Reinforcement Learning: Navigating Gridworlds

2024-02-18 · Guruprerana Shabadi, Nathanaël Fijalkow, Théo Matricon

The field of reinforcement learning (RL) is concerned with algorithms for learning optimal policies in unknown stochastic environments. Programmatic RL studies representations of policies as programs, meaning involving h…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)

Synthesizing Programmatic Policies with Actor-Critic Algorithms and ReLU Networks

2023-08-04 · Spyros Orfanos, Levi H. S. Lelis

Programmatically Interpretable Reinforcement Learning (PIRL) encodes policies in human-readable computer programs. Novel algorithms were recently introduced with the goal of handling the lack of gradient signal to guide …

Translation

Programmatic Reinforcement Learning without Oracles

2021-09-29 · ICLR 2022 4 · Wenjie Qiu, He Zhu

Deep reinforcement learning (RL) has led to encouraging successes in many challenging control tasks. However, a deep RL model lacks interpretability due to the difficulty of identifying how the model's control logic rela…

Bilevel OptimizationDeep Reinforcement LearningPolicy Gradient Methodsreinforcement-learning+2

Synthesizing Programmatic Policies that Inductively Generalize

2020-05-01 · ICLR 2020 1 · Jeevana Priya Inala, Osbert Bastani, Zenna Tavares, Armando Solar-Lezama

Deep reinforcement learning has successfully solved a number of challenging control tasks. However, learned policies typically have difficulty generalizing to novel environments. We propose an algorithm for learning prog…

Deep Reinforcement LearningImitation LearningReinforcement Learning (RL)

Programmatically Interpretable Reinforcement Learning

2018-04-06 · ICML 2018 7 · Abhinav Verma, Vijayaraghavan Murali, Rishabh Singh, Pushmeet Kohli 외

We present a reinforcement learning framework, called Programmatically Interpretable Reinforcement Learning (PIRL), that is designed to generate interpretable and verifiable agent policies. Unlike the popular Deep Reinfo…

Car RacingDeep Reinforcement Learningreinforcement-learningReinforcement Learning+1