Papers › On Efficient Reinforcement Learning for Full-length Game of StarCraft II

On Efficient Reinforcement Learning for Full-length Game of StarCraft II

23 Sep 2022arXiv:2209.11553archive 2025-07-28

Ruo-Ze Liu, Zhen-Jia Pang, Zhou-Yu Meng, Wenhai Wang, Yang Yu, Tong Lu

StarCraft II (SC2) poses a grand challenge for reinforcement learning (RL), of which the main difficulties include huge state space, varying action space, and a long time horizon. In this work, we investigate a set of RL techniques for the full-length game of StarCraft II. We investigate a hierarchical RL approach involving extracted macro-actions and a hierarchical architecture of neural networks. We investigate a curriculum transfer training procedure and train the agent on a single machine with 4 GPUs and 48 CPU threads. On a 64x64 map and using restrictive units, we achieve a win rate of 99% against the level-1 built-in AI. Through the curriculum transfer learning algorithm and a mixture of combat models, we achieve a 93% win rate against the most difficult non-cheating level built-in AI (level-7). In this extended version of the paper, we improve our architecture to train the agent against the cheating level AIs and achieve the win rate against the level-8, level-9, and level-10 AIs as 96%, 97%, and 94%, respectively. Our codes are at https://github.com/liuruoze/HierNet-SC2. To provide a baseline referring the AlphaStar for our work as well as the research and open-source community, we reproduce a scaled-down version of it, mini-AlphaStar (mAS). The latest version of mAS is 1.07, which can be trained on the raw action space which has 564 actions. It is designed to run training on a single common machine, by making the hyper-parameters adjustable. We then compare our work with mAS using the same resources and show that our method is more effective. The codes of mini-AlphaStar are at https://github.com/liuruoze/mini-AlphaStar. We hope our study could shed some light on the future research of efficient reinforcement learning on SC2 and other large-scale games.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2209.11553")

Code

Syntology Ran 0 of 10 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 2 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

liuruoze/hiernet-sc2 officialmentioned in papermentioned on GitHubtfApache-2.0 report
liuruoze/mini-AlphaStar officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

check_info liuruoze/mini-AlphaStar/alphastarmini/core/sl/analyze_alphastar_replay.py official repository unverified Apache-2.0 (permissive) · 5fb7f59bf558201f · report
conv2d_layer liuruoze/hiernet-sc2/lib/layer.py official repository unverified Apache-2.0 (permissive) · 25312448061ef152 · report
dense_layer liuruoze/hiernet-sc2/lib/layer.py official repository unverified Apache-2.0 (permissive) · f39f7f97825609d2 · report
hammingDist liuruoze/mini-AlphaStar/alphastarmini/lib/edit_distance.py official repository unverified Apache-2.0 (permissive) · 273b3f4951d282a9 · report
intprod liuruoze/hiernet-sc2/lib/adversary.py official repository unverified Apache-2.0 (permissive) · fe097265b3baf872 · report
levenshtein_recur liuruoze/mini-AlphaStar/alphastarmini/lib/edit_distance.py official repository unverified Apache-2.0 (permissive) · b47feca24bd7a593 · report
max_pool liuruoze/hiernet-sc2/lib/layer.py official repository unverified Apache-2.0 (permissive) · b670203d64a57c2a · report
numel liuruoze/hiernet-sc2/lib/adversary.py official repository unverified Apache-2.0 (permissive) · f77b8cc87eb232fd · report
time_wait liuruoze/hiernet-sc2/lib/config.py official repository unverified Apache-2.0 (permissive) · 4be1fe2ffcfbdb85 · report
var_shape liuruoze/hiernet-sc2/lib/adversary.py official repository unverified Apache-2.0 (permissive) · ba0d14a7eba757e3 · report

Tasks

Reinforcement Learning (RL)StarcraftStarcraft IITransfer Learningreinforcement-learning

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

1x1 ConvolutionAbsolute Position EncodingsAccumulating Eligibility TraceAdamAlphaStarAttentionAverage PoolingBPEBatch NormalizationBottleneck Residual BlockConvolutionDense ConnectionsDropoutFeedforward NetworkGated Linear UnitGlobal Average PoolingKaiming InitializationLSTMLabel SmoothingLayer NormalizationLinear LayerMASMax PoolingMulti-Head AttentionPointer NetworkPosition-Wise Feed-Forward LayerReLUResidual BlockResidual ConnectionScatter ConnectionSigmoid ActivationSoftmaxTD LambdaTanh ActivationTransformerV-trace

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections