homehome Home chatchat Notifications


Novel AI can master games like chess and Go by itself, no humans needed

How do you spell "checkmate" in binary?

Alexandru Micu
December 7, 2018 @ 8:56 pm

share Share

UK researchers have improved upon a pre-existing AI, allowing it to teach itself how to play three difficult board games: chess, shogi, and Go.

Chess.

Image via Pexels.

Can’t find a worthy opponent to face in your favorite board game? Fret not! Researchers at the DeepMind group and University College, both in the UK, have created an AI system capable of teaching itself (and mastering) three such games. In a new paper, the group describes the AI and why they believe it represents an important step forward for the development of artificial intelligence.

Let’s play a game

“This work has, in effect, closed a multi-decade chapter in AI research,” Murray Campbell, a member of the team that designed IBM’s Deep Blue, writes in a commentary accompanying the study.

“AI researchers need to look to a new generation of games to provide the next set of challenges.”

Nothing puts the huge strides AI has made over the years into perspective quite like having one beat you at a game. Over two decades ago, an AI known as Deep Blue managed such a feat in a chess game against world champion Gary Kasparov in 1997. Since then, the machines have also managed victories in shogi and Go (think of them as Japanese and Chinese versions of chess).

While impressive, such achievements also showcased the shortcomings of these computer opponents. These programs were good at their respective game — but only at playing that one game. In the new paper, researchers showcase an AI that can learn and master multiple games on its own.

Christened AlphaZero, this AI is based closely on the AlphaGo Zero software and uses a similar reinforcement learning system. Much like a human would, it learns through trial and error by repeatedly playing a game and looking at the results of its actions. All we have to do is explain the basic rules of the game, and then the computer starts playing — against itself. Repeated matches let AlphaZero see which moves help bring about a win, and which simply don’t work.

Over time, all this experience lets the AI become quite adept at the game. AlphaZero has shown that given enough time to practice, it can come to defeat both human adversaries and other dedicated board game AIs — which is no small feat. The system also uses a search method known as the Monte Carlo tree search. Combining the two technologies allows the system to teach itself how to get better at playing a game.

AlphaZero results.

Tournament evaluation of AlphaZero in chess, shogi, and Go. The results show games won, drawn, or lost (from AlphaZero’s perspective) in matches against Stockfish, Elmo, and AlphaGo Zero (AG0). AlphaZero was allowed three days for training in each game.
Image credits DeepMind Technologies Ltd

It certainly did help that the team ran the AI on a very beefy platform — the rig employed 5000 tensor processing units, which is on a par with the capabilities of large supercomputers.

Still, AlphaZero can handle any game that provides all the information that’s relevant to decision-making. The new generation of games to which Campbell alluded earlier do not fit into this category. In games such as poker, for example, players can hold their cards close to their chests (and thus obfuscate relevant information). Other examples include many multiplayer games, such as StarCraft II or Dota. However, it likely won’t be long until AlphaZero can tackle such games as well.

“Those multiplayer games are harder than Go, but not that much higher,” Campbell tells IEEE Spectrum. “A group has already beaten the best players at Dota 2, though it was a restricted version of the game; Starcraft may be a little harder. I think both games are within 2 to 3 years of solution.”

The paper “Mastering board games” has been published in the journal Science.

share Share

Meet the Indian Teen Who Can Add 100 Numbers in 30 Second and Broke 6 Guinness World Records for Mental Math

The Indian teenager is officially the world's fastest "human calculator".

NASA Captured a Supersonic Jet Breaking the Sound Barrier and the Image Is Unreal

The coolest thing about this flight is that there was no sonic boom.

NASA’s Curiosity Rover Spotted Driving Across Mars From Space for the First Time

An orbiter captured Curiosity mid-drive on the Red Planet.

New Quantum Navigation System Promises a Backup to GPS — and It’s 50 Times More Accurate

An Australian startup’s device uses Earth's magnetic field to navigate with quantum precision.

Fully Driverless Trucks Hit Texas Highways (This Time With No Human Oversight)

Driverless trucks will haul freight in Texas without a human behind the wheel.

Scientists Rediscover a Lost Piece of Female Anatomy That May Play a Crucial Role in Fertility

Scientists reexamine a forgotten structure near the ovary and discover surprising functions

What's the best way to peel a boiled egg? A food scientist explains

With a few science-based tips, mangled eggs can become a thing of the past.

This Tiny 3D Printed Material is as Strong as Steel but as Light as Styrofoam

When 3D printing is combined with machine learning, magic happens at the nano scale.

This Solar-Powered Device Sucks CO2 From the Air—and Turns It Into Fuel

Researchers harness sunlight to convert CO2 into sustainable fuel.

A Woman Asked ChatGPT for a Palm Reading and It Flagged a Mole That Might Be Cancer

A viral TikTok recounts the story of a young woman who turned to ChatGPT for love advice but received an unsolicited medical advice instead.