Papers › StarCraft II: A New Challenge for Reinforcement Learning

StarCraft II: A New Challenge for Reinforcement Learning

16 Aug 2017arXiv:1708.04782archive 2025-07-28

Oriol Vinyals, Timo Ewalds, Sergey Bartunov, Petko Georgiev, Alexander Sasha Vezhnevets, Michelle Yeo, Alireza Makhzani, Heinrich Küttler, John Agapiou, Julian Schrittwieser, John Quan, Stephen Gaffney, Stig Petersen, Karen Simonyan, Tom Schaul, Hado van Hasselt, David Silver, Timothy Lillicrap, Kevin Calderone, Paul Keet, Anthony Brunasso, David Lawrence, Anders Ekermo, Jacob Repp, Rodney Tsing

This paper introduces SC2LE (StarCraft II Learning Environment), a reinforcement learning environment based on the StarCraft II game. This domain poses a new grand challenge for reinforcement learning, representing a more difficult class of problems than considered in most prior work. It is a multi-agent problem with multiple players interacting; there is imperfect information due to a partially observed map; it has a large action space involving the selection and control of hundreds of units; it has a large state space that must be observed solely from raw input feature planes; and it has delayed credit assignment requiring long-term strategies over thousands of steps. We describe the observation, action, and reward specification for the StarCraft II domain and provide an open source Python-based interface for communicating with the game engine. In addition to the main game maps, we provide a suite of mini-games focusing on different elements of StarCraft II gameplay. For the main game maps, we also provide an accompanying dataset of game replay data from human expert players. We give initial baseline results for neural networks trained from this data to predict game outcomes and player actions. Finally, we present initial baseline results for canonical deep reinforcement learning agents applied to the StarCraft II domain. On the mini-games, these agents learn to achieve a level of play that is comparable to a novice player. However, when trained on the main game, these agents are unable to make significant progress. Thus, SC2LE offers a new and challenging environment for exploring deep reinforcement learning algorithms and architectures.

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="1708.04782")

Code

Syntology Ran 5 of 5 code samples harvested from 2 repositories linked to this paper; 0 have no recorded run. Of those that ran: 2 ran · violated contract; 3 ran · our draft was wrong.

By repository: community (archive-listed): 4 samples from 2 repositories, 4 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

deepmind/pysc2 officialmentioned in papermentioned on GitHubApache-2.0 report
4rChon/NL-FuN mentioned on GitHubtf report
Teslatic/SC2-Freiburg mentioned on GitHub report
ericborn/binarybot mentioned on GitHubtf report
google-deepmind/pysc2 mentioned on GitHub report
inoryy/reaver mentioned on GitHubtfMIT report
nicoladainese96/SC2-RL mentioned on GitHubpytorch report
raccoon831012/StartCraft2-RL mentioned on GitHubtf report
tuomaso/SC2LE-implementation mentioned on GitHubtf 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

5 samples harvested; 5 ran; 0 honoured the contract we drafted; 0 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.

2ran · violated contract
3ran · our draft was wrong

Licence: 2 of the 5 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. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

compute_policy_gradient_loss nicoladainese96/SC2-RL/monobeast.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · fa62aa3ffdea8919 · report
crop_and_deduplicate_names google-deepmind/pysc2/pysc2/env/sc2_env.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 7d251f4894d76c43 · report
get_default google-deepmind/pysc2/pysc2/env/sc2_env.py community (archive-listed) ran · violated contract Apache-2.0 (permissive) · 42e509fdebb7a09d · report
to_list google-deepmind/pysc2/pysc2/env/sc2_env.py community (archive-listed) ran · violated contract fingerprinted Apache-2.0 (permissive) · 5d26ef3681029c3e · report
compute_baseline_loss identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · e9123707cba84b2c · report

Tasks

Deep Reinforcement LearningReal-Time Strategy GamesReinforcement LearningReinforcement Learning (RL)StarcraftStarcraft IIreinforcement-learning

Datasets

Introduced by this paper, per the archive.

StarCraft II Learning Environment

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Starcraft II CollectMineralShards FullyConv LSTM Max Score 137 #1 of 1 Archive leaderboard report
Starcraft II MoveToBeacon FullyConv LSTM Max Score 35 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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