Games as a Test Bed for Developing AI Applications (in Physics) Brains vs Computers Symposium of the “van der Waals” study association December 10, 2013.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Computational Intelligence: Some Insights from Board Games Fernand Gobet Brunel University.
Course Overview What is AI? What are the Major Challenges? What are the Main Techniques? Where are we failing, and why? Step back and look at the Science.
Game Playing CS 63 Chapter 6
Artificial Intelligence
Adversarial Search Chapter 5.
COMP-4640: Intelligent & Interactive Systems Game Playing A game can be formally defined as a search problem with: -An initial state -a set of operators.
"Programming a Computer to Play Chess" A presentation of C. Shannon's 1950 paper by Andrew Oldag April
Adversarial Search CSE 473 University of Washington.
Artificial Intelligence for Games Game playing Patrick Olivier
Games CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Computers Playing Games Arif Zaman CS 101. Acknowledgements Portions of this are taken from MIT’s open-courseware
Artificial Intelligence
Mastering Chess An overview of common chess AI Adam Veres.
Introduction to AI Kaziwa H. Saleh. What is AI? John McCarthy defines AI as “the science and engineering to make intelligent machines”. AI is the study.
An Introduction to Artificial Intelligence. Introduction Getting machines to “think”. Imitation game and the Turing test. Chinese room test. Key processes.
Use “Search” for Pathfinding FactorySchool Library Hospital Park Newsagent University church Example from Alison Cawsey’s book start finish.
Lecture 13 Last time: Games, minimax, alpha-beta Today: Finish off games, summary.
A Brief History of Artificial Intelligence
WHAT IS ARTIFICIAL INTELLIGENCE?
1946: ENIAC heralds the dawn of Computing. I propose to consider the question: “Can machines think?” --Alan Turing, : Turing asks the question….
CSCE101 –Chapter 8 (continued) Tuesday, December 5, 2006.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.6: Adversarial Search Fall 2008 Marco Valtorta.
How computers play games with you CS161, Spring ‘03 Nathan Sturtevant.
Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.
1 Solving Ponnuki-Go on Small Board Paper: Solving Ponnuki-Go on small board Authors: Erik van der Werf, Jos Uiterwijk, Jaap van den Herik Presented by:
Random Administrivia In CMC 306 on Monday for LISP lab.
Computer Chess. Humble beginnings The Turk Ajeeb Mephisto El Ajedrecista.
Game Playing State-of-the-Art  Checkers: Chinook ended 40-year-reign of human world champion Marion Tinsley in Used an endgame database defining.
Introduction to AI, H. Feili 1 Introduction to Artificial Intelligence LECTURE 1: Introduction What is AI? Foundations of AI The.
Go An ancient Oriental board game Andrew Simons. Introduction 2 player game of skill. Popular in the Far East, growing in the West. Simple rules, extremely.
Artificial Intelligence in Game Design Problems and Goals.
Artificial Intelligence: Its Roots and Scope
Game AI Fundamentals. What is Artificial Intelligence (AI)? Not easy to answer… “Ability of a computer or other machine to perform those activities that.
1 State Space of a Problem Lecture 03 ITS033 – Programming & Algorithms Asst. Prof.
Artificial Intelligence Introductory Lecture Jennifer J. Burg Department of Mathematics and Computer Science.
Artificial Intelligence
Artificial Intelligence CS 363 Kawther Abas Lecture 1 Introduction 5/4/1435.
ARTIFICIAL INTELLIGENCE BY:Jeff Brauer, David Abarbanel, Monica Balod, Mae Anglo, Umangi Bhatt.
Adversarial Search Chapter 6 Section 1 – 4. Outline Optimal decisions α-β pruning Imperfect, real-time decisions.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Ch. 6 –Adversarial Search Thursday –AIMA, Ch. 6 –More Adversarial Search The “Luke.
Instructor: Vincent Conitzer
Minimax with Alpha Beta Pruning The minimax algorithm is a way of finding an optimal move in a two player game. Alpha-beta pruning is a way of finding.
So what is AI?.
Artificial Intelligence and Searching CPSC 315 – Programming Studio Spring 2013 Project 2, Lecture 1 Adapted from slides of Yoonsuck Choe.
Today’s Topics Playing Deterministic (no Dice, etc) Games –Mini-max –  -  pruning –ML and games? 1997: Computer Chess Player (IBM’s Deep Blue) Beat Human.
Course Overview  What is AI?  What are the Major Challenges?  What are the Main Techniques?  Where are we failing, and why?  Step back and look at.
Introduction to Artificial Intelligence CS 438 Spring 2008.
A Brief History of AI Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Strategic Reasoning with Game Description Language Ji Ruan, Prof. W. van der Hoek, Prof. M. Wooldridge Department of Computer Science From Specific Game.
Artificial Intelligence, simulation and modelling.
1 Artificial Intelligence & Prolog Programming CSL 302.
Adversarial Search Chapter 5 Sections 1 – 4. AI & Expert Systems© Dr. Khalid Kaabneh, AAU Outline Optimal decisions α-β pruning Imperfect, real-time decisions.
ADVERSARIAL SEARCH Chapter 6 Section 1 – 4. OUTLINE Optimal decisions α-β pruning Imperfect, real-time decisions.
Understanding AI of 2 Player Games. Motivation Not much experience in AI (first AI project) and no specific interests/passion that I wanted to explore.
Instructor: Vincent Conitzer
Done Done Course Overview What is AI? What are the Major Challenges?
CS Fall 2016 (Shavlik©), Lecture 11, Week 6
CSC 515 – Applied AI 1. Origins of AI conference.
Done Done Course Overview What is AI? What are the Major Challenges?
Course Instructor: knza ch
Artificial Intelligence and Searching
Introduction Artificial Intelligent.
Artificial Intelligence introduction(2)
TA : Mubarakah Otbi, Duaa al Ofi , Huda al Hakami
Instructor: Vincent Conitzer
COMP3710 Artificial Intelligence Thompson Rivers University
Artificial Intelligence
Artificial Intelligence and Searching
Artificial Intelligence and Searching
Presentation transcript:

Games as a Test Bed for Developing AI Applications (in Physics) Brains vs Computers Symposium of the “van der Waals” study association December 10, 2013 Jos Uiterwijk Department of Knowledge Engineering Maastricht University 1/36

Computer chess and computer games The role of computer games in Artificial Intelligence Brute force? The impact of knowledge and heuristics New developments AI and Physics Conclusions Jos Uiterwijk Overview 2/36

Jos Uiterwijk Some history Start of computer chess The Turk It was all fake! 3/36

Jos Uiterwijk Origin of the AI Starts around 1950 Chess as the drosophila melanogaster of AI 2 pioneers: –Alan Turing –Claude Shannon 4/36

1.Rules are simple, but the strategy is complex 2.Domain is fixed, by which programs are easily comparable, both with other programs and with humans. By the nature of a game it is easy to test if a new technique is “better”. 3.Games are typical for human intelligence (Goethe: chess is the touchstone of the intellect). This explains the interest from psychology. Jos Uiterwijk Why is chess of interest for AI? 5/36

Jos Uiterwijk Alan Turing ( ) Worked in Bletchley Park during World War II Decoding the German Enigma codes: The Bombe Was the first who seriously posed the question: Can machines think? 6/36

Jos Uiterwijk Alan Turing: Turing test 7/36

Used the computer in his “spare time” for chess programming. Was the first who wrote a chess program Jos Uiterwijk Alan Turing 8/36

Jos Uiterwijk Claude Shannon ( ) Was also concerned with computer chess Built chess endgame machines Wrote the “bible” of chess programming: Programming a computer for playing chess (1950) 9/36

Jos Uiterwijk Claude Shannon Shannon was brilliant in many domains, both theoretically and practically: he built among others a juggling robot By the way, he also could juggle himself quite good! 10/36

Jos Uiterwijk State of the Art in computer chess Nowaday computers are stronger than human world champions Mile stone: Kasparov losing from chess machine Deep Blue in 1997 Kramnik loses from the “simple” desk top program Deep Fritz in /36

