1 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering

Slides:



Advertisements
Similar presentations
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
Advertisements

Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2007.
Artificial Intelligence
CS 484 – Artificial Intelligence1 Announcements Department Picnic: today, after class Lab 0 due today Homework 2 due Tuesday, 9/18 Lab 1 due Thursday,
1 Tree Searching Strategies Updated: 2010/12/27. 2 The procedure of solving many problems may be represented by trees. Therefore the solving of these.
Search in AI.
MINIMAX SEARCH AND ALPHA- BETA PRUNING: PLAYER 1 VS. PLAYER 2.
Minimax and Alpha-Beta Reduction Borrows from Spring 2006 CS 440 Lecture Slides.
Lecture 13 Last time: Games, minimax, alpha-beta Today: Finish off games, summary.
Mahgul Gulzai Moomal Umer Rabail Hafeez
Problem Solving by Searching
1 Using Search in Problem Solving Part II. 2 Basic Concepts Basic concepts: Initial state Goal/Target state Intermediate states Path from the initial.
Informed Search Methods Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 4 Spring 2008.
Games with Chance Other Search Algorithms CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 3 Adapted from slides of Yoonsuck Choe.
Game Playing CSC361 AI CSC361: Game Playing.
Artificial Intelligence
1 Tree Searching Strategies. 2 The procedure of solving many problems may be represented by trees. Therefore the solving of these problems becomes a tree.
Informed Search Methods Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 4 Spring 2005.
1 Heuristic Search 4 4.0Introduction 4.1An Algorithm for Heuristic Search 4.2Admissibility, Monotonicity, and Informedness 4.3Using Heuristics in Games.
Informed Search CSE 473 University of Washington.
Problem Solving and Search in AI Heuristic Search
CSC344: AI for Games Lecture 4: Informed search
1 Tree Searching Strategies. 2 The procedure of solving many problems may be represented by trees. Therefore the solving of these problems becomes a tree.
Machine Learning and Review Reading: C Bayesian Approach  Each observed training example can incrementally decrease or increase probability of.
Cooperating Intelligent Systems Informed search Chapter 4, AIMA 2 nd ed Chapter 3, AIMA 3 rd ed.
CS 561, Session 6 1 Last time: Problem-Solving Problem solving: Goal formulation Problem formulation (states, operators) Search for solution Problem formulation:
1 Midterm Review cmsc421 Fall Outline Review the material covered by the midterm Questions?
MIDTERM REVIEW. Intelligent Agents Percept: the agent’s perceptual inputs at any given instant Percept Sequence: the complete history of everything the.
Search CSE When you can’t use A* Hill-climbing Simulated Annealing Other strategies 2 person- games.
October 3, 2012Introduction to Artificial Intelligence Lecture 9: Two-Player Games 1 Iterative Deepening A* Algorithm A* has memory demands that increase.
Heuristic Search In addition to depth-first search, breadth-first search, bound depth-first search, and iterative deepening, we can also use informed or.
Informed Search Methods How can we make use of other knowledge about the problem to improve searching strategy? Map example: Heuristic: Expand those nodes.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 9 of 14 Friday, 10 September.
CS 484 – Artificial Intelligence1 Announcements Homework 2 due today Lab 1 due Thursday, 9/20 Homework 3 has been posted Autumn – Current Event Tuesday.
1 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering
George F Luger ARTIFICIAL INTELLIGENCE 5th edition Structures and Strategies for Complex Problem Solving HEURISTIC SEARCH Luger: Artificial Intelligence,
George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving HEURISTIC SEARCH Luger: Artificial Intelligence,
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Game Playing. Introduction One of the earliest areas in artificial intelligence is game playing. Two-person zero-sum game. Games for which the state space.
Computing & Information Sciences Kansas State University Lecture 8 of 42 CIS 530 / 730 Artificial Intelligence Lecture 8 of 42 William H. Hsu Department.
Review: Tree search Initialize the frontier using the starting state While the frontier is not empty – Choose a frontier node to expand according to search.
1 Solving problems by searching 171, Class 2 Chapter 3.
Advanced Artificial Intelligence Lecture 2: Search.
For Wednesday Read chapter 6, sections 1-3 Homework: –Chapter 4, exercise 1.
MDPs (cont) & Reinforcement Learning
Informed Search I (Beginning of AIMA Chapter 4.1)
Search (continued) CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Best-first search Idea: use an evaluation function f(n) for each node –estimate of "desirability"  Expand most desirable unexpanded node Implementation:
Informed Search II CIS 391 Fall CIS Intro to AI 2 Outline PART I  Informed = use problem-specific knowledge  Best-first search and its variants.
Knowledge Search CPTR 314.
George F Luger ARTIFICIAL INTELLIGENCE 5th edition Structures and Strategies for Complex Problem Solving HEURISTIC SEARCH Luger: Artificial Intelligence,
Adversarial Search. Game playing u Multi-agent competitive environment u The most common games are deterministic, turn- taking, two-player, zero-sum game.
CHAPTER 2 SEARCH HEURISTIC. QUESTION ???? What is Artificial Intelligence? The study of systems that act rationally What does rational mean? Given its.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
3.5 Informed (Heuristic) Searches This section show how an informed search strategy can find solution more efficiently than uninformed strategy. Best-first.
CMPT 463. What will be covered A* search Local search Game tree Constraint satisfaction problems (CSP)
Chapter 3 Solving problems by searching. Search We will consider the problem of designing goal-based agents in observable, deterministic, discrete, known.
Cse 150, Fall 2012Gary Cottrell: Many slides borrowed from David Kriegman! Constraint Satisfaction Problems Introduction to Artificial Intelligence CSE.
CSE 4705 Artificial Intelligence
Informed Search Methods
AI Classnotes #5, John Shieh, 2012
Last time: Problem-Solving
Lecture 7 Constraint Satisfaction Problems
Problem Solving by Searching
CSE 4705 Artificial Intelligence
CSE 4705 Artificial Intelligence
CSE 4705 Artificial Intelligence
Lecture 9 Administration Heuristic search, continued
Reading: Chapter 4.5 HW#2 out today, due Oct 5th
Supplemental slides for CSE 327 Prof. Jeff Heflin
Presentation transcript:

