Cmputer Chess Wrld champin Garry Kasparv beat Deep Thught decisively in ehibitin games in 1989 Deep Thught rated ~ 600 Deep Blue develped at IBM Thmas

Similar documents
Game Playing. Foundations of Artificial Intelligence. Adversarial Search. Game Playing as Search. Game Playing. Simplified Minimax Algorithm

Spring 06 Assignment 3: Robot Motion, Game Theory

Optimal searching. Best-first search review Advantages

1. Constraint propagation

A GGP Feature Learning Algorithm

Last update: December 26, English Translation DRAFTS of Asian Rules by Eric Wu. Contents

Spring 06 Assignment 3: Solution

The Mathematics of the Rubik s Cube

Meal Time! Game Concept

CS 331: Artificial Intelligence Adversarial Search II. Outline

Hands-Free Music Tablet

Puget Sound Company Overview. Purpose of the Project. Solution Overview

Figure 1: A Battleship game by Pogo

60min Tinkerb t games

QUEENING IN MASTER CHESS TOURNAMENTS: Ernest Rubin, American University and the University of the District of Columbia

GAMIFICATION REFERENCE GUIDE

V. Adamchik Data Structures. Game Trees. Lecture 1. Apr. 05, Plan: 1. Introduction. 2. Game of NIM. 3. Minimax

SW Florida Chess Club 2013 Scholastic Handbook For Players and Parents

Adversarial Search. CMPSCI 383 September 29, 2011

PROBABILITY OF DETECTION OF FLAWS IN A GAS TURBINE ENGINE. Gary L. Burkhardt and R.E. Beissner

Using the Laser Cutter

Game Playing AI Class 8 Ch , 5.4.1, 5.5

DreamHack Official rules DreamHack Winter 2010

INSTRUCTION BOOKLET (PUZZLES BY NIKOLA ZIVANOVIC)

Software Engineering

Hospital Task Scheduling using Constraint Programming

Rubik s Cube Recognition and Identification using Computer Vision

A Quick & Dirty Guide to Revising your Novel

Welcome to UFS Turbo! Effective: Nov. 16, 2018

The objective of Man of Steel is to obtain winning symbol combinations by spinning the reels.

Formative Evaluation of GeeGuides: Educational Technology to Enhance Art Exploration

Processors with Sub-Microsecond Response Times Control a Variety of I/O. *Adapted from PID Control with ADwin, by Doug Rathburn, Keithley Instruments

Cleveland Public Theatre. Catapult. Request for Proposals. Deadline for submissions is Monday, June 12 th, 2017

Adversarial Search (Game Playing)

CMU Lecture 1: Intro. Teachers: Emma Brunskill Ariel Procaccia (this time)

DIMACS Working Group on Measuring Anonymity Notes from Session 3: Information Theoretic and Language-based Approaches

OBJECT OF THE GAME COMPONENTS

Big Kahuna Assembly Instructions

Project Information o Simulating Cumulus Entrainment: A Resolution Problem, or Conceptual? o Sonia Lasher-Trapp, UIUC o

COMP 110 INTRODUCTION TO PROGRAMMING WWW

DXF2DAT 3.0 Professional Designed Computing Systems 848 W. Borton Road Essexville, Michigan 48732

Altis Flight Manager. PC application for AerobTec devices. AerobTec Altis v3 User Manual 1

Graduate AI. Lecture 1: Intro. Teachers: Martial Hebert Ariel Procaccia (this time)

GENERAL RULES FOR ALL MALIFAUX TOURNAMENTS MALIFAUX TEAM TOURNAMENT (50 STONES)

SVT Tab and Service Visibility Tool Job Aid

AI in Tabletop Games. Team 13 Josh Charnetsky Zachary Koch CSE Professor Anita Wasilewska

Manual Zeiss Axio Zoom.V16 microscope and ZEN 2 Pro software

High Level Design Circuit CitEE. Irere Kwihangana Lauren Mahle Jaclyn Nord

HIGHLIGHTS. Last Modified: 9/19/2015 2:36 PM CHESS 2

Dance Savvy Workshop Template

BTEC EXTENDED DIPLOMA IN CREATIVE MEDIA PRODUCTION (GAMING)

Producing Research Posters

CPS 570: Artificial Intelligence Two-player, zero-sum, perfect-information Games

WEAK TWO-BIDS. To open a two-bid with distribution requires 9-11 HCP all other allowed distributions require only 8-10 HCP.

One who logically dares, interferes and pre-empts wins

Adversarial Search Aka Games

Data Sheet - cctvxanpr PC based 1-4 channel ANPR (Automatic Licence Number Plate Recognition)