Jos Uiterwijk Adriaan de Groot ( ) Professor in psychology Studies on “chess thinking” PhD thesis (1946) Het Denken van den Schaker, translated (1965) as Thought and Choice in Chess 12/36

For many board games just used brute computer power was initially used (i.e., as many calculations as possible): dumb but fast. This is called the brute-force approach Later the question arose: can the brain still beat the machine by clever use of knowledge? The knowledge-based approach Jos Uiterwijk Brute force 13/36

Facts Heuristics (rules of thumb) Jos Uiterwijk Knowledge 14/36

The “mutilated chess board” problems: Can I put domino stones (of 2 x 1 size) in such a way on the board that all squares are covered? Jos Uiterwijk Facts (1) ? ? The 4x4 problem 15/36

The 8x8 problem Jos Uiterwijk Facts (2) 16/36

The 20x20 problem Jos Uiterwijk Facts (3) 17/36

The knight jump puzzle: Can you find a route on the chess board starting at a given location such that all squares are traveled exactly once? Heuristic (rule of thumb): First visit the corners, then the edges, etc., gradually going to the centre Does this heuristic work? Jos Uiterwijk Heuristics (1) 18/36

The knight jump puzzle on the 8x8 board Jos Uiterwijk Heuristics (2) 19/36

However: a heuristic is fallible: The 5x5 knight jump puzzle Jos Uiterwijk Heuristics (3) 20/36

Another knight jump problem Jos Uiterwijk Chosing the right representation What is the shortest route to switch the white and black knights? start goal 21/36

Step 1: number the squares: Jos Uiterwijk Solution 22/36

Step 2: draw the neighbour diagram for knight jumps (which squares are reachable in one jump?) Jos Uiterwijk from: we get: 23/36

Step 3: Jos Uiterwijk and the goal situation Draw the start situation 24/36

Step 4: Recognise that this is just a railcar switching problem! Jos Uiterwijk 25/36

Step 5: solution now is simple: Jos Uiterwijk 12 steps 14 steps 6 steps 8 steps ===== 40 steps 26/36

Many other games have been or are target of AI research. Many have been solved, which means that the computer has an optimal strategy against any resistance. Others are played above human level Some are still difficult Jos Uiterwijk State of the art for other computer games 27/36

Until recently, strong humans refused to play against computers Reason: computers are too strong (recently the human world champion nevertheless played a match; he lost 8-0!) Jos Uiterwijk Reversi 28/36

Standard boards are completely solved The Checkers program CHINOOK even gained the official World Champion title Jos Uiterwijk Connect-Four, Domineering, Checkers 29/36

Until recently, strong humans refused to play against computers. Reason: humans are too strong! This is, since 10 years, rapidly changing though (Monte Carlo simulations work great!) Jos Uiterwijk Go 30/36

Much progress on: –Games with chance (Poker, Backgammon) –Multi-player games (Chinese checkers) –Imperfect-information games (Bridge) –Real-time strategy (RTS) games Jos Uiterwijk And many other games... 31/36

Just mentioning some physics domain: –Nuclear physics (safety!) –Medical physics (data analysis; data mining) –Robotics (large progress) –Vision (still difficult) –Intelligent design –Many kinds of simulations, from microscopic small to astronomic large Jos Uiterwijk Applications in Physics 32/36

They all benefit from computer science and AI in particular, such as: –Fast calculations –Machine learning –Pattern recognition / data mining Jos Uiterwijk 33/36

Chess (and other games) –Drosophila melanogaster of AI –Tool for development of new techniques –Insight into human intelligence Computers can play many (board) games at (supra) expert level Other games are still a challenge (Go). Jos Uiterwijk Conclusions 34/36

Can and will computers beat the human brain? –Yes, in many complex (but otherwise dumb) domains –No, in several not so complex, but intelligent, domains, for a long time to go! –Much game research has to be done! Jos Uiterwijk 35/36

Jos Uiterwijk The End! 36/36