homehome Home chatchat Notifications


AI learns to play chess by studying game commentaries instead of practicing

Instead of practicing millions of games, this machine analyzes the language of sports commentators to master chess.

Tibi Puiu
August 1, 2019 @ 8:03 pm

share Share

Credit: Pixabay.

Since Alan Turing wrote the first computer program for chess in 1951 (completely on paper) all the way to Gary Gasparov’s infamous loss at the proverbial hand of IBM’s Deep Blue supercomputer in 1998, chess has always been used as an indicator of progress for computers. Today, artificial intelligence systems are so advanced that humans barely have a chance at beating them. Google’s AlphaZero is a prime example; it started out knowing only the rules of chess and nothing more — no opening and closing moves, no libraries, nada. In a matter of hours, it had already played more games against itself than have ever been recorded in human chess history.

In a new study, researchers in artificial intelligence at University College London have yet again turned to chess. Only this time, their machine learning program didn’t practice millions of games to master chess but rather analyzed the language of expert commentators. Someday, the researchers say that a similar approach could allow machines to decipher emotional language and acquire skills which would have otherwise been inaccessible through ‘brute force’.

First, the researchers went through 2,700 chess game commentaries, which were pruned so that ambiguous or uninteresting moves were removed. They then employed a recurrent neural network —  a type of neural network where the output from the previous step is fed as input to the current step — and a mathematical technique called word embeddings to parse the language of the commentators.

The algorithm, called SentiMATE, worked out the basic rules of chess as well as several key strategies — including forking and castling — all by itself. On the flip side, it played quite poorly, at least, as compared to a grandmaster AI.

“We present SentiMATE, a novel end-to-end Deep Learning model for Chess, employing Natural Language Processing that aims to learn an effective evaluation function assessing move quality. This function is pre-trained on the sentiment of commentary associated with the training moves and is used to guide and optimize the agent’s game-playing decision making. The contributions of this research are three-fold: we build and put forward both a classifier which extracts commentary describing the quality of Chess moves in vast commentary datasets, and a Sentiment Analysis model trained on Chess commentary to accurately predict the quality of said moves, to then use those predictions to evaluate the optimal next move of a Chess agent,” the authors wrote.

High-level performance was not its objective, though. Where SentiMATE shines is in its ability to use language to acquire a skill instead of practicing it, thus employing less data and computing power than conventional approaches. AlphaZero, for instance, requires thousands of “little brain” — specialized chips called Tensor Processing Units (TPUs) — and millions of practice sessions to master games such as chess, Go, or Dota 2.

In a world with millions of books, blogs, and studies, machines like SentiMATE could find many practical applications. Such a machine, for instance, could learn to predict financial activities or write better stories simply by tapping into the sum of human knowledge.

SentiMATE was described in a paper published in the pre-print server ArXiv.

share Share

A Dutch 17-Year-Old Forgot His Native Language After Knee Surgery and Spoke Only English Even Though He Had Never Used It Outside School

He experienced foreign language syndrome for about 24 hours, and remembered every single detail of the incident even after recovery.

Your Brain Hits a Metabolic Cliff at 43. Here’s What That Means

This is when brain aging quietly kicks in.

Scientists Just Found a Hidden Battery Life Killer and the Fix Is Shockingly Simple

A simple tweak could dramatically improve the lifespan of Li-ion batteries.

Westerners cheat AI agents while Japanese treat them with respect

Japan’s robots are redefining work, care, and education — with lessons for the world.

Scientists Turn to Smelly Frogs to Fight Superbugs: How Their Slime Might Be the Key to Our Next Antibiotics

Researchers engineer synthetic antibiotics from frog slime that kill deadly bacteria without harming humans.

This Popular Zero-Calorie Sugar Substitute May Be Making You Hungrier, Not Slimmer

Zero-calorie sweeteners might confuse the brain, especially in people with obesity

Any Kind of Exercise, At Any Age, Boosts Your Brain

Even light physical activity can sharpen memory and boost mood across all ages.

A Brain Implant Just Turned a Woman’s Thoughts Into Speech in Near Real Time

This tech restores speech in real time for people who can’t talk, using only brain signals.

Using screens in bed increases insomnia risk by 59% — but social media isn’t the worst offender

Forget blue light, the real reason screens disrupt sleep may be simpler than experts thought.

We Should Start Worrying About Space Piracy. Here's Why This Could be A Big Deal

“We are arguing that it’s already started," say experts.