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…
Power up your tech game this summer with Dell’s top deals: Upgrade for a bargain
Dell Techfest and best tech on sale featured.

One of the best times to upgrade your tech stack, be it your desktop, a new laptop, or some high-resolution monitors, is when great deals are to be had. Well, I'm here to share that thanks to Dell's top deals, you can power up your tech game and have most of the summer to make it happen. Maybe you're happy with your current system or setup. That's excellent, but you're likely considering upgrading somewhere, and that's precisely what these deals are all about. Dell has a smorgasbord of deals on laptops, desktops, gaming desktops, monitors, accessories, and so much more. We'll call out a few of our favorite deals below, but for now, know that you should be shopping this sale if you're interested in anything tech-related.

 
What summer tech should you buy in Dell's top deals?

Read more
I love the MacBook Pro, but this Windows laptop came surprisingly close
Apple MacBook Pro 16 downward view showing keyboard and speaker.

There are some great machines in the 15-inch laptop category, which has recently been stretched to include the more common 16-inch laptop. The best among them is the Apple MacBook Pro 16, which offers fast performance for tasks like video editing and the longest battery life.

The Lenovo Yoga Pro 9i 16 is aimed not only at other 16-inch Windows laptops but also at the MacBook Pro 16. It offers many of the same benefits but at a lower price. Can it take a place at the top?
Specs and configurations

Read more
How to set an ‘Out of Office’ message in Microsoft Teams
Person using Windows 11 laptop on their lap by the window.

Many people use Microsoft Teams regularly to communicate with colleagues both inside of the office and remotely. It is considered one of the most efficient ways to ensure you can stay in contact with the people on your team, but what if you need to let people know you’re not readily available? Microsoft Teams has a method for you to set up an "Out of Office" status for your profile to let staff members know when you’ll be gone for the afternoon, for several days on vacation, or for an extended period.
Where do I go to set up my ‘Out of Office’ status for Teams?
It is important to note that your Microsoft Teams and Outlook calendars are synced. This includes your out-of-office status and automatic replies. So, whatever you set up in Microsoft Teams will reflect in Outlook. Similarly, you can set up your out-of-office status in Outlook, and it will be reflected in Teams; however, the former has a more straightforward instruction.

First, you can click on your profile icon in Teams and go directly to Schedule an out of office, as a shortcut. This will take you to the settings area where you can proceed. You can also click the three-dot icon next to your profile icon, then go to Settings > General, then scroll down to the bottom of the page. There, you'll find out-of-office settings and click Schedule.

Read more