Preprint / Version 1

Strategic and Environmental Variables as Predictors of Formula 1 Race Outcomes: A Machine Learning Approach

##article.authors##

  • Garvit Singhal Iroquois Ridge High School

DOI:

https://doi.org/10.58445/rars.4191

Keywords:

sports anlytics, sequential modeling, transformer, classification

Abstract

With Formula 1 generating US$4 billion in annual revenue, race strategy is one of the most consequential decisions in motorsport, yet remains dependent on human judgment and proprietary simulation tools. This paper investigates whether machine learning models trained on historical race data can learn relationships between strategic and environmental variables and race outcomes. Data from the 2023, 2024, and 2025 Formula 1 seasons was collected through the OpenF1 API, covering 903 driver-race sequences across 23 circuits and 14 drivers. Features included tire compound, stint duration, tire age, track temperature, humidity, rainfall, and starting grid position. Four models were developed and compared: a Transformer encoder, xLSTM, Random Forest, and XGBoost classifier, each predicting finishing position across four classes. The Transformer achieved the highest mean accuracy at 64.8% (±1.6%), while sequential models consistently outperformed tabular models by approximately 5 to 8 percentage points. Mixed-effects logistic regression identified starting grid position as a statistically significant predictor across three of four classes. Predictability was strongest for podium (P1-3) and outside-the-points (P11+) finishes, while P4-5 and P6-10 outcomes showed substantially greater uncertainty.  These findings demonstrate that strategic and environmental variables contain predictive signals for race outcomes and that sequential models capture temporal patterns in race strategy.

References

Beck, M., Pöppel, K., Spanring, M., Auer, A., Prudnikova, O., Kopp, M., Klambauer, G., Brandstetter, J. and Hochreiter, S. (2024) 'xLSTM: Extended long short-term memory', Advances in Neural Information Processing Systems, 37. Available at: https://proceedings.neurips.cc/paper_files/paper/2024/hash/c2ce2f2701c10a2b2f2ea0bfa43cfaa3-Abstract.html

Bonomi, A., Turri, E. and Iacca, G. (2023) 'Evolutionary F1 race strategy', in Proceedings of the Companion Conference on Genetic and Evolutionary Computation (GECCO 2023 Companion), Lisbon, Portugal, 15-19 July 2023. New York: ACM, pp. 1925-1932. Available at: https://doi.org/10.1145/3583133.3596349

Breiman, L. (2001) 'Random forests', Machine Learning, 45(1), pp. 5-32. Available at: https://doi.org/10.1023/A:1010933404324

Chen, T. and Guestrin, C. (2016) 'XGBoost: A scalable tree boosting system', in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, 13-17 August 2016. New York: ACM, pp. 785-794. Available at: https://doi.org/10.1145/2939672.2939785

ESPN (2026) '2026 F1 rules: What's new on the cars; how will changes affect the racing?', ESPN, 5 March. Available at: https://www.espn.com/racing/f1/story/_/id/48090668/2026-f1-rules-whats-new-cars-how-changes-affect-racing

Formula 1 (2022) 'Analysis: The good, the bad and the future — What's next for Charles Leclerc after his 2022 title defeat?', Formula1.com, 17 December. Available at: https://www.formula1.com/en/latest/article/analysis-the-good-the-bad-and-the-future-whats-next-for-charles-leclerc.6WhHWZoRqEkNzY9bc5OLhg

Formula 1 (2025) 'Formula 1's record-breaking 2025 season in numbers', Formula1.com, 19 December. Available at: https://www.formula1.com/en/latest/article/formula-1s-record-breaking-2025-season-in-numbers.irq7aR8PcyAw7ysO72vJn

Loshchilov, I. and Hutter, F. (2019) 'Decoupled weight decay regularization', in 7th International Conference on Learning Representations (ICLR 2019), New Orleans, LA, 6-9 May 2019. Available at: https://arxiv.org/abs/1711.05101

OpenF1 (2023) OpenF1 API: Open-source Formula 1 telemetry and timing data [Data set]. Available at: https://openf1.org/

Piccinotti, D., Likmeta, A., Brunello, N. and Restelli, M. (2021) 'Online planning for F1 race strategy identification', in Proceedings of the AAAI Conference on Artificial Intelligence, pp. 12624–12632.

Quiroga García, R. (2024) Optimization of pit stop strategies in Formula 1 racing: A data-driven approach. MSc thesis, Universidad de Chile. Available at: http://repositorio.uchile.cl/handle/2250/199664

Sky Sports (2022) 'Explaining Ferrari's blunders and Charles Leclerc's dwindling Formula 1 title dreams', Sky Sports F1, 21 August. Available at: https://www.skysports.com/f1/news/12433/12663464/hungarian-gp-explaining-ferraris-latest-blunder-and-charles-leclercs-dwindling-formula-1-title-dreams

Sky Sports (2024) 'Lando Norris: The factors that undid McLaren driver's F1 world title bid against Max Verstappen in 2024', Sky Sports F1, 30 November. Available at: https://www.skysports.com/f1/news/12433/13260572/lando-norris-the-factors-that-undid-mclaren-drivers-f1-world-title-bid-against-max-verstappen-in-2024

Sulsters, W. (2018) Simulating Formula One race strategies. MSc thesis, Vrije Universiteit Amsterdam. Available at: https://vu-business-analytics.github.io/internship-office/papers/paper-sulsters.pdf

Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L. and Polosukhin, I. (2017) 'Attention is all you need', Advances in Neural Information Processing Systems, 30. Available at: https://arxiv.org/abs/1706.03762

Downloads

Posted

2026-09-30