Abstract
Formula One (F1) race strategy takes place in a high-pressure and fast-paced environment where split-second decisions can drastically affect race results. Two of the core decisions of race strategy are when to make pit stops and which tyre compounds to select. The optimal pit stop decisions can be determined by estimating the tyre degradation of these compounds, which in turn can be computed from the energy applied to each tyre. In this work, we trained deep learning models, using the Mercedes-AMG PETRONAS F1 team's historic race data consisting of telemetry, to forecast tyre energies during races. Additionally, we fitted XGBoost to the same dataset and compared the results, with both giving impressive performance. Furthermore, we incorporated two different explainable AI (XAI) methods—feature importance and counterfactual explanations—to gain insights into the reasoning behind the forecasts. Our contributions result in an explainable, automated method which could assist F1 teams in optimising their race strategy.
Introduction
In the world of Formula One, race strategy is often the difference between a podium finish and a mid-field result. Strategists must constantly evaluate two primary variables: the timing of pit stops and the selection of tyre compounds (Hard, Medium, or Soft). These decisions hinge on tyre degradation—the loss of grip and performance as the rubber wears down.
Traditionally, teams have relied on linear models or manual calculations to estimate degradation. While transparent, these methods struggle to capture the complex, non-linear relationships between driver inputs—such as steering angle, braking pressure, and throttle application—and the resulting energy dissipated through the tyres. This paper presents a machine learning framework developed by researchers from Imperial College London and the Mercedes-AMG PETRONAS F1 Team to bridge this gap, providing high-accuracy forecasts of "tyre energy" while maintaining the explainability required for high-stakes decision-making.
Data and Methodology
The study utilized a proprietary dataset provided by the Mercedes-AMG PETRONAS F1 Team, spanning the 2020 to 2023 seasons. This high-resolution tabular time-series data (0.1s resolution) included 16 covariates, such as car speed, lap number, steering wheel angle, engine speed, and track temperature.
The challenge was framed as a multivariate time-series forecasting problem. The models were designed to ingest 100 previous time steps (representing 10 seconds of telemetry) to predict the tyre energy for the immediate next time step across all four tyres.
Model Architectures
The researchers compared several architectures:
- Baselines: Linear Regression and XGBoost.
- Deep Learning: Recurrent Neural Networks (RNN), Long Short-Term Memory (LSTM), Gated Recurrent Units (GRU), and the Temporal Fusion Transformer (TFT).
- Specialization: The team also tested "Single-Track Specialists" (STS)—models trained exclusively on data from a single circuit—to determine if localized optimization outperformed global generalization.
Key Results and Performance
All neural models significantly outperformed the linear regression baseline, demonstrating the necessity of non-linear modeling in this domain.
Surprisingly, XGBoost achieved the lowest overall error (RMSE of 4.785) on the test set. However, this performance came at a high computational cost, requiring up to 1024 GB of RAM. In contrast, the Temporal Fusion Transformer (TFT) emerged as the most practical deep learning solution, achieving a "Green-flag" RMSE of 5.305 with significantly lower memory requirements.
Furthermore, the study found that while the TFT generalized well to "unseen" tracks, the STS models almost always performed better on their specific circuits. This suggests a hybrid strategy for F1 teams: utilizing global models for new or modified tracks while deploying specialist models for established circuits like Silverstone or Spa-Francorchamps.
Explainability and Physics Validation
A critical requirement for any tool used on the "pit wall" is transparency. To move beyond "black-box" predictions, the framework integrated two XAI methods:
- Temporal Importance Model Explanation (TIME): This identified which features were most influential at specific moments. For instance,
SteeringWheelAnglewas identified as the most critical variable for forecasting tyre energy, followed byPitStopstatus andCarSpeed. - CausalImpact: This counterfactual method allowed researchers to quantify the effect of specific race events. By comparing actual data to a hypothetical "green-flag" baseline, they could calculate exactly how much tyre energy was "saved" during a Virtual Safety Car (VSC) period.
The models also demonstrated an inherent understanding of physical constraints without explicit programming. On clockwise tracks dominated by right-hand turns, the models correctly predicted higher energy spikes for the front-left tyre, validating that the AI was learning the underlying dynamics of the sport.
Conclusion and Future Work
This research provides a robust, explainable framework for predicting tyre energy, offering a significant upgrade over traditional linear methods. While currently optimized for post-race analysis, the next step involves adapting the pipeline for real-time telemetry streams to support live race strategy.
Beyond the track, the authors suggest that these techniques have broader implications for the automotive industry. By accurately monitoring tyre wear through energy prediction, manufacturers could develop systems to reduce particulate matter pollution from tyres—a growing environmental concern, particularly for heavier electric vehicles. Future iterations will focus on human-in-the-loop studies to ensure that these AI-driven insights effectively foster trust and improve decision-making for race strategists under pressure.
Summary updated