Predictive Spliner: Data-Driven Overtaking in Autonomous Racing Using Opponent Trajectory Prediction

Nicolas Baumann, Edoardo Ghignone, Cheng Hu, Benedict Hildisch, Tino Hämmerle, Alessandro Bettoni, Andrea Carron, Lei Xie, Michele Magno

TL;DR

Predictive Spliner is a data-driven overtaking planner for autonomous racing that uses Gaussian Process (GP) regression to learn and predict an opponent's future trajectory. By forecasting a spatiotemporal "Region of Collision" (RoC), it computes safe, optimal overtaking maneuvers in real-time, significantly outperforming existing reactive and model-based methods in both speed and success rate on physical 1:10 scale vehicles.

What Problem Does This Paper Address?

In head-to-head autonomous racing, local planners must dynamically execute overtaking maneuvers while maintaining high speeds and avoiding collisions. Existing approaches generally fall into three categories, each with distinct drawbacks:

  • Reactive planners (like Follow-the-Gap) are computationally light but rely heavily on heuristics and lack the flexibility needed for competitive racing.
  • Sampling-based methods generate multiple trajectories but demand substantial parallel processing power and complex cost-function tuning.
  • Model Predictive Control (MPC) approaches offer high performance but are notoriously sensitive to vehicle model inaccuracies, particularly highly volatile tire dynamics affected by changing track friction.

Crucially, most traditional local planners focus only on the spatial position of the opponent at the current moment, ignoring temporal dynamics (where the opponent will be in the future). This often leads to premature overtaking maneuvers that compromise the vehicle's racing line and speed.

Methods

Predictive Spliner addresses these limitations by introducing a three-step data-driven pipeline that runs efficiently in real-time:

Qualitative visualization of the three-step Predictive Spliner overtaking pipeline.
  1. Opponent Trajectory Regression: The ego vehicle trails the opponent for a single lap to collect noisy spatial and velocity data. This data is binned along the track's longitudinal coordinate ($s$) in Frenet space. Two independent GP models are trained: one using a Matérn kernel to predict lateral position ($d$), and another using a Radial Basis Function (RBF) kernel to predict longitudinal velocity ($v_s$).
  2. Collision Prediction: Using the regressed GP models, the planner forward-propagates the future positions of both the ego and opponent vehicles over a time horizon ($T_N$). This allows the system to identify the exact track segment where a collision would occur if the ego vehicle stayed on its current path—termed the Region of Collision (RoC), bounded by $c_{start}$ and $c_{end}$.
  3. Optimization-based Spliner within the RoC: Once the RoC is defined, a Sequential Quadratic Programming (SQP) framework optimizes the ego vehicle's lateral waypoints. The cost function minimizes deviations from the optimal racing line, penalizes sudden changes in lateral acceleration to ensure smoothness, and enforces strict safety boundaries based on the predicted future positions of the opponent.
Detailed visualization of the forward-propagation method used to define the Region of Collision (RoC).

Datasets

The method was evaluated using a physical 1:10 scale autonomous racing platform equipped with a Hokuyo UST-LX10 LiDAR sensor and an Intel NUC 10 On-Board Computer. Rather than utilizing standard external datasets, the algorithm was benchmarked against four distinct, pre-programmed opponent behaviors on a physical track:

  • Racing Line: The opponent strictly follows the globally optimal minimum-curvature path.
  • Shortest Path: The opponent cuts corners, overlapping with the ego vehicle's line only at the apexes.
  • Centerline Trajectory: The opponent stays strictly in the middle of the track.
  • Reactive Opponent: The opponent uses a Follow-the-Gap strategy, creating unpredictable movements based on its own LiDAR readings.

Key Insights and Ideas

  • The Power of Spatiotemporal Foresight: By predicting when and where a collision will happen, the planner can strategically delay an overtake until it is safe and feasible, rather than swerving immediately upon encountering an opponent.
  • Decoupling Planning from Control: By focusing purely on trajectory planning and leaving low-level vehicle dynamics to a separate controller, Predictive Spliner avoids the model-mismatch vulnerabilities (like tire friction changes) that plague end-to-end MPC racing frameworks.
  • Uncertainty as a Safety Valve: The covariance (uncertainty) calculated by the GP models serves as a built-in safety trigger. If an opponent behaves erratically and moves outside the GP's predicted covariance bounds, a state machine immediately aborts the overtaking maneuver.

Key Results

The algorithm was validated against state-of-the-art baselines (including standard Spliner, Graph-Based Overtake, and MPC) and demonstrated substantial improvements:

  • Higher Overtaking Speeds: Predictive Spliner successfully overtook opponents at up to 83.1% of its own maximum speed, outperforming the previous best method by an average of 8.4%.
  • Superior Safety: It achieved an average overtaking success rate of 84.5%, representing a 47.6% improvement over the baseline Spliner method.
  • Real-Time Efficiency: The entire optimization loop executes in just 8.4 ms with a modest 22.79% CPU load on a commercial Intel i7 processor.
  • Proven in Competition: The framework was successfully deployed under real-world racing conditions at both the ICRA and IROS 2024 F1TENTH Grand Prix events.

Limitations and Future Work

While highly effective, the current implementation assumes a single opponent and requires the ego vehicle to trail that opponent for at least one full lap to build the initial GP regression models.

The authors note that future work will focus on scaling the framework to handle multi-object tracking for multi-opponent scenarios. Additionally, they plan to explore integrating game-theoretic approaches to better anticipate adversarial, interactive behaviors from competing vehicles.

Summary updated

BibTeX
@article{baumann2025predictive,
  author = {Nicolas Baumann and Edoardo Ghignone and Cheng Hu and Benedict Hildisch and Tino Hämmerle and Alessandro Bettoni and Andrea Carron and Lei Xie and Michele Magno},
  title = {{Predictive Spliner: Data-Driven Overtaking in Autonomous Racing Using Opponent Trajectory Prediction}},
  journal = {IEEE RA-L},
  year = {2025},
  doi = {10.1109/lra.2024.3519878},
}
Figure