atlas

Research map / Reinforcement learning / RL from feedback

Text2Reward: Reward Shaping with Language Models for Reinforcement Learning

ICLR 2024 · Reinforcement learning › RL from feedback · approach: Theory of RLHF · 9 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.

Text2Reward uses GPT-4 to generate and iteratively refine shaped dense reward code from natural-language goals and a Pythonic environment abstraction, training PPO/SAC policies for manipulation and locomotion tasks.

Problem

Reward shaping for RL is costly and requires expert knowledge or data; learned reward models (IRL, preference learning) are opaque and data-hungry, and prior LLM reward-code work produces unshaped rewards with restricted APIs.

Approach

Generate free-form, shaped dense reward code with an LLM from a language goal, a compact Pythonic environment description, background function docs, and retrieved few-shot reward examples; execute and self-correct errors, then refine the code with natural-language human feedback on rollout videos.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Text2Reward-generated dense reward codes instead of expert-written reward codesRL policies on ManiSkill2 and MetaWorld manipulation tasks · 17 manipulation taskssuccess rate and convergence speedMixed
use few-shot examples from the skills library instead of zero-shot generation (ablation)Text2Reward · ManiSkill2 and MetaWorld manipulation tasksdownstream performanceHelped
use few-shot examples from the skills library instead of zero-shot generation (ablation)Text2Reward · Turn Faucet and Open Doorslearning performanceHurt
add human-feedback iterations to few-shot reward generation (ablation)Text2Reward on Stack Cube · ManiSkill2 Stack Cubesuccess rate: from zero to oneHelped
add code-execution feedback to generated reward code (ablation)Text2Reward · reward-code generationerror rate: from 10% to near zeroHelped

Surprising findings

Limitations

Experimental setup

Datasets: MetaWorld ManiSkill2 Gym MuJoCo

Benchmarks: ManiSkill2 MetaWorld Gym MuJoCo

Metrics: task success rate convergence speed human-judged success rate on locomotion rollouts

Baselines: L2R Oracle expert-written reward

Builds on: Eureka Language to Rewards (L2R) PPO SAC Segment Anything Model

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