Model Predictive Control with Reach-avoid Analysis

Dejin Ren, Wanli Lu, Jidong Lv, Lijun Zhang, Bai Xue

Introduction

Model Predictive Control (MPC) is a fundamental tool in robotics and industrial automation, valued for its ability to manage complex constraints while optimizing system performance. However, MPC is inherently "greedy," operating over a finite prediction horizon. If this horizon is too short, a system may inadvertently enter a state from which a collision or failure is unavoidable. While Learning MPC (LMPC) was developed to mitigate this by using historical data to guide future trajectories, it introduces a significant computational burden. This paper proposes Reach-avoid Model Predictive Control (RAMPC), a framework that replaces discrete data points with continuous regions to achieve real-time performance without sacrificing safety.

The Computational Bottleneck: From MINLP to NLP

Traditional LMPC relies on a discrete set of successful historical trajectories. To ensure a system remains safe, the controller must choose to stay near specific points from these past runs. Mathematically, this selection process requires integer variables (e.g., "Is the system near point A or point B?"), transforming the optimization into a Mixed-Integer Nonlinear Program (MINLP). MINLPs are notoriously difficult to solve, often requiring exponential time as the dataset grows, which makes them impractical for high-speed autonomous systems.

RAMPC addresses this by shifting the paradigm from discrete points to continuous reach-avoid sets. By identifying a "viability space"—a region from which a system is mathematically guaranteed to reach its target safely—the optimizer no longer needs to make discrete choices. This transition allows the problem to be formulated as a standard Nonlinear Program (NLP), which can be solved using efficient, gradient-based methods.

Methodology

The RAMPC framework is built upon three technical pillars:

  1. Guidance-barrier Functions (GBF): The authors utilize GBFs to define the reach-avoid sets. These functions provide a continuous representation of the safe operating space, ensuring the system stays within a neighborhood of known successful paths.
  2. Continuous Terminal Constraints: Instead of constraining the system to a specific point at the end of its prediction horizon, RAMPC requires the system to land anywhere within the continuous reach-avoid set. This eliminates the need for binary decision variables.
  3. Scenario Optimization: To estimate the "cost-to-go" (the remaining effort required to reach the goal), the authors employ scenario optimization. This sampling-based approach provides a "Probably Approximately Correct" (PAC) estimate of the cost, bypassing the need for complex analytical solutions.

Experimental Validation

The authors evaluated RAMPC against standard LMPC using several dynamical system benchmarks, including a 2D drone model and the Van der Pol oscillator (in both 2D and 3D).

In the 2D Van der Pol scenario, the performance gap was stark: RAMPC reached a near-optimal solution in just 31 seconds, whereas the state-of-the-art LMPC required 9,469 seconds (over 2.5 hours). In higher-dimensional challenges, such as the 3D Van der Pol oscillator, LMPC failed to find a valid controller entirely. In contrast, RAMPC successfully generated an effective control strategy in approximately 23 seconds, demonstrating superior scalability and robustness.

Conclusion and Future Work

RAMPC represents a significant advancement in making learning-based control viable for real-time applications. By leveraging reachability analysis to smooth the optimization landscape, the framework achieves orders-of-magnitude speedups over traditional methods.

Currently, the method relies on Sum-of-Squares (SOS) programming, which necessitates that the system's dynamics be described by polynomial equations. Future research aims to develop sample-based versions of reach-avoid analysis to accommodate non-polynomial systems, potentially extending this high-speed safety framework to an even broader range of complex robotic platforms.

Summary updated

BibTeX
@inproceedings{ren2023model,
  author = {Dejin Ren and Wanli Lu and Jidong Lv and Lijun Zhang and Bai Xue},
  title = {{Model Predictive Control with Reach-avoid Analysis}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/604},
}
Figure