This AI learnt language by playing games

This AI learnt language by playing games

Researchers at MIT have put together a computer system that can complete sections of text adventure games without any prior knowledge of how language works - suggesting that it can learn the meanings of words.

Regina Barzilay, Tejas Kulkarni and Karthik Narasimhan wanted to design a system that could make inferences about the syntax of language - that could work out the difference between "you are hurt" and "you are not hurt" and what it means without being taught.

Negations and Conjunctions

To do so, they built their own text adventure game that relied heavily on negations like this, as well as conjunctions like "but", "and" and "or". They also asked the developers of Evennia, a game-creation toolkit, to build a test game too.

The computer system they created was tasked with trying to get through the two games, and its performance was compared with two other techniques for natural-language processing. On both, their system outperformed the rival techniques - though it was stumped when it was asked to compare two different descriptions of an object.

"When you play these games, every interaction is through text," said Narasimhan. "It's not like a console with buttons. So you really need to understand the text to play these games, and you also have more variability in the types of actions you can take.

The details of the experiments were published on Narahimhan's website.

Image credit: Jose-Luis Olivares/MIT // CC BY-NC-ND 2.0

Duncan Geere
Duncan Geere is TechRadar's science writer. Every day he finds the most interesting science news and explains why you should care. You can read more of his stories here, and you can find him on Twitter under the handle @duncangeere.
Latest in Tech
Ray-Ban smart glasses with the Cpperni logo, an LED array, and a MacBook Air with M4 next to ecah other.
ICYMI: the week's 7 biggest tech stories from Twitter's massive outage to iRobot's impressive new Roombas
A triptych image featuring the Sennheiser HD 505, Apple iPad Air 11-inch (2025), and Apple MacBook Air 15-inch (M4).
5 unmissable tech reviews of the week: why the MacBook Air (M4) should be your next laptop and the best sounding OLED TV ever
Apple iPhone 16e
Which affordable phone wins the mid-range race: the iPhone 16e, Nothing 3a, or Samsung Galaxy A56? Our latest podcast tells all
The Apple MacBook Air next to the Dyson Supersonic R and new AMD GPU
ICYMI: the week's 7 biggest tech stories from the best tech at MWC to Apple's new iPads and MacBooks
A triptych image featuring the Bose Solo Soundbar 2, Nothing Phone 3a Pro and the Panasonic Lumix S1R II.
5 trailblazing tech reviews of the week: Nothing's stylish, affordable flagship and why you should buy AMD's new graphics card over Nvidia's
The best tech of MWC 2025 examples, including the Nothing Phone 3a Pro, the Nubia Flip 2, and the Lenovo Solar PC
Best of MWC 2025: the 10 top tech launches we tried on the show floor
Latest in News
A man getting angry with his laptop.
Windows 11 bug deletes Copilot from the OS – is this the first glitch ever some users will be happy to encounter?
An image of the Samsung Galaxy S25 Ultra from a hands-on event
Samsung's latest software upgrade could mean Galaxy phones beat iPhones for gaming – but you can't get it yet
God of War 20th Anniversary Graphic.
Sony has unveiled some goodies to celebrate God of War’s 20th anniversary, but it's not the remaster I was hoping for
person at a computer
Many workers are overconfident at spotting phishing attacks
Apple iPhone 16 Plus Review
The iPhone 17 Air could have an affordable price, and better battery life than you might have expected
Some of the Avengers standing in a room without their costumes on in Marvel's Avengers: Endgame movie
'It's a new beginning': Avengers 5 and 6 directors tease what Marvel fans can expect from Doomsday and Secret Wars' plot – and how they will set up the MCU's future