Game Playing in the Real World. Next time: Knowledge Representation Reading: Chapter 7.1-7.3



Similar documents
Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / October 3, 2012

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

Game playing. Chapter 6. Chapter 6 1

TD-Gammon, A Self-Teaching Backgammon Program, Achieves Master-Level Play

BASIC RULES OF CHESS

This Workbook has been developed to help aid in organizing notes and references while working on the Chess Merit Badge Requirements.

Introduction Solvability Rules Computer Solution Implementation. Connect Four. March 9, Connect Four

Making Decisions in Chess

CSCI Historical Development. May 29, 2015

CHAPTER 15: IS ARTIFICIAL INTELLIGENCE REAL?

MAN VS. MACHINE. How IBM Built a Jeopardy! Champion x The Analytics Edge

20-30 minutes, can be used within a longer activity

10. Machine Learning in Games

Current California Math Standards Balanced Equations

Roulette Wheel Selection Game Player

Vector Architectures

INTRODUCTION 4 1 OVERALL LOOK ON CHESS PROGRAMMING 8

A White Paper from AccessData Group. Cerberus. Malware Triage and Analysis

FPGA Prototyping Primer

Monte-Carlo Methods. Timo Nolle

Case for storage. Outline. Magnetic disks. CS2410: Computer Architecture. Storage systems. Sangyeun Cho

FIRST EXPERIMENTAL RESULTS OF PROBCUT APPLIED TO CHESS

That s Not Fair! ASSESSMENT #HSMA20. Benchmark Grades: 9-12

Computer Graphics Hardware An Overview

lesson 1 An Overview of the Computer System

CHAPTER 1: Our Digital Planet

What really drives customer satisfaction during the insurance claims process?

What is Artificial Intelligence?

INSTRUCTION MANUAL TABLE OF CONTENTS ENGLISH KEYS AND FEATURES INTRODUCTION

COMPUTER ANALYSIS OF WORLD CHESS CHAMPIONS 1

Software & systems for the neuromorphic generation of computing. Peter Suma co-ceo peter.suma@appliedbrainresearch.

INTRODUCE CHESS TO CHILDREN

22S:295 Seminar in Applied Statistics High Performance Computing in Statistics

1st Prize th - 10th Prizes 1700х5= nd Prize th - 15th Prizes 1200х5= rd Prize th -20th Prizes 700х5=3500

Ganging Up on Big Data

PUSD High Frequency Word List

Understanding Proactive vs. Reactive Methods for Fighting Spam. June 2003

Command a host of forces into battle, in almost any era.

A Brief History of RISC, the IBM RS/6000 and the IBM eserver pseries

Technology Update White Paper. High Speed RAID 6. Powered by Custom ASIC Parity Chips

BBC LEARNING ENGLISH 6 Minute English Do you fear Artificial Intelligence?

x64 Servers: Do you want 64 or 32 bit apps with that server?

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

How To Build A Cloud Computer

CSC384 Intro to Artificial Intelligence

RevoScaleR Speed and Scalability

BPM: Chess vs. Checkers

JOURNEY THROUGH CHESS

Grade 5: Module 3A: Unit 2: Lesson 13 Developing an Opinion Based on the Textual Evidence:

Introduction to Cloud Computing

14.30 Introduction to Statistical Methods in Economics Spring 2009

Check Point and Security Best Practices. December 2013 Presented by David Rawle

Watson. An analytical computing system that specializes in natural human language and provides specific answers to complex questions at rapid speeds

CSE 517A MACHINE LEARNING INTRODUCTION

The Cellular Development Platform: The Shortest Path from Possibility to Production

400 Points in 400 Days

Cellular Computing on a Linux Cluster

Colgate-Palmolive selects SAP HANA to improve the speed of business analytics with IBM and SAP

A Comparison of General Approaches to Multiprocessor Scheduling

Using games to support. Win-Win Math Games. by Marilyn Burns

Lab 11. Simulations. The Concept

BMW11: Dealing with the Massive Data Generated by Many-Core Systems. Dr Don Grice IBM Corporation

Sequential lmove Games. Using Backward Induction (Rollback) to Find Equilibrium

CHESS TACTICS. Our student has to start his training in the tactics area with these 2 elements.

How To Play The Math Game

Hooray for the Hundreds Chart!!

by Teresa Evans Copyright 2005 Teresa Evans. All rights reserved.

DOAG November Hintergrund. Oracle Mainframe Datanbanken für extreme Anforderungen

Technical Product Specifications Dell Dimension 2400 Created by: Scott Puckett

BOY SCOUTS OF AMERICA MERIT BADGE SERIES CHESS

How I won the Chess Ratings: Elo vs the rest of the world Competition

Curriculum Design for Mathematic Lesson Probability

on an system with an infinite number of processors. Calculate the speedup of

Hedge Fund Index Replication - A Numerical Approach using Futures

Regulations for the Women s World Chess Championship Cycle

Operating Systems for Parallel Processing Assistent Lecturer Alecu Felician Economic Informatics Department Academy of Economic Studies Bucharest

Commutative Property Grade One

California Treasures High-Frequency Words Scope and Sequence K-3

CHESS -PLAYING PROGRAMS

How serious games help you work smarter

CHESS Program for the PDP-8

Intent Based Filtering: A Proactive Approach Towards Fighting Spam

İSTANBUL AYDIN UNIVERSITY

CISC, RISC, and DSP Microprocessors

Andre Standback. IT 103, Sec /21/12. IBM s Watson. GMU Honor Code on I am fully aware of the

ACCESS ANALYSIS OF MONTHLY-CHARGED MOBILE CONTENT PROVISION

