Introduction
In model-based reinforcement learning (MBRL), robots learn a "world model" to predict the outcomes of their actions. However, these models are inherently imperfect. As a robot plans multiple steps into the future, minor prediction errors compound, leading to "hallucinated" trajectories that diverge from reality. Standard state-of-the-art methods, such as PETS, typically optimize for the expected (average) cost using ensembles of neural networks. A significant limitation of this approach is that it treats all uncertainty identically, failing to distinguish between two critical types:
- Aleatoric Uncertainty: Inherent randomness in the environment (e.g., wind gusts or surface friction) that cannot be reduced through learning.
- Epistemic Uncertainty: Uncertainty arising from a lack of data, which can be mitigated through further exploration.
Without this distinction, a robot may avoid safe but unknown regions—stunting its learning—or enter highly chaotic zones, risking failure. RAZER (Risk-Averse Zero-Order Trajectory Optimization) addresses this by explicitly separating these uncertainties to improve safety and exploration.
Methodology
The core of RAZER is an architecture termed PETSUS (Probabilistic Ensembles with Trajectory Sampling and Uncertainty Separation).
Uncertainty Separation
RAZER utilizes an ensemble of probabilistic neural networks where each network outputs a mean and a variance. This allows for the calculation of two distinct components:
- Aleatoric Penalty: By calculating the entropy of predicted distributions, RAZER identifies inherently unpredictable states. A penalty is added to the cost function for high aleatoric uncertainty, guiding the robot away from "jittery" or dangerous zones.
- Epistemic Bonus: By measuring the disagreement between ensemble members, RAZER identifies regions where the model lacks knowledge. During learning, an epistemic "bonus" incentivizes the robot to explore these areas.
Optimization and Safety
Instead of relying on complex gradients, RAZER employs an improved Cross-Entropy Method (CEM), a zero-order, sample-based optimizer that iteratively refines action sequences. Furthermore, RAZER implements probabilistic safety constraints. Rather than using rigid boundaries, the robot ensures that the probability of violating a constraint (e.g., a collision) remains below a user-defined threshold ($\delta$).
Experimental Evaluation
The researchers evaluated RAZER across four continuous control environments designed to test various risk profiles:
- BridgeMaze: A navigation task requiring the robot to choose between three bridges: long/safe, short/risky, and middle/noisy.
- Noisy-HalfCheetah: A locomotion task modified with state-dependent action noise.
- Noisy-FetchPickAndPlace: A manipulation task where gripper noise increases the likelihood of dropping objects in specific zones.
- Solo8-LeanOverObject: A quadruped balancing task where the robot must reach targets while avoiding a "fragile" obstacle.
Results and Discussion
Experimental results highlight that separating uncertainty types is non-negotiable for safe robotic operation. Key findings include:
- Superior Success Rates: In the BridgeMaze, RAZER achieved a 96% success rate, significantly outperforming the PETS baseline (58%), which struggled with the stochastic "winds" of the middle bridge.
- Robustness to Noise: In the Fetch task, RAZER maintained a drop rate below 20% under high noise, whereas the baseline's failure rate increased dramatically.
- Safety-Aware Performance: On the Solo8 quadruped, RAZER successfully satisfied safety constraints while maintaining high tracking accuracy, whereas the baseline frequently violated safety boundaries.
RAZER's epistemic bonus proved vital for active learning. In BridgeMaze, while standard methods often overfitted to the first viable solution, RAZER's exploration incentive allowed it to discover the truly optimal, safest path.
Conclusion
While RAZER offers significant improvements in safety and exploration, it introduces computational overhead due to the ensemble-based CEM loop. Additionally, the weights for aleatoric penalties and epistemic bonuses require careful tuning to balance caution and curiosity. Future work will explore applying RAZER to Sim-to-Real transfer, leveraging noisy simulations to prepare robots for safe deployment in physical environments.
Summary updated