Safety-Aware Robot Damage Recovery Using Constrained Bayesian Optimization and Simulated Priors

Vaios Papaspyros, Konstantinos Chatzilygeroudis, Vassilis Vassiliades, Jean-Baptiste MouretarXiv 2016

TL;DR

This paper introduces sIT&E (safety-aware Intelligent Trial-and-Error), an algorithm that allows damaged robots to quickly find new ways to move without accidentally breaking themselves further. By combining simulated prior knowledge with Constrained Bayesian Optimization, the authors demonstrate that a robot can recover its performance in just a few trials while significantly reducing the number of dangerous, high-stress behaviors attempted during the learning process.

What Problem Does This Paper Address?

When a robot is damaged in the field—like a humanoid losing the use of a leg joint—it needs to adapt its behavior immediately to continue its mission. Previous research introduced the Intelligent Trial-and-Error (IT&E) algorithm, which allows robots to adapt in minutes by using a "map" of diverse behaviors learned in simulation as a starting point for real-world experimentation.

However, vanilla IT&E has a major flaw: it is "safety-blind." In its quest to maximize performance (like crawling speed), the algorithm often tries extreme behaviors that push the mechanical limits of the robot. For an expensive and fragile prototype like the €250,000 iCub humanoid, a single "trial" that results in an "error" could mean a catastrophic mechanical failure. The challenge is to make the adaptation process data-efficient (fast) and safe (low risk of further damage).

Methods

The authors propose sIT&E, which enhances the original framework in two key ways:

  1. Safety-Augmented Priors: Before the robot ever moves, it runs simulations of its intact self using an evolutionary algorithm called MAP-Elites. This creates a "behavior-performance map." In sIT&E, this map is augmented with safety data—specifically, the sum of contact point forces. This gives the robot a "prior" belief about which types of movements are likely to be safe or dangerous.
  2. Constrained Bayesian Optimization (CBO): During the online adaptation phase on the damaged robot, sIT&E doesn't just model performance (speed). It models each safety constraint as a separate Gaussian Process (GP).

To choose the next behavior to test, the robot uses the Expected Constrained Improvement (ECI) acquisition function. This function mathematically balances the desire to find a faster gait with the probability that the gait will satisfy safety constraints: $$ECI(\hat{x}) = EI(\hat{x}) \times P(\text{safety constraints are met})$$

Figure 1: Overview of the safety-aware IT&E algorithm. The algorithm first creates a behavior- performance map through MAP-Elites in simulation. This is fed as prior knowledge to a constrained BO procedure. The best candidate behavior is executed on the damaged robot while measuring the contact point forces and crawling speed. Finally, the Gaussian process models are updated.

Datasets

The study uses a simulated environment featuring the iCub humanoid robot. The authors evaluated the system on a crawling task across four distinct damage scenarios:

  • Damage 1: Locked shoulder joint.
  • Damage 2: Locked hip joint.
  • Damage 3: Locked shoulder joint and a fixed, angled elbow.
  • Damage 4: A combination of Damage 2 and 3.

The performance was benchmarked against the original IT&E and a Multi-Objective version (MO-IT&E) that treats safety as a secondary goal to be optimized rather than a hard constraint.

Key Insights and Ideas

  • Constraints vs. Objectives: A key "aha moment" is that safety shouldn't be a trade-off (an objective); it should be a requirement (a constraint). Multi-objective approaches (MO-IT&E) often explore the "Pareto front," which includes high-performing but highly unsafe behaviors. By using constraints, sIT&E avoids these dangerous regions entirely.
  • The Power of Priors: By including safety dimensions in the simulated map, the robot starts its adaptation with a "gut feeling" for what might break it. Even though the simulation isn't a perfect match for the damaged reality (the "reality gap"), it provides enough structure to guide the search toward safe zones.
  • Efficiency in Small Samples: The robot doesn't need hundreds of trials. Because it leverages the simulated map, it can find a functional, safe gait in roughly 30 trials (about 2 minutes of real-time adaptation).

Key Results

The researchers found that sIT&E consistently outperformed both the original IT&E and the multi-objective version:

  • Safety: In all damage settings, vanilla IT&E attempted dangerous behaviors in nearly every trial (median of 29 out of 30). sIT&E reduced this significantly, often requiring fewer than 10 unsafe trials to find a solution.
  • Performance: Surprisingly, sIT&E often found faster safe gaits than the other methods. Because it focuses its search on the "safe" regions of the behavior map, it explores those areas more effectively rather than wasting trials on high-speed but "illegal" movements.
Figure 2: Comparison between IT&E, MO-IT&E and sIT&E. Each algorithm is ran 20 times for 4 different behavior-performance maps. We report the best safe performance (i.e., the fastest crawling speed within the safe region observed during the learning process) (upper row) and number of unsafe trials attempted (violating the constraints) (lower row). Horizontal black lines represent medians.

Limitations and Future Work

While promising, the authors note a few areas for improvement:

  • Threshold Selection: The safety threshold (e.g., maximum contact force) was determined through preliminary experiments. In a real-world deployment, setting this threshold correctly without prior knowledge of the damage remains a challenge.
  • Conservatism: The algorithm might be too safe, potentially missing out on the absolute fastest gaits if they lie right on the edge of the safety boundary.
  • Real-world Validation: This paper focused on simulations. The next logical step is to validate these results on a physical iCub robot to see how the algorithm handles the noise and unpredictability of real-world hardware.

Summary updated

BibTeX
@misc{papaspyros2016safety,
  author = {Vaios Papaspyros and Konstantinos Chatzilygeroudis and Vassilis Vassiliades and Jean-Baptiste Mouret},
  title = {{Safety-Aware Robot Damage Recovery Using Constrained Bayesian Optimization and Simulated Priors}},
  year = {2016},
  eprint = {1611.09419},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.09419},
}
Figure