Learning Macromanagement in StarCraft from Replays using Deep Learning
Not on the map. Why?
Abstract (arXiv)
The real-time strategy game StarCraft has proven to be a challenging environment for artificial intelligence techniques, and as a result, current state-of-the-art solutions consist of numerous hand-crafted modules. In this paper, we show how macromanagement decisions in StarCraft can be learned directly from game replays using deep learning. Neural networks are trained on 789,571 state-action pairs extracted from 2,005 replays of highly skilled players, achieving top-1 and top-3 error rates of 54.6% and 22.9% in predicting the next build action. By integrating the trained network into UAlbertaBot, an open source StarCraft bot, the system can significantly outperform the game's built-in Terran bot, and play competitively against UAlbertaBot with a fixed rush strategy. To our knowledge, this is the first time macromanagement tasks are learned directly from replays in StarCraft. While the best hand-crafted strategies are still the state-of-the-art, the deep network approach is able to express a wide range of different strategies and thus improving the network's performance further with deep reinforcement learning is an immediately promising avenue for future research. Ultimately this approach could lead to strong StarCraft bots that are less reliant on hard-coded strategies.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Jul 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2020: 1; 2021: 2; 2022: 1; 2023: 0; 2024: 0; 2025: 1.
5 papers.
- 2022On Efficient Reinforcement Learning for Full-length Game of StarCraft IIcited by 14
- 2020Scaling Imitation Learning in Minecraftcited by 12
- 2021Leveraging Transformers for StarCraft Macromanagement Predictioncited by 3
- 2021Mimicking Playstyle by Adapting Parameterized Behavior Trees in RTS Gamescited by 1
- 2025NeuroPAL: Punctuated Anytime Learning with Neuroevolution for Macromanagement in Starcraft: Brood Warcited by 0
- 2025NeuroPAL: Punctuated Anytime Learning with Neuroevolution for Macromanagement in Starcraft: Brood War12 Jun 2025
- 2022On Efficient Reinforcement Learning for Full-length Game of StarCraft II23 Sep 2022
- 2021Mimicking Playstyle by Adapting Parameterized Behavior Trees in RTS Games23 Nov 2021
- 2021Leveraging Transformers for StarCraft Macromanagement Prediction11 Oct 2021
- 2020Scaling Imitation Learning in Minecraft6 Jul 2020