Alpha-beta pruning is an adversarial search algorithm that optimizes the minimax algorithm by eliminating branches in the game tree that cannot possibly influence the final decision. It maintains two values, alpha (the best value the maximizer can guarantee) and beta (the best value the minimizer can guarantee), to prune away subtrees as soon as it is determined they are irrelevant. This technique dramatically reduces the number of nodes evaluated, allowing for deeper search within the same computational budget, which is critical for real-time performance in games like chess or Go.