Artificial Intelligence (AI)

DGT electronic board documentation *

Who needs humans to run computers? Role of Big Data and Analytics in running Tomorrow s Computers illustrated with Today s Examples

Hardware-Aware Analysis and. Presentation Date: Sep 15 th 2009 Chrissie C. Cui

DESPITE the many advances in machine learning and

TRENDS IN THE DEVELOPMENT OF BUSINESS INTELLIGENCE SYSTEMS

AP WORLD HISTORY 2006 SCORING GUIDELINES. Question 3 Comparative

How A V3 Appliance Employs Superior VDI Architecture to Reduce Latency and Increase Performance

The Physics and Math of Ping-pong and How It Affects Game Play. By: Connor Thompson & Andrew Johnson

Petascale Visualization: Approaches and Initial Results

The IBM Cognos family

Deep Learning For Text Processing

Transcription:

Game Playing in the Real World Next time: Knowledge Representation Reading: Chapter 7.1-7.3 1

What matters? Speed? Knowledge? Intelligence? (And what counts as intelligence?) Human vs. machine characteristics 2

The decisive game of the match was Game 2, which left a scare in my memory we saw something that went well beyond our wildest expectations of how well a computer would be able to foresee the long-term positional consequences of its decisions. The machine refused to move to a position that had a decisive short-term advantage showing a very human sense of danger. I think this moment could mark a revolution in computer science that could earn IBM and the Deep Blue team a Nobel Prize. Even today, weeks later, no other chess-playing program in the world has been able to evaluate correctly the consequences of Deep Blue s position. (Kasparov, 1997) 3

Quotes from IEEE article Why, then, do the very best grandmasters still hold their own against the silicon beasts? The side with the extra half-move won 3 games out of four, corresponding to a 200-point gap in chess rating roughly the difference between a typically grandmaster (about 2600) and Kasparov (2830) An opening innovation on move nine gave Kasparov not merely the superior game but one that Fritz could not understand Kasparov made sure that Fritz would never see the light at the end of that tunnel by making the tunnel longer. 4

Deep Blue A Case Study Goals Win a match against human World Chess Champion Under regulation time control No faster than 3 min/move 5

Background Early programs emphasized emulation of human chess thought process 1970-1980: emphasis on hardware speed Chess 4.5 Belle (1 st national master program, early 80s) mid-1980s: Cray Blitz, Hitech 1986-1996 Deep Thought, Deep Thought II 1988: 2 nd Fredkin Intermediate Prize for Grandmaster level performance 1996: Deep Blue New chess chip, designed over a 3 year period 6

Problems to Overcome Gaps in chess knowledge Adaptation Speed Design Philosophy Integrate the maximally possible amount of software-modifiable chess knoweldge on the chess chip 7

Deep Blue System Architecture Chess chip Searched 2-2.5 million chess positions/second IBM RS/6000 SP supercomputer Collection of 30 workstations (RS 6000 processors) Each processor controlled up to 16 chess chips 480 chess chips total Maximum speed: 1 billion chess positions/second Sustained speed: 200 million chess positions/second 8

Search Software/hardware mix: 1 st 4 plies: 1 workstation node 2 nd 4 plies: in parallel over 30 workstations nodes Remaining plies: in hardware 9

10

11

Evaluation Functions An ideal evaluation function would rank terminal states in the same way as the true utility function; but must be fast Typical to define features, & make the function a linear weighted sum of the features 12

Chess F 1 =number of white pieces F 2 =number of black pieces F 3 =F 1 /F 2 F 4 =number of white bishops F 5 =estimate of threat to white king 13

Weighted Linear Function Eval(s)=w 1 F 1 (s)+w 2 F 2 (s)+ +w n F n (s) Given features and weights Assumes independence Can use expert knowledge to construct an evaluation function Can also use self-play and machine learning 14

Evaluation functions in Deep Blue Opening moves Evaluation during a game 8000 feature evalution E.g., square control, pins, x-rays, king safety, pawn structure, passed pawns, ray control, outposts, pawn majorigy, rook on the 7 th blockade, restraint, color complex, trapped pieces,.. Weighted non-linear function End games Large endgame databases of solved positions, with 5 or 6 pieces. 15

Using expert decisions Database of 4000 opening moves Extended book 700,000 Grandmaster games For each of the first 30 or so moves, compute an evaluation for each move that has been played Scores are used as evaluation fns to bias the search 16

A Sample of Evaluation features The number of times a move has been played Relative number of times a move has been played Strength of the players that played the moves Recentness of the move Results of the move Commentary on the move Game moves vs. commentary moves 17

18

Impact Program with quiescence search matches a program without quiescence search but searching 4 plies deeper QS increases #positions searched 2-4 times 4 more plies of search is up to a thousand times increase 19

Quiescence Search in Deep Blue 1997 match Software search extended to about 40 plies along forcing lines Nonextended search researched about 12 plies 20

21

Quotes from IEEE article Why, then, do the very best grandmasters still hold their own against the silicon beasts? The side with the extra half-move won 3 games out of four, corresponding to a 200-point gap in chess rating roughly the difference between a typically grandmaster (about 2600) and Kasparov (2830) An opening innovation on move nine gave Kasparov not merely the superior game but one that Fritz could not understand Kasparov made sure that Fritz would never see the light at the end of that tunnel by making the tunnel longer. 22

Discussion How intelligent are chess playing programs? How like humans are programs? How to explain the 1997 match vs the 2002 match with Fritz? Is chess playing a solved problem? What would be some next directions? 23

Applying game playing to other types of games Imperfect knowledge Bridge Games with a random element Backgammon 24