One Jump Ahead. Jonathan Schaeffer Department of Computing Science University of Alberta

Similar documents
Adversarial Search and Game Playing

Man Versus Machine...

Chinook: The World Man-Machine Checkers Champion

A Re-Examination of Brute-Force Search

Partial Information Endgame Databases

NOTE 6 6 LOA IS SOLVED

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

Games CSE 473. Kasparov Vs. Deep Junior August 2, 2003 Match ends in a 3 / 3 tie!

Appendix A: Further Reading

Th e role of games in und erst an di n g com pu t ati on al i n tel l igen ce

Foundations of AI. 6. Board Games. Search Strategies for Games, Games with Chance, State of the Art

Game Playing. Philipp Koehn. 29 September 2015

Adversarial Search (Game Playing)

Today. Types of Game. Games and Search 1/18/2010. COMP210: Artificial Intelligence. Lecture 10. Game playing

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

What does it mean to be intelligent? A History of Traditional Computer Game AI. Human Strengths. Computer Strengths

The Computer (R)Evolution

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

CSE 573: Artificial Intelligence Autumn 2010

Contents. Foundations of Artificial Intelligence. Problems. Why Board Games?

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

Adversarial Search. Soleymani. Artificial Intelligence: A Modern Approach, 3 rd Edition, Chapter 5

Foundations of Artificial Intelligence

REVIVING THE GAME OF CHECKERS

Foundations of Artificial Intelligence

Decision Making in Multiplayer Environments Application in Backgammon Variants

Intuition Mini-Max 2

Adversarial Search Aka Games

The larger the ratio, the better. If the ratio approaches 0, then we re in trouble. The idea is to choose moves that maximize this ratio.

Games solved: Now and in the future

COMP219: Artificial Intelligence. Lecture 13: Game Playing

CS 188: Artificial Intelligence Spring Announcements

Announcements. CS 188: Artificial Intelligence Spring Game Playing State-of-the-Art. Overview. Game Playing. GamesCrafters

Last update: March 9, Game playing. CMSC 421, Chapter 6. CMSC 421, Chapter 6 1

Man Versus Machine: The Silicon Graphics World Checkers Championship

CS 4700: Foundations of Artificial Intelligence

Two-Player Perfect Information Games: A Brief Survey

The Evolution of Knowledge and Search in Game-Playing Systems

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

Game playing. Chapter 6. Chapter 6 1

Artificial Intelligence Search III

CS10 : The Beauty and Joy of Computing

CITS3001. Algorithms, Agents and Artificial Intelligence. Semester 2, 2016 Tim French

Artificial Intelligence. Topic 5. Game playing

THE 7-PIECE PERFECT PLAY LOOKUP DATABASE FOR THE GAME OF CHECKERS

CS10 : The Beauty and Joy of Computing

CS 380: ARTIFICIAL INTELLIGENCE ADVERSARIAL SEARCH. Santiago Ontañón

Outline. Game playing. Types of games. Games vs. search problems. Minimax. Game tree (2-player, deterministic, turns) Games

Game Playing. Why do AI researchers study game playing? 1. It s a good reasoning problem, formal and nontrivial.

Game playing. Outline

Adversarial Search and Game- Playing C H A P T E R 6 C M P T : S P R I N G H A S S A N K H O S R A V I

Game-playing Programs. Game trees

Games vs. search problems. Game playing Chapter 6. Outline. Game tree (2-player, deterministic, turns) Types of games. Minimax

Game playing. Chapter 6. Chapter 6 1

Game playing. Chapter 5. Chapter 5 1

Upgrading Checkers Compositions

