Introduction
Proximal Policy Optimization (PPO) has become a foundational algorithm in reinforcement learning (RL), particularly for robotics, due to its "clipping" mechanism. This mechanism serves as a safety valve, preventing the policy from undergoing drastic updates that could lead to instability. However, standard PPO relies on a fixed clipping bound (denoted as $\epsilon$), creating a significant trade-off: a bound that is too small restricts exploration and slows learning, while a bound that is too large can cause "policy collapse," where the agent loses previously learned beneficial behaviors. Currently, there is no theoretical guarantee that a single fixed bound is optimal throughout the entire training process.
Methodology: Preference-Based PPO (Pb-PPO)
To address the limitations of fixed bounds, this research introduces Preference-based Proximal Policy Optimization (Pb-PPO). This approach treats the selection of the clipping bound as a dynamic sub-problem aimed at maximizing task returns. The framework utilizes a bi-level optimization strategy:
- Multi-Armed Bandit (MAB) Layer: The algorithm maintains a set of candidate clipping bounds as "arms" in a bandit game.
- Upper Confidence Bound (UCB) Strategy: To select the optimal bound, the agent employs a UCB strategy that balances exploitation (using bounds that have yielded high returns) with exploration (testing less-used bounds).
- Task-Driven Feedback: Unlike previous methods that tuned bounds based on internal metrics like KL divergence, Pb-PPO uses the actual cumulative return of the policy as the reward signal for the bandit.
- Modified Uncertainty: To account for the inherent noise in RL training, a modified uncertainty term is incorporated into the UCB calculation, preventing the algorithm from becoming trapped in local minima due to temporary performance fluctuations.
Experimental Setup
The efficacy of Pb-PPO was evaluated across three diverse domains:
- Gym-MuJoCo: Standard locomotion benchmarks including Ant-v3, HalfCheetah-v3, Hopper-v3, and Walker2d-v3.
- Legged-Gym: A high-fidelity simulator for the ANYmal-C quadruped robot, testing performance on flat terrain and complex obstacles.
- AUV Navigation: A customized 3D environment for Autonomous Underwater Vehicle navigation through obstacle-laden paths.
Key Results and Discussion
Pb-PPO demonstrated significant improvements in both performance and stability compared to standard fixed-bound PPO and other RL baselines.
Performance in Locomotion Benchmarks
In MuJoCo tasks, Pb-PPO achieved an average return of 3315.3, substantially outperforming the official PPO baseline of 2090.3. The algorithm also showed faster convergence; for instance, in the Hopper-v3 task, Pb-PPO reached peak performance significantly earlier than its fixed-bound counterparts.
Robotic Reliability and Robustness
Beyond raw scores, policies trained with Pb-PPO exhibited greater robustness. In quadruped tests, robots followed velocity commands more accurately and maintained a more stable gait when navigating stairs. In the AUV navigation task, Pb-PPO successfully managed "Hard" difficulty levels where standard PPO and Soft Actor-Critic (SAC) failed to maintain stable trajectories.
Conclusion
Pb-PPO successfully aligns hyperparameter tuning with the primary RL objective of maximizing returns. By dynamically adjusting the clipping bound, the algorithm adapts to different stages of training—allowing for broader exploration early on and finer control during later stages. While performance gains were slightly less pronounced in massively parallel environments due to reward signal coarseness, Pb-PPO represents a significant step toward more autonomous and robust reinforcement learning systems. Future work will focus on refining the bandit mechanism for parallel scaling and incorporating human preference feedback (RLHF).
Summary updated