atlas

Research map / Reinforcement learning / Visual and representation RL

RL-GPT: Integrating Reinforcement Learning and Code-as-policy

NeurIPS 2024 · Reinforcement learning › Visual and representation RL · approach: Probabilistic and autonomous RL · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

RL-GPT uses a slow GPT-4 agent to decide which Minecraft sub-actions to code and a fast GPT-4 agent to write code and RL configurations, with a critic agent driving two-loop iteration, so that coded actions can be inserted into the RL action space.

Problem

LLM agents are strong at coding high-level plans but weak at precise low-level control in embodied open-world tasks such as Minecraft, while RL learns low-level control but is sample-inefficient on long-horizon tasks.

Approach

Treat the RL training pipeline as a tool: a slow LLM agent decides which sub-actions are codeable versus to be learned with RL, a fast LLM agent writes code and RL configs (including inserting coded high-level actions into the RL action space), and a critic agent drives iterative refinement of both agents.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add the critic agent to the slow and fast agents (ablation)RL-GPT · MineDojo: crafting tablesuccess rate: 0.52 -> 0.65Helped
add the critic agent to the slow and fast agents (ablation)RL-GPT · MineDojo: stone pickaxesuccess rate: 0.56 -> 0.67Helped
split tasks between slow, fast, and critic agents instead of one agent (ablation)RL-GPT · MineDojo: crafting tablesuccess rate: 0.34 -> 0.65Helped
split tasks between slow, fast, and critic agents instead of one agent (ablation)RL-GPT · MineDojo: stone pickaxesuccess rate: 0.42 -> 0.67Helped
iterate the two-loop optimization to Iter-2 instead of zero-shot (ablation)RL-GPT · MineDojo: crafting tablesuccess rate: 0.26 -> 0.56Helped
iterate the two-loop optimization to Iter-2 instead of zero-shot (ablation)RL-GPT · MineDojo: milk bucketsuccess rate: 0.79 -> 0.88Helped
iterate the two-loop optimization to Iter-2 instead of zero-shot (ablation)RL-GPT · MineDojo: stone pickaxesuccess rate: 0.53 -> 0.67Helped
iterate the two-loop optimization to Iter-2 instead of zero-shot (ablation)RL-GPT · MineDojo: bedsuccess rate: 0.32 -> 0.30Hurt
use Iter-3 instead of Iter-2 (ablation)RL-GPT · MineDojo: crafting tablesuccess rate: 0.56 -> 0.65Helped
use Iter-3 instead of Iter-2 (ablation)RL-GPT · MineDojo: milk bucketsuccess rate: 0.88 -> 0.93Helped
use Iter-3 instead of Iter-2 (ablation)RL-GPT · MineDojo: stone pickaxesuccess rate: 0.67 -> 0.67No clear effect
use Iter-3 instead of Iter-2 (ablation)RL-GPT · MineDojo: bedsuccess rate: 0.30 -> 0.32Helped

Surprising findings

Limitations

Experimental setup

Datasets: MineDojo

Benchmarks: MineDojo ObtainDiamond

Metrics: success rate samples dead loop ratio

Baselines: MineAgent MineAgent (AutoCraft) Plan4MC DreamerV3 VPT DEPS-BC DEPS-Oracle Pure RL Pure Code

Builds on: Code-as-Policies Plan4MC DEPS MineAgent MineCLIP PPO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy