Biasing the Driving Style of an Artificial Race Driver for Online Time-Optimal Maneuver Planning*

Sebastiano Taddei, Mattia Piccinini, Francesco Biral · 2025

Read Biasing the Driving Style of an Artificial Race Driver for Online Time-Optimal Maneuver Planning* by Sebastiano Taddei, Mattia Piccinini, Francesco Biral (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-12744.txt.

Introduction

Sebastiano Taddei, Mattia Piccinini, and Francesco Biral presented in 2025 a way to bias the driving style of an artificial race driver that plans its path online. Race drivers choose early or late apex lines through corners for good reasons, and a planner that can shift that style can lap faster and teach researchers why.

Their method sits inside a nonlinear model predictive control scheme that seeks low lap time and high exit speed. A new terminal cost, built from the plan made in the prior step, lets the driver shift between early and late apex lines in real time. In simulations, lap times came close to the best offline result and beat a standard online method.

Catalog record

CREATORSebastiano Taddei, Mattia Piccinini, Francesco Biral
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE32 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-12744

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Biasing the Driving Style of an Artificial Race Driver for Online Time-Optimal Maneuver Planning* Sebastiano Taddei, Mattia Piccinini, Francesco Biral Abstract In this work, we present a novel approach to bias the driving style of an artificial race driver (ARD) for online time-optimal trajectory planning. Our method leverages a nonlinear model predictive control (MPC) framework that combines time minimization with exit speed maximization at the end of the planning horizon. We introduce a new MPC terminal cost formulation based on the trajectory planned in the previous MPC step, enabling ARD to adapt its driving style from early to late apex maneuvers in real-time. Our approach is computationally efficient, allowing for low replan times and long planning horizons. We validate our method through simulations, comparing the results against offline minimum-lap-time (MLT) optimal control and online minimum-time MPC solutions. The results demonstrate that our new terminal cost enables ARD to bias its driving style, and achieve online lap times close to the MLT solution and faster than the minimum-time MPC solution. Our approach paves the way for a better understanding of the reasons behind human drivers’ choice of early or late apex maneuvers. ©2025 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. I Introduction Professional race car drivers are able to set minimum-lap-times by exploiting their driving skills and experience. As discussed in [ 1 ] , human drivers may have different driving styles, yet achieving very similar lap times. This indicates the existence of many local minima in the space of minimum-lap-time maneuvers. Recently, artificial drivers were developed, to compete in autonomous racing series [ 2 , 3 , 4 , 5 ] or become digital twins of professional drivers [ 6 ] . However, open research questions remain on how to change the driving style of an artificial driver, while performing online ( i.e., real-time) trajectory planning. In this paper, we aim to analyze and bias the driving style of an artificial race driver (ARD) for online time-optimal trajectory planning. We implement a nonlinear model predictive control (MPC) planner, which combines the time minimization and the exit speed maximization at the end of the planning horizon. Through a new terminal cost formulation, our ARD can be biased towards early- or late-apex maneuvers, and achieves online lap times very close to a minimum-lap-time offline solution. I-A Motivation Our motivation for biasing the driving style of artificial drivers is multifaceted. Human race drivers do not act like time-optimal MPC planners [ 7 ] , as they adapt their maneuvers online based on factors such as the geometry of the track that follows a corner, local execution errors, changing track and weather conditions, and whether they are in the lead or following an opponent. Similarly, when performing MPC maneuver planning and execution close to the vehicle limits, adapting the MPC cost function terms in different corners can result in better overall performance [ 8 ] . Also, in autonomous racing, changing the driving style based on the current race scenario can help overtake other cars or adapt to varying track conditions. Finally, when using an artificial race coach to train human drivers to improve their trajectories [ 9 ] , the driving style of the artificial coach could be adapted to that of the human driver, and the coach could show the impact of different driving styles in different corners. I-B Apex Definition Throughout this paper, we define the apex as the point of a vehicle trajectory where the driver reaches the lowest speed ( i.e., stops decelerating and starts accelerating), and the clipping point as the point of the trajectory that is closest to the inside of a corner. I-C Related Work The research of Anderson et al. [ 7 , 8 , 10 ] recently showed that the trajectories of human race drivers can be modeled using receding horizon MPC, where the cost function combined time minimization and exit speed maximization. They used a genetic algorithm to locally tune the weights of the MPC cost function, and showed that the maximization of the exit speed improves the lap times and changes the planned maneuvers. Their approach is relevant, but has the following limitations. In [ 7 ] , they tracked a pre-computed minimum-time trajectory, and the MPC maneuver times were quite higher (1.7%) than the optimal reference. In [ 8 , 10 ] , the MPC was computationally expensive (1 hour for a single corner) and thus not suitable for real-time planning, and they did not compare the results with minimum-lap-time optimal control. Some authors, like [ 11 , 12 , 13 ] , conducted surveys and interviews with professional race drivers, to understand their preferences and adaptation strategies in search of the minimum-lap-times and the optimal driving style. Recently, a new stream of research has emerged around the use of imitation learning (IL) and reinforcement learning (RL) to model and imitate the driving styles of professional drivers. The authors of [ 6 , 14 , 11 , 15 ] used IL and RL to reproduce and outperform the maneuvers of human drivers in simulation settings. Their results are relevant; however, they needed expert demonstrations to train their models. Although the combination of time minimization and exit speed maximization has been studied for race driving style modeling [ 7 , 8 , 10 ] , the existing literature is limited by at least by one of the following aspects: • High computational cost of the MPC problems, unsuited for online planning [ 8 , 10 ] . • Tracking of pre-computed racelines and analysis of short track segments, rather than a full lap [ 7 ] . • MPC maneuver times higher than a minimum-lap-time optimal control problem (MLT-OCP) [ 7 ] , or no comparison with it [ 8 , 10 ] . • An MPC terminal cost was set to penalize the final states’ deviations from an MLT-OCP, solved offline on a full lap [ 16 , 17 , 18 , 19 , 3 ] . However, this makes the MPC dependent on the full-lap knowledge, requires to solve an MLT-OCP before the online MPC, and does not easily allow to change the driving style online. I-D Contribution Our contributions are as follows: • We develop an MPC-based artificial race driver that biases its driving style from early to late apex maneuvers, with low replan times for online operation and a long planning horizon. • We devise a new MPC terminal cost based on the previous planned trajectory: our new terminal cost removes the need to solve offline a minimum-lap-time OCP and enables ARD to change its driving style online. This allows ARD to race in real-time without the need for a priori knowledge of the full track. • We compare the results obtained with our approach against an offline minimum-lap-time optimal control problem and online pure minimum-time MPC solutions. II Biasing the Driving Style Most of the MPC-based racing

Read the complete text