Skip to main content
QUICK REVIEW

[Paper Review] Machine learning models for DOTA 2 outcomes prediction

Kodirjon Akhmedov, Anh Huy Phan|arXiv (Cornell University)|Jun 3, 2021
Digital Games and MediaSocial Sciences8 references16 citations
TL;DR

This paper proposes a real-time machine learning pipeline for predicting Dota 2 match outcomes using in-game data collected via a custom GSI-based Python server. It evaluates Linear Regression, Feedforward Neural Networks, and LSTM models, achieving up to 93% accuracy with LSTM on multi-forward-step predictions, demonstrating superior performance over traditional models in dynamic esports analytics.

ABSTRACT

Prediction of the real-time multiplayer online battle arena (MOBA) games' match outcome is one of the most important and exciting tasks in Esports analytical research. This research paper predominantly focuses on building predictive machine and deep learning models to identify the outcome of the Dota 2 MOBA game using the new method of multi-forward steps predictions. Three models were investigated and compared: Linear Regression (LR), Neural Networks (NN), and a type of recurrent neural network Long Short-Term Memory (LSTM). In order to achieve the goals, we developed a data collecting python server using Game State Integration (GSI) to track the real-time data of the players. Once the exploratory feature analysis and tuning hyper-parameters were done, our models' experiments took place on different players with dissimilar backgrounds of playing experiences. The achieved accuracy scores depend on the multi-forward prediction parameters, which for the worse case in linear regression 69\% but on average 82\%, while in the deep learning models hit the utmost accuracy of prediction on average 88\% for NN, and 93\% for LSTM models.

Motivation & Objective

  • To develop a real-time data collection system for tracking in-game player states in Dota 2 using Game State Integration (GSI).
  • To design and compare machine learning models—Linear Regression, Neural Networks, and LSTM—for predicting match outcomes in real time.
  • To identify key in-game features that influence predictive accuracy through feature engineering and sensitivity analysis.
  • To build a user-friendly GUI for data collection and model performance monitoring using PyQt and Tkinter.
  • To evaluate model performance across varying multi-forward prediction steps and player skill levels.

Proposed method

  • A custom Python server was built to collect real-time game state data from Dota 2 using Valve’s Game State Integration (GSI) API.
  • Feature engineering was applied to extract meaningful in-game metrics such as gold, experience, and hero statistics at multiple time intervals.
  • Three models were trained: Linear Regression (LR), Feedforward Neural Network (NN), and Long Short-Term Memory (LSTM) recurrent networks.
  • Hyperparameter tuning was performed using cross-validation and grid search to optimize model performance.
  • A graphical user interface (GUI) was developed using PyQt and Tkinter to enable real-time data collection and model evaluation.
  • Model performance was evaluated using accuracy scores across multiple forward prediction steps (e.g., 1-step to 10-step ahead), with results reported per game and averaged across players.

Experimental results

Research questions

  • RQ1How effective are traditional machine learning and deep learning models in predicting Dota 2 match outcomes using real-time in-game data?
  • RQ2What is the impact of multi-forward prediction steps on model accuracy, and how does this vary across model types?
  • RQ3Which in-game features are most predictive of match outcome, and how do they evolve over time?
  • RQ4Can an LSTM model outperform feedforward neural networks and linear regression in capturing temporal dynamics of gameplay?
  • RQ5How does model performance vary across players with different experience levels and playstyles?

Key findings

  • The LSTM model achieved the highest average prediction accuracy of 93% across multi-forward prediction steps, significantly outperforming both Linear Regression and Feedforward Neural Networks.
  • Linear Regression achieved a worst-case accuracy of 69% but averaged 82% across all predictions, indicating limited capacity for complex temporal patterns.
  • Neural Networks achieved an average accuracy of 88%, demonstrating strong performance but falling short of LSTM’s temporal modeling capability.
  • Model accuracy decreased as the number of forward prediction steps increased, with higher accuracy observed in shorter-term predictions due to stronger time-lagged correlations.
  • The GUI system successfully enabled real-time data collection and model evaluation, with results displayed dynamically in text browsers after model inference.
  • Feature importance analysis revealed that gold difference, level progression, and hero-specific abilities were among the most influential predictors of match outcome.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.