[Paper Review] DeepRacing: Parameterized Trajectories for Autonomous Racing
This paper introduces DeepRacing, an open-source, high-fidelity virtual testbed using the F1 video game for training and evaluating autonomous racing agents. It proposes AdmiralNet, a novel end-to-end deep learning model that predicts parameterized Bézier curves for trajectory planning, which outperforms both end-to-end control and waypoint prediction in lap time and failure resilience, achieving 106 laps before failure in longevity testing.
We consider the challenging problem of high speed autonomous racing in a realistic Formula One environment. DeepRacing is a novel end-to-end framework, and a virtual testbed for training and evaluating algorithms for autonomous racing. The virtual testbed is implemented using the realistic F1 series of video games, developed by Codemasters, which many Formula One drivers use for training. This virtual testbed is released under an open-source license both as a standalone C++ API and as a binding to the popular Robot Operating System 2 (ROS2) framework. This open-source API allows anyone to use the high fidelity physics and photo-realistic capabilities of the F1 game as a simulator, and without hacking any game engine code. We use this framework to evaluate several neural network methodologies for autonomous racing. Specifically, we consider several fully end-to-end models that directly predict steering and acceleration commands for an autonomous race car as well as a model that predicts a list of waypoints to follow in the car's local coordinate system, with the task of selecting a steering/throttle angle left to a classical control algorithm. We also present a novel method of autonomous racing by training a deep neural network to predict a parameterized representation of a trajectory rather than a list of waypoints. We evaluate these models performance in our open-source simulator and show that trajectory prediction far outperforms end-to-end driving. Additionally, we show that open-loop performance for an end-to-end model, i.e. root-mean-square error for a model's predicted control values, does not necessarily correlate with increased driving performance in the closed-loop sense, i.e. actual ability to race around a track. Finally, we show that our proposed model of parameterized trajectory prediction outperforms both end-to-end control and waypoint prediction.
Motivation & Objective
- To develop a realistic, open-source virtual testbed for high-speed autonomous racing using the photo-realistic and physics-accurate F1 video game.
- To evaluate the performance of end-to-end deep learning models for autonomous racing in a closed-loop, high-fidelity simulation environment.
- To investigate whether parameterized trajectory prediction using Bézier curves improves driving performance over direct control or waypoint-based planning.
- To demonstrate that open-loop performance metrics do not reliably predict closed-loop racing success.
- To enable future research in multi-agent racing and transfer of agile driving behaviors to everyday autonomous driving.
Proposed method
- The DeepRacing framework provides a C++ API and ROS2 integration to access the F1 game's high-fidelity physics and graphics without modifying game engine code.
- A circular buffer stores the most recent $ C $ camera images for real-time inference in the control loop.
- AdmiralNet uses a hybrid architecture combining Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) to process image sequences and predict a parameterized Bézier curve.
- The Bézier curve is defined by control points that represent a smooth, differentiable trajectory in the ego vehicle's local coordinate system.
- A classical control algorithm uses the predicted Bézier curve to compute real-time steering and throttle commands.
- The framework supports closed-loop evaluation, allowing models to race autonomously on the track until failure or completion.
Experimental results
Research questions
- RQ1Can a highly realistic video game environment like the F1 series serve as a reliable testbed for training and evaluating end-to-end autonomous racing agents?
- RQ2Does predicting a parameterized trajectory (via Bézier curves) lead to better racing performance than direct end-to-end control or waypoint prediction?
- RQ3To what extent does open-loop model accuracy correlate with closed-loop racing performance in a real-time control system?
- RQ4How robust are different deep learning architectures in long-duration autonomous racing scenarios?
- RQ5Can a parameterized trajectory approach improve both lap time and failure resilience compared to alternative planning methods?
Key findings
- The Bézier curve predictor model completed 106 laps before failure in the longevity test, significantly outperforming the waypoint predictor (11 laps) and end-to-end models (0 laps).
- AdmiralNet's parameterized trajectory approach reduced lap time by approximately 5 seconds compared to the waypoint prediction baseline.
- The Bézier curve predictor demonstrated over 100% improvement in time between failures compared to the waypoint-based method.
- End-to-end models with better open-loop performance (e.g., lower RMSE) did not necessarily achieve better closed-loop racing performance, indicating a disconnect between open-loop metrics and real-world driving success.
- The slowest model, the Bézier curve predictor, still operated at 16.396 Hz, which is sufficient for real-time autonomous racing.
- The image buffer thread operated at 1,414.42 Hz, indicating minimal risk of image dropouts due to computational overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.