Pac-Man AI Research and Competitions | AI and Games #06

AI and Games · Advanced ·📄 Research Papers Explained ·11y ago

Key Takeaways

The video discusses Pac-Man AI research and competitions, including the Miz Pac-Man AI competition and the Mis Pac-Man versus Ghosts competition, highlighting the game's non-deterministic nature and its challenges for AI researchers.

Full Transcript

[Music] So, what is the deal with Pac-Man? That is an excellent question, largely because this video is here to explain why AI researchers kind of like myself have been so interested in Pac-Man for the last kind of 10 years or so. I'm Tommy Thompson and this video accompanies a written piece on this subject over on my website that goes into a lot more detail on the topic. But let's start at the beginning. Pac-Man is a video game dating back to the 1980s which not only proved rather popular but was also largely influential at the time given that it helped define a genre of games that deviated from the likes of kind of Space Invaders which was arguably one of the biggest games in the arcades back at the time of release. To be fair, I'm assuming that anybody who watches this video has at least seen or heard of Pac-Man before now. It was quite popular. It's still quite pervasive in the kind of gaming culture. And to be fair, if you don't really know much about it, I'd just go and watch the opening 20 minutes of Scott Pilgrim Versus the World. If you want to then watch the rest of it, and it is a pretty good movie, then you go ahead and do that. I'd encourage you to do so. Be a good spend of your time. [Music] Hey, what's up? Nothing. Hey, you know Pac-Man? I know of him. Well, Pac-Man was originally called Puckman. They changed it because uh not because Pac-Man looks like a hockey puck. Pu. Pacu means flap your mouth. and that they were worried people would change scratch out the P, turn it into an F, like Yeah, that's amazing. Um, am I dreaming? I'll leave you alone forever now. Thank you. So, you know, in summary, for those of you who can't be bothered watching the movie is Pac-Man, you know, the protagonist who provides his name for the game is tasked with choing on pills lying in corridors of a maze. Don't ask, it's video games in the 80s. It didn't have to make sense. But it had an added task of avoiding ghosts that hunt the player down. Like I say, the Pac-Man series is now well established in gaming history, but it doesn't really carry the novelty and popularity that it once did. I mean, this is often the case with games. You know, technologies advancing, and video games continue to change in size, scope, and complexity. As a result, outside of a dedicated fan base and the odd re-release, Pac-Man is not as popular as it once was. While the gaming masses have largely lost interest in Pac-Man, AI researchers became increasingly interested in the game around the sort of late 1990s to early 2000s. This was during the formative years of what is now an established body of research on computational and artificial intelligence and its applications within games. Back in the early 1990s, John Kosa and Justinian Rosska had experimented with the idea of writing AI software that could control characters in video games. While players nowadays are accustomed to AI controlling non-player characters in games, they were suggesting that AI controls the avatar of the player. It might seem crazy, but it's part of what makes games so interesting for AI researchers, given that games are designed to test the mind of a human. So by extension it provides an interesting problem for AI researchers to see if we can write software that can play a game like a human. In time momentum was established largely thanks to work by Marcus Gallagher, Mark Lewitch, Adichia Kalyanur and Moan Simon who provided highquality research in problems that often mimicked the Pac-Man game. Given that Pac-Man's copyrighted and owned by Namco, developers could not use the original game and access the source code in order to write their own AI bots. Though in time a workaround was found, but instead of playing Pac-Man, researchers focused on Miz Pac-Man, the sequel. Atari introduces the woman of the year, Miz Pac-Man. With a style of entertainment that Pac-Man never knew, an endless supply of floating goodies. Ms. Pac-Man, the sequel that was released in 1982, introduces a number of changes to the formula. One of these changes, in particular, makes the game far more interesting for AI research. The most obvious changes are not particularly relevant, such as the change of art style and the use of a female protagonist. Even the changes to the maps have little effect given that many AI solutions would not be relying upon the original maps given the way the AI would model the environment. Good solutions would be more intuitive and be able to adapt to the new maze designs. The big and allimportant change is remarkably subtle and it's all to do with the ghosts. In the original game, the four ghosts, Inky, Blinky, Pinky, and Clyde, all have a set of specific rules that dictate how they chase the player around the maze. So, at each junction, they make a decision based upon their rule set. This rule is not immediately apparent to you, but expert players have been able to discern how each of them operate. As a result, a good player can predict what a ghost will do at a given junction. This means that the ghost and by extension the game is deterministic. Meaning that with some effort we can predict how the game would look 10, 20, even 100 frames in the future. This is how expert gamers play given they know on an implicit level how to avoid the ghosts given they can predict their behavior. Meanwhile, in Miss Pac-Man, the four ghosts, Inky, Blinky Pinky, and Sue use the same rule sets from the previous game, but with one added rule. At a given junction, a ghost can opt to follow their usual rules or take a completely random action. That's it. I hear you say that's what all the fuss is about. Well, allow me to explain. If a ghost can now take a completely random action rather than the expected action, it completely breaks any assumptions we have of how the ghosts play. Unlike Pac-Man, where we could predict the future state with 100% accuracy, we can't do it anymore. It's impossible. In AI terms, we consider this now to be a non-deterministic system, or in layman's terms, a problem where random things happen. This means that the game becomes a lot harder, not just for the AI, but for human players as well. In 2007, Professor Simon Lucas of the University of Essex formed the Miz Pac-Man AI competition. Well, the challenge was to create an AI bot that could reach the highest score possible in the game. Competitions are important in scientific research as they provide a benchmark that's recognized by the community and allows for researchers to focus their efforts on a particular problem domain. This was achieved using a screen scraping framework that played the Windows release of Miz Pac-Man. In time, this was replaced with a new framework deemed more palatable for developers to work on and became the Mis Pac-Man versus Ghosts competition where the players could not only write Pac-Man bots, but also experiment with writing their own ghost teams. Now, in 2014, the AI research community has largely expanded into other areas such as the platformer AI competition, which has since succeeded the Mario AI competition, Starcraft, and also recently the general video game AI competition. However, Miss Pac-Man still has a large presence and is one of the most prominent benchmarks has been established in the game AI research field. This is largely because of the challenge it introduces is so fundamental to AI that it merits continued investigation. And that's it for now. That's why AI people are so interested in Pac-Man. I hope you learned a thing or two or, you know, at bare minimum just enjoyed listening to my lovely Scottish accent. Don't forget to read the written piece attached to this video if you want to learn more. And please check out my other videos. Thanks for watching. This video along with all my other videos on YouTube as well as my written pieces are supported thanks to awesome people like Michael Tardono over on patreon.com. To find out a little bit more about my work and how you can support it, please check out patreon.comiingames. AI_and_game underscores are pretty important. Thanks for watching.

