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…
Best gaming laptop deals: Alienware, Razer, Asus and more
An Alienware m16 gaming laptop in use on a desk, playing Baldur's Gate III.

Gaming can be a lot of fun, but if you're the sort of person who doesn't want to deal with a big gaming desktop, then going for a gaming laptop makes a lot of sense. Of course, you aren't going to get as much power under the hood as you would with a desktop, and it might cost a bit more, but you do get a lot of mobility and an included screen in the process. Either way, modern gaming laptops have become really great, and even the budget-oriented stuff can play some of the best PC games out there.

To that end, we've gone out and collected some of our favorite gaming laptop deals out there. On the other hand, if you don't want something that yells "gaming laptop," check out some of these other laptop deals that include more traditional-looking laptops with some gaming specs.
IdeaPad Gaming 3 gaming laptop -- $617, was $950

Read more
Best Antivirus Deals: Protect your PC or Mac from just $35
norton 360 deluxe with lifelock deal best buy december 2021 antivirus shutterstock stock image

If you just grabbed one of these desktop deals or laptop deals, then you may want to also consider arming yourself with one of the best antivirus programs on the market. That's especially true since the antiviruses that tend to come with these deals only last 30 days or so and don't even include the full suite of tools. So, if you want protection against everything from viruses to phishing scams, then be sure to check our favorite antivirus deals below.
NortonLifeLock 360 Deluxe -- $35, was $90

Norton products are a firm fixture amongst the best antivirus software for good reason. They're simple to use and typically cover all the devices you could need to protect. In the case of NortonLifeLock, you get so much more than just antivirus protection too. The software package covers up to five devices at once meaning it will happily work on your Windows, Mac, Android, and iOS systems all at once without a problem. That means all your devices will be regularly monitored for any nefarious files or any other potential issues relating to malware or similar. Real-time protection means there's nothing you need to do other than keep an eye out for any alerts from the service. It's great peace of mind but Norton LifeLock 360 Deluxe goes further than that.

Read more
Best Samsung monitor deals: 4K monitors, ultrawide, and more
Press image of the Samsung ViewFinity S9 studio monitor.

Samsung is probably one of the most well-known electronics companies, making everything from some of the best phones on the market to washers and driers, so it has a huge pedigree in the tech field. That pedigree also extends to monitors, as it also makes some of the best monitors and best gaming monitors on the market as well, so if you're looking to buy a new one, grabbing a Samsung on is a pretty smart choice. Of course, there's a huge selection of monitors to pick from, which is why we've gone out and selected some of our favorite Samsung monitor deals and compiled them for you below.

Also, if you're not quite sure what monitor to buy, check out our computer monitor buying guide to get a better sense of what you need. And, if you don't find it among Samsung monitors, you can always check some other great monitor deals as well.
Samsung 22-inch T350 Full HD monitor -- $100, was $120

Read more