chapter 1 introduc0on
play

Chapter 1 Introduc0on Dana S. Nau University of Maryland - PowerPoint PPT Presentation

Lecture slides for Automated Planning: Theory and Practice Chapter 1 Introduc0on Dana S. Nau University of Maryland Updated 3:03 PM December 14, 2013 Dana Nau: Lecture slides for Automated Planning


  1. Lecture slides for Automated Planning: Theory and Practice Chapter ¡1 ¡ ¡ Introduc0on ¡ Dana S. Nau University of Maryland Updated 3:03 PM December 14, 2013 Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 1 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  2. Some ¡Dic0onary ¡Defini0ons ¡of ¡ “ Plan ” ¡ plan n. 3. A systematic arrangement of elements or important parts; a 1. A scheme, program, or method configuration or outline: a seating worked out beforehand for the plan; the plan of a story. accomplishment of an objective: a plan of attack. 4. A drawing or diagram made to scale showing the structure or 2. A proposed or tentative project or arrangement of something. course of action: had no plans for the evening. 5. A program or policy stipulating a service or benefit: a pension plan. [a representation] of future behavior … usually a set of actions, with temporal and other constraints on them, for execution by some agent or agents. – Austin Tate, MIT Encyclopedia of the Cognitive Sciences , 1999 Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 2 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  3. Abstrac0on ¡ ● Real world is absurdly complex, need to approximate ◆ Only represent what the planner needs to reason about ● State transition system Σ = ( S , A , E , γ ) ◆ S = {abstract states} ‣ e.g., states might include a robot’s location, but not its position and orientation ◆ A = {abstract actions} loc1 ¡ ‣ e.g., “move robot from loc2 to loc1 ” may need complex lower-level implementation ◆ E = {abstract exogenous events} loc2 ¡ ‣ Not under the agent’s control ◆ γ = state transition function ‣ Gives the next state, or possible next states, after an action or event ‣ γ : S × ( A ∪ E ) → S ¡ ¡ ¡ ¡ or γ : S × ( A ∪ E ) → 2 S ● In some cases, avoid ambiguity by writing S Σ , A Σ , E Σ , γ Σ Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 3 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  4. State ¡Transi0on ¡ s 0 s 1 System ¡ take ¡ put ¡ ● Σ = ( S , A , E , γ ) loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ ◆ S = {states} move1 ¡ move1 ¡ move2 ¡ move2 ¡ ◆ A = {actions} s 2 s 3 ◆ E = {exogenous events} take ¡ ◆ γ = state-transition func. ● Example: put ¡ ◆ S = {s 0 , …, s 5 } loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ ◆ A = { move1, ¡move2, ¡put, ¡ load ¡ unload ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡take, ¡load, ¡unload } s 5 s 4 ◆ E = {} move1 ¡ ‣ so write Σ = ( S , A , γ ) ◆ γ : S × A → S move2 ¡ ‣ see the arrows loc2 ¡ loc1 ¡ loc1 ¡ loc2 ¡ Dock ¡Worker ¡Robots ¡(DWR) ¡example ¡ Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 4 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  5. Conceptual ¡Model ¡ Planning ¡problem ¡ Planning ¡problem ¡ Instruc6ons ¡to ¡ s 1 the ¡controller ¡ Carries ¡out ¡ the ¡plan ¡ loc1 ¡ loc2 ¡ move1 ¡ move2 ¡ s 3 Observa6on ¡ func6on ¡ h : ¡ S ¡ → ¡ O ¡ ● Control may involve lower-level planning and/or loc1 ¡ loc2 ¡ plan execution ◆ e.g., how to move from one location to another ¡ Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 5 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  6. s 0 s 1 Planning ¡ take ¡ Problem ¡ put ¡ loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ ● Description of Σ move1 ¡ move1 ¡ move2 ¡ move2 ¡ ● Initial state or set of states s 2 s 3 ● Objective take ¡ ◆ Goal state, set of goal states, set of tasks, put ¡ “trajectory” of states, loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ objective function, … load ¡ unload ¡ s 5 s 4 ● e.g., move1 ¡ ◆ Initial state = s 0 ◆ Goal state = s 5 move2 ¡ loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ Dock ¡Worker ¡Robots ¡(DWR) ¡example ¡ Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 6 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  7. Plans ¡ s 0 s 1 take ¡ put ¡ ● Classical plan : a sequence of loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ actions move1 ¡ move1 ¡ move2 ¡ 〈 take, move1, load, move2 〉 move2 ¡ s 2 s 3 take ¡ ● Policy : partial function from S into A put ¡ {( s 0 , take ), ( s 1 , move1 ), loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ ( s 3 , load ), load ¡ unload ¡ (s 4 , move2 )} s 5 s 4 move1 ¡ ● Both, if executed starting at s 0 , produce s 3 move2 ¡ loc1 ¡ loc2 ¡ loc1 ¡ loc2 ¡ Dock ¡Worker ¡Robots ¡(DWR) ¡example ¡ Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 7 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  8. Planning ¡Versus ¡Scheduling ¡ ● Scheduling ◆ Decide when and how to Scheduler ¡ perform a given set of actions ‣ Time constraints ‣ Resource constraints ‣ Objective functions ◆ Typically NP-complete ● Planning ◆ Decide what actions to use to achieve some set of objectives ◆ Can be much worse than NP-complete; worst case is undecidable ● Scheduling problems may require replanning Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 8 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  9. Three ¡Main ¡Types ¡of ¡Planners ¡ 1. Domain-specific ◆ Made or tuned for a specific planning domain ◆ Won’t work well (if at all) in other planning domains 2. Domain-independent ◆ In principle, works in any planning domain ◆ In practice, need restrictions on what kind of planning domain 3. Configurable ◆ Domain-independent planning engine ◆ Input includes info about how to solve problems in some domain Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 9 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  10. 1. ¡Domain-­‑Specific ¡Planners ¡(Chapters ¡19-­‑23) ¡ ● Most successful real-world planning systems work this way ◆ Mars exploration, sheet-metal bending, playing bridge, etc. ● Often use problem-specific techniques that are difficult to generalize to other planning domains Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 10 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  11. Types ¡of ¡Planners ¡ 2. ¡Domain-­‑Independent ¡ ● In principle, works in any planning domain ● No domain-specific knowledge except the description of the system Σ ● In practice, ◆ Not feasible to make domain- independent planners work well in all possible planning domains ● Make simplifying assumptions to restrict the set of domains ◆ Classical planning ◆ Historical focus of most research on automated planning Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 11 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

  12. Restric0ve ¡Assump0ons ¡ A0: Finite system: ◆ finitely many states, actions, events A1: Fully observable: ◆ the controller always Σ ’s current state A2: Deterministic: ◆ each action has only one outcome A3: Static (no exogenous events): ◆ no changes but the controller’s actions A4: Attainment goals: ◆ a set of goal states S g A5: Sequential plans: ◆ a plan is a linearly ordered sequence of actions ( a 1 , a 2 , … a n ) A6: Implicit time: ◆ no time durations; linear sequence of instantaneous states A7: Off-line planning: ◆ planner doesn’t know the execution status Dana ¡Nau: ¡Lecture ¡slides ¡for ¡Automated ¡Planning ¡ 12 ¡ Licensed ¡under ¡the ¡Crea6ve ¡Commons ¡A:ribu6on-­‑NonCommercial-­‑ShareAlike ¡License: ¡h:p://crea6vecommons.org/licenses/by-­‑nc-­‑sa/2.0/ ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend