Abstract
Defining expressive behaviors for quadruped robots—such as "walking happily" or "acting scared"—is a significant challenge in social robotics. While natural language offers an intuitive interface for human-robot interaction, it often lacks the precision required to define specific motor patterns. Conversely, preference learning provides high-resolution behavioral tuning but typically requires hundreds of human evaluations, making it impractical for real-world deployment. This paper introduces Language-Guided Preference Learning (LGPL), a hybrid framework that utilizes Large Language Models (LLMs) to generate high-quality initial behavior candidates, which are then refined through a few-shot human preference process. Our results demonstrate that LGPL can achieve expressive, user-aligned behaviors with as few as four human comparisons, significantly outperforming both pure language-based and standard preference learning approaches.
Introduction
As robots increasingly enter social environments, their ability to convey emotion and intent through movement becomes critical. However, "expressiveness" is inherently subjective. A user might describe a "happy" walk as bouncy, while another might associate it with a faster pace. This creates a dual-pronged problem:
- The Resolution Gap: Natural language is "low-resolution." An LLM can identify that a happy dog might trot, but it cannot specify the exact step frequency or body pitch that satisfies a specific user's aesthetic preference.
- The Efficiency Gap: Traditional preference learning is "high-resolution" but sample-inefficient. Asking a human to rank hundreds of video clips to fine-tune a gait is a significant burden and a barrier to real-time adaptation.
LGPL addresses these gaps by using LLMs as a "warm-starter" for the search process, placing the robot's initial behavior in the correct "neighborhood" before using human feedback to reach the final destination.
Methodology
The LGPL framework consists of four integrated stages designed to maximize sample efficiency and behavioral precision.
1. LLM-Guided Sampling
Rather than initiating the search from a random distribution of parameters, the system prompts an LLM (GPT-4) with a behavioral description (e.g., "Act happy"). Using in-context examples, the LLM generates a set of candidate reward parameters ($\omega$). These parameters govern physical attributes such as velocity, body pitch, and gait patterns (e.g., trotting vs. bounding).
2. Policy Rollout
The candidate parameters are fed into a task-conditioned reinforcement learning (RL) policy. This policy is pre-trained in the NVIDIA Isaac Gym simulator using Proximal Policy Optimization (PPO), allowing it to map various reward vectors to stable motor commands for the quadruped.
3. Preference Refinement and Augmentation
A human observer is presented with pairs of resulting behaviors and asked to rank them. To overcome the scarcity of human data, the authors employ sub-segment augmentation. By breaking a single 10-second trajectory into smaller overlapping segments, the system generates multiple data points from a single human interaction, effectively "hallucinating" additional feedback.
4. Optimization
The system utilizes the Bradley-Terry model to represent the probability of one behavior being preferred over another. By minimizing binary cross-entropy loss, the framework identifies the optimal reward vector $\omega^*$ that aligns with the user’s specific preference.
Experimental Setup
The framework was evaluated through both simulation and real-world deployment:
- Simulation: Conducted in NVIDIA Isaac Gym, where experts defined ground-truth reward vectors for five emotions (Happy, Sad, Scared, Angry, Excited) to measure algorithmic accuracy.
- User Studies: An offline study involving 11 participants and an online study with 5 participants were conducted to evaluate how well the system captured subjective human preferences.
- Hardware: The system was deployed on a Pupper v3 quadruped, demonstrating real-time adaptation to user feedback.
Key Results
LGPL demonstrates a significant leap in the efficiency of robot behavior generation:
- Extreme Sample Efficiency: The system achieved accurate, expressive behaviors with only 4 human queries.
- Superior Accuracy: In simulation, LGPL reduced L2 loss by 53% compared to standard preference learning and by 62% compared to using LLM-generated rewards without human refinement.
- Human Alignment: In user trials, participants preferred LGPL-generated behaviors 76% of the time over competing baselines, including direct Language-to-Reward mapping.
- Real-World Viability: On physical hardware, the system allowed users to define and tune custom behaviors in approximately 20 minutes of interaction.
Discussion and Limitations
While LGPL represents a major step forward, several areas for future research remain. The current framework requires the reward function to be differentiable with respect to task parameters, which may limit the complexity of the behaviors. Furthermore, the system currently focuses on steady-state gaits rather than sequential behaviors (e.g., transitioning from a happy walk to a sad sit).
Another challenge is the dimensionality of the task vector. While the 5D vector used in this study (covering velocity, pitch, and gait types) was highly effective, increasing the degrees of freedom—such as controlling individual joint styles—may eventually hit a bottleneck in human query requirements. Finally, improving the "legibility" of queries—ensuring that the two options presented to a human are distinct enough to be easily ranked—remains a priority for future iterations.
Conclusion
Language-Guided Preference Learning successfully bridges the gap between intuitive natural language and precise behavioral control. By leveraging the broad knowledge of LLMs to seed the learning process, LGPL enables robots to learn complex, expressive movements with minimal human effort, paving the way for more personalized and socially capable robotic systems.
Summary updated