1 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering

2 TodayToday Intelligent Agents

3 Inverted pendulum Example to demonstrate a learning agent

4 8-puzzle8-puzzle A tile adjacent to the blank space can slide into the space.

5 Holiday in Romania Start Goal

6 Complexity of Breadth-First Search

7 Holiday in Romania Start Goal

8 ComparisonComparison

9 Demonstration on Games/Robots Breadth First Search Pink: starting point Blue: goal Teal: scanned squares Darker: closer to starting point

10 Demonstration on Games/Robots An optimal informed search algorithm A* We add a heuristic estimate of distance to the goal Yellow: examined nodes with high h(n) Blue: examined nodes with low h(n)

11 Demonstration on Games/Robots Breadth-first search expands many many nodes Pink: starting node Dark blue: goal

12 Demonstration on Games/Robots A* search expands much fewer nodes Pink: starting node Dark blue: goal

13 Start Goal The distance from each city to Bucharest:

14 Best-first Search

15 Best-first Search

16 A* Search

17 A* Search

18 A* Search

19 Hill Climbing

20 8-puzzle8-puzzle Start Goal

21 Hill-Climbing Ex: 8-queens

22 Gradient ascent/descent

23 Gradient methods / Newton’s methods Contour lines of a function (Green: gradient descent, Red: Newton’s methods)

24 Difficult Problems

25 Difficult Problems

26 Random Restart

27 Genetic Algorithm A short video explains Genetic Algorithm in 3 minutes

28 Genetic Algorithm

29 Searching nondeterministic The 8 physical states of the vacuum world

30 Searching nondeterministic Fig. 4.10, AND-OR Search Tree, and a depth-first search

31 Searching nondeterministic Fig. 4.11, AND-OR Search algorithm (graph search) and a depth-first search, it returns a conditional plan that reaches a goal state in all circumstances S i in

32 Searching partial observable Deterministic Non-deterministic Fig. 4.13

33 Searching partial observable

34 Searching partial observable A vacuum has local sensors, and can report a state of [location, dirty/clean]

35 Searching partial observable Partial observations can still be quite useful (Fig. 4.18

36 Game Tree for Tic-Tac-Toe

37 An Evaluation Function for Tic-Tac-Toe f(n) = 8-8=0 f(n) = 8-5=3 f(n) = 8-6=2 f(n) = 2f(n) = 3 f(n): the potential # of lines with 3 x – the potential # of lines with three o f(n) = 0 if a tie f(n) = + ∞ if n is a terminal win f(n) = - ∞ if n is a terminal loss

38 Two Players MINIMAX value for a Two-Play Game Tree

39 Multiple Players

40 Alpha-Beta Pruning

41 Map Coloring

42 A Consistent and Complete Solution to Map Coloring

43 BacktrackingBacktracking

44 Backtracking – Map Coloring

45 Improving Backtracking Most constrained variables Most constraining variables

46 Improving Backtracking Given n variables, choose the least constraining value

47 Improving Backtracking Forward checking

48 Arc Consistency

49 ≠ General Backtracking

50 The Wumpus World Flash-Game.htm