Hierarchical Task Network Planning Automated Planning: Theory and Practice, Chapter 11 소프트컴퓨팅 연구실 2010. 07. 21.

Slides:



Advertisements
Similar presentations
Technische universität dortmund fakultät für informatik informatik 12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik
Advertisements

Knowledge Engineering for Planning Domain Design Ron Simpson University of Huddersfield.
In the name of God An Application of Planning An Application of PlanningJSHOP BY: M. Eftekhari and G. Yaghoobi.
Hierarchical Task Networks Planning to perform tasks rather than to achieve goals.
Hierarchical Task Network (HTN) Planning Hai Hoang 4/17/2007.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
SHOP2: An HTN Planning System Nau, D.S., Au, T.C., Ilghami, O., Kuter, U., Murdock, J.W., Wu, D. and Yaman, F. (2003) "SHOP2: An HTN Planning System",
Carnegie Mellon Lecture 7 Instruction Scheduling I. Basic Block Scheduling II.Global Scheduling (for Non-Numeric Code) Reading: Chapter 10.3 – 10.4 M.
Classical Planning via Plan-space search COMP3431 Malcolm Ryan.
EXPRESSIVE INTELLIGENCE STUDIO Lecture 10 CS148/248: Interactive Narrative UC Santa Cruz School of Engineering
Soft Systems Methodology
1 ICWS 2006, Chicago ICWS 2006 A Framework for Intelligent Web Services: Combined HTN and CSP Approach Incheon Paik, University of Aizu Daisuke Maruyama,
Top-down hierarchical planning A standard Artificial Intelligence mechanism used for simulating many aspects of ‘intelligent’ behaviour Main reference.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Artificial Intelligence 2005/06
1 Introduction to Computability Theory Lecture12: Decidable Languages Prof. Amos Israeli.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Planning II GraphPlan and Russell and Norvig: ch.12 CMSC421 – Fall 2006 based on material from Jim Blythe, JC Latombe, Marie desJardins and Daphne Koller.
Artificial Intelligence Chapter 11: Planning
Knowledge Acquisitioning. Definition The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.
Programming Language Semantics Mooly SagivEran Yahav Schrirber 317Open space html://
Semantics with Applications Mooly Sagiv Schrirber html:// Textbooks:Winskel The.
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Introduction Chapter 0. Three Central Areas 1.Automata 2.Computability 3.Complexity.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
Knowledge representation
Computer Science CPSC 322 Lecture 3 AI Applications 1.
Strategic Planning for Unreal Tournament© Bots Héctor Muñoz-Avila Todd Fisher Department of Computer Science and Engineering Lehigh University USA Héctor.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
INTRODUCTION TO THE THEORY OF COMPUTATION INTRODUCTION MICHAEL SIPSER, SECOND EDITION 1.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
LDK R Logics for Data and Knowledge Representation Modeling First version by Alessandro Agostini and Fausto Giunchiglia Second version by Fausto Giunchiglia.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Overview of Formal Methods. Topics Introduction and terminology FM and Software Engineering Applications of FM Propositional and Predicate Logic Program.
A sentence (S) is composed of a noun phrase (NP) and a verb phrase (VP). A noun phrase may be composed of a determiner (D/DET) and a noun (N). A noun phrase.
1 Definite Clause Grammars for Language Analysis – A Survey of the Formalism and a Comparison with Augmented Transition Networks 인공지능 연구실 Hee keun Heo.
ISBN Chapter 3 Describing Semantics.
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Chapter 3 Describing Syntax and Semantics
Theory of Programming Languages Introduction. What is a Programming Language? John von Neumann (1940’s) –Stored program concept –CPU actions determined.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Automated Planning Dr. Héctor Muñoz-Avila. What is Planning? Classical Definition Domain Independent: symbolic descriptions of the problems and the domain.
ISBN Chapter 3 Describing Syntax and Semantics.
Automating DAML-S Web Services Composition Using SHOP2 Based on an article by Dan Wu, Bijan Parsia, Evren Sirin, James Hendler and Dana Nau in Proceedings.
Some Thoughts to Consider 8 How difficult is it to get a group of people, or a group of companies, or a group of nations to agree on a particular ontology?
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Grammars Hopcroft, Motawi, Ullman, Chap 5. Grammars Describes underlying rules (syntax) of programming languages Compilers (parsers) are based on such.
Grammars CS 130: Theory of Computation HMU textbook, Chap 5.
The Interpreter Pattern (Behavioral) ©SoftMoore ConsultingSlide 1.
(Classical) AI Planning. General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table)
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
1 CMSC 471 Fall 2002 Class #24 – Wednesday, November 20.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
DATLab Research Overview 1 Creating Design Machines for Machine Design Linda C. Schmidt Mechanical Engineering Department Institute for Systems Research.
1 Chapter 11 Hierarchical Task Network Planning. 2 Motivation We may already have an idea how to go about solving problems in a planning domain Example:
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
SNS College of Engineering Department of Computer Science and Engineering AI Planning Presented By S.Yamuna AP/CSE 5/23/2018 AI.
Review for the Midterm Exam
Knowledge Representation
Regular Grammar.
Solving Equations with variables on each side
Class #20 – Wednesday, November 5
Graph Coverage for Specifications CS 4501 / 6501 Software Testing
Hierarchical Task Networks
Class #17 – Tuesday, October 30
Presentation transcript:

