Uninformed Search Strategies for Problem Solving Agents

vilalta eick uninformed search l.w
1 / 35
Embed
Share

Discover the approach of uninformed search strategies in problem-solving, with a focus on goal and problem formulation, state space search, and examples like Vacuum World and 8-puzzle. Explore real-life applications such as route finding and protein design.

  • Search Strategies
  • Problem Solving
  • State Space
  • Examples
  • Real Problems

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Vilalta&Eick:Uninformed Search Problem Solving By Searching Problem Solving Agents Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping Partial Information Summary

  2. Vilalta&Eick:Uninformed Search Problem Solving Agent Problem-solving agents: find sequence of actions that achieve goals. Problem-Solving Steps: 1. Goal Formulation: where a goal is set of acceptable states. 2. Problem Formulation: choose the operators and state space. 3. Search 4. Execute Found Solution

  3. Vilalta&Eick:Uninformed Search Preliminaries We need to define two things: Goal Formulation Define objectives Problem Formulation Define actions and states

  4. Vilalta&Eick:Uninformed Search Problem Formulation State Space Search Four components: 1. State Space and Initial state 2. Actions (successor function) 3. Goal test 4. Path Cost

  5. Path Cost Fagaras: 151+99=250 Vilalta&Eick:Uninformed Search Example

  6. Vilalta&Eick:Uninformed Search Other Examples Toy Problems: Vacuum World 8-puzzle 8-queens problem

  7. Vilalta&Eick:Uninformed Search Figure 3.3

  8. Vilalta&Eick:Uninformed Search Figure 3.5

  9. Vilalta&Eick:Uninformed Search Other Examples Real Problems Route-Finding Problem Robot Navigation Automatic Assembly Sequencing Protein Design Internet Search

  10. Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

  11. Vilalta&Eick:Uninformed Search Solutions We search through a search tree We expand new nodes to grow the tree There are different search strategies Nodes contain the following: state parent node action frequently path cost maybe depth

  12. Vilalta&Eick:Uninformed Search News Feb. 5, 2024 Task1 is due Mo., Feb. 12 and Task2 is due Fr. Feb. 23 at 11:59p 2024 Grace Period: 1-day: 8% penalty, 2-day: 20% penalty, submissions more that 48 hours late will not be grade. Problem Set Tasks: Task1: Probabilistic Search, Task2: CSP, Task3: Classification Basics, Task4: Autoencoders, Task5: Diffusion Models Task 6: Ethical and Societal Aspects of AI, Task 7: TBDL; Tasks 1, 2, 4 and 6, and the group project will be quite similar to what we had in 2023.

  13. Vilalta&Eick:Uninformed Search News Feb. 5, 2024 Part 2 GHC Groups have been updated. Task2 for groups B and C have been posted; Group A will present Feb. 7! Please read the specification of Task2; it will be discussed in the Feb. 7 lecture. Next 2-3 Lectures: a. GHC Task Group B b. Search 2 c. Search 3 d. CSP (a little out of order) e. Backtracking f. Games g. More on Search (only if enough time!)

  14. Vilalta&Eick:Uninformed Search Search Tree Initial state Expanded nodes Remark: There are other important search strategies, in particular backtracking, which do not expand states but Rather apply a single operator to a state.

  15. Vilalta&Eick:Uninformed Search Performance Four elements of performance: Completeness (guaranteed to find solution) Optimality (optimal solution?) Time Complexity Space Complexity

  16. Vilalta&Eick:Uninformed Search Performance Parameters a. Branching factor b b. Depth of the shallowest goal node d c. Maximum length of any path m in the state space d. The number of states searched n

  17. Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

  18. Vilalta&Eick:Uninformed Search Breadth-First Search Root is expanded first Then all successors at level 2. Then all successors at level 3, etc. Properties: Complete (if b and d are finite) Optimal (if path cost increases with depth) Cost is O(bd+1) Storage Let n=bd+1: O(n)

  19. Vilalta&Eick:Uninformed Search Search

  20. Vilalta&Eick:Uninformed Search Uniform-Cost Search Expansion Approach---expands nodes completely Strategy: Expand node with lowest path cost. Properties: Complete (if b and d are finite) Optimal (if path cost increases with depth) Cost: Similar to Breadth-first Search Could be worse than breadth first search

  21. Vilalta&Eick:Uninformed Search Search

  22. Vilalta&Eick:Uninformed Search Depth-First Search Expand the deepest node at the bottom of the tree. Backtracking even does better space-wise: O(d) Properties: Incomplete suboptimal Space complexity is only O(bd) Only store the nodes on the current path including their unexpanded sibling nodes

  23. Vilalta&Eick:Uninformed Search Tree Depth First Search with Depth Bound L Space Complexity Backtracking: O(d) Space Complexity Expansion Depth-first Search: O(b*d)

  24. Vilalta&Eick:Uninformed Search Search

  25. Vilalta&Eick:Uninformed Search Depth-Limited Like depth-first search but with depth limit L. Properties: Incomplete (if L < d) nonoptimal (if L > d) Time complexity is O(bL) Space complexity is O(bL)

  26. Vilalta&Eick:Uninformed Search Iterative Deepening A combination of depth and breadth-first search. Gradually increases the limit L Properties: Complete (if b and d are finite) Optimal if path cost increases with depth Time complexity is O(bd)

  27. Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States/Looping Partial Information Summary

  28. Vilalta&Eick:Uninformed Search Avoiding Looping & Repeated States (relates to expansion search) Use a list of expanded states; non-expanded states (open and close list) Use domain specific knowledge Use sophisticated data structures to find already visited states more quickly. Checking for repeated states can be quite expensive and slow down the search alg. Remark: Non-expansion search strategies have to keep track of what operators have already been applied to avoid looping.

  29. Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

  30. Vilalta&Eick:Uninformed Search Partial Information Knowledge of states or actions is incomplete. a. Sensorless problems b. Contingency Problems c. Exploration Problems

  31. Vilalta&Eick:Uninformed Search

  32. Vilalta&Eick:Uninformed Search Figure 3.21 Goal State Goal State

  33. Vilalta&Eick:Uninformed Search Problem Solving By Searching Introduction Solutions and Performance Uninformed Search Strategies Avoiding Repeated States Partial Information Summary

  34. Vilalta&Eick:Uninformed Search Summary To search we need goal and problem formulation. A problem has initial state, actions, goal test, and path function. Performance measures: completeness, optimality, time and space complexity.

  35. Vilalta&Eick:Uninformed Search Summary Uninformed search has no additional domain specific knowledge: breadth and depth-first search, depth-limited, iterative deepening, bidirectional search. In partially observable environments, one must deal with uncertainty and incomplete knowledge.

Related


More Related Content