Microsoft lets AI experiments loose in world of Minecraft

The code for Project Malmo, Microsoft's tool for conducing AI experiments in Minecraft, is now open source

Microsoft has published the source code for its Project Malmo, allowing anyone to conduct artificial intelligence experiments in the world of Minecraft with a little programming.

It unveiled the project, then known as AIX, back in March, but at the time only a few academics had access to the code. On Thursday the company made good on its promise to open up the source code by publishing it on Github.

Minecraft, the blocky world-building game that Microsoft paid US$2.5 billion for two years ago, is an ideal place to test how artificial intelligences will interact with one another and with humans.

As it's a simulation, Minecraft is a safe place to test how AIs learn to perform certain kinds of physical tasks: In Minecraft, a rogue machine or runaway car can hurt no one. Since the Minecraft server controls the perceived passage of time, researchers can speed up their simulation so there's no waiting while heavy loads are lifted or lowered, for example. And since everything is simulated, instrumentation is a cinch: The server can measure and monitor every detail for later replay and analysis, making it easier for other researchers to reproduce published results.

This isn't Minecraft's first foray into academia: Microsoft took the wraps off an educational edition of the open world-building tool in January, and plans to begin selling it in September.

Project Malmo allows researchers to modify the underlying code of the Minecraft server, allowing them to introduce AI elements to the virtual world.

"AIs" have long been a component of video games, often controlling the baddies in shoot-em-up games to provide players with more of a challenge than randomly moving enemies would provide. But those AIs are dumb in comparison to what's possible in other fields of endeavor.

With Project Malmo, researchers will be able to build AIs that learn, with the goal of helping them hold conversations, make decisions and complete complex tasks.

The environment will be particularly suitable for the development of reinforcement learning techniques, whereby AIs are given a lot of leeway in how they perform tasks, and rewarded when they advance toward their goals, according to Katja Hofmann, lead developer on Project Malmo at Microsoft's research lab in Cambridge, England. For AIs, a "reward" is confirmation that a decision is an appropriate step toward their goals.

AIs are getting pretty good at talking and parsing human language, written and spoken, but for the most part have no idea what it means. Putting them in a simulated environment where they can associate words and actions will give them the opportunity to learn what those words really mean, just as humans do, Hofmann said in a Microsoft blog post about the release of the Project Malmo code.

Join the PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Peter Sayer

IDG News Service
Show Comments

Most Popular Reviews

Latest News Articles


GGG Evaluation Team

Kathy Cassidy


First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni


For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell


The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi


The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott


My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?