Gaussian Process-based Stochastic Model Predictive Control for Overtaking in Autonomous Racing

Tim Brüdigam, Alexandre Capone, Sandra Hirche, Dirk Wollherr, Marion LeiboldarXiv 2021

Abstract

A fundamental aspect of racing is overtaking other race cars. Whereas previous research on autonomous racing has majorly focused on lap-time optimization, here, we propose a method to plan overtaking maneuvers in autonomous racing. A Gaussian process is used to learn the behavior of the leading vehicle. Based on the outputs of the Gaussian process, a stochastic Model Predictive Control algorithm plans optimistic trajectories, such that the controlled autonomous race car is able to overtake the leading vehicle. The proposed method is tested in a simple simulation scenario.

Introduction

While autonomous driving research has advanced significantly over the last decade, high-speed autonomous racing remains a challenging frontier. To date, most research in this field has focused on lap-time optimization—calculating the fastest possible path for a single vehicle on an empty track. However, competitive racing is inherently multi-agent and adversarial.

Active overtaking is a fundamental requirement for success in racing, yet it is largely under-explored in the literature. Overtaking requires predicting the highly dynamic behavior of a leading Target Vehicle (TV) and planning a trajectory for the controlled Ego Vehicle (EV) that is aggressive enough to pass but safe enough to avoid high-speed collisions. This paper introduces a novel framework that combines Gaussian Processes (GPs) for behavior prediction and Stochastic Model Predictive Control (SMPC) for trajectory planning to execute these maneuvers.

Methodology

The proposed framework addresses the overtaking problem through a two-stage process involving probabilistic prediction and constrained optimization.

Gaussian Process Prediction

The system employs a Gaussian Process to learn the state transition dynamics of the TV based on its observed behavior. Unlike deterministic prediction models, GPs provide a posterior mean and variance, offering a strict mathematical measure of uncertainty regarding the opponent's future moves. By generating multiple sample trajectories from this GP, the system can estimate the TV's future positions with quantified confidence.

Stochastic Model Predictive Control (SMPC)

The EV utilizes an SMPC algorithm to plan its steering and acceleration. The algorithm defines a "safety rectangle" around the predicted position of the TV and generates linear safety constraints to guide the EV. Crucially, these constraints are analytically tightened based on the uncertainty variance provided by the GP. This allows for "optimism under uncertainty," enabling the EV to exploit narrow overtaking windows that a more conservative planner might avoid.

Linear safety constraints (red lines) used by the SMPC to define safe regions for the Ego Vehicle (blue) relative to the Target Vehicle (red) in various overtaking scenarios.

A key feature of this methodology is Dynamic Constraint Switching. As illustrated in the figure above, the system can define different linear boundaries (e.g., scenario B for passing on the left, scenario C(1) for passing on the right). If the TV attempts to block the EV, the system can dynamically flip these constraints to capitalize on openings created on the opposite side of the track.

Results

The framework was evaluated in a MATLAB simulation featuring a straight track. An EV traveling at 60 m/s attempted to overtake a slower TV (50 m/s) programmed with an adversarial blocking strategy.

Initially, the EV attempted to pass on the left. As the TV moved to block, the GP's prediction variance for that motion decreased, signaling a high-confidence prediction of the TV's defensive move. Recognizing that the left path was becoming obstructed and nearing the track boundary, the SMPC dynamically switched its strategy. The EV successfully dove to the right and completed the overtake without collision, demonstrating the system's ability to react to opponent behavior in real-time.

Conclusion

This study provides a preliminary framework for autonomous overtaking by integrating probabilistic learning with stochastic control. While the current model uses simplified vehicle physics and faces computational challenges with GP scaling, it establishes a foundation for more complex racing scenarios. Future work will focus on incorporating high-fidelity dynamic models and extending the system to handle multiple opponents on full race circuits.

Summary updated

BibTeX
@misc{brudigam2021gaussian,
  author = {Tim Brüdigam and Alexandre Capone and Sandra Hirche and Dirk Wollherr and Marion Leibold},
  title = {{Gaussian Process-based Stochastic Model Predictive Control for Overtaking in Autonomous Racing}},
  year = {2021},
  eprint = {2105.12236},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.12236},
}
Figure