SEARCHING PROVINCIAL NETLAW

PhotoVu Digital Picture Frame Service & Repair Guide

E-Jobsheet Tablet Application Functionality

Snowball Fight. Components:

Transforming the University of Minnesota through the Enhancement of Interdisciplinary Research

Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / September 23, 2013

SINGER FUTURA TM Holiday Banner

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

CUSTOMER PORTAL. Floorplan Management

Automated Meters Frequently Asked Questions

Small Business Innovation Challenge Program. Ministry of Economic Development and Growth Ministry of Research, Innovation and Science

Copyright 1994 by WellSpring International Educational Foundation. Reprinted with permission

Beethoven Through Time. Social Studies/Art Integration Lesson (Music)

National Curriculum Programme of Study:

You Be The Chemist Challenge Official Competition Format

Foundations of AI. 5. Board Games. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard and Luc De Raedt SA-1

POWERSLED CIRCUIT INTRODUCTION GAME COMPONENTS

COMP219: Artificial Intelligence. Lecture 13: Game Playing

Ch.4 AI and Games. Hantao Zhang. The University of Iowa Department of Computer Science. hzhang/c145

HOMEWORK! First Grade

Dice High Video Slot. Introduction. How to Bet. Gamble Feature

SARMAP RELEASE NOTES. Version: 7.0 (July 2016) rpsgroup.com

Art of Work Look & See: Who do you want to be? Utah Museum of Fine Arts Educator Resources and Lesson Plans Fall 2016

Lab 1 Load Cell Measurement System (Jan 09/10)

Notes on using an external GNSS receiver with smart phone mapping app

COMP219: COMP219: Artificial Intelligence Artificial Intelligence Dr. Annabel Latham Lecture 12: Game Playing Overview Games and Search

CS440/ECE448 Lecture 9: Minimax Search. Slides by Svetlana Lazebnik 9/2016 Modified by Mark Hasegawa-Johnson 9/2017

The WHO e-atlas of disaster risk for the European Region Instructions for use

Game Playing. Garry Kasparov and Deep Blue. 1997, GM Gabriel Schwartzman's Chess Camera, courtesy IBM.

Improv Piecing and Matchstick Quilting By Kelly Nagel, Sulky of America

Operating Instructions

Lab 6 Spirometer System (Feb 20/21)

6 th and 7 th Grade Advisory Plans (Week 16)

Cascading Skirt Pattern

Art of Work Look & See: Who do you want to be? Utah Museum of Fine Arts Educator Resources and Lesson Plans Fall 2016

Foundations of AI. 6. Adversarial Search. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard & Bernhard Nebel

Sibelius In The Classroom: Projects Session 3

Artificial Intelligence Search III

BV4115. RF Packet Transmitter. Product specification. February ByVac 2007 ByVac Page 1 of 5

Configure and Use Bar Tabs

Artificial Intelligence Adversarial Search

NanoScan v2 Readme Version 2.7. Change log. v2.7 - Added information for new product Pyro/9/5-MIR.

Lab 1 Load Cell Measurement System

Transcription:

Cmputer Chess Within 10 years a cmputer will be wrld chess champin Herbert Simn, 197 Deep Thught develped by CMU and IBM frerunner f Deep Blue rated ~ 00 wn Wrld Cmputer Chess Champinship in 1989 Chess Ratings beginners: < 1000 grandmasters: 00-700 human wrld champins: ~ 800 (Garry Kasparv: 81) current chess prgrams: > 000

Cmputer Chess Wrld champin Garry Kasparv beat Deep Thught decisively in ehibitin games in 1989 Deep Thught rated ~ 600 Deep Blue develped at IBM Thmas J. Watsn research center massively parallel supercmputer with special-purpse chess hardware capable f evaluating 00 millin bard psitins per secnd capable f lking ahead up t 0 plies (half-mves) in sme situatins beat Garry Kasparv in a 6-game match n May 11, 1997 final scre:. t.

Deep Blue

Cmputer Chess Deep Fritz PC with tw Intel Cre Du prcessrs capable f evaluating nly 8 millin psitins per secnd used mre sphisticated heuristics average search depth f 17-18 plies in the middlegame drew an 8-game match against Vladimir Kramnik ( classical wrld champin) in 00 beat Kramnik (undisputed wrld champin) in 006, t Deep Junir develped by Israeli cmputer scientists drew a 6-game rematch against Garry Kasparv in 00 beat Deep Fritz in 007, t

Cmputer Chess

Cmputer Chess

Cmputer Chess

