Learning Risk-Aware Quadrupedal Locomotion using Distributional Reinforcement Learning
Lukas Schneider, Jonas Frey, Takahiro Miki, Marco Hutter
TL;DR
This work addresses the lack of explicit risk handling in legged locomotion by introducing Distributional Proximal Policy Optimization (DPPO), which learns a full return distribution $Z_{theta}(s)$ via QR-DQN and distorts it with risk metrics (CVaR and Wang) parameterized by $β$ to obtain risk-sensitive estimates $V_β(s)$. The policy is conditioned on $β$ and updated with a clipped PPO objective using risk-adjusted advantages, enabling online risk adaptation. Key contributions include explicit risk modeling in locomotion without reward shaping, demonstration of emergent risk-sensitive behavior in both simulation and hardware (ANYmal), and ablations showing Wang distortion provides robust performance across risk preferences. This framework supports dynamic risk-aware control for teleoperation and navigation in hazardous environments, with potential for integration into higher-level planning.
Abstract
Deployment in hazardous environments requires robots to understand the risks associated with their actions and movements to prevent accidents. Despite its importance, these risks are not explicitly modeled by currently deployed locomotion controllers for legged robots. In this work, we propose a risk sensitive locomotion training method employing distributional reinforcement learning to consider safety explicitly. Instead of relying on a value expectation, we estimate the complete value distribution to account for uncertainty in the robot's interaction with the environment. The value distribution is consumed by a risk metric to extract risk sensitive value estimates. These are integrated into Proximal Policy Optimization (PPO) to derive our method, Distributional Proximal Policy Optimization (DPPO). The risk preference, ranging from risk-averse to risk-seeking, can be controlled by a single parameter, which enables to adjust the robot's behavior dynamically. Importantly, our approach removes the need for additional reward function tuning to achieve risk sensitivity. We show emergent risk sensitive locomotion behavior in simulation and on the quadrupedal robot ANYmal. Videos of the experiments and code are available at https://sites.google.com/leggedrobotics.com/risk-aware-locomotion.
