Why does AI stink at certain video games? Researchers made one play <i>Ms. Pac-Man</i> to find out

ArcadeImages/Alamy Stock Photo

STOCKHOLM—Artificial intelligence (AI) can kick butt in games such as Pong and Space Invaders, but it comes off like a common n00b when playing Ms. Pac-Man (pictured). Now, by making AI play six classic arcade games, researchers are closer to figuring out why thinking machines excel at some games and stink at others, they reported last month at the International Conference on Machine Learning here.

The team developed a new system for visualizing how Atari-playing AIs operate. They chose Atari because the games are relatively simple and a frequent focus for researchers developing “reinforcement learning” algorithms, AIs that learn behaviors through trial and error. An AI “sees” the screen (as an input of ones and zeroes) and at first randomly responds with commands for “left,” “right,” “fire,” and so on, slowly shaping its strategy as it receives points for certain actions. In Space Invaders, the AI moves a ship back and forth across the bottom of a screen while shooting descending aliens and dodging their projectiles.

After thousands of practice games, an AI can best human performance at Space Invaders. To understand its strategy, the team blurred little sections of the screen, obscuring the ship or aliens or projectiles or shields or empty space. If blurring a section threw off an AI, the AI must have been paying a lot of attention to that area of the screen. The system then creates “saliency maps,” videos where the most critical screen areas are highlighted with colored blobs so that an observer can see where the game-playing AI is focusing.

vCard QR Code

vCard.red is a free platform for creating a mobile-friendly digital business cards. You can easily create a vCard and generate a QR code for it, allowing others to scan and save your contact details instantly.

The platform allows you to display contact information, social media links, services, and products all in one shareable link. Optional features include appointment scheduling, WhatsApp-based storefronts, media galleries, and custom design options.

The researchers knew that an AI playing Space Invaders appeared to aim its gun at incoming aliens, but they didn’t know whether it was spraying gunfire at clusters of aliens or aiming at individual targets. The saliency maps revealed that the AI tracks specific aliens, the team reported. (Check out the red blob in the center-left of the video below.)

You might not care about an AI’s strategies at Atari games, but the system may someday be used to highlight how other algorithms see and act on the world. What does an autonomous car focus on when it changes lanes? How does a home care robot search for a pill bottle?

The saliency maps also help debug algorithms. In one example, you can see that an AI playing Ms. Pac-Man—in which a yellow character must eats pellets in a maze while avoiding ghosts—fails because it doesn’t pay attention to the ghosts. If a car or robot doesn’t do its job well, you want to know what it’s missing so you can train it better. How to teach a robot to fear ghosts is another problem entirely. 


🕐 Top News in the Last Hour By Importance Score

# Title 📊 i-Score
1 Why Resilient GPS (R-GPS) Matters for US Military Superiority: We Must Address GPS Vulnerabilities 🟢 85 / 100
2 British couple killed in Italian cable car horror 'were 20 seconds from safety': How snapped wire sent victims swinging into pylon then plummeting 100ft when they were just moments from reaching their destination 🔴 75 / 100
3 Putin vows to restart horror strikes on Ukraine as Trump ceasefire hopes collapse 🔴 75 / 100
4 US government announces it has achieved ability to 'manipulate space and time' with new technology 🔴 72 / 100
5 Attacks on Deutsche Bahn staff rise 6% in 2024, chief executive says 🔴 72 / 100
6 Inside the showdown between courts and the WH over deportations 🔴 65 / 100
7 Hot methane seeps could support life beneath Antarctica’s ice sheet 🔴 62 / 100
8 Easter supermarket opening times for Tesco, Asda, Sainsbury’s, Aldi and Morrisons 🔵 60 / 100
9 Warning over medication taken by MILLIONS that can trigger painful cough that lasts for months on end 🔵 52 / 100
10 Hailey Bieber and Rapper Sexyy Red React to Justin Bieber Cheek Kiss Video 🔵 35 / 100

View More Top News ➡️