[Paper Review] A Dataset for StarCraft AI \& an Example of Armies Clustering
This paper introduces a comprehensive dataset of StarCraft: Brood War replays, capturing full game states including unit positions, resources, and attack events. It proposes modeling army compositions as Gaussian Mixture Models (GMMs) to enable high-level strategic reasoning, achieving 76.2% battle outcome prediction accuracy when combining GMM probabilities with a heuristic, significantly outperforming random guessing and baseline heuristics.
This paper advocates the exploration of the full state of recorded real-time strategy (RTS) games, by human or robotic players, to discover how to reason about tactics and strategy. We present a dataset of StarCraft games encompassing the most of the games' state (not only player's orders). We explain one of the possible usages of this dataset by clustering armies on their compositions. This reduction of armies compositions to mixtures of Gaussian allow for strategic reasoning at the level of the components. We evaluated this clustering method by predicting the outcomes of battles based on armies compositions' mixtures components
Motivation & Objective
- To enable high-level strategic reasoning in RTS games by analyzing full replay data beyond player actions.
- To address the lack of effective abstraction mechanisms for army composition in StarCraft AI.
- To develop a method for automated, unsupervised strategic representation using low-level game features.
- To evaluate the effectiveness of army composition modeling in predicting battle outcomes.
Proposed method
- The dataset was constructed by replaying 7,649 professional StarCraft: Brood War games using BWAPI, logging unit positions, resources, attacks, vision, and orders at 25-frame intervals.
- Game maps were discretized into regions and choke-dependent regions (CDR) using BWTA for spatial abstraction.
- Attacks were detected heuristically by tracking unit deaths and surrounding military units, logging participants, positions, and outcomes.
- Army compositions were modeled as Gaussian Mixture Models (GMMs) by clustering unit types based on their counts and values.
- Battle winner prediction was evaluated using three metrics: a baseline heuristic, probability-only prediction P(C|EC), and a hybrid P(C|EC) × heuristic.
- The model uses probabilistic composition similarity to assess strategic advantage, even with incomplete opponent information.
Experimental results
Research questions
- RQ1Can full-state replay data be effectively used to extract high-level strategic patterns in RTS games?
- RQ2How well can army compositions be abstracted into a probabilistic, continuous representation using Gaussian Mixture Models?
- RQ3Does modeling army composition via GMMs improve battle outcome prediction compared to baseline heuristics?
- RQ4To what extent does composition-based prediction outperform random guessing, especially under force imbalances?
- RQ5Can the model generalize across different race matchups (Protoss vs. Terran, etc.) without explicit labeling?
Key findings
- The GMM-based model achieved a 76.2% battle outcome prediction accuracy when combining P(C|EC) with a heuristic, significantly outperforming random guessing (50%) and the baseline heuristic (61.7%).
- Even without considering force disparity, the model predicted outcomes with 63.2% accuracy for low disparity (1.1), indicating that composition alone provides a strong strategic signal.
- For higher disparities (1.5), the model still achieved 58.2% accuracy using only P(C|EC), demonstrating robustness independent of army size.
- The hybrid approach (P(C|EC) × heuristic) consistently outperformed both individual components, showing that composition and value-based reasoning are complementary.
- Including special units like Observers or Defilers through thresholding could further improve predictions, though such tuning was not included in main results.
- The success of P(C|EC) alone in outperforming the baseline heuristic suggests that composition-based abstraction captures meaningful strategic information.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.