Iterative Semi-parametric Dynamics Model Learning For Autonomous Racing

Ignat Georgiev, Christoforos Chatzikomis, Timo Völkl, Joshua Smith, Michael N. Mistry

Abstract

Autonomous racing requires highly accurate dynamics models for effective Model Predictive Control (MPC). While parametric physics-based models generalize well, they often fail to capture complex non-linearities. Conversely, non-parametric neural networks are accurate but prone to overfitting and catastrophic forgetting. This paper introduces a semi-parametric model that learns residuals on top of a physics-based base. We propose an iterative learning framework using Gaussian Mixture Models (GMMs) for pseudo-rehearsal and constrained gradient updates to allow online adaptation to changing vehicle conditions. Our approach demonstrates improved generalization and significant lap time reductions in high-fidelity simulations.

Introduction

In the high-stakes environment of autonomous racing, the performance of Model Predictive Control (MPC) is fundamentally limited by the accuracy of the underlying vehicle dynamics model. Engineers typically face a binary choice: rely on parametric models derived from first principles (e.g., the bicycle model), which generalize well but miss high-limit non-linear effects, or employ non-parametric models like deep neural networks (NNs), which are highly expressive but suffer from poor generalization and catastrophic forgetting.

This work bridges the gap by proposing a sequential semi-parametric model. By combining a fixed physics-based model with a shallow neural network that learns only the residuals, we achieve a system that is both physically grounded and capable of capturing complex, unmodeled dynamics.

Methods: The Semi-parametric Framework

The proposed model decomposes the predicted state derivative into two components: a parametric part and a non-parametric part. The parametric component utilizes a standard bicycle model coupled with a tire brush model to represent known vehicle physics. The non-parametric component is a shallow neural network (two layers of 20 neurons each) tasked with predicting the residuals—the discrepancy between the physics model's predictions and the actual observed dynamics.

Iterative Learning and Pseudo-rehearsal

To enable the vehicle to adapt to real-time changes, such as tire wear or mass fluctuations, we implement an iterative learning system. A core challenge in online learning is catastrophic forgetting, where new data updates overwrite previously learned knowledge. We mitigate this using pseudo-rehearsal:

  1. GMM Representation: A Gaussian Mixture Model (GMM) is trained on the initial "bootstrap" dataset to represent the original data distribution.
  2. Synthetic Data Generation: When new data is received, the NN is trained on a combination of the new samples and synthetic samples generated by the GMM.
  3. Constrained Optimization: We apply a constrained gradient update rule that ensures new updates do not conflict with the gradients of the historical data, maintaining performance across all known regimes.
System architecture for iterative semi-parametric learning.

Experimental Evaluation

The system was evaluated using a high-fidelity simulator of a full-scale electric race car capable of reaching speeds of 200 kph and lateral accelerations of 1.2G.

  • Bootstrap Phase: Initial data was collected via manual driving to establish a baseline.
  • Generalization Testing: The model was trained on low-speed data and tested on high-speed data to evaluate its ability to generalize to unseen states.
  • Dynamic Adaptation: To simulate real-world variability, vehicle mass was increased by 80kg and the friction coefficient was reduced from 1.0 to 0.8.

Key Results

Superior Generalization

In offline validation, the semi-parametric model achieved a Validation Mean Squared Error (MSE) of 0.181. In contrast, pure non-parametric models exhibited significant overfitting, with validation errors increasing as training progressed. By anchoring the learning process in a physical model, the system remains stable even when encountering speeds or maneuvers outside the training set.

Adaptation without Forgetting

When faced with modified vehicle dynamics (increased mass and reduced friction), the iterative learning approach maintained a low Test MSE of 0.170. Standard Stochastic Gradient Descent (SGD) failed in this scenario, with error jumping to 0.442 as the model "forgot" its baseline training while trying to adapt to the new conditions.

Racing Performance

The ultimate test of the model is its performance in closed-loop racing. Using an MPPI controller, the iterative model successfully adapted over 10 laps. Initial lap times of 78.69s (using the bootstrapped model) were reduced to a consistent ~75.24s as the model refined its understanding of the track and vehicle limits.

Lap time reduction through iterative learning.

Discussion and Future Work

While the results are promising, several challenges remain. The authors observed signs of long-term instability, characterized by increasing variance in lap times over extended durations. Additionally, the batch-based nature of neural network updates introduces latency that may hinder the capture of extremely rapid dynamic shifts. Future work will explore simultaneous updates to both parametric and non-parametric components and the transition from simulation to real-world track testing.

Summary updated

BibTeX
@inproceedings{georgiev2020iterative,
  author = {Ignat Georgiev and Christoforos Chatzikomis and Timo Völkl and Joshua Smith and Michael N. Mistry},
  title = {{Iterative Semi-parametric Dynamics Model Learning For Autonomous Racing}},
  booktitle = {Conference on Robot Learning},
  year = {2020},
}
Figure