This research, presented at the 3rd Annual Conference on Learning for Dynamics and Control (L4DC 2021), introduces a framework for robots to explore unknown environments safely. It combines the statistical power of Gaussian Processes with the control guarantees of Neural Control Contraction Metrics to ensure that a robot can learn about its environment without colliding with obstacles.
TL;DR
The authors propose a framework that allows a robot to explore an unknown environment by learning state-dependent disturbances (like friction or wind) on the fly. By combining Gaussian Process (GP) regression with Neural Control Contraction Metrics (NCCM), the system provides a "safety tube" around the robot's path that shrinks as the robot becomes more certain about its environment, enabling efficient and guaranteed safe exploration.
The Challenge of Safe Exploration
When a robot, such as a Mars rover or a delivery drone, enters a new environment, it faces unknown physical disturbances. A rover might encounter patches of sand that change its traction, or a drone might face localized wind gusts.
To operate efficiently, the robot needs to "explore" to learn these disturbances. However, exploration is inherently risky: if the robot doesn't know how the environment will push it around, it might accidentally drift into an obstacle. Most existing methods are either too aggressive, risking crashes, or too conservative, assuming worst-case scenarios and barely moving. The challenge is to find a middle ground: safe exploration where the robot's movements are mathematically guaranteed to be safe, even while its model of the world is still imperfect.
Methodology
The authors' approach relies on three main pillars integrated into a continuous feedback loop:
- Gaussian Process (GP) Regression: The robot uses a GP to model the unknown disturbance function. A GP provides both an estimate of the disturbance and a confidence interval. As the robot collects more data in a specific area, the uncertainty (variance) decreases.
- Neural Control Contraction Metrics (NCCM): This control-theoretic tool, implemented via neural networks, computes a "tracking error bound." If the GP indicates a model error of at most $\psi$, the NCCM provides a controller that guarantees the robot will stay within a distance $\mathcal{E}$ of its planned path.
- Uncertainty-Aware Planning: The motion planner takes the current tracking error $\mathcal{E}$ and "bloats" the obstacles in the map by that amount. The robot then plans a path through this restricted space.
The "Aha!" Loop: As the robot moves, it collects data, which improves the GP estimate. This reduces the model error $\psi$, which in turn reduces the tracking error $\mathcal{E}$. As $\mathcal{E}$ shrinks, the "bloated" obstacles shrink, "opening up" more of the map for the robot to explore safely in the next iteration.
Evaluation and Results
The paper evaluates the method using a simulated environment featuring a 5D Dubins car model in a 10x10 square region with 10 randomly generated obstacles. To create a realistic, complex disturbance, the authors mapped RGB color values from a terrain image to a 5D disturbance space, simulating how different "terrains" affect the vehicle's physics.
The proposed method was compared against several baselines with fixed safety margins:
- Safety: The proposed method was "unsafe" (collided or came too close to obstacles) in only 0.3% of iterations, compared to 4.0%–10.3% for the baselines.
- Efficiency: The robot completed its exploration in 236 seconds. While the most aggressive baseline was slightly faster (208s), it crashed frequently. The safest baseline was much slower (515s).
- Precision: The average tracking error was significantly lower (0.051) compared to the baselines (all >0.22), proving that the learned NCCM controller is highly effective.
Key Insights
- Dynamic Safety Tubes: Unlike traditional robust control which uses a fixed, conservative safety margin, this method uses a "breathing" safety margin. The robot starts cautiously and becomes more agile as it learns.
- Efficient Retraining: Training neural networks for control is computationally expensive. The authors derived a mathematical criterion to determine exactly when the tracking controller needs to be updated, preventing unnecessary computation while maintaining safety.
- Informative Exploration: The robot actively seeks out areas where the GP variance is highest, accelerating the learning process by visiting the "most informative" points.
Limitations and Future Work
Currently, the GP treats each dimension of the disturbance independently. Future work could involve using a "Matrix-Variate GP" to model correlated disturbances (e.g., side-wind affecting both lateral position and heading). Additionally, the safety guarantees rely on the assumption that the true disturbance is a sample from the chosen GP; if real-world physics differ wildly from the GP's "prior," safety bounds might be violated. The authors also suggest that more sophisticated active learning strategies could further accelerate exploration.
Summary updated