Son Thanh To Pat Langley Institute for the Study of Learning and Expertise Palo Alto, California Dongkyu Choi Department of Aerospace Engineering University.

Slides:



Advertisements
Similar presentations
Pat Langley Arizona State University and Institute for the Study of Learning and Expertise Expertise, Transfer, and Innovation in.
Advertisements

Pat Langley Seth Rogers Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA.
Pat Langley Institute for the Study of Learning and Expertise Palo Alto, CA Cumulative Learning of Relational and Hierarchical Skills.
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA Varieties of Problem Solving in a Unified Cognitive Architecture.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA Extending the I CARUS Cognitive Architecture Thanks to D. Choi,
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA Mental Simulation and Learning in the I CARUS Architecture.
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA Modeling Social Cognition in a Unified Cognitive Architecture.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California
Information Processing Technology Office Learning Workshop April 12, 2004 Seedling Overview Learning Hierarchical Reactive Skills from Reasoning and Experience.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona Institute for the Study of Learning and Expertise Palo Alto, California.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona A Cognitive Architecture for Integrated.
Pat Langley School of Computing and Informatics Arizona State University Tempe, Arizona USA A Unified Cognitive Architecture for Embodied Agents Thanks.
Pat Langley Institute for the Study of Learning and Expertise Palo Alto, California A Cognitive Architecture for Complex Learning.
Heuristic Search techniques
REVIEW : Planning To make your thinking more concrete, use a real problem to ground your discussion. –Develop a plan for a person who is getting out of.
In the name of God An Application of Planning An Application of PlanningJSHOP BY: M. Eftekhari and G. Yaghoobi.
CSE391 – 2005 NLP 1 Planning The Planning problem Planning with State-space search.
Planning
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
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",
CLASSICAL PLANNING What is planning ?  Planning is an AI approach to control  It is deliberation about actions  Key ideas  We have a model of the.
Social Planning: Achieving Goals by Altering Others’ Mental States Chris Pearce Ben Meadows Pat Langley Mike Barley Department of Computer Science Thanks.
Plan Generation & Causal-Link Planning 1 José Luis Ambite.
PLANNING IN AI. Determine the set of steps that are necessary to achieve a goal Some steps might be conditional, i.e., they are only taken when a set.
Best-First Search: Agendas
Problem Solving and Search in AI Part I Search and Intelligence Search is one of the most powerful approaches to problem solving in AI Search is a universal.
Classical Planning via State-space search COMP3431 Malcolm Ryan.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
A Kolmogorov Complexity Approach for Measuring Attack Path Complexity By Nwokedi C. Idika & Bharat Bhargava Presented by Bharat Bhargava.
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.
The Importance of Architecture for Achieving Human-level AI John Laird University of Michigan June 17, th Soar Workshop
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
Classical Planning via State-space search COMP3431 Malcolm Ryan.
Problem Solving & Creativity Dr. Claudia J. Stanny EXP 4507 Memory & Cognition Spring 2009.
Matthew J Mattia CSC  Cumbersome Code  Consistent/Predictable design (GUEPs #5, CD’s #10)  Display “proper” amount of information  Including.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
Understanding Social Interactions Using Incremental Abductive Inference Benjamin Meadows Pat Langley Miranda Emery Department of Computer Science The University.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
Knowledge representation
Empirical Explorations with The Logical Theory Machine: A Case Study in Heuristics by Allen Newell, J. C. Shaw, & H. A. Simon by Allen Newell, J. C. Shaw,
Synthetic Cognitive Agent Situational Awareness Components Sanford T. Freedman and Julie A. Adams Department of Electrical Engineering and Computer Science.
Planning (Chapter 10)
Planning (Chapter 10)
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Automated Planning Dr. Héctor Muñoz-Avila. What is Planning? Classical Definition Domain Independent: symbolic descriptions of the problems and the domain.
Introduction to Planning Dr. Shazzad Hosain Department of EECS North South Universtiy
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Problem Reduction So far we have considered search strategies for OR graph. In OR graph, several arcs indicate a variety of ways in which the original.
1/16 Planning Chapter 11- Part1 Author: Vali Derhami.
(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)
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
1 CMSC 471 Fall 2002 Class #24 – Wednesday, November 20.
Planning I: Total Order Planners Sections
DATLab Research Overview 1 Creating Design Machines for Machine Design Linda C. Schmidt Mechanical Engineering Department Institute for Systems Research.
Cognitive Architectures and General Intelligent Systems Pay Langley 2006 Presentation : Suwang Jang.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, CA
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
SNS College of Engineering Department of Computer Science and Engineering AI Planning Presented By S.Yamuna AP/CSE 5/23/2018 AI.
Classical Planning via State-space search
MOIS 508 Spring 2006 Dr. Dina Rateb
Introduction Defining the Problem as a State Space Search.
Class #20 – Wednesday, November 5
Presentation transcript:

Son Thanh To Pat Langley Institute for the Study of Learning and Expertise Palo Alto, California Dongkyu Choi Department of Aerospace Engineering University of Kansas, Lawrence, KS A Unified Framework for Knowledge-Lean and Knowledge-Rich Planning discussions This research was supported by Grant N We thank M. Barley, U. Kuter, S. Kambhampati, H. Muñoz-Avila, D. Nau, and M. Stilman for useful discussions.

The ability to create novel plans is a distinctive characteristic of human cognition, utilizing:  Extensive search on unfamiliar tasks (Newell & Simon, 1972)  Routine activity when they have expertise (Larkin et al., 1980) Humans can also switch between these two modes and even interleave them as appropriate. In contrast, AI has developed two paradigms – first-principles planning and HTN planning – that are almost entirely disjoint. Cognitive systems should aim to unify these two frameworks. Two Paradigms for Planning

Knowledge-Lean Planning The first-principles paradigm defines a planning problem as: Techniques for solving such tasks (e.g., backward or forward chaining) rely on extensive search. Even with heuristic guidance, these schemes scale poorly with the number of objects, branching factor, and solution length. A set of literals S that describe an initial state A goal formula G that describes a class of goal states A set of operators O that describe actions’ effects

The hierarchical task network paradigm defines a problem as: Techniques for HTN planning need little search and scale well. But they require a developer to engineer their knowledge, which is time consuming and may introduce errors. Knowledge-Rich Planning A set of literals S that describe an initial state A set of methods M that state how to achieve tasks A set of operators O that describe actions’ effects A top-level task T that specifies a desired activity

A Unified Planning Framework In response, we have developed a theoretical framework that unifies the two paradigms by:  Stating problems using goals, tasks, or their mixture  Supporting planning with operators, methods, or both  Combining state-space search with method decomposition The new framework inherits the best features of the traditional ones while mitigating their weaknesses.

Representational Assumptions The new unified framework defines a planning problem as: Thus, both first-principles and HTN planning are special cases of the framework. A set of literals S that describe an initial state A goal formula G that describes a class of goal states A set of methods M that state how to achieve tasks A set of operators O that describe actions’ effects A top-level task T that specifies a desired activity

Representation: An Example (travel_by_plane ?x ?y) conditions(at ?x) (place ?y) (not (= ?x ?y)) effects (at ?y) subtasks (book_direct ?x ?y) (fly ?x ?y) (travel_by_plane ?x ?y) conditions(at ?x) (place ?y) (not (= ?x ?y)) effects(at ?y) subtasks(book_via ?x ?z ?y) (fly ?x ?z) (fly ?z ?y) (book_direct ?x ?y) conditions(at ?x) (direct_flight ?x ?y) (not (flight_ready ?x ?y)) effects(flight_ready ?x ?y) (book_via ?x ?z ?y) conditions(at ?x) (direct_flight ?x ?z) (direct_flight ?z ?y) (not (flight_ready ?x ?y)) effects(flight_ready ?x ?z) (flight_ready ?z ?y) (fly ?x ?y) conditions(at ?x) (flight_ready ?x ?y) effects(at ?y) (not (at ?x)) (not (flight_ready ?x ?y)) (drive ?x ?y) conditions(at ?x) (have_car_at ?x) (place ?y) (not (= ?x ?y)) effects(at ?y) (not (at ?x)) (have_car_at ?y) (not (have_car_at ?x)) (at A) (have_car_at C) (place A) (place B) (direct_flight A B) Initial State(direct_flight B A) (place C) (direct_flight B C) (place D) (direct_flight C B) Goal Descr.(at D) Methods Operators

Processing Assumptions The central planning mechanism carries out forward chaining through the state space by:  Applying a primitive operator when its conditions are met  Expanding a nonprimitive method when its conditions match  Using AND/OR search to decompose it into a subplan  Returning the final state if it succeeds or failing otherwise  Utilizing best-first search to organize the planning process This approach embeds HTN-style planning within steps taken during a state-space search. Formally, the unified framework is both sound and complete.

Processing: An Example

satisfies goal

UPS: A Unified Planning System We have implemented this approach in Lisp to produce UPS, a planner that uses a SHOP2-like notation. The system includes three features designed to aid efficiency:  Expanding a method instance if it selects the resulting state for expansion; if expansion fails, it abandons the branch.  Filtering out method instances that do not produce at least one ‘useful’ state literal (e.g., that matches a goal).  Using a numeric heuristic to guide best-first search and favor operators/methods that achieve more goals. As in means-ends analysis, UPS uses goals to guide search, but its forward-chaining strategy does not require them.

Empirical Claims These observations suggest four separate hypotheses about the system’s behavior: 1.UPS solves problems stated in terms of goals, tasks, or both. 2.UPS generates plans given only operators, given a ‘complete’ set of HTN methods, or given a ‘partial’ set of methods. 3.Availability of HTN methods increases planning efficiency. 4.Filtering HTN methods for relevance further aids efficiency. We have tested these claims on tasks of varying difficulty from Blocks World, Gripper, Logistics, Floortile, Tetris, and Visitall.

Empirical Claims These observations suggest four separate hypotheses about the system’s behavior: 1.UPS solves problems stated in terms of goals, tasks, or both. 2.UPS generates plans given only operators, given a ‘complete’ set of HTN methods, or given a ‘partial’ set of methods. 3.Availability of HTN methods increases planning efficiency. 4.Filtering HTN methods for relevance further aids efficiency. We have tested these claims on tasks of varying difficulty from Blocks World, Gripper, Logistics, Floortile, Tetris, and Visitall. basic ability

Empirical Claims These observations suggest four separate hypotheses about the system’s behavior: 1.UPS solves problems stated in terms of goals, tasks, or both. 2.UPS generates plans given only operators, given a ‘complete’ set of HTN methods, or given a ‘partial’ set of methods. 3.Availability of HTN methods increases planning efficiency. 4.Filtering HTN methods for relevance further aids efficiency. We have tested these claims on tasks of varying difficulty from Blocks World, Gripper, Logistics, Floortile, Tetris, and Visitall. basic ability search effort

Planning with Goals and Tasks We provided UPS with ten problems from each of the six test domains, giving it:  Problems stated only as goal descriptions  Problems stated only as task specifications  Problems that included both types of structures In each case, the system found a solution path within 150 CPU seconds that satisfied the criteria.

We ran UPS on ten goal-oriented problems from each of the six domains, giving it:  Only a set of primitive operators  Primitive operators and a ‘complete’ set of HTN methods  Primitive operators and a ‘partial’ set of HTN methods Again, the system found a solution to each problem within the allotted 150 CPU seconds. Even without HTN knowledge, UPS’ performance was similar to entrants in the 2014 planning competition (satisficing track). Knowledge Lean and Rich Planning

Benefits of Complete HTN Knowledge CPU times in log(milliseconds)

Benefits of Complete HTN Knowledge unsolved problems CPU times in log(milliseconds)

Benefits of Complete HTN Knowledge utility problem CPU times in log(milliseconds)

Benefits of Partial HTN Knowledge CPU times in log(milliseconds)

Benefits of Partial HTN Knowledge CPU times in log(milliseconds) unsolved problems

Benefits of Partial HTN Knowledge CPU times in log(milliseconds) unsolved problems

Benefits of Method Filtering CPU times in log(milliseconds)

Benefits of Method Filtering CPU times in log(milliseconds) unsolved problems

Related Research Some prior work has combined ideas from the two paradigms:  Macro-operators ( Minton, 1985; Iba, 1989; Shavlik, 1990 )  Automatically learned, often suffer from utility problem  Kambhampati et al.’s (1998) framework  Searches through a plan space, not implemented  Gerevini et al.’s (2008) DUET system  Combines HTN planning with local repair, not complete  I CARUS (Li et al., 2012)  Automatically learned, means-ends analysis Our approach differs from each of these systems and offers a more natural unification of modern planning methods.

Plans for Future Work We should explore a number of avenues in our future research:  Clarify when knowledge aids and hinders UPS efficiency  Incorporate these findings into improved filtering methods  Extend UPS to support methods with quantitative effects  Support more flexible search strategies that adapt to situation  E.g., forward or backward depending on branching factor  Develop methods for learning HTN methods from solutions  To shift from knowledge-lean to knowledge-rich search Together, these will provide a more complete theory and more robust approaches to planning.

Concluding Remarks In this talk, I reviewed two paradigms for planning and offered a unified framework that:  Handles problems stated as goals, task, or a combination  Operates with operators, hierarchical methods, or both Moreover, our UPS implementation of the framework:  Solves problems without HTN methods but typically benefits from them when available  Guides search with a goal-oriented evaluation function and filters options that appear irrelevant Other unifications are possible, but our approach is both elegant and effective.

End of Presentation

Knowledge-Lean Planning The first-principles paradigm defines a planning problem as:  A set of literals that describe an initial state S  A set of operators O that state conditional effects of actions  E.g., as STRIPS or PDDL operators with add / delete lists  A goal formula G that describes a class of goal states  E.g., a conjunction of positive and negative literals Techniques for solving such tasks (e.g., backward or forward chaining) rely on extensive search. Even with heuristic guidance, these schemes scale poorly with the number of objects, branching factor, and solution length.

The hierarchical task network paradigm defines a problem as:  A set of literals that describe an initial state S  A set of operators O that state conditional effects of actions  E.g., as STRIPS or PDDL operators with add / delete lists  A set of hierarchical methods M that state how to achieve tasks  E.g., as sequences of operators or other methods  A top-level task T that comprises a predicate and arguments Techniques for HTN planning need little search and scale well. But they require a developer to engineer their knowledge, which is time consuming and may introduce errors. Knowledge-Rich Planning

Representational Assumptions The new unified framework defines a planning problem as:  A set of literals that describe an initial state S  A set of operators O that state conditional effects of actions  A set of hierarchical methods M that state how to achieve tasks  These can include (possibly partial) conditional effects  A top-level task T and a goal formula G (both possibly empty)  E.g., a task and a conjunction of goal literals Thus, both first-principles and HTN planning are special cases of the framework.