Save this video free

COMP 3200 - Intro to Artificial Intelligence - Lecture 09 - MiniMax Search + AlphaBeta Pruning

Dave Churchill · 1:13:51 · Watch on YouTube

Part of Memorial University of Newfoundland COMP 3200. See all 21 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Dave Churchill introduces minimax search for two-player, alternating-move, zero-sum games, then develops alpha-beta pruning as a way to preserve minimax’s result while avoiding branches that cannot affect the choice. Using chess, tic-tac-toe, and worked game trees, he explains depth-limited heuristic evaluation, alpha and beta bounds, move selection, and iterative deepening for time-limited searches.

Key takeaways

Chapters

0:00 Two-Player Games, Payoffs, and Zero-Sum Objectives
4:15 Chess Evaluation and Deep Blue’s 1997 Match
6:21 Why Hardcoded Chess Rules Give Way to Lookahead
10:49 One-Ply Evaluation in Tic-Tac-Toe
14:11 Game-Tree Complexity and the Limits of Exhaustive Search
17:29 Minimax Models a Maximizing Player and a Best-Responding Opponent
23:30 Depth-Limited Minimax and Heuristic Leaf Scores
28:27 Negamax, Nash Equilibrium, and Minimax’s Assumptions
35:00 Alpha-Beta Pruning Uses Bounds to Skip Search Branches
41:46 Tracing Alpha and Beta Through a Worked Game Tree
55:41 Ideal Move Ordering Can Reduce Alpha-Beta Search Dramatically
58:30 Compact Alpha-Beta Code and Recording the Root Move
1:08:20 Iterative Deepening for a Fixed Search-Time Budget
1:12:00 Stopping Recursive Search Safely with Exceptions

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 So, lecture number nine. Um, we're talking about two-player games. So far, everything has been a single agent. Um, just trying to like do some path finding or something like that. But we'll talk about now when there are two agents making a decision. And uh the first algorithm we'll see uh for dealing with that is called miniax search. And then there will be an addition to miniax search called alpha beta pruning which will give us the same results as miniax search but do it much much faster. So that's always good when we can have one of these little enhancements that guarantees us the same sort of solution but uh by searching fewer nodes. So uh like I said so far we've only been looking at um problems with a single agent. Uh that's called single agent search. Um heruristic search can also be applied to environments or games with

0:49 multiple agents or players as well. So it's not just for one person walking around trying to to find their way. Um, and as we talked about before, uh, games can have a number of properties. Um, so similar to single agent environments, all of these properties can invi can apply to, um, multiplayer uh, environments as well. So I'm not going to go through all of them again because we we've learned them all. But one of the more interesting properties of these games are how many players are there. So just for example um in traditional board games like chess and go these are called alternating move games because we like take turns taking turns and uh in chess and go there are two players. So um those are perfect information games. I take a move then sometime later you take

1:37 a move and that alternates back and

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Dave Churchill.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.