Scalable Deep Kernel Gaussian Process for Vehicle Dynamics in Autonomous Racing

Jingyun Ning, Madhur BehlCoRL 2023

Abstract

Accurate modeling of vehicle dynamics is critical for autonomous racing at the physical limits of handling. This paper introduces DKL-SKIP, a novel framework that combines Deep Kernel Learning (DKL) with scalable Gaussian Processes (GPs) to bridge the gap between simplified physics models and complex real-world dynamics. By employing a residual learning strategy, DKL-SKIP learns the discrepancy between an extended kinematic model and observed sensor data. The use of Structured Kernel Interpolation for Products (SKIP) allows the model to scale linearly with data size, overcoming the traditional cubic complexity of GPs. Experimental results on full-scale Indy racecar data and high-fidelity simulations demonstrate that DKL-SKIP significantly outperforms traditional system identification methods, achieving high-precision state predictions at speeds exceeding 130 mph.

Introduction: The Challenge of High-Speed Dynamics

In autonomous racing, the margin for error is razor-thin. To navigate a track at the edge of friction, a vehicle's controller requires a mathematical model that accurately predicts responses to control inputs. Traditional approaches typically fall into two categories: kinematic models, which are computationally efficient but neglect tire slip at high speeds, and dynamic models, which are highly accurate but difficult to calibrate due to complex, time-varying parameters like tire-road friction.

Schematic of vehicle dynamics illustrating tire forces, slip angles, and steering geometry.

Machine learning, particularly Gaussian Processes (GPs), offers a data-driven alternative for capturing these non-linearities. However, standard GPs face a "scalability wall," as their computational cost grows cubically ($O(n^3)$) with the number of data points. This makes them unsuitable for the high-frequency, large-volume datasets generated in racing. Furthermore, selecting an appropriate kernel function often requires extensive manual tuning.

Methodology: DKL-SKIP

The researchers at the University of Virginia developed DKL-SKIP to address these limitations through three key innovations:

  1. Residual Learning: Instead of learning the entire vehicle state transition from scratch, the GP models only the residual—the error between a simple Extended Kinematic (E-kin) model and the actual sensor measurements. This grounds the model in physics while allowing the GP to capture complex, unmodeled effects.
  2. Deep Kernel Learning (DKL): To eliminate manual kernel tuning, a Deep Neural Network (DNN) acts as a feature extractor. It transforms raw sensor data into a latent representation, effectively "learning" the most relevant features for predicting dynamics.
  3. Scalable Gaussian Processes (SKIP-GP): By utilizing Structured Kernel Interpolation for Products, the framework reduces computational complexity to $O(n)$. This allows the model to process datasets significantly larger than those handled by previous GP-based racing models.

Experimental Setup and Datasets

The DKL-SKIP framework was validated using two distinct environments to ensure robustness across different scales and speeds:

  • Real-World Indy Autonomous Challenge (IAC): Data was collected from a full-scale Dallara AV-21 racecar at the Las Vegas Motor Speedway. The vehicle performed solo laps at approximately 80 mph, with sensors recording data at 25 Hz.
  • AutoVerse Simulation: To test the model's limits, the researchers used the AutoVerse high-fidelity simulator. This digital twin of the Texas Motor Speedway allowed for testing at speeds up to 130 mph, providing a repeatable environment for evaluating extreme non-linear dynamics.
Experimental platforms: (A) IAC racecar, (B) AutoVerse simulator, and (C, D) Las Vegas Motor Speedway track layouts.

Results and Discussion

DKL-SKIP demonstrated exceptional predictive performance, achieving an $R^2$ of 0.973 for longitudinal velocity and 0.996 for yaw rate on real-world data. Compared to N4SID, a standard industrial system identification technique, DKL-SKIP reduced longitudinal velocity prediction error by 99%.

The model's ability to maintain high accuracy at 130 mph in simulation suggests it can effectively handle the significant tire slip and aerodynamic forces present at racing speeds. By automating feature engineering through DKL, the system also identifies critical variables like lateral velocity and yaw rate without human bias.

Conclusion and Future Work

While DKL-SKIP represents a significant step forward in scalable, high-fidelity dynamics modeling, challenges remain. Current inference latency ranges from 20 to 40 ms, which must be further optimized for real-time deployment in vehicles traveling at triple-digit speeds. Future research will focus on integrating DKL-SKIP into a closed-loop Model Predictive Control (MPC) framework and improving the model's ability to generalize to unseen track conditions or mechanical changes.

Summary updated

BibTeX
@inproceedings{ning2023scalable,
  author = {Jingyun Ning and Madhur Behl},
  title = {{Scalable Deep Kernel Gaussian Process for Vehicle Dynamics in Autonomous Racing}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
}
Figure