Some concept of Artificial Intelligence are Agents and Problem Solving, Autonomy, Programs, Classical and Modern Planning, First-Order Logic, Resolution Theorem Proving, Search Strategies, Structure Learning. Main points of this lecture are: Game Tree Search Two, Logical Agents, Economically-Founded Multiagent Systems, Negotiation, Simulated Societies, Logics and Production Systems, Applications, Expectiminimax, Alpha-Beta Pruning, Minimax Algorithm
Next Week: Knowledge Representation – Logics and Production Systems
Alpha-Beta ( - ) Pruning:
Definitions
Alpha-Beta ( - ) Pruning:
Example [1]
MAX
MIN
MAX
Figure 5.6 p. 131 R&N
Warning: Gratuitous use of
Microsoft®^ PowerPoint ®^ XP
Alpha-Beta ( - ) Pruning:
Modified Minimax Algorithm
Expectiminimax
Digression:
Learning Evaluation Functions [1]
Learning = Improving with Experience at Some Task
Improve over taskT,
with respect to performance measureP,
based on experienceE****.
Example: Learning to Play Checkers
T: play games of checkers
P: percent of games won in world tournament
E: opportunity to play against self
Refining the Problem Specification: Issues
What experience?
Whatexactlyshould be learned?
How shall it berepresented****?
What specific algorithm to learn it?
Defining the Problem Milieu
Performance element: How shall the results of learning be applied?
How shall the performance element be evaluated? The learning system?
Digression:
Learning Evaluation Functions [2]
Possible Definition
Ifbis a final board state that is won, thenV(b)= 100
Ifbis a final board state that is lost, thenV(b)= -
Ifbis a final board state that is drawn, thenV(b)= 0
Ifbis not a final board state in the game, thenV(b)=V(b’)whereb’is the bestfinal board state that can be achieved starting fromband playing optimallyuntil the end of the game
Correct values for minimax / alpha-beta, butnot operational
Choosing a Representation for the Static Evaluation Function
Collection of rules?
Neural network?
Polynomial function (e.g., linear, quadratic combination) of board features?
Other?
A Representation for Learned Function
bp/rp = number of black/red pieces; bk/rk = number of black/red kings;bt/rt = number of black/red piecesthreatened(can be taken on next turn)
V ˆ b w 0 w 1 bp b w 2 rp b w 3 bk b w 4 rk b w 5 bt b w 6 rt b
Current Research Topics in Games and AI
Game Theory
Common ramework: two-player (or multi-player), zero-sum
Deterministic or known probability distribution function, totally observable
Minimax algorithm given ability to search to arbitrary ply
Negotiation
… game?
… opponent?
Specifications and Ramifications
Combinatorics: finite depth (m), breadth (b) of search
Resource limits: need for static evaluation function
Practical Issues
Effects of depth cutoff
Need for pruning
Resources for Term Project
Print Resources on The Web (You May Cite Some as Print References)