Skip to main content
QUICK REVIEW

[Paper Review] Language to Rewards for Robotic Skill Synthesis

Wenhao Yu, Nimrod Gileadi|arXiv (Cornell University)|Jun 14, 2023
Topic ModelingComputer Science38 citations
TL;DR

The paper proposes using large language models to generate reward functions that MuJoCo MPC optimizes to synthesize diverse robotic skills from natural language, evaluated on 17 tasks with 90% success vs 50% for a primitive-baseline.

ABSTRACT

Large language models (LLMs) have demonstrated exciting progress in acquiring diverse new capabilities through in-context learning, ranging from logical reasoning to code-writing. Robotics researchers have also explored using LLMs to advance the capabilities of robotic control. However, since low-level robot actions are hardware-dependent and underrepresented in LLM training corpora, existing efforts in applying LLMs to robotics have largely treated LLMs as semantic planners or relied on human-engineered control primitives to interface with the robot. On the other hand, reward functions are shown to be flexible representations that can be optimized for control policies to achieve diverse tasks, while their semantic richness makes them suitable to be specified by LLMs. In this work, we introduce a new paradigm that harnesses this realization by utilizing LLMs to define reward parameters that can be optimized and accomplish variety of robotic tasks. Using reward as the intermediate interface generated by LLMs, we can effectively bridge the gap between high-level language instructions or corrections to low-level robot actions. Meanwhile, combining this with a real-time optimizer, MuJoCo MPC, empowers an interactive behavior creation experience where users can immediately observe the results and provide feedback to the system. To systematically evaluate the performance of our proposed method, we designed a total of 17 tasks for a simulated quadruped robot and a dexterous manipulator robot. We demonstrate that our proposed method reliably tackles 90% of the designed tasks, while a baseline using primitive skills as the interface with Code-as-policies achieves 50% of the tasks. We further validated our method on a real robot arm where complex manipulation skills such as non-prehensile pushing emerge through our interactive system.

Motivation & Objective

  • Motivate bridging language and low-level robot control by using reward functions as an interface to optimization-based controllers.
  • Enable non-expert users to steer complex robot behaviors through natural language without hand-coded primitives.
  • Demonstrate data-efficient, interactive generation of rewards and real-time motion synthesis for locomotion and manipulation.
  • Evaluate the approach on simulated quadruped and dexterous-manipulator platforms and on real hardware.

Proposed method

  • Define rewards as a weighted sum of residue terms that are parameterized by ψ and weights w, enabling flexible task specification (R(s,a)=−∑i wi ni( ri(s,a,ψi) )).
  • Use a two-stage Reward Translator pipeline: Motion Descriptor LLM expands user input into a motion description template, then Reward Coder LLM generates executable reward-parameter code.
  • Ground language-to-reward with two LLM-driven components: Motion Descriptor (natural-language motion description) and Reward Coder (reward function code).
  • Employ MuJoCo MPC (MJPC) as a real-time optimizer to synthesize motor actions a1:H that maximize the accumulated reward J(a1:H).
  • Support interactive, iterative feedback to refine rewards and motions in real time, enabling correctional dialogue with the user.

Experimental results

Research questions

  • RQ1Can an LLM-driven reward interface generate diverse and complex robot motions from natural language?
  • RQ2Does using rewards as an interface and a two-stage language grounding improve robustness and expressiveness compared to primitive-skill baselines?
  • RQ3Can the system transfer from simulation to real robotic hardware while preserving performance?
  • RQ4Is a Motion Descriptor necessary to achieve reliable performance across tasks?
  • RQ5How does the method scale across locomotion and manipulation tasks with different morphologies?

Key findings

  • The method solves 90% of the designed 17 tasks in simulation, outperforming a primitive-skill baseline that solves 50% of tasks.
  • Using reward-based grounding with the Reward Translator and Motion Descriptor improves stability and task coverage over baselines.
  • The approach enables interactive, real-time synthesis of behaviors, including complex skills like moonwalking and dexterous manipulation to open a faucet.
  • The system demonstrates sim-to-real transfer on a real robot arm for non-prehensile pushing and grasping tasks.
  • Quantitatively, the reward-as-interface formulation yields higher pass rates across most task categories compared to Code-as-Policies baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.