Mastering Nordschleife -- A comprehensive race simulation for AI strategy decision-making in motorsports (2306.16088v1)
Abstract: In the realm of circuit motorsports, race strategy plays a pivotal role in determining race outcomes. This strategy focuses on the timing of pit stops, which are necessary due to fuel consumption and tire performance degradation. The objective of race strategy is to balance the advantages of pit stops, such as tire replacement and refueling, with the time loss incurred in the pit lane. Current race simulations, used to estimate the best possible race strategy, vary in granularity, modeling of probabilistic events, and require manual input for in-laps. This paper addresses these limitations by developing a novel simulation model tailored to GT racing and leveraging artificial intelligence to automate strategic decisions. By integrating the simulation with OpenAI's Gym framework, a reinforcement learning environment is created and an agent is trained. The study evaluates various hyperparameter configurations, observation spaces, and reward functions, drawing upon historical timing data from the 2020 N\"urburgring Langstrecken Serie for empirical parameter validation. The results demonstrate the potential of reinforcement learning for improving race strategy decision-making, as the trained agent makes sensible decisions regarding pit stop timing and refueling amounts. Key parameters, such as learning rate, decay rate and the number of episodes, are identified as crucial factors, while the combination of fuel mass and current race position proves most effective for policy development. The paper contributes to the broader application of reinforcement learning in race simulations and unlocks the potential for race strategy optimization beyond FIA Formula~1, specifically in the GT racing domain.
- A Race Simulation for Strategy Decisions in Circuit Motorsports, in: 2018 21st International Conference on Intelligent Transportation Systems (ITSC), 2018, pp. 2986–2993. doi:10.1109/ITSC.2018.8570012.
- J. Bekker, W. Lotz, Planning Formula One race strategies using discrete-event simulation, Journal of the Operational Research Society 60 (2009) 952–961.
- Virtual Strategy Engineer: Using Artificial Neural Networks for Making Race Strategy Decisions in Circuit Motorsport, Applied Sciences 10 (2020a) 7805.
- Application of Monte Carlo Methods to Consider Probabilistic Effects in a Race Simulation for Circuit Motorsport, Applied Sciences 10 (2020b) 4229.
- X. Liu, A. Fotouhi, Formula-E race strategy development using artificial neural networks and Monte Carlo tree search, Neural Computing and Applications 32 (2020) 15191–15207.
- Formula-E race strategy development using distributed policy gradient reinforcement learning, Knowledge-Based Systems 216 (2021) 106781.
- A. J. Tremlett, D. J. N. Limebeer, Optimal tyre usage for a Formula One car, Vehicle System Dynamics 54 (2016) 1448–1473.
- Physical modelling of tire wear for the analysis of the influence of thermal and frictional effects on vehicle performance, Proceedings of the Institution of Mechanical Engineers, Part L: Journal of Materials: Design and Applications 231 (2017) 151–161.
- A. J. K. Phillips, Uncovering Formula One driver performances from 1950 to 2013 by adjusting for team and competition effects, Journal of Quantitative Analysis in Sports 10 (2014) 261–278.
- T. Tulabandhula, C. Rudin, Tire Changes, Fresh Air, and Yellow Flags: Challenges in Predictive Analytics for Professional Racing, Big Data 2 (2014) 97–112.
- Machine Learning-Based Analytical and Predictive Study on Formula 1 and Its Safety, in: A. Tomar, H. Malik, P. Kumar, A. Iqbal (Eds.), Proceedings of 3rd International Conference on Machine Learning, Advances in Computing, Renewable Energy and Communication, Lecture Notes in Electrical Engineering, Springer Nature, Singapore, 2022, pp. 257–266. doi:10.1007/978-981-19-2828-4_25.
- Rank Position Forecasting in Car Racing, in: 2021 IEEE International Parallel and Distributed Processing Symposium (IPDPS), 2021, pp. 724–733. doi:10.1109/IPDPS49936.2021.00082.
- Autonomous Learning of State Representations for Control: An Emerging Field Aims to Autonomously Learn State Representations for Reinforcement Learning Agents from Their Real-World Sensor Observations, KI - Künstliche Intelligenz 29 (2015) 353–362.
- Overcoming catastrophic forgetting in neural networks, Proceedings of the National Academy of Sciences 114 (2017) 3521–3526.