Reinforcement Learning with Adaptive Curriculum Dynamics Randomization for Fault-Tolerant Robot Control

Wataru Okamoto, Hiroshi Kera, Kazuhiko KawamotoarXiv 2021

Abstract

This study addresses the problem of fault tolerance in quadruped robots facing actuator failure, a critical issue for operations in remote or extreme environments. We introduce Adaptive Curriculum Dynamics Randomization (ACDR), a reinforcement learning framework that adaptively trains a robot under random actuator failure conditions to formulate a single, robust control policy. Our findings reveal that a "hard-to-easy" curriculum is more effective than the traditional "easy-to-hard" approach for quadruped locomotion. The ACDR algorithm enables a robot system to maintain mobility without requiring additional modules for failure detection or policy switching. Experimental results demonstrate that ACDR significantly outperforms conventional algorithms in average reward and walking distance.

Introduction

Robots deployed in disaster zones or remote environments frequently encounter hardware failures, such as jammed leg motors. Standard control laws and reinforcement learning (RL) policies are often brittle; when the robot's physical dynamics change—a phenomenon known as the "reality gap"—the robot typically loses stability and becomes non-functional.

Traditional solutions rely on a two-step process: a diagnostic module to detect the failure and a switching system to activate a specific recovery policy. However, designing diagnostic modules for every conceivable failure is prohibitively complex. This research aims to create a single, robust policy capable of handling both normal operation and various degrees of actuator failure automatically, bridging the gap between simulation and unpredictable real-world conditions.

Methodology

The proposed approach integrates two core reinforcement learning concepts: Dynamics Randomization (DR) and Adaptive Curriculum Learning.

Dynamics Randomization

During simulation, a "failure coefficient" ($k$) is introduced to represent the actuator's state, where $k=1.0$ indicates a healthy motor and $k=0.0$ represents a total failure. By varying $k$, the training environment encompasses a wide range of physical dynamics.

Visual comparison of the quadruped robot in plain (top) and broken (bottom) states.

Adaptive Curriculum Dynamics Randomization (ACDR)

Unlike static randomization, ACDR adjusts the training difficulty based on the robot's real-time performance. The algorithm monitors the average reward; once the robot masters its current difficulty level (surpassing a threshold $g_{th}$), the randomization interval $[L, U]$ is expanded. To ensure the robot prioritizes forward progress, the reward function was modified to penalize falling more strictly, preventing the emergence of overly conservative behaviors.

The researchers compared two curriculum directions:

  1. Easy-to-Hard (e2h): Starting with a healthy robot and gradually introducing failures.
  2. Hard-to-Easy (h2e): Starting with a failed actuator and gradually introducing functional states.

Training was conducted in the Ant-v2 environment from OpenAI Gym using the Proximal Policy Optimization (PPO) algorithm.

Results and Discussion

The experimental results highlight several key insights into fault-tolerant control.

The "Hard-to-Easy" Paradox

Counter-intuitively, the hard2easy curriculum (ACDR_h2e) proved significantly more effective than the standard easy2hard approach. By forcing the robot to learn locomotion with a disability first, it develops fundamental stability and balance strategies that remain highly effective as the actuator's power is restored.

Performance and Robustness

ACDR_h2e achieved the highest average rewards and walking distances across all test conditions. In "broken" scenarios, it significantly outperformed the baseline and Uniform Dynamics Randomization (UDR) methods.

Average reward comparison across different training algorithms in plain and broken conditions.

Implicit Failure Adaptation

A major advantage of ACDR is that it eliminates the need for an explicit diagnostic module. Because the policy is trained across a spectrum of dynamics, the robot implicitly learns to perceive failures through its sensors and adjust its gait in real-time. Visual analysis shows that while standard robots capsize upon failure, ACDR-trained robots adapt their gait to limp or hop forward effectively.

Conclusion

The ACDR framework, particularly with a hard-to-easy curriculum, provides a robust solution for fault-tolerant quadruped control. While these results are promising, future work should address the sim-to-real gap through physical hardware testing and explore the impact of simultaneous multi-leg failures. Combining ACDR with advanced automatic curriculum generation could further enhance the resilience of complex robotic systems.

Summary updated

BibTeX
@misc{okamoto2021reinforcement,
  author = {Wataru Okamoto and Hiroshi Kera and Kazuhiko Kawamoto},
  title = {{Reinforcement Learning with Adaptive Curriculum Dynamics Randomization for Fault-Tolerant Robot Control}},
  year = {2021},
  eprint = {2111.10005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.10005},
}
Figure