Robust Quadrupedal Locomotion via Risk-Averse Policy Learning

Jiyuan Shi, Chenjia Bai, Haoran He, Lei Han, Dong Wang, Bin Zhao, Mingguo Zhao, Xiu Li, Xuelong Li · DOI

Introduction

Standard Reinforcement Learning (RL) for legged locomotion typically optimizes for the expected return, a "risk-neutral" approach that performs well in controlled environments but struggles with real-world aleatoric uncertainty. In unpredictable scenarios—such as sudden external forces, slippery surfaces, or unexpected drops—rare but catastrophic failures like falling are often averaged out during training. This paper introduces Risk-Averse Legged Locomotion (RALL), a framework designed to prioritize survival and stability by focusing on worst-case outcomes rather than average performance.

Methodology

RALL incorporates several key innovations to shift the robot's objective from performance maximization to risk mitigation:

  1. Distributional Value Functions: Instead of estimating a scalar value for states, the agent learns a full distribution of possible returns using an Implicit Quantile Network (IQN). This allows the policy to account for the entire range of potential outcomes, from the best-case to the worst-case.
  2. CVaR Optimization: The policy is trained to optimize the Conditional Value-at-Risk (CVaR), specifically targeting the bottom 50th percentile of the return distribution. By optimizing for the "bad" half of possible outcomes, the robot learns inherently cautious behaviors.
  3. Risk-Aware Meta Controller: The Interquartile Range (IQR) of predicted returns serves as a real-time metric for environmental uncertainty. A meta-controller monitors this "stress meter" to switch between an efficient standard gait and the highly stable, risk-averse gait when high risk is detected.
  4. Risk Injection: During training in Isaac Gym, rare high-penalty events (e.g., joint torque spikes or extreme tilts) are injected with low probability ($10^{-4}$). While these barely affect an average reward, they are prominent in the tail of the distribution, teaching the risk-averse agent to avoid them at all costs.

Experimental Results

The RALL framework was validated on a Unitree Aliengo quadruped using only proprioceptive sensors (IMU, joint positions, and velocities).

Robustness to Dynamic Payloads and External Pushes

RALL demonstrated superior stability when subjected to unpredictable physical disturbances. In tests involving dynamic payloads, such as a moving robotic arm mounted on the chassis, the robot maintained its balance significantly longer than baseline controllers. Real-world tests showed the robot staying upright nearly three times longer than standard PPO baselines when subjected to external pushes on random terrain.

The Aliengo robot maintaining stability while carrying an active robotic arm, representing an unknown dynamic load.

A critical test of robustness is the "missing a step" scenario, where the robot encounters a hidden ledge or sudden drop. While standard controllers often fail immediately upon losing ground contact, RALL's pessimistic policy allows for rapid recovery.

The robot successfully recovering its balance after missing a step on a ledge, a scenario where risk-neutral policies typically fail.

Quantitative results highlight this gap: in 0.4m platform drop tests, RALL achieved a 92.7% success rate, vastly outperforming the baseline (14.4%) and state-of-the-art adaptation methods like RMA (43.5%).

Conclusion and Future Work

RALL proves that "pessimism" in training can lead to significantly higher physical reliability. By assuming the worst-case scenario, the robot develops wider stances and more reactive foot placement. Currently, the system relies solely on proprioception, meaning it reacts to hazards only after physical contact. Future work aims to integrate exteroceptive sensors (Vision/LiDAR) to allow the robot to proactively adjust its risk profile before encountering dangerous terrain.

Summary updated

BibTeX
@inproceedings{shi2024robust,
  author = {Jiyuan Shi and Chenjia Bai and Haoran He and Lei Han and Dong Wang and Bin Zhao and Mingguo Zhao and Xiu Li and Xuelong Li},
  title = {{Robust Quadrupedal Locomotion via Risk-Averse Policy Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10610086},
}
Figure