Skip to main content

Want to teach an AI to Zerg Rush? Blizzard and DeepMind have the tool for you

StarCraft II
Image used with permission by copyright holder
On Wednesday, DeepMind released a set of tools for researching and building artificial intelligence (AI) using StarCraft II as a learning environment. Blizzard first revealed DeepMind’s plans to use the popular sci-fi strategy game at the end of 2016, and said it was currently creating a rich application programming interface (API) just for training AI “agents” within the game.

The new StarCraft II-based toolset includes Blizzard’s Machine Learning API, a data set containing game replays performed by up to 500,000 anonymous users, and an open-source version of DeepMind’s PySC2 toolset. The kit also includes mini-games for developers to test their AI for specific tasks, and a joint paper listing baseline results along with an outline of the environment.

The lure of StarCraft II is that the game makes players really think. It’s all about strategy and defeating a single opponent by managing troops, resources, building equipment and bases, and conquering territories. It’s a war between two minds, starting from selecting a race to dominating the map and defeating the opponent.

AI “agents” (or bots) will approach StarCraft II just like any human. The Ai won’t have access to the back-end, it won’t be able to view the entire playing field from the start, and it won’t have any kind of software-based advantage that in the human world would be considered as cheating. AI agents will be required to make the same decisions in race selection, resource gathering, defense management, and in exploring unseen areas.

“The game also has other qualities that appeal to researchers, such as the large pool of avid players that compete online every day,” DeepMind said. “This ensures that there is a large quantity of replay data to learn from – as well as a large quantity of extremely talented opponents for AI agents.”

Another StarCraft II lure is the number of actions an AI agent can take. For instance, old Atari games only have around 10 different actions, such as up, down. left, right, and so on. In StarCraft II, the game provides more than 300 basic actions an AI agent can take. But according to DeepMind, there are around 100 million possible actions available on a screen measuring just 84 x 84.

As for the mini-games, these can be used by trained and untrained agents. They are essentially “assignments” inside StarCraft II used to see how an agent performs a specific task using a specific technique, such as selecting units, collecting minerals, and managing the camera.

Right now, there’s still progress to be made in terms of agents beating the game. DeepMind said that the strongest of baseline agents, A3C, can’t seem to beat the game’s built-in artificial opponent. According to DeepMind, in order for agents to be competitive, there needs to be a breakthrough in deep trial-and-error learning, and “other areas.”

“Our hope is that the release of these new tools will build on the work that the AI community has already done in StarCraft,” DeepMind said, “encouraging more DeepRL research and making it easier for researchers to focus on the frontiers of our field.”

Editors' Recommendations

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
The Vision Pro is already in trouble. Here’s how Apple can turn the tide
A man wears an Apple Vision Pro headset.

Apple’s Vision Pro headset lit the world on fire when it was announced at the Worldwide Developers Conference (WWDC) in June 2023, and again when it launched in February of this year. But in the months since, it’s apparently been losing steam, with sales down and people staying away from in-store demonstrations. That doesn’t bode well for Apple’s “next big thing.”

The key question, though, is whether this an actual problem for Apple. And if so, what can the company do about it?
In free fall?
If you read Bloomberg journalist Mark Gurman’s latest Power On newsletter, you’ll see some concerning reporting, at least from Apple’s perspective. Citing staff at Apple’s retail stores, Gurman claims that “Demand for [Vision Pro] demos is way down. People who do book appointments often don’t show up.”

Read more
Buying a Steam Deck has never been cheaper
Steam Deck over a pink background.

Valve is serving up huge price cuts on the Steam Deck, but there's a catch -- the consoles are refurbished. Part of the Certified Refurbished Steam Deck program, these handhelds have been fixed up by Valve to reportedly run like new -- and they're significantly cheaper. You can save up to $90, but is this too good to be true? It doesn't have to be.

Buying refurbished devices and hardware can be scary, but when the goodies come directly from the manufacturer, it becomes less risky. This is the case with Valve, which is now selling all three models of the LCD Steam Deck, refurbished and at a price cut. If this sounds good, you can now grab the base model for $279 instead of $349 ($70 savings), while the 256GB NVMe model costs $319 instead of $399 when purchased new. Lastly, the top handheld in the lineup with 512GB of storage costs just $359 instead of $449, which is $90 in savings.

Read more
Alienware m16 R2 vs. Alienware x16 R2: Which 16-inch model is better?
The Alienware x16 and m18 open on a table.

Alienware is known for making top-tier, high-end gaming laptops, albeit at a premium price point. With its 2024 lineup finally taking shape, customers now have the option of choosing between two 16-inch models -- the m16 R2 and the x16 R2. While the former has been completely redesigned, the new x16 R2 opts for a similar design to last year's model.

There are certain similarities on paper, like the new Intel CPU options and the QHD+ display, but both laptops are quite different when stacked up against each other. Here's a detailed comparison between the two.
Specifications

Read more