Reset-free Trial-and-Error Learning for Robot Damage Recovery

Konstantinos Chatzilygeroudis, Vassilis Vassiliades, Jean-Baptiste MouretarXiv 2016 · DOI

TL;DR

This paper introduces Reset-free Trial-and-Error (RTE), a novel reinforcement learning algorithm that enables damaged robots to autonomously recover their locomotion abilities in environments with obstacles. By combining offline evolutionary behavior generation with online Gaussian Process learning and Monte Carlo Tree Search, RTE allows complex robots to adapt to physical damage on the fly without requiring human interventions or artificial environment resets.

What Problem Does This Paper Address?

When robots are deployed in high-stakes, real-world scenarios like post-disaster rescue, hardware failures (e.g., a broken leg or a faulty motor) are highly probable. Traditional damage recovery relies on explicit self-diagnosis followed by replanning. However, diagnosing exact faults requires a dense array of internal sensors and struggles to account for complex, unmodeled environmental interactions.

Reinforcement Learning (RL) offers a trial-and-error alternative to bypass diagnosis, but standard robotic RL algorithms suffer from two major flaws:

  1. The Reset Problem: They assume the robot and environment can be reset to an identical initial state after every failure/episode, which is impossible for a stranded robot in a collapsed building.
  2. The Curse of Dimensionality: They scale poorly to complex, high-dimensional systems like walking hexapods, often requiring hours of data to converge.

RTE addresses these gaps by enabling in-situ, data-efficient, reset-free learning that explicitly considers environmental obstacles during the adaptation process.

Methods

RTE splits the recovery problem into an offline simulation phase and an online adaptation phase:

Figure 2: Overview of Reset-free Trial-and-Error (RTE) algorithm. A. Before deploying the robot, simulations with the intact robot are used to generate an action repertoire with the MAP-Elites algorithm. B. This repertoire is refined using a probabilistic learning model (Gaussian processes here — B1). This model is then used as the black-box simulator of a probabilistic planner (Monte Carlo Tree Search here — B2), which computes and outputs the best action to complete the task taking into account the uncertainty of the model. To better illustrate what happens in this phase, we “zoom in” and illustrate one simple case (B2-detail). The robot (blue circle) has to reach the target (green circle) without hitting the obstacles (gray circles) and its model is uncertain. The algorithm explores several alternative paths to the goal (here only 2 for illustration purposes) and chooses the path that achieves the largest expected return (here we select the red one, as the green one collides more often). The lines of the same color are sampled from the distribution of choosing the specific action sequence. Once the best path is selected, the physical damaged robot executes the first action (B3) of the path and updates the repertoire with the new gathered data. The algorithm then re-explores new ways to reach the goal and the process continues until the task is completed.
  1. Offline Repertoire Generation (MAP-Elites): Before deployment, the robot uses a simulator of its intact self to generate thousands of diverse, high-performing locomotion behaviors. This step maps a low-dimensional "action descriptor" space (e.g., where the robot ends up in 2D space) to the high-dimensional controller parameter space, drastically reducing the online search space.
  2. Online Correction Learning (Gaussian Processes): When the robot is damaged, its actual behavior deviates from the simulator's predictions. RTE uses Gaussian Processes (GPs) to learn a correction function between the expected outcome and the actual outcome. Crucially, the offline simulator data acts as a prior for the GPs, making the learning highly data-efficient.
  3. Probabilistic Planning (MCTS): Instead of executing random actions to learn, the robot uses Monte Carlo Tree Search (MCTS) to plan a path toward its target waypoints. The MCTS planner uses the GP predictions—and explicitly incorporates their uncertainty—to select actions that maximize progress while minimizing the risk of colliding with obstacles.

Datasets

The authors did not use standard external datasets. Instead, they validated their approach using custom-designed simulation and physical benchmarks:

  • Simulated Wheeled Robot: A velocity-actuated differential drive robot simulated using libfastsim.
  • Simulated Hexapod Robot: An 18-DOF six-legged robot simulated using the DART physics engine, tested on both flat and rough terrains.
  • Physical Hexapod Robot: A real-world walking robot tracked via an Optitrack motion capture system to evaluate the reality gap and true autonomy.

Key Insights and Ideas

  • The Transferability Hypothesis: High-performing behaviors for an intact robot often retain partial functionality on a damaged robot, especially if the behavior naturally minimizes the use of the broken component.
  • Learning Corrections vs. Full Dynamics: Trying to learn the full forward dynamics of a complex robot from scratch in the wild is mathematically intractable within a few minutes. RTE succeeds because it only learns the difference (residual error) between the intact model and the damaged reality.
  • Safe Exploration via Uncertainty: By feeding the variance (uncertainty) of the Gaussian Process into the MCTS planner, the robot naturally avoids risky maneuvers near obstacles when it is unsure of its own post-damage dynamics.

Key Results

The authors compared RTE against a pure planning baseline (MCTS without learning) and a modified version of TEXPLORE (a state-of-the-art model-based RL algorithm that learns dynamics from scratch).

  • Wheeled Robot Simulation: RTE recovered 63.2% of its original locomotion capabilities, outperforming GP-TEXPLORE (54.1%) and the MCTS baseline (43.8%).
  • Hexapod Simulation: GP-TEXPLORE completely failed to find working gaits within its computational budget because a 36-dimensional controller space is too large to learn from scratch. RTE successfully bypassed this, enabling the hexapod to navigate flat and rough terrains while recovering over 60% of its capability across various damage conditions (e.g., shortened or removed legs).
  • Physical Deployment: Tested on a real hexapod with a missing leg, RTE successfully navigated around obstacles to reach targets without human intervention, requiring 1.39 to 2.33 times fewer episodes than the non-learning baseline.
Figure 1: A typical experiment with the Reset-free Trial-and-Error (RTE) algorithm. A. A 6-legged (hexapod) robot is damaged; i.e., missing a leg. B. The robot uses RTE to learn how to compensate while completing its task and taking into account the environment. As the robot moves, it improves its performance, i.e., it needs fewer episodes to reach the next target.

Limitations and Future Work

  • Repertoire Dependency: RTE can only select actions that were pre-computed offline. If a type of damage requires an entirely novel behavior that wasn't generated by the intact simulator, RTE cannot discover it.
  • Computational Bottleneck: Gaussian Processes scale cubically ($O(N^3)$) with the number of data points. Currently, this limits the robot to a few hundred learning episodes before the onboard computation between steps becomes too slow. The authors suggest exploring sparse GPs, local GPs, or neural networks with uncertainty estimates to mitigate this.
  • Perfect State Knowledge: The current implementation assumes the robot knows the exact map and its own position. Integrating RTE with Simultaneous Localization and Mapping (SLAM) or framing it as a POMDP is a necessary next step for true deployment in unknown environments.

Summary updated

BibTeX
@misc{chatzilygeroudis2016reset,
  author = {Konstantinos Chatzilygeroudis and Vassilis Vassiliades and Jean-Baptiste Mouret},
  title = {{Reset-free Trial-and-Error Learning for Robot Damage Recovery}},
  year = {2016},
  eprint = {1610.04213},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.04213},
}
Figure