Cmputer Chess Game tree branching factr is abut quickly leads t a cmbinatrial eplsin levels dwn, already >,000 branches Claude Shannn estimated chess game tree has ~ 10 10 ndes if a cmputer culd eamine 100 trillin ndes per secnd, it wuld still take arund a ggl years (10 100 ) t search! age f the universe is much less than 10 11 years Need t select branches t eamine in an intelligent way Human chess masters ignre almst all branches and selectively fcus nly n ptentially very gd nes, using pattern-matching Chess supercmputers lk ahead many levels using brute-frce cmputatin

Cmputer Chess Heuristic search techniques cannt be used directly presence f ppnent cmplicates the search game tree is t large t see t the bttm Static evaluatin functin numerically evaluates the strength f a bard psitin frm the viewpint f a particular player actual values are nt as imprtant as relative bard ratings eample: number f queens, rks, knights, bishps, pawns 9q + r + k + b + p Minima algrithm determines the best mve at any pint in the game, assuming that bth players play ratinally

...

...

...

............

............ Ply 1 Ply Ply

Static Evaluatin Functin a = Number f ways t win by filling in 1 space b = Number f ways t win by filling in spaces Evaluatin functin = a + b

Static Evaluatin Functin a = Number f ways t win by filling in 1 space b = Number f ways t win by filling in spaces Evaluatin functin = a + b a = 1

Static Evaluatin Functin a = Number f ways t win by filling in 1 space b = Number f ways t win by filling in spaces Evaluatin functin = a + b a = 1 b =

Static Evaluatin Functin a = Number f ways t win by filling in 1 space b = Number f ways t win by filling in spaces Evaluatin functin = a + b a = 1 b = 1 + =

Static Evaluatin Functin a = Number f ways t win by filling in 1 space b = Number f ways t win by filling in spaces Evaluatin functin = a + b Frm 's perspective = Frm 's perspective =?

Static Evaluatin Functin a = Number f ways t win by filling in 1 space b = Number f ways t win by filling in spaces Evaluatin functin = a + b Frm 's perspective = Frm 's perspective = a = 0 b = 0 + =

............

............ 6

............ 6 6 ma ma ma ma ma ma ma

............ 6 6

............ 6 6 min min

............ 6 6

............ 6 6

Pruning the Search Tree In practice, we dn't epand all ndes n each level at nce Ding s is inefficient and may be unnecessary Alpha-beta pruning can significantly speed up the search We can avid evaluating entire branches f the search tree If an idea is surely bad, dn't waste time analyzing just hw bad it is

ma

6

6 6

min 6 6

6 6

6 6

6 6

6 6

6 6 <

6 6 <

6 6 <

6 6 <

6 6 <

6 6 <

6 6 < <

6 6 < <

6 6 < <

6 6 < <

Pruning the Search Tree In this eample, we perfrmed 16 static evaluatins Withut alpha-beta pruning, we wuld have perfrmed 66 This represents a savings f 7% Amunt f pruning depends n the rder that ndes are epanded This eample shws the best case scenari Effective branching factr reduces frm b t b This means that alpha-beta can lk twice as far ahead as minima fr the same cst Hwever, the search is still epnential even in the best case

Checkers Mre manageable than chess average branching factr ~ 8 nly piece types nly squares still ~ 00 billin billin pssible bard psitins Arthur Samuel's Checkers prgram develped at IBM in 199 first successful machine learning prgram learned t play checkers better than Samuel himself used evaluatin functins, minima, and heuristics

Chink Checkers prgram develped by Jnathan Schaeffer and clleagues at the University f Alberta, Canada Uses minima, alpha-beta pruning, varius heuristics, and a large database cvering hundreds f billins f pening mves and endgames (all endgames with 8 pieces r less) Eamines game tree t ~ 0 ply Unlike Samuel's prgram, des nt learn Marin Tinsley: wrld champin fr 0 years, best player ever in 1990, beat Chink 7. t 6. in 199, beat Chink in Wrld Checkers Champinship (wn, lst, drew ) in 199, played Chink in 6 games, all drawn, then resigned due t ill health

Chink Chink has never been beaten since then...and never will be! In 007 it was prven that the current versin cannt be beaten, nly drawn Bard evaluatin is a weighted functin f: piece cunt king cunt balance f the distributin f pieces acrss the bard number f trapped kings etc. Search heuristics take int accunt the likelihd f a human player making mistakes n different pathways thrugh the game tree

G Still ut f reach f AI prgrams 19 19 bard Average branching factr ~ 60 Search must be etremely selective Pattern recgnitin is very imprtant Best prgrams can be trunced by human players $1 millin prize fr first prgram t beat a prfessinal G player