General Purpose Case-Based Planning. General Purpose vs Domain Specific (Case-Based) Planning General purpose: symbolic descriptions of the problems and.

Slides:



Advertisements
Similar presentations
Lecture 5: Reuse, Adaptation and Retention
Advertisements

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.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Plan Generation & Causal-Link Planning 1 José Luis Ambite.
1 Complexity of domain-independent planning José Luis Ambite.
NP-Complete William Strickland COT4810 Spring 2008 February 7, 2008.
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
Planning CSE 473 Chapters 10.3 and 11. © D. Weld, D. Fox 2 Planning Given a logical description of the initial situation, a logical description of the.
1 Classical STRIPS Planning Alan Fern * * Based in part on slides by Daniel Weld.
Chapter 4.
SYSTEM ANALYSIS & DESIGN (DCT 2013)
Systems Analysis and Design 9th Edition
Automated Planning & Computer Games: Perspectives and Applications Hector Munoz-Avila.
Complexity 7-1 Complexity Andrei Bulatov Complexity of Problems.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Complexity 11-1 Complexity Andrei Bulatov Space Complexity.
Computability and Complexity 13-1 Computability and Complexity Andrei Bulatov The Class NP.
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Case-Based Reasoning, 1993, Ch11 Kolodner Adaptation method and Strategies Teacher : Dr. C.S. Ho Student : L.W. Pan No. : M Date : 1/7/2000.
Complexity 5-1 Complexity Andrei Bulatov Complexity of Problems.
CHEF (Hammond, 1987) CHEF is a case-based planner, which can output new recipes given particular ingredients and tastes. Recipes are viewed as plans. They.
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
Automata & Formal Languages, Feodor F. Dragan, Kent State University 1 CHAPTER 5 Reducibility Contents Undecidable Problems from Language Theory.
Chapter 11: Limitations of Algorithmic Power
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 22 Instructor: Paul Beame.
ASP vs. Prolog like programming ASP is adequate for: –NP-complete problems –situation where the whole program is relevant for the problem at hands èIf.
Classical Planning Chapter 10.
Computability and Modeling Computation What are some really impressive things that computers can do? –Land the space shuttle (and other aircraft) from.
Themes of Presentations Rule-based systems/expert systems (Catie) Software Engineering (Khansiri) Fuzzy Logic (Mark) Configuration Systems (Sudhan) *
Zvi Kohavi and Niraj K. Jha 1 Capabilities, Minimization, and Transformation of Sequential Machines.
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice A. J. Gonzalez and D. D. Dankel.
CMPS 3223 Theory of Computation Automata, Computability, & Complexity by Elaine Rich ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Slides provided.
Domain-Independent Plan Adaptation Héctor Muñoz-Avila Department of Computer Science and Engineering Lehigh University USA.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
Complexity of Classical Planning Megan Smith Lehigh University CSE 497, Spring 2007.
Review Byron Gao. Overview Theory of computation: central areas: Automata, Computability, Complexity Computability: Is the problem solvable? –solvable.
February 18, 2015CS21 Lecture 181 CS21 Decidability and Tractability Lecture 18 February 18, 2015.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
Pushdown Automata (PDAs)
Space Complexity. Reminder: P, NP classes P NP is the class of problems for which: –Guessing phase: A polynomial time algorithm generates a plausible.
Planning, page 1 CSI 4106, Winter 2005 Planning Points Elements of a planning problem Planning as resolution Conditional plans Actions as preconditions.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Case study of Several Case Based Reasoners Sandesh.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
CS 682, AI:Case-Based Reasoning, Prof. Cindy Marling1 Chapter 11: Adaptation Methods and Strategies Adaptation is the process of modifying a close, but.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
ANALOGY “A Program for the Solution of a Class of Geometric-Analogy Intelligence-Test Questions” Thomas G. Evans 1968.
Automated Planning Dr. Héctor Muñoz-Avila. What is Planning? Classical Definition Domain Independent: symbolic descriptions of the problems and the domain.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
NP-Complete Problems Algorithm : Design & Analysis [23]
1 Chapter 3 Complexity of Classical Planning. 2 Review: Classical Representation Function-free first-order language L Statement of a classical planning.
Systems Analysis and Design 8th Edition
(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 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Chapter 15 P, NP, and Cook’s Theorem. 2 Computability Theory n Establishes whether decision problems are (only) theoretically decidable, i.e., decides.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Space Complexity. Reminder: P, NP classes P is the class of problems that can be solved with algorithms that runs in polynomial time NP is the class of.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, CA
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of.
© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
Automated Planning & Computer Games: Perspectives and Applications
SNS College of Engineering Department of Computer Science and Engineering AI Planning Presented By S.Yamuna AP/CSE 5/23/2018 AI.
Introduction Defining the Problem as a State Space Search.
Alternating tree Automata and Parity games
Presentation transcript:

General Purpose Case-Based Planning

General Purpose vs Domain Specific (Case-Based) Planning General purpose: symbolic descriptions of the problems and the domain. The (adaptation) generation rules are the same Domain Specific: The (adaptation) generation rules depend on the particular domain Advantage: - opportunity to have clear semantics Disadvantage: - symbolic description requirement Advantage: - can be very efficient Disadvantage: - lack of clear semantics - knowledge-engineering for adaptation (Case-Based) Planning: finding a sequence of actions to achieve a goal

Transformational adaptation: structural transformations are made to the plans Derivational transformation: Derivational vs Transformational Adaptation Case Replay: re-applying those decisions relative to the new problem Case: Plan step Case: sequence of planning decisions that led to the plan:

Domain Specific: Chef Cases contain cooking recipes (plans) and there are rules indicating how to transform pieces of the recipes Typical transformation rules will indicate alternative ingredients and what steps need to be added/changed to adapt the recipe (Hammond, 1986) Example: if using broccoli instead of beans the cooking time need to be adjusted. The cases contain domain-knowledge and transformational adaptation is performed

Generative Solution Adaptation If we have operators/rules with general knowledge about the domain why do we need adaptation? To find the solution faster To find solutions that are similar to the original case, why?  Solutions may be more acceptable to the user  Attempt to preserve quality

General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table) (on B C) (on A B) (clear A) A C BC B A Initial stateGoals ( Ke Xu )

