Introduction
Visuomotor policies, which map raw visual inputs directly to robotic actions, have seen significant progress through large-scale pre-training. However, these general-purpose models often fail to capture specific human preferences in downstream tasks. For instance, a robot might successfully grasp a bag of chips but inadvertently crush them because it lacks an understanding of the user's preference for edge-based grasping.
Traditional Reinforcement Learning from Human Feedback (RLHF) addresses this by learning reward functions from preference rankings. However, in robotics, this process is notoriously data-inefficient; collecting enough rankings to train a robust visual reward function can take days of human effort. This paper introduces RAPL (Representation-Aligned Preference-based Learning), a framework that achieves high alignment with up to 5x less human feedback by decoupling visual representation alignment from reward calculation.
The RAPL Framework
The core philosophy of RAPL is that the primary bottleneck in robotic RLHF is the simultaneous learning of "what to look at" and "how to value it." RAPL addresses this by first aligning the robot's visual representation with human values using a minimal feedback budget.
1. Visual Representation Alignment
Instead of learning a reward function from scratch, RAPL fine-tunes a pre-trained vision encoder (e.g., ResNet) using a small set of human-ranked video triplets (as few as 20). The goal is to align the encoder's latent space such that the distance between features reflects human preferences. If a user prefers Video A over Video B, the encoder is trained to ensure the representation of A is closer to the task goal in the feature space.
2. Policy Alignment via Feature Matching
Once the representation is aligned, RAPL "instantiates" a reward function rather than learning one. It utilizes Optimal Transport (OT), specifically the Sinkhorn algorithm, to measure the distance between the robot's current trajectory and a small set of expert demonstrations within the aligned feature space.
This approach provides a dense reward signal—feedback at every frame—making policy learning significantly more efficient. The policy is then fine-tuned using standard methods like Soft Actor-Critic (SAC) in simulation or Direct Preference Optimization (DPO) on physical hardware.
Experimental Evaluation
The researchers evaluated RAPL across diverse settings, including the X-Magical cross-embodiment benchmark, IsaacGym simulations for Franka Panda manipulation, and real-world hardware experiments.
Key Results
- Efficiency: RAPL achieved high alignment scores on real hardware using only 20 human rankings, a 5x improvement over standard RLHF baselines.
- Generalization: RAPL demonstrated remarkable cross-embodiment transfer. A representation learned from a Franka robot could successfully provide rewards for a Kuka robot, as the visual alignment is embodiment-agnostic.
- Robustness: In simulation, RAPL matched the performance of an "Oracle" policy with access to ground-truth rewards. Furthermore, representations trained on one robot body (e.g., a short stick) generalized zero-shot to others (e.g., a medium stick), even improving performance by 20%.
Discussion and Insights
Qualitative analysis reveals that RAPL's success stems from its ability to ignore task-irrelevant visual features, such as background colors or the robot's own arm, and focus on critical elements like cup handles or bag edges. Unlike vanilla RLHF, which often latches onto spurious correlations, RAPL's decoupled approach ensures the reward signal is grounded in task-relevant visual features.
While RAPL significantly reduces the need for human rankings, it still relies on a small set of expert demonstrations for the OT-based reward calculation. Future work may explore active learning strategies to further minimize feedback requirements or investigate methods for continuous representation updates during policy training.
Summary updated