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:
- 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.
- 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:
- 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.
- 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.
- 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
DARTphysics 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.
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