Chance-Constrained Trajectory Optimization for Safe Exploration and Learning of Nonlinear Systems

Yashwanth Kumar Nakka, Anqi Liu, Guanya Shi, Anima Anandkumar, Yisong Yue, Soon-Jo Chung

Introduction

Operating robots in real-world environments often requires learning complex, unmodeled dynamics such as friction or aerodynamic drag. This presents a fundamental "chicken and egg" problem: effective learning requires exploration, but exploring unknown nonlinear systems is inherently risky and can lead to catastrophic failures. Traditional motion planning methods often provide brittle safety guarantees or struggle with the nonlinearities of real-world physics.

This paper introduces Info-SNOC (Information-cost Stochastic Nonlinear Optimal Control), a framework designed to bridge the gap between informative exploration and robust safety. By formulating motion planning as a chance-constrained stochastic optimal control problem, the system enables robots to learn unknown dynamics while staying within distributionally robust safety bounds.

Methods: The Info-SNOC Framework

The core of the proposed approach is an episodic learning framework that optimizes trajectories to be both informative for model improvement and robustly safe.

The Info-SNOC architecture integrates model learning, stochastic optimal control, and real-time safety filtering.

The framework consists of several key components:

  • Robust Regression with Covariate Shift: Dynamics are learned using models that account for differences between exploration data (training) and operational data (testing).
  • Information-Rich Objective: The optimization includes an "information cost" ($J_I$) based on the variance of the learned model. This encourages the robot to visit high-uncertainty states to maximize learning.
  • Distributionally Robust Chance Constraints: Safety is maintained even if the underlying probability distribution of the dynamics deviates from the estimate, providing a buffer against model inaccuracies.
  • Generalized Polynomial Chaos (gPC) & Sequential Convex Programming (SCP): These techniques project the stochastic problem into a deterministic space and solve it iteratively, making complex nonlinear optimization computationally tractable.
  • Safe Rollout: During execution, a stable feedback controller and a Control Barrier Function-based Safety Filter provide real-time protection against unmodeled residual errors.

Experimental Results

The method was evaluated using a high-fidelity simulation of a 3-DOF robotic spacecraft with unknown linear viscous damping. The system started with a minimal dataset of 40 points and improved over 15 epochs of exploration.

Exploration vs. Performance

A critical insight of the paper is the explicit tradeoff between exploration and performance, controlled by a parameter $\rho$. When $\rho=1$, the robot prioritizes information gathering, often taking wider, more exploratory paths to better map the environment's dynamics.

Comparison of trajectories for performance-oriented ($\rho=0$) and exploration-oriented ($\rho=1$) objectives.

Safety and Learning Performance

The results demonstrate that Info-SNOC significantly outperforms traditional deterministic methods:

  • Collision Avoidance: While nominal trajectories had a 69.9% collision rate in early stages, Info-SNOC reduced this to 22%. The addition of the real-time safety filter virtually eliminated collisions.
  • Uncertainty Reduction: In complex scenarios, the terminal position variance decreased from 104.11 to 61.46 over 15 epochs, validating the effectiveness of the information-rich trajectories.
  • Consistency: The authors mathematically proved that the learning method is consistent, ensuring that regret (the difference between the learned model and true dynamics) shrinks toward zero as more data is collected.

Conclusion

Info-SNOC provides a robust solution for the safe exploration of nonlinear systems. By treating uncertainty as a navigational signal and applying distributionally robust constraints, it allows robots to learn safely in the face of significant model ignorance. Future work includes scaling the framework to higher-dimensional systems and exploring multi-agent coordination.

Summary updated

BibTeX
@article{nakka2020chance,
  author = {Yashwanth Kumar Nakka and Anqi Liu and Guanya Shi and Anima Anandkumar and Yisong Yue and Soon-Jo Chung},
  title = {{Chance-Constrained Trajectory Optimization for Safe Exploration and Learning of Nonlinear Systems}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2020},
  doi = {10.1109/lra.2020.3044033},
}
Figure