Leveraging Transformers for StarCraft Macromanagement Prediction
Muhammad Junaid Khan, Shah Hassan, Gita Sukthankar

TL;DR
This paper introduces a transformer-based neural network for predicting global state and build order in StarCraft II, demonstrating improved accuracy and transfer learning capabilities over previous recurrent models.
Contribution
It presents the first application of transformers to StarCraft II macromanagement prediction, outperforming RNNs and showing strong generalization in transfer learning scenarios.
Findings
Transformers outperform GRUs in prediction accuracy.
The model generalizes well across different racial matchups.
Ablation studies support the architectural choices.
Abstract
Inspired by the recent success of transformers in natural language processing and computer vision applications, we introduce a transformer-based neural architecture for two key StarCraft II (SC2) macromanagement tasks: global state and build order prediction. Unlike recurrent neural networks which suffer from a recency bias, transformers are able to capture patterns across very long time horizons, making them well suited for full game analysis. Our model utilizes the MSC (Macromanagement in StarCraft II) dataset and improves on the top performing gated recurrent unit (GRU) architecture in predicting global state and build order as measured by mean accuracy over multiple time horizons. We present ablation studies on our proposed architecture that support our design decisions. One key advantage of transformers is their ability to generalize well, and we demonstrate that our model achieves…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
