Reinforcement Learning from Human Feedback (RLHF) has become the gold standard for aligning AI with human values. However, in the high-stakes world of robotics, RLHF often hits a wall known as distribution shift. As a robot learns, it generates new types of movements that the reward model—trained on older data—may not accurately interpret. This misalignment often leads to "reward hacking" or sub-optimal performance.
Researchers from the University of Maryland and the University of Central Florida have introduced REBEL (Reward rEgularization Based robotic rEinforcement Learning), a framework that treats reward learning not just as a labeling task, but as a dynamic optimization problem designed to mitigate these shifts.
The Problem: Distribution Shift and Reward Hacking
Standard RLHF typically follows a three-step cycle: pre-training, learning a reward function from human preferences (e.g., "Trajectory A is better than B"), and updating the policy. The core issue is that these steps are often "disentangled." When the reward model is trained, it often ignores the fact that the agent's behavior is a moving target.
This creates a distribution shift where the reward model becomes an expert on the robot's past mistakes but fails to provide accurate guidance for the new trajectories the robot explores as it improves. In robotics, where rewards are often sparse and tasks are continuous, this leads to reward hacking—where the robot finds a loophole to achieve a high score without correctly performing the task.
Methodology: Agent Preference Regularization
REBEL introduces a novel approach called Agent Preference Regularization. Instead of solely relying on human preferences, the reward learning objective is modified to consider the agent's current policy and performance.
1. Bilevel Optimization
The authors frame RLHF as a bilevel optimization problem:
- Outer Loop: Learn a reward function that maximizes the likelihood of human preferences.
- Inner Loop: Optimize the agent's policy based on that reward function.
2. The REBEL Algorithm
To make this computationally feasible—avoiding the massive Hessian matrices usually required for bilevel optimization—the authors developed a first-order reformulation. They introduce a regularization term based on the "Agent Preference," which is essentially the value function of the current optimal policy. By adding this to the reward learning objective, the reward model remains "aware" of the agent's current capabilities, preventing the reward landscape from drifting into unrealistic territory.
Experimental Setup
The researchers evaluated REBEL on several continuous control locomotion tasks from the DeepMind (DM) Control Suite:
- Cheetah: High-speed coordination.
- Walker: Maintaining balance and posture while moving.
- Visual Benchmarks: Pixel-based versions of these tasks where the agent learns directly from raw image data, representing a high-dimensional challenge.
To simulate human feedback at scale, the study used "oracle" teachers that provide feedback based on ground-truth rewards, augmented with human-like noise and errors.
Key Results
REBEL was compared against state-of-the-art baselines, including PEBBLE and PEBBLE+SURF. The results demonstrated that REBEL significantly outperforms existing methods in both efficiency and final performance.
- Superior Performance: In Visual Walker and Visual Cheetah tasks, REBEL achieved significantly higher episodic returns, approaching the theoretical maximum (Oracle) more closely than previous methods.
- Sample Efficiency: REBEL reached high performance levels with fewer environment steps, which is critical for physical robotics where training time is expensive.
- Robustness: The performance gains were most notable in pixel-based environments, suggesting that REBEL's regularization effectively handles the complexity of visual inputs.
Conclusion and Future Work
REBEL demonstrates that the reward model should not be a passive observer. By incorporating the agent's own value function as a regularizer, the reward function remains relevant even as the robot's behavior evolves. While the current implementation requires manual tuning of the regularization weight ((\lambda)), future work may explore automated ways to adapt these terms, further streamlining the alignment of complex robotic systems with human intent.
Summary updated