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.

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.

Editors' Recommendations

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Is Manor Lords multiplayer or co-op?
A medieval market in Manor Lords.

You can easily lose hours designing your village and appeasing your citizens in Manor Lords all by yourself. There are so many different avenues to achieve victory, but the only competition or help you can normally find is in the form of NPCs. Other factions around the map can be helpful or harmful depending on how you play, but what if you wanted to team up with a friend to combine resources, or perhaps compete to see who can crush the other first? Many strategy and city builders thrive on multiplayer components, but does Manor Lords offer those same modes? Make sure you know the answer before making your purchase if that's your intention.
Is there multiplayer or co-op in Manor Lords?
To cut to the chase, the answer is no. Manor Lords is a purely single-player experience through and through. There are no cooperative or competitive modes in the game at all, so there's no way to interact with anyone else either on PC or console. This game was just released out of early access, and there is plenty of content on the way, however, we regret to inform you that multiplayer is not in the plans for the time being.

One developer took to the Steam forums to release an FAQ on the game. One question specifically asked if there is any multiplayer or cooperative gameplay in the game. The response said that "he focus is on a refined single-player experience, with no multiplayer or cooperative modes planned at the moment."

Read more
All console commands and cheats for Fallout: New Vegas
The courier holding a gun with a welcome sign in the background in Fallout: New Vegas key art.

From the moment you begin your adventure in Fallout: New Vegas, you've already cheated death. Your first playthrough of the game should be done as the developers intended, though maybe with a couple of mods to make the experience a little smoother, but nothing that breaks the game. That said, it's been over a decade since the game came out, so odds are you've already played through the intended way at least once. This is when you can have some fun tinkering with the game and play using console commands and cheats if you're on the PC version of the game. There are a ton of commands you can input to manipulate your character, the world, objects, and more. Here's a full rundown of all the cheats there are and how to activate them.
How to enter console commands
Opening up the command console to type in your cheats is just a single keystroke away. While in the game (not paused), hit the ~ key located below your escape key. This will remove your HUD and bring up the prompt to type in any of the below cheats.
All Fallout: New Vegas console commands and cheats

Because there are so many console commands, we're going to break them down into general categories to make it easier for you to find what you're looking for based on what you want to do.
Faction and reputation cheats
addreputation <form id> <variable> <amount> -- Increases your reputation with a faction.

Read more
How to get a gun in Another Crab’s Treasure
Kril has a gun

Another Crab's Treasure no doubt looks like a kid-friendly game, but hiding beneath its charming and cute exterior is a challenging soulslike experience that can test the mettle of genre veterans. Those who either can't or don't want to engage with such intense difficulty throughout this underwater adventure can make great use of a variety of assists. Among these is a rather shocking, but hilarious option that can completely negate nearly all of the game's challenge while providing some laughs along the way. Here's how to get a gun in Another Crab's Treasure.
How to get a gun
To give yourself a gun in Another Crab's Treasure, head over to the Settings menu. Navigate to Assist Mode at the bottom of the menu, then scroll to the bottom once more to a setting called Give Kril a Gun. Toggle this on, then back out and resume your game to find that Kril now has a massive pistol on his back in place of a shell.

This new gun on your back provides you with more than just a funny visual, though -- it actually allows you to shoot and kill any enemy in a single hit, nearly eliminating all of the challenge from the game. Additionally, if you're after trophies or achievements, the first time you shoot a crab with the gun will also unlock "This Kills the Crab."

Read more