# Contextual Tuning of Model Predictive Control for Autonomous Racing

arXiv: https://arxiv.org/abs/2110.02710 · HTML: https://mlsanity.com/paper/2110.02710/

## Key facts

- Cited by 7 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 6 Oct 2021.

## Built on by (most cited first, 7 of 7)

- [Performance-driven Constrained Optimal Auto-Tuner for MPC](https://mlsanity.com/paper/2503.07127/) (2025)
- [A Monocular Event-Camera Motion Capture System](https://mlsanity.com/paper/2502.12113/) (2025)
- [ZipMPC: Compressed Context-Dependent MPC Cost via Imitation Learning](https://mlsanity.com/paper/2507.13088/) (2025)
- [Learning Based NMPC Adaptation for Autonomous Driving using Parallelized Digital Twin](https://mlsanity.com/paper/2402.16645/) (2024)
- [TurboMPC: Fast, Scalable, and Differentiable Model Predictive Control on the GPU](https://mlsanity.com/paper/2606.24039/) (2026)
- [Self driving algorithm for an active four wheel drive racecar](https://mlsanity.com/paper/2506.06077/) (2025)
- [Exploiting Hierarchical Controller Structure in Contextual Parameter Learning for Humanoid Loco-Manipulation](https://mlsanity.com/paper/2610.04609/) (2026)

## Abstract (arXiv)

Learning-based model predictive control has been widely applied in autonomous racing to improve the closed-loop behaviour of vehicles in a data-driven manner. When environmental conditions change, e.g., due to rain, often only the predictive model is adapted, but the controller parameters are kept constant. However, this can lead to suboptimal behaviour. In this paper, we address the problem of data-efficient controller tuning, adapting both the model and objective simultaneously. The key novelty of the proposed approach is that we leverage a learned dynamics model to encode the environmental condition as a so-called context. This insight allows us to employ contextual Bayesian optimization to efficiently transfer knowledge across different environmental conditions. Consequently, we require fewer data to find the optimal controller configuration for each context. The proposed framework is extensively evaluated with more than 3'000 laps driven on an experimental platform with 1:28 scale RC race cars. The results show that our approach successfully optimizes the lap time across different contexts requiring fewer data compared to other approaches based on standard Bayesian optimization.