Game playing. Chapter 5, Sections 1{5. AIMA Slides cstuart Russell and Peter Norvig, 1998 Chapter 5, Sections 1{5 1

Game Playing State of the Art

Adversarial Search. Chapter 5. Mausam (Based on slides of Stuart Russell, Andrew Parks, Henry Kautz, Linda Shapiro, Diane Cook) 1

Two-Player Perfect Information Games: A Brief Survey

CS 331: Artificial Intelligence Adversarial Search II. Outline

Game-playing AIs: Games and Adversarial Search FINAL SET (w/ pruning study examples) AIMA

Adversarial Search Lecture 7

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

CS 188: Artificial Intelligence Spring Game Playing in Practice

CS 380: ARTIFICIAL INTELLIGENCE

Game Playing. Dr. Richard J. Povinelli. Page 1. rev 1.1, 9/14/2003

GAMES COMPUTERS PLAY

Chapter 6. Overview. Why study games? State of the art. Game playing State of the art and resources Framework

CS 188: Artificial Intelligence

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

Adversarial Search. CMPSCI 383 September 29, 2011

CPS331 Lecture: Search in Games last revised 2/16/10


More Adversarial Search

CS 440 / ECE 448 Introduction to Artificial Intelligence Spring 2010 Lecture #5

6. Games. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Mechanical Turk. Origins. origins. motivation. minimax search

Games vs. search problems. Adversarial Search. Types of games. Outline

Adversarial Search. Chapter 5. Mausam (Based on slides of Stuart Russell, Andrew Parks, Henry Kautz, Linda Shapiro) 1

Artificial Intelligence Adversarial Search

CS 188: Artificial Intelligence Spring 2007

Game Playing AI. Dr. Baldassano Yu s Elite Education

Game Playing AI Class 8 Ch , 5.4.1, 5.5

UNIT 13A AI: Games & Search Strategies

Game Playing State-of-the-Art CSE 473: Artificial Intelligence Fall Deterministic Games. Zero-Sum Games 10/13/17. Adversarial Search

CS 771 Artificial Intelligence. Adversarial Search

Adversarial Search. Hal Daumé III. Computer Science University of Maryland CS 421: Introduction to Artificial Intelligence 9 Feb 2012

Game AI Challenges: Past, Present, and Future

Adversarial search (game playing)

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

Google DeepMind s AlphaGo vs. world Go champion Lee Sedol

Game Playing: Adversarial Search. Chapter 5

CSC321 Lecture 23: Go

CS 188: Artificial Intelligence. Overview

LEARN TO PLAY CHESS CONTENTS 1 INTRODUCTION. Terry Marris December 2004

Outline. Introduction. Game-Tree Search. What are games and why are they interesting? History and State-of-the-art in Game Playing

DELUXE 3 IN 1 GAME SET

Multi-Agent Retrograde Analysis

Game-Playing & Adversarial Search

UNIT 13A AI: Games & Search Strategies. Announcements

Transcription:

One Jump Ahead Jonathan Schaeffer Department of Computing Science University of Alberta jonathan@cs.ualberta.ca

Research Inspiration Perspiration 1989-2007?

Games and AI Research Building high-performance game-playing programs was one of the initial grand challenge problems in AI research Major successes in Chess (Deep Blue), Othello (Logistello), Backgammon (TD Gammon), Scrabble (Maven) What about checkers? Simple but not simple All the same research opportunities as chess Neglected because of a single human oversight

Checkers Popular in North America and former British Commonwealth Rules: Played on an 8x8 board Checkers: one square diagonally forward Kings: one square diagonally Can jump over pieces Checker on last rank becomes a king Play until a side has no pieces/moves

Computer Checkers First publication in 1953 Early research dominated by Samuel s seminal work First public man-machine competition in 1963 Samuel solved checkers Milestone in machine learning

Realizing Samuel s Dream Man versus Machine for the World Checkers Championship Challenger: Chinook, a computer program Champion: Marion Tinsley, a human program

The Challenger Project started at the University of Alberta in 1989 Chinook wins 1989 Computer Olympiad 1st place 4-piece database: 7 million positions 1990 checkers conference master-level performance 5-piece database: 149 million positions

Surprise! 1990 Mississippi State Championship 6-piece databases: 2.7 billion positions 1990 U.S. Championship 2nd place, undefeated drew a 4-game match with the World Champion a computer program was now the official challenger for the human World Championship

The Champion World Champion 1952-1958 (retired) 1975-1991 (retired) Since 1950, Tinsley... finished first in every tournament won every match crushed the opposition

Man or Machine? During the period 1950-1992, Tinsley lost: a) 3 games b) 5 games c) 37 games d) 51 games e) 88 games

Prelude to the Match Tinsley defeats Chinook 7.5-6.5 I feel like a teenager again ACF/EDA refused to sanction the match Tinsley resigned his title and then...... signed on to play Chinook Tinsley given title World Champion Emeritus World Man-Machine title created World Championship match held August 1992 in London (Silicon Graphics)

London 1992

1992 Championship (1) Tinsley presses in game 1 but the endgame databases save the day 7-piece databases: 37 billion positions Tinsley wins game 5 Tinsley misses a win in game 7 Consensus? Chinook is is going to get crushed

