Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to AI Robotics Chapter 2. The Hierarchical Paradigm 2012.09.26 Hyeokjae Kwon.

Similar presentations


Presentation on theme: "Introduction to AI Robotics Chapter 2. The Hierarchical Paradigm 2012.09.26 Hyeokjae Kwon."— Presentation transcript:

1 Introduction to AI Robotics Chapter 2. The Hierarchical Paradigm 2012.09.26 Hyeokjae Kwon

2 Robotic Paradigms A paradigm is a philosophy or set of assumptions and/or techniques which characterize an approach to a class of problems. Applying the right paradigm makes problem solving easier.

3 The Hierarchical Paradigm PLANSENSEACT S,P,A organization of Hierarchical Paradigm Alternative description of how the 3 primitives interact in the Hierarchical Paradigm

4 Shakey First AI robot. Built by SRI (Stanford Research Institute) for DARPA 1967-70. Used STRIPS(STanford Research Institute Problem Solver) as main Algorithm for controlling what to do.

5 Video(Shakey) Shakey was one of the first autonomous mobile robots, built at the AI Center during 1966-1972. This film, SHAKEY: Experimentation in Robot Learning and Planning was produced by Peter Hart and Nils Nilsson around 1969.

6 Video(Flakey) Flakey is SRI's autonomous mobile robot that was featured on PBS with Alan Alda in 1994 as part of the Scientific American Frontiers series.

7 Video(SRI-UCAV) The UCAV project is concerned with distributed continuous planning and execution in autonomous vehicles. These videos were produced in 2002.

8 How to Develop a Plan in STRIPS? Use “means-ends analysis” - If robot is not at goal, then measure the distance (or difference) between robot’s current state and its goal state. - Find an action that the robot can take that will reduce this distance, and select it if open conditions are satisfied. - Make the first false precondition of this action the new “subgoal”, remembering old goal by pushing on stack. -Recursively reduce difference by repeating above. - When all open conditions for an action are satisfied, add the action to the plan stack and update world model.

9 Strips : Means-Ends Analysis Difference:3000 miles INITIAL STATE:Tampa, Florida (0,0) GOAL STATE:Stanford, California (1000,2828) “Go to Stanford AI Lab” For example using an arbitrary frame of reference that put Tampa at the center of the world with made- up distances to Stanford:

10 Difference Table d>=200 milesFLY 100<d<200RIDE_TRAIN d<=100DRIVE Distance (difference) mode of transportation (OPERATOR) d<1WALK This could lead to a data structure called a difference table of how to make decisions: - Different modes of transportation are appropriate for different distances. - A mode of transportation, fly, ride_train, drive, walk, in the table is really a function in the robot’s program. - A robot following this difference table would begin by flying as close as it could to SAIL.

11 Preconditions d>=200 milesFLY 100<d<200TRAIN d<=100DRIVE (rental) DRIVE (personal car) difference OPERATOR d<1WALK at airport at home PRECONDITIONS The preconditions are a column in the difference table, where a single operator can have multiple preconditions.

12 Maintaining State of the World : Add and Delete Lists d>=200 miles FLY 100<d<2 00 TRAIN d<=100 DRIVE (rental) at airport DRIVE (personal) at home distanceOPERATORPRE- CONDITIONS d<1WALK at city Y at airport at city Y at train station ADD-LIST at city X DELETE- LIST This two lists are stored in the difference table so that when the robot picks an operator based on the difference and operator, it can easily apply the appropriate modifications to the world.

13 Strips Summary Designer must set up a : –World model representation. –Difference table with operators, preconditions, add & delete lists. –Difference evaluator. Strips assumes closed world : –Closed world: world model contains everything needed for robot (implication is that it doesn’t change). –Open world: world is dynamic and world model may not be complete. Strips suffers from frame problem : –Frame problem: representation grows too large to reasonably operate over.

14 Nested Hierarchical Controller The NHC (Nested Hierarchical Controller) architecture has components that are easily identified as either SENSE, PLAN, or ACT. Major contribution of NHC: decomposition of planning into three subsystems.

15 Nested Hierarchical Controller Uses map to locate the robot and goal. Generates path from current position to goal. Generates actions robot must execute to follow path segment.

16 Details of NHC Mission planner : –receives a mission from a human or generates a mission for itself. –responsible for translating the mission into terms that other functions can understand. Navigator : –takes information from mission planner (e.g., current position, goal position) and generates a path in the form of a set of waypoints, or straight lines for the robot to follow. Pilot : –takes the first straight line or path segment and determines what actions the robot has to do to follow the path segment (e.g., speed, turning rate).

17 NIST RCS & NASREM NIST RCS (National Institute of Standards and Technology Real-time Control System): developed to serve as standard for manufactures’ development of more intelligent robots. Similar in design to NHC : –Primary difference: sensory perception includes preprocessing.

18 Details of RCS Value judgment plans and the simulates the plans to ensure they will work. The planner gives the plan to Behavior Generation module, which converts the plans into actions.

19 Multiple Layers of NIST RCS & NASREM Each layer has : –Sensory processing –World modeling –Task decomposition –Value judgment All layers joined by global memory through which representational knowledge is shared. Perception is not tied directly to action. Perception is still integrated into a global world model.

20 Evaluations of Hierarchical Architectures Robots (other than the Walter’s tortoise and Braitenberg’s vehicles) built before 1985 typically used hierarchical style. Primary advantage : –provides an ordering of the relationship between sensing, planning, and acting. Primary disadvantage : –planning: every update cycle, robot had to update global world model, then plan, which introduces a bottleneck. –sensing and acting are disconnected. –appropriate hierarchical decomposition is application-dependent. –uncertainty not well handled.

21 Thank you


Download ppt "Introduction to AI Robotics Chapter 2. The Hierarchical Paradigm 2012.09.26 Hyeokjae Kwon."

Similar presentations


Ads by Google