General-Purpose Planning: Operators ?y ?x No block on top of ?x transformation ?y ?x … … No block on top of ?y nor ?x Operator: (Unstack ?x) Preconditions: (on ?x ?y) (clear ?x) Effects: –Add: (on ?x table) (clear ?y) –Delete: (on ?x ?y) On table

Planning: Search Space A C B ABC AC B C B A B A C B A C BC A C A B A C B B C A AB C A B C A B C ( Michael Moll )

Planning: Formal Definition Planning problem: a tuple  =  P,O,I,G  P: a finite set of ground atoms  Let L = {all possible literals}, i.e., L = P  {  p : p  P} O: a finite set of operators of the form Pre  Post  Pre  L and Post  L are the preconditions and effects I  P is the initial state G  L is the goal move-C-from-A-to-Table Precondition: (and (on C A) (clear C)) Effect: (and (on C Table) (  (on C A)) (clear A))

Complexity of Plan Generation Plan Solution: Given a planning problem,  =  P,O,I,G  we will like to find the plan  that solves  For complexity analysis, need to encode plan solution as a decision problem  a problem that has a yes/no answer PLAN-EXISTENCE (  ):  Given a planning problem  =  P,O,I,G , does there exist a plan  that solves  ? Theorem. PLAN-EXISTENCE (  ) is NP-Complete

Complexity of Plan Adaptation Conservative plan-modification:  Given a planning problem  =  P,O,I,G , a plan  that solves , and another planning problem  ' =  P,O,I',G'  Find a plan  ' that solves  ' and reuses as much of  as possible consMODSAT ( , ,  ', k):  Given , , and  ' as above and given a k, is there a plan  ' that solves  ' and contains at least k steps of  ? Theorem. consMODSAT ( , ,  ', k) is P-SPACE

Complexity Issues: NP-Complete Problems are Not the Hardest PSPACE is the set of decision problems that can be solved by a Turing machine using a polynomial amount of memory, and unlimited time A problem P is in PSPACE-complete if:  P is in PSPACE,  every problem P’ in PSPACE can be reduced to P in polynomial time. PSPACE-complete problems are believed to be harder than NP-Complete ones

Complexity of Derivational Analogy Theorem. Derivational Analogy does not perform a conservative adaptation strategy Thus, worst-case analysis for P-SPACE result does not apply to it How do we proof that some property does not hold? Construct a counter-example

Counter-Example Case: New Problem: ` ` ` ` ` ` ??

Homework explain why planning is so hard. Use the search space. Propose a heuristic to guide search. Explain why your proposed heuristic will not work for every case. In slide 20, we define the decision problem consMODSAT for conservative plan-modification defined in the same slide. Define the following:  Plan-modification  The decision problem for plan modification: MODSAT (Hint: see the definition of plan solution and its decision problem PLAN-EXISTENCE in Slide 19) Due: Wednesday April 13