CSE 4705 Artificial Intelligence

Slides:



Advertisements
Similar presentations
Additional Topics ARTIFICIAL INTELLIGENCE
Advertisements

Problem Solving by Searching Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 3 Spring 2007.
1 Lecture 3 Uninformed Search. 2 Uninformed search strategies Uninformed: While searching you have no clue whether one non-goal state is better than any.
Search Strategies Reading: Russell’s Chapter 3 1.
May 12, 2013Problem Solving - Search Symbolic AI: Problem Solving E. Trentin, DIISM.
Artificial Intelligence (CS 461D)
UNINFORMED SEARCH Problem - solving agents Example : Romania  On holiday in Romania ; currently in Arad.  Flight leaves tomorrow from Bucharest.
Artificial Intelligence Lecture No. 7 Dr. Asad Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Artificial Intelligence for Games Depth limited search Patrick Olivier
Artificial Intelligence Chapter 3: Solving Problems by Searching
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
1 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering
Artificial Intelligence
For Friday Finish reading chapter 4 Homework: –Lisp handout 4.
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.
Lecture 3: Uninformed Search
1 Solving problems by searching 171, Class 2 Chapter 3.
Advanced Artificial Intelligence Lecture 2: Search.
CSC3203: AI for Games Informed search (1) Patrick Olivier
Informed Search I (Beginning of AIMA Chapter 4.1)
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2007 Lecture #2.
1 CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering
3.5 Informed (Heuristic) Searches This section show how an informed search strategy can find solution more efficiently than uninformed strategy. Best-first.
Solving problems by searching A I C h a p t e r 3.
For Monday Read chapter 4 exercise 1 No homework.
Romania. Romania Problem Initial state: Arad Goal state: Bucharest Operators: From any node, you can visit any connected node. Operator cost, the.
Chapter 3 Solving problems by searching. Search We will consider the problem of designing goal-based agents in observable, deterministic, discrete, known.
Uninformed Search ECE457 Applied Artificial Intelligence Spring 2008 Lecture #2.
Artificial Intelligence Solving problems by searching.
Chapter 3.5 Heuristic Search. Learning Objectives Heuristic search strategies –Best-first search –A* algorithm Heuristic functions.
Lecture 3 Problem Solving through search Uninformed Search
Lecture 3: Uninformed Search
Review: Tree search Initialize the frontier using the starting state
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
Problem Solving Agents
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
Last time: Problem-Solving
Artificial Intelligence (CS 370D)
CSE 473 Artificial Intelligence Oren Etzioni
Uninformed Search Chapter 3.4.
Problem Solving by Searching
Uninformed Search Strategies
Artificial Intelligence (CS 370D)
Artificial Intelligence
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
هوش مصنوعی فصل سوم: حل مسئله با جستجو
CSE 4705 Artificial Intelligence
Solving problems by searching
CSE 4705 Artificial Intelligence
Lecture 1B: Search.
EA C461 – Artificial Intelligence
Searching for Solutions
Informed search algorithms
Informed search algorithms
Artificial Intelligence
Artificial Intelligence
Search Exercise Search Tree? Solution (Breadth First Search)?
Artificial Intelligence
Problem Spaces & Search
Artificial Intelligence Chapter 9 Heuristic Search
Artificial Intelligence Chapter 8 Uninformed Search
Problem Spaces & Search
ECE457 Applied Artificial Intelligence Fall 2007 Lecture #2
CS621: Artificial Intelligence
Artificial Intelligence
CMSC 471 Fall 2011 Class #4 Tue 9/13/11 Uninformed Search
Search Strategies CMPT 420 / CMPG 720.
Supplemental slides for CSE 327 Prof. Jeff Heflin
Presentation transcript:

CSE 4705 Artificial Intelligence Jinbo Bi Department of Computer Science & Engineering http://www.engr.uconn.edu/~jinbo

Search fundamentals Chapter 3.3

Useful concepts

Useful concepts After we formulate a problem, how do we find the solutions for it? Enumerate in some order all possible paths from the initial state Here: search through explicit tree generation ROOT = initial state Nodes and leafs generated through transition model In general, search generates a graph (same state through multiple paths), but we will just look at trees in lecture Treats different paths to the same node as distinct

Simple tree search example

Simple tree search example Determines search process

8-Puzzle: states and nodes

8-Puzzle: search tree

Uninformed search strategies

Uninformed search strategies

Uninformed search strategies

Breadth-first search

Breadth-first search

Breadth-first search (simplified)

Properties of breadth-first search

Exponential space/time complexity

Depth-first search

Depth-first search

Properties of depth-first search

Breadth-first vs depth-first search

Breadth-first vs depth-first search How can we get the best of both?

Depth-limited search: a building block

Iterative deepening search

Iterative deepening search

Iterative deepening search, example

Iterative deepening search, example

Iterative deepening search, example

Iterative deepening search, example

Properties of iterative deepening search

Iterative deepening search: time complexity

Summary of the algorithms

Bidirectional search: very brief review Two simultaneous searches from start and goal Motivation: Check whether the node belongs to the other frontier before expansion Space complexity is the most significant weakness Complete and optimal if both searches are breadth-first

Bidirectional search: very brief review The predecessor of each node can be efficiently computable Works well when actions are easily reversible

“Uniform cost” search Motivation: an example Romanian Holiday Problem All our search methods so far assume Step-cost = 1 This is not always true

“Uniform cost” search g(N): the path cost function If all moves equal in cost Cost = # of nodes in path – 1 g(n) = depth(n) Equivalent to what we have been assuming so far Assigning a (potentially) unique cost to each step N0, N1, N2, N3 are nodes visited on path p C(i,j): Cost of going from Ni to Nj g(N1) = C(0,1) + C(1,2) + C(2,3)

“Uniform cost” search

“Uniform cost” search Start Goal

“Uniform cost” search Example: Romania Holiday Problem Start S g(R) =80 2 F g(F) =99 R 1 is updated to 278 g(P) =177 P g(B) =310 3 4 B Goal g(B) =278 B 4 Goal

Summary of uninformed search C* is the cost of the optimal solution, and e is step cost

Informed search strategies

Informed search Part I (classical search) Informed = use problem-specific knowledge Best-first search and its variants A* - Optimal search using knowledge Proof of optimality of A* A* for maneuvering AI agents in games Heuristic functions Part II (beyond classical search, Chap 4) Local search and optimization Local search in continuous space Hill climbing, local bean search, …

Informed search Is Uniform cost search the best we can do?

A better idea

The straight-line distance from each city to Bucharest: Start Goal

A heuristic function

Breadth first for games, robots http://theory.stanford.edu/~amitp/GameProgramming/

An optimal informed search (A*)

Breadth first for a world with obstacles Pink: start node; Dark blue: goal Breadth-first search expands many nodes

Informed search (A*) in that world

Questions?