Original Description

You might have seen it bouncing around the internet, but AI researchers seem really interested in Pac-Man. This video attempts to give a quick summary of what it's all about: talking about the game itself and why Ms. Pac-Man in particular has proven so interesting to the AI research community. For more information, please check out the written piece that accompanies this article: http://aiandgames.com/ai-and-pacman/ Check out more of my AI and Games work at: http://www.patreon.com/AI_and_Games No copyright is claimed for the game footage, images and music, to the extent that material may appear to be infringed, I assert that such alleged infringement is permissible under fair use principles in copyright laws. If you believe material has been used in an unauthorized manner, please contact me.
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from AI and Games · AI and Games · 2 of 60

1 Evolving Particle Weapons in Galactic Arms Race | AI and Games #04
Evolving Particle Weapons in Galactic Arms Race | AI and Games #04
AI and Games
Pac-Man AI Research and Competitions | AI and Games #06
Pac-Man AI Research and Competitions | AI and Games #06
AI and Games
3 The Behaviour Tree AI of Halo 2 | AI and Games #09
The Behaviour Tree AI of Halo 2 | AI and Games #09
AI and Games
4 Researching Super Mario Bros. Level Design | AI and Games #10
Researching Super Mario Bros. Level Design | AI and Games #10
AI and Games
5 Teaching Robots to Play | AI and Games #12
Teaching Robots to Play | AI and Games #12
AI and Games
6 The Quest for AI Game Designers | AI and Games #13
The Quest for AI Game Designers | AI and Games #13
AI and Games
7 HTN Planning in Transformers: Fall of Cybertron | AI and Games #14
HTN Planning in Transformers: Fall of Cybertron | AI and Games #14
AI and Games
8 The AI of Alien: Isolation | AI and Games #15
The AI of Alien: Isolation | AI and Games #15
AI and Games
9 Status Performance Analysis in Team Fortress 2 | AI and Games #17
Status Performance Analysis in Team Fortress 2 | AI and Games #17
AI and Games
10 Training the Shadow AI of Killer Instinct (2013) | AI and Games #18
Training the Shadow AI of Killer Instinct (2013) | AI and Games #18
AI and Games
11 Resurrection & Reverence: The Return of DOOM | Design Dive
Resurrection & Reverence: The Return of DOOM | Design Dive
AI and Games
12 Left Behind on LV-426 - The Design of Aliens: Colonial Marines | Design Dive
Left Behind on LV-426 - The Design of Aliens: Colonial Marines | Design Dive
AI and Games
13 Games By ANGELINA, the AI Game Designer | AI and Games #20
Games By ANGELINA, the AI Game Designer | AI and Games #20
AI and Games
14 Prepare to Die by Simple AI - Dark Souls and Difficulty | Design Dive
Prepare to Die by Simple AI - Dark Souls and Difficulty | Design Dive
AI and Games
15 Looking for Love on Pandora: PCG and Borderlands 2 | Design Dive
Looking for Love on Pandora: PCG and Borderlands 2 | Design Dive
AI and Games
16 The AI of Shogun: Total War | AI and Games #21
The AI of Shogun: Total War | AI and Games #21
AI and Games
17 The Campaign AI of Total War: Rome II | AI and Games #23
The Campaign AI of Total War: Rome II | AI and Games #23
AI and Games
18 AI 101: Monte Carlo Tree Search
AI 101: Monte Carlo Tree Search
AI and Games
19 The Diplomacy AI in Total War: Attila | AI and Games #24
The Diplomacy AI in Total War: Attila | AI and Games #24
AI and Games
20 A History of AI Research in StarCraft | AI and Games #26
A History of AI Research in StarCraft | AI and Games #26
AI and Games
21 Dota 2, MOBA's and the Future of AI Research | AI and Games #27
Dota 2, MOBA's and the Future of AI Research | AI and Games #27
AI and Games
22 Procedural Level Generation in Sure Footing | AI and Games #28
Procedural Level Generation in Sure Footing | AI and Games #28
AI and Games
23 Behind the AI and Storytelling of Spec Ops: The Line | AI and Games #29
Behind the AI and Storytelling of Spec Ops: The Line | AI and Games #29
AI and Games
24 The AI of DOOM (2016) | AI and Games #30
The AI of DOOM (2016) | AI and Games #30
AI and Games
25 Machine Learning Analysis of Player Behaviour in Tomb Raider: Underworld | AI and Games #31
Machine Learning Analysis of Player Behaviour in Tomb Raider: Underworld | AI and Games #31
AI and Games
26 How A Navigation Mesh Works in 3D Games | AI 101
How A Navigation Mesh Works in 3D Games | AI 101
AI and Games
27 How Halo 3 Builds Large-Scale AI Battles | AI and Games #33
How Halo 3 Builds Large-Scale AI Battles | AI and Games #33
AI and Games
28 Enemy AI Design in Tom Clancy's The Division (Part 1 of 2) | AI and Games #34
Enemy AI Design in Tom Clancy's The Division (Part 1 of 2) | AI and Games #34
AI and Games
29 Building the Online World of Tom Clancy's The Division (Part 2 of 2) | AI and Games #35
Building the Online World of Tom Clancy's The Division (Part 2 of 2) | AI and Games #35
AI and Games
30 Behaviour Trees: The Cornerstone of Modern Game AI | AI 101
Behaviour Trees: The Cornerstone of Modern Game AI | AI 101
AI and Games
31 Why Friendly AI Cheat in Ghost Recon Wildlands | AI and Games #36
Why Friendly AI Cheat in Ghost Recon Wildlands | AI and Games #36
AI and Games
32 The AI of Horizon Zero Dawn | Part 1: Rise of the Machines | AI and Games #37
The AI of Horizon Zero Dawn | Part 1: Rise of the Machines | AI and Games #37
AI and Games
33 The AI of Horizon Zero Dawn | Part 2: Metal Militia | AI and Games #38
The AI of Horizon Zero Dawn | Part 2: Metal Militia | AI and Games #38
AI and Games
34 Augmented Reaction: Vanquish - 9 Years Later | Design Dive
Augmented Reaction: Vanquish - 9 Years Later | Design Dive
AI and Games
35 Building Mario Levels with Machine Learning | AI and Games #39
Building Mario Levels with Machine Learning | AI and Games #39
AI and Games
36 The AI of Half-Life: Finite State Machines | AI 101
The AI of Half-Life: Finite State Machines | AI 101
AI and Games
37 Building a Pirate's Paradise in Sea of Thieves | AI and Games #40
Building a Pirate's Paradise in Sea of Thieves | AI and Games #40
AI and Games
38 The Secrets of Skeleton and Shark AI in Sea of Thieves | AI and Games #41
The Secrets of Skeleton and Shark AI in Sea of Thieves | AI and Games #41
AI and Games
39 How Megalodon, Kraken and Skeleton Ships Haunt the Sea of Thieves | AI and Games #42
How Megalodon, Kraken and Skeleton Ships Haunt the Sea of Thieves | AI and Games #42
AI and Games
40 How Rare Tests Sea of Thieves to Stop Bugs Reaching Players | AI and Games #43
How Rare Tests Sea of Thieves to Stop Bugs Reaching Players | AI and Games #43
AI and Games
41 The Legacy of GoldenEye 007 | Design Dive
The Legacy of GoldenEye 007 | Design Dive
AI and Games
42 The Secrets of GoldenEye's AI Revealed | AI and Games #44
The Secrets of GoldenEye's AI Revealed | AI and Games #44
AI and Games
43 Sandbox Assassin: The AI of Hitman (2016) | AI and Games #45
Sandbox Assassin: The AI of Hitman (2016) | AI and Games #45
AI and Games
44 The Dangers of AI, Microtransactions & Lootboxes | Design Dive
The Dangers of AI, Microtransactions & Lootboxes | Design Dive
AI and Games
45 Minecraft Villages Built by AI - The Generative Design in Minecraft Competition | AI and Games #46
Minecraft Villages Built by AI - The Generative Design in Minecraft Competition | AI and Games #46
AI and Games
46 The Secret Reward Systems of Dark Souls II | Design Dive
The Secret Reward Systems of Dark Souls II | Design Dive
AI and Games
47 Why Adding Bots to Fortnite Was a Great Idea | Design Dive
Why Adding Bots to Fortnite Was a Great Idea | Design Dive
AI and Games
48 The Best Games Engines for AI (2019) | AI 101
The Best Games Engines for AI (2019) | AI 101
AI and Games
49 How Atriox Can Beat You in Halo Wars 2 Without Cheating | AI and Games #47
How Atriox Can Beat You in Halo Wars 2 Without Cheating | AI and Games #47
AI and Games
50 How AlphaStar Became a StarCraft Grandmaster | AI and Games #48
How AlphaStar Became a StarCraft Grandmaster | AI and Games #48
AI and Games
51 Why AlphaStar Does Not Solve Gaming's AI Problems | Design Dive
Why AlphaStar Does Not Solve Gaming's AI Problems | Design Dive
AI and Games
52 Designing the Enemy AI of Tom Clancy's The Division 2 | AI and Games
Designing the Enemy AI of Tom Clancy's The Division 2 | AI and Games
AI and Games
53 Bringing Washington D.C. to Life: The AI of Tom Clancy's The Division 2 | AI and Games
Bringing Washington D.C. to Life: The AI of Tom Clancy's The Division 2 | AI and Games
AI and Games
54 The Secret AI Testers Inside Tom Clancy's The Division 2 | AI and Games
The Secret AI Testers Inside Tom Clancy's The Division 2 | AI and Games
AI and Games
55 DOOM 64 Revisited | Design Dive
DOOM 64 Revisited | Design Dive
AI and Games
56 The Story of Facade: The AI-Powered Interactive Drama | AI and Games #49
The Story of Facade: The AI-Powered Interactive Drama | AI and Games #49
AI and Games
57 Building the AI of F.E.A.R. with Goal Oriented Action Planning | AI 101
Building the AI of F.E.A.R. with Goal Oriented Action Planning | AI 101
AI and Games
58 Revisiting the AI of Alien: Isolation | AI and Games #50
Revisiting the AI of Alien: Isolation | AI and Games #50
AI and Games
59 How Splinter Cell: Blacklist Builds Balance for Stealth | AI and Games #51
How Splinter Cell: Blacklist Builds Balance for Stealth | AI and Games #51
AI and Games
60 Endure and Survive: the AI of The Last of Us | AI and Games #52
Endure and Survive: the AI of The Last of Us | AI and Games #52
AI and Games

