Learning Reward for Robot Skills Using Large Language Models via Self-Alignment
Yuwei Zeng, Yao Mu, Lin Shao
TL;DR
The paper tackles the bottleneck of reward design for robotic skill learning by leveraging Large Language Models (LLMs) to propose reward features and parameterization, and then grounding these proposals through a self-alignment loop that aligns LLM-based trajectory rankings with environment-driven execution feedback. The method adopts a bi-level optimization: an inner loop optimizes the policy under the current reward, while an outer loop updates the reward parameters via ranking-based Bayesian updates (Bradley–Terry with Boltzmann rationality) and active LLM-driven refinements when discrepancies arise. Empirically, the approach is validated on 9 tasks across 2 simulation environments, achieving near-oracle performance on several ManiSkill2 tasks, faster convergence, and substantial reductions in GPT-token usage compared to a mutation-based baseline. The results demonstrate that LLM-guided reward design, coupled with self-alignment, can reduce human supervision while enhancing training efficacy and efficiency for a broad set of robotic manipulation skills. This framework has practical significance for scalable, autonomous reward design in robotics and could accelerate development of diverse, robust policies with limited human input.
Abstract
Learning reward functions remains the bottleneck to equip a robot with a broad repertoire of skills. Large Language Models (LLM) contain valuable task-related knowledge that can potentially aid in the learning of reward functions. However, the proposed reward function can be imprecise, thus ineffective which requires to be further grounded with environment information. We proposed a method to learn rewards more efficiently in the absence of humans. Our approach consists of two components: We first use the LLM to propose features and parameterization of the reward, then update the parameters through an iterative self-alignment process. In particular, the process minimizes the ranking inconsistency between the LLM and the learnt reward functions based on the execution feedback. The method was validated on 9 tasks across 2 simulation environments. It demonstrates a consistent improvement over training efficacy and efficiency, meanwhile consuming significantly fewer GPT tokens compared to the alternative mutation-based method.