Hierarchical Task Network Planning Automated Planning: Theory and Practice, Chapter 11 소프트컴퓨팅 연구실

Hierarchical Task Network Planning Motivation –To construct plans from individual operators is a waste of time –Many task in real life already have a built-in hierarchical structure –How to enable planning systems to make use of such recipes? HTN (hierarchical task network) planning –HTN is suitable for domains where tasks are naturally organized in a hierarchy –Hierarchical decomposition: Use abstract operators as well as primitive operators during plan generation –Use abstract operators to start a plan –Use partial-order planning techniques and action decomposition to come up with the final plan –The final plan contains only primitive operators

Simple Task Network (STN) Planning A Special case of HTN planning Definitions –γ (s, a) : the result of applying an action to a state s –STN: w = (U, E), U is the node set, E is the edge set u ∈ U contains a task t u –Task: an expression of the form t(u 1, …, u n ) t is a task symbol, and each u i is a term Two kinds of task symbols (and tasks): –Primitive: tasks that we know how to execute directly –Nonprimitive: tasks that must be decomposed into subtasks –STN method: m = (name(m), task(m), precond(m), network(m) or subtasks(m)) name(m): an expression of the form n(x 1,…,x n ) x 1,…,x n : parameters – variable symbols –task(m): a nonprimitive task –precond(m): preconditions –subtasks(m): a sequence of tasks (total order) –network(m): ({u 1,…,u k },{(u 1,u 2 ),…(u k-1,…,u k )}) (partial order)

Formal Descriptions of the Methods for DWR

STN Planning Problem and Solutions STN planning domain –D = (O, M) –O: a set of operators –M: a set of methods STN planning problem –P = (s 0, w, O, M) –s 0 : the initial state –w: a task network called the initial task network –D = (O, M): an STN planning domain

STN Planning Problem and Solutions

Solving Total-Order STN Planning Problems

Decomposition Tree for move-stack Method

Solving Partial-Order STN Planning Problems

TFD vs. PFD

TFD Solution

PFD Solution

HTN Planning HTN task network –w = (U, C), U is a set of task nodes, C is a set of constraints –A precedence constraint: the edge in STN planning –A before-constraint: a generalization of the notion of a precondition in STN planning –An after-constraint: after(U’, l), l must true just after last (U’, π) –A between-constraint: between(U’, U’’, l), l must true in the state just after last (U’, π), the state just before first (U’’, π), and all of the states in between HTN Method is a 4-tuple –m = (name(m), task(m), subtasks(m), constr(m)) –task(m): a nonprimitive task –(subtasks(m), constr(m)): a task network

Examples of HTN Methods

HTN Planning Problem and Solutions STN planning domain –D = (O, M) –O: a set of operators –M: a set of methods STN planning problem –P = (s 0, w, O, M) –s 0 : the initial state –w: a task network called the initial task network –D = (O, M): an STN planning domain

HTN Planning Problem and Solutions

Abstract-HTN procedure

Comparisons Comparison to classical planning –STN and HTN can be used to encode undecidable problems –STN and HTN planning is strictly more expressive than classical planning A classical planning problem is a regular language A total-order STN planning problem is a context-free language HTN methods versus control rules –Control-rule planning is restricted to solving just classical planning problems –HTN planning has more expressive power than control-rule planning –By extensions, both formalisms are capable of representing undecidable problems –Hard to say which type of control knowledge is more effective

Discussion HTN 과 행동 네트워크와의 차이점은 무엇일까 ? Theory of planned behavior (TPB) – 행동과 행동에 대한 사용자의 의도를 표현한 심리학적 모델 S1 S2 S3 S4 S5 S6 S7 Goal1 2 Behavior 입력영상 … 서비스 1 2 로그및컨텍스트 서비스 1 2 환경 입력 1 2 서비스 행동 네트워크

Discussion TPB+HTN –Sequential behaviors for one task – Task intention & perceived control task TPB+BeN – 각 Behavior 에 TPB 모형을 결합 S1 S2 S3 S4 S5 S6 S7 Goal1 2 Behavior 입력영상 … 서비스 1 2 로그및컨텍스트 서비스 1 2 환경 입력 1 2 서비스