The video discusses the significance of Pac-Man in AI research, particularly the non-deterministic nature of Ms. Pac-Man, and the various competitions and challenges that have arisen from it. Viewers can learn about the fundamentals of game AI research and the challenges of developing AI agents for non-deterministic systems. By understanding the concepts and techniques presented in the video, viewers can develop their skills in reading research papers, designing experiments, and analyzing result

Key Takeaways
  1. Read research papers on game AI
  2. Understand non-deterministic systems in AI
  3. Design experiments for game AI research
  4. Analyze results of AI competitions
  5. Develop AI agents for game environments
  6. Utilize screen scraping frameworks for game AI research
  7. Develop multi-agent systems for game AI
💡 The non-deterministic nature of Ms. Pac-Man makes it a challenging and interesting game for AI research, requiring the development of advanced AI agents and techniques.

Related AI Lessons

I Spent Weeks Looking for a Research Gap Before I Realized I Was Searching the Wrong Way
Learn how to effectively find research gaps by changing your approach, a crucial skill for AI researchers and academics
Medium · AI
ICMI 2026 Reviews [D]
Learn how to interpret ICMI 2026 reviews and improve your paper's acceptance chances
Reddit r/MachineLearning
Workshop submission for main conference paper under review [D]
Learn how to navigate submitting a paper to a non-archival workshop before the final decision of a main conference like ECCV
Reddit r/MachineLearning
Kept context-switching between arxiv, OpenReview, GitHub, and HuggingFace for every paper, so I built this. Chrome extension + website with everything inline, plus citation graph + SPECTER2 neighbors. 3M papers, free, feedback welcome [P]
Streamline your research with a new Chrome extension and website that integrates 3M papers from arxiv, OpenReview, GitHub, and HuggingFace, including citation graphs and SPECTER2 neighbors, and provide feedback to improve it
Reddit r/MachineLearning
Up next
Beyond Big Vendors: ERP Systems Explained #shorts
Digital Transformation with Eric Kimberling
Watch →