Skip to main content

This bot will destroy you at Pictionary. It’s also a huge milestone for A.I.

 

Like new Alexa Skills on your Amazon Echo, these past couple of decades have seen A.I. gradually gain the ability to best humanity at more and more of our beloved games: Chess with Deep Blue in 1997, Jeopardy with IBM Watson in 2011, Atari games with DeepMind in 2013, Go with AlphaGo in 2016, and so on. To the general public, at least, each instance turns the abstract path of computational progress into a spectator sport. Skynet is getting smarter. How do we know? Because check out the growing number of pastimes it can convincingly beat us at.

Recommended Videos

With that background, it’s not too much of a shocker to hear that A.I. can now perform compellingly well at Pictionary, the charades-inspired word guessing game that requires one person to draw an image and others to try to figure out what they’ve sketched as quickly as possible.

That’s what researchers from the U.K.’s University of Surrey recently carried out with the creation of Pixelor, a “competitive sketching A.I. agent.” Given a visual concept, Pixelor is able to draw a sketch that is recognizable (both by humans and machines) as its intended subject as quickly — or even faster — than a human competitor.

“Our A.I. agent is able to render a sketch from scratch,” Yi-Zhe Song, reader of Computer Vision and Machine Learning at the Center for Vision Speech and Signal Processing at the University of Surrey, told Digital Trends. “Give it a word like ‘face’ and it will know what to draw. … It will draw a different cat, a different dog, a different face, every single time. But always with the knowledge of how to win the Pictionary game.”

Building a Pictionary master

Being able to reduce a complex real-world image into a sketch is, itself, pretty impressive. It takes a level of abstraction to look at a human face and see it as an oval with two smaller ovals for eyes, a line for a nose, and a half-circle for a mouth. In kids, the ability to perceive an image in this way shows, among other things, a burgeoning cognitive understanding of concepts.

However, as with many aspects of A.I., often summarized as Moravec’s Paradox that the “hard problems are easy and the easy problems are hard,” it’s a significant challenge for machine intelligence — despite the fact that it’s a basic, unremarkable skill for the majority of two-year-old children.

SketchX Lab

It’s not an unsolvable challenge, though. In 2016, we wrote about Song’s work with a tool called Sketch, a deep-learning neural network that was able to recognize hand-drawn sketches and use them to search for real-life products. That particular network was trained using a dataset consisting of some 30,000 sketch-photo comparisons, allowing it to be able to recognize the way real objects are presented in hand drawing. Pixelor does something similar, but can also generate its own drawings, rather than just recognizing other people’s.

But that’s not enough to win at Pictionary. Pictionary is a time-challenged game where the goal isn’t just to draw, say, a cat, but to draw a cat in as few strokes as possible. You could be the world’s greatest artist but, if it takes you 12 hours to draw a picture-perfect cat, you’re a terrible Pictionary player.

This meant building an A.I. that could study humans to see which strategies they use to play Pictionary well. As Song said, “What are the most important bits to draw to enable other human judges to be able to guess? We want our drawing to be guessed as early as possible.”

To do this, the researchers took QuickDraw, the largest human sketch dataset available to date. They then built a neural sorting algorithm that prioritizes the order of strokes an artist needs to make; giving a guessable representation of an object in as few lines as possible. This means breaking sketches down into strokes, then shuffling the order of these strokes and testing the results until they establish the precise order in which they need to be laid down on paper.

For example, an artist could start drawing a cat by sketching a circular outline for its head. But a circle could be any number of things, even if you know that it is supposed to represent a head. Draw two pointy ears, however, or two sets of whiskers and the number of potential things that you could be drawing reduces very, very quickly. This information is then used to instruct the sketching agent.

Song said that the team could release a public-facing version of this Pictionary-playing bot so that human players can have their own go at beating a sketching A.I. master. (Who knows? Playing an expert could even help improve your own Pictionary game.)

More than meets the eye

There’s more to Pixelor than just another trivial game-playing bot, however. Just like a computer system has both a surface-level interface that we interact with and under-the-hood backend code, so, too, does every major A.I. game-playing milestone have an ulterior motive. Unless they’re explicitly making computer games, research labs don’t spend countless person-hours building game-playing A.I. agents just to add another entry on the big list of things humans are no longer the best at. The purpose is always to advance some fundamental part of A.I. problem-solving.

In the case of Pixelor, the hidden objective is to make machines that are better able to figure out what’s important to a human in a particular scene. When we look at an image, we’re immediately able to tell what the most salient details are.

Let’s say you’re driving home from work. While the trees lining the side of the road may be picturesque and the billboard for a new movie could be interesting, neither is as important as the face and body language of the person who may or may not be about to walk out in front of you. Before you have even consciously processed the information, your brain has singled out the most important details. How do you teach a computer to be able to do this? Well, it turns out that one great way to do so is to see how humans prioritize the salient recognizable details in an image when they’re sketching it.

“There’s no human knowledge inherently embedded in photos [alone],” said Song. “What we want is human data which can give us signals on how humans understand an object.”

As noted, a good Pictionary player, like a good boxer, will know the absolute minimum they need to do to achieve a certain objective. This, in a macro sense, is what Yi-Zhe Song and his colleagues care about. It’s not anything as trivial as getting a computer to play a game; it’s getting a computer to understand what’s important about certain scenes — and, hopefully, to be able to better generalize.

As everything from self-driving cars to robots in the workplace become increasingly common, this is an essential task to solve.

A paper describing the work will be presented at SIGGRAPH Asia 2020 in November.

Luke Dormehl
Former Digital Trends Contributor
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Nintendo Switch 2 Direct: how to watch and what to expect
A Switch 2 in its dock.

Years of waiting are finally coming to an end (one more time). After a short reveal earlier this year, Nintendo is finally lifting the entire lid on the Switch 2. On April 2, the company will host a Direct presentation entirely built around the console. While Nintendo has been tight-lipped on what exactly will be shown, you can expect it to give us a release date, price, and launch games at the very least. It's sure to be one of the biggest live stream presentations of the year, so you won't want to miss it -- even if you aren't planning on buying a Switch 2 right now.

Want to make sure you catch it when it airs? We've got you covered. Here are all the details for April 2's Nintendo Switch 2 Direct, including when it airs, when you can watch it, and what you can expect to see during it. And if you can't watch it live, we'll be recapping it all live as it happens.
When is the Nintendo Switch 2 Direct?
The Nintendo Switch 2 Direct is set to air on Wednesday, April 2. It'll kick off at 6 a.m. PT, so fans on the west coast will need to wake up bright and early for it. Nintendo has yet to say just how long it'll be, but its 2017 Nintendo Switch reveal lasted just over an hour. You can likely expect about the same here.
Where to watch the Nintendo Switch 2 Direct
As is the case with every Nintendo Direct, you'll be able to stream it on Nintendo's official YouTube channel. We'll embed the placeholder video in this article as soon as it goes live. We also expect that Nintendo will embed the stream into its own website if you feel like watching it there instead.
What to expect from the Nintendo Switch 2 Direct

Read more
The best Pokémon spinoff games of all time
Pikachu with detective cap and boy with brown hair and red jacket eating breakfast

We all fell in love with the Pokémon franchise through its RPGs. These games let us explore the world, meet new friends, and build teams of powerful monsters to battle with. Even though each new generation introduces new Pokémon to catch and a new region to conquer, the gameplay doesn't evolve all that much. Besides some great Pokémon fan games, there are a ton of amazing spinoff games set in the Pokémon world that test out all sorts of genres. In fact, there are way more spinoff games than mainline at this point, with more upcoming video games to add to that pile in the near future. If you need a break from catching them all but still want to spend time with your favorite pocket monsters, here are the best Pokémon spinoff games of all time.

Pokémon isn't the only franchise with amazing spinoffs. The best Mario spinoffs and the best Zelda spinoffs are also worth your time.

Read more
How to spot Crypt Devourers in The First Berserker: Khazan
Khazan looks at a mimic

As you navigate the challenging world of The First Berserker: Khazan, you'll spend a significant amount of time checking every nook and cranny for sweet loot. There's plenty of it to find, too. But as with almost every Soulslike game, some of The First Berserker: Khazan's loot is sporting a trap! While not technically a mimic, there are some scary things lying in wait for you as you pick up loot throughout the game's levels, and failing to recognize them could cost you a huge chunk of health -- or maybe even your life.

Here's how to spot one of these traps and what you can do to save yourself from them.
How to spot a Crypt Devourer in The First Berserker: Khazan
While exploring levels in The First Berserker: Khazan, you'll occasionally see dead bodies that glow red. Interacting with these corpses will normally earn you some Soul Tier Dust and a brief dialogue sequence, but some are housing something dangerous beneath them. When you interact with one of these, you'll be greeted by a giant worm-like creature called a Crypt Devourer, who will grab you, deal damage, then throw you haphazardly onto the ground. In some cases, the throw can even send you into a pack of enemies or off the side of a level where you'll fall to your death.

Read more