1992 Championship (2) Chinook stuns Tinsley with a win in game 8 First time a computer has defeated a World Champion in a non-exhibition game Chinook scores again in game 14 First time since 1958 that Tinsley has had to come from behind Consensus? Chinook is is going to win

1992 Championship (3) Fateful game 18... Software problem? Hardware problem? Hotel problem? Consensus? It s a toss-up.

1992 Championship (4) Tinsley accidentally wins game 25 Error in book knowledge Chinook pulls goalie in game 39 and loses Final score: Tinsley 20.5 Chinook 18.5

Waiting for Revenge Spend two years preparing for a re-match Chinook 1994: Search: deeper searching 17-29 moves deep! Openings: massive openings effort Knowledge: thorough testing Endgames: 8-piece databases 406 billion positions!

Boston 1994

1994 Championship (1) Tinsley upset that God loves Jonathan too Chinookitis Chinook comes close to victory in game 2 First six games are drawn Chinook s play has been flawless Opening moves lead to endgame databases Consensus? Chinook looks impressive

1994 Championship (2) Let me suggest the unthinkable Tinsley concerned about an upset stomach Doctors give him the OK but do X-rays as a precaution Tinsley agrees to continue

1994 Championship (3) Tinsley resigns the match and title Agrees to postpone announcement until X-ray results known Chinook wins World Championship on forfeit

Aftermath 1994 draw a match with Grandmaster Don Lafferty to retain the title Threatened legal action Anti-Chinook Internet campaign 1995 defend title against Lafferty Tinsley dies in April 1995 Chinook crushing all in 1996

Aftermath (2) Lots of accolades came our way First World Champion Guinness Book of World Records Trivial Pursuit question ( 90s Edition) Who Wants to be a Millionaire ($16,000 question) But still there was a sense of unfinished business

Who Is Better? Chinook doesn t hold a candle to Tinsley In his prime, Tinsley would crush Chinook There is only one way to prove that machine is better than man

Solving Games Connect-4 Go Moku Qubic Nine Men s Morris Awari Hex (small boards)

Solving Checkers? All solved games have smaller search complexity or decision complexity than checkers Search complexity 5 x 10 20 positions 500,995,484,682,338,672,639 Do you know just how big this number really is? Over 10 7 times bigger than awari Decision complexity Long games, multiple move choices, non-trivial decision-making required

Endgame Databases (1) Use retrograde analysis to solve positions near the end of the game Perfect win, loss, draw information Began computing in 1989! Solve all positions with 10 or fewer pieces # POSITIONS 1 120 2 6,972 3 261,224 4 7,092,774 5 148,688,232 6 2,503,611,964 7 34,779,531,480 8 406,309,208,481 9 4,048,627,642,976 10 34,778,882,769,216 39,271,258,813,439

Endgame Databases (2) The 100-Year Position Human analysis for 100 years win! One database lookup draw! The 197-year position

Solving Process Master: main line of play to consider Workers: positions to search Endgame databases (solved) Log of Search Space Size

Results Checkers tournament games randomly choose a 3-move opening Solve one opening at a time White Doctor is one of the most challenging for humans to play January 2005 -- draw!

Solving Checkers Fifty machines working in parallel on the problem Only 19 of 200ish openings needed to solve checkers! Proof complete: Black to play cannot lose Proof remaining: Black to play cannot win?

Proof Stats Longest line in proof tree (154 ply) At end is a position that has been searched to possibly >= 30 ply At end is a database positions which could have been searched to >= 250 ply

Efficient Search? Positions: 10 20 Data solution: 10 18 disk and 10 21 computations Compute solution: 0 disk and >=10 23 computations (optimistic) Our hybrid solution: 10 11 disk and 10 14 computations

Final Result? Article on the result submitted for publication Getting the result in the media before the publication happens will result in withdrawal of the article Need to keep the result quiet until I hear if the article has been accepted Sorry, but I cannot announce the final result today

Consequence Possible result Theorem: Perfect play leads to a draw Corollary: Chinook will never lose Implication: Even Tinsley occasionally made a mistake. Therefore

Last Word 1989 to 2007 It s been 18 years! obsessive-compulsive behavior not normal. Get a life, Jonathan. Stephanie Schaeffer

Acknowledgements Yngvi Björnsson Neil Burch Joe Culberson Robert Lake Paul Lu Akihiro Kishimoto Martin Müller Steve Sutphen Duane Szafron www.cs.ualberta.ca/~chinook (new web site to debut with the announcement)