CS 561, Session 22-23 1 Planning Search vs. planning STRIPS operators Partial-order planning.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Language for planning problems
CSE391 – 2005 NLP 1 Planning The Planning problem Planning with State-space search.
1 Planning Chapter CMSC 471 Adapted from slides by Tim Finin and Marie desJardins. Some material adopted from notes by Andreas Geyer-Schulz,
Planning II: Partial Order Planning
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Causal-link Planning II José Luis Ambite. 2 CS 541 Causal Link Planning II Planning as Search State SpacePlan Space AlgorithmProgression, Regression POP.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
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.
UIUC CS 497: Section EA Lecture #2 Reasoning in Artificial Intelligence Professor: Eyal Amir Spring Semester 2004.
Situation Calculus for Action Descriptions We talked about STRIPS representations for actions. Another common representation is called the Situation Calculus.
Plan Generation & Causal-Link Planning 1 José Luis Ambite.
Propositional Logic Reading: C , C Logic: Outline Propositional Logic Inference in Propositional Logic First-order logic.
Logic.
Artificial Intelligence II S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Chapter 11: Planning.
Planning Search vs. planning STRIPS operators Partial-order planning.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
CS 460, Session 20 1 Planning Search vs. planning STRIPS operators Partial-order planning.
Artificial Intelligence Chapter 11: Planning
CS 561, Sessions Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms.
CS 460, Sessions Knowledge and reasoning – second part Knowledge representation Logic and representation Propositional (Boolean) logic Normal forms.
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.
1 Planning Chapters 11 and 12 Thanks: Professor Dan Weld, University of Washington.
Planning Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
For Wednesday Read chapter 12, sections 3-5 Program 2 progress due.
1 07. The planning problem 2  Inputs: 1. A description of the world state 2. The goal state description 3. A set of actions  Output: A sequence of actions.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 07 : Planning.
CS 188: Artificial Intelligence Logical Agents Instructor: Stuart Russell University of California, Berkeley.
Planning, page 1 CSI 4106, Winter 2005 Planning Points Elements of a planning problem Planning as resolution Conditional plans Actions as preconditions.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Logical Agents Logic Propositional Logic Summary
For Monday Read chapter 12, sections 1-2 Homework: –Chapter 10, exercise 3.
1 Search vs. planning Situation calculus STRIPS operators Search vs. planning Situation calculus STRIPS operators.
For Friday Finish chapter 10 No homework. Program 2 Any questions?
For Friday No reading Homework: –Chapter 11, exercise 4.
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 17 Wednesday, 01 October.
1 Logical Agents CS 171/271 (Chapter 7) Some text and images in these slides were drawn from Russel & Norvig’s published material.
Planning (Chapter 10)
Lecture 3-1CS251: Intro to AI/Lisp II Planning to Learn, Learning to Plan.
Partial Order Planning 1 Brian C. Williams J/6.834J Sept 16 th, 2002 Slides with help from: Dan Weld Stuart Russell & Peter Norvig.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Partial Order Plan Execution 1 Brian C. Williams J/6.834J Sept. 16 th, 2002 Slides with help from: Dan Weld Stuart Russell & Peter Norvig.
1/16 Planning Chapter 11- Part1 Author: Vali Derhami.
Classical Planning Chapter 10 Mausam / Andrey Kolobov (Based on slides of Dan Weld, Marie desJardins)
Planning I: Total Order Planners Sections
Consider the task get milk, bananas, and a cordless drill.
Logical Agents Chapter 7 Part I. 2 Outline Knowledge-based agents Wumpus world Logic in general - models and entailment Propositional (Boolean) logic.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
Causal-link planning 1 Jim Blythe. 2 USC INFORMATION SCIENCES INSTITUTE Causal Link Planning The planning problem Inputs: 1. A description of the world.
Ch. 7 – Logical Agents Supplemental slides for CSE 327 Prof. Jeff Heflin.
CLASSICAL PLANNING. Outline  The challenges in planning with standard search algorithm  Representing Plans – the PDDL language  Planning as state -
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Planning (Chapter 10) Slides by Svetlana Lazebnik, 9/2016 with modifications by Mark Hasegawa-Johnson, 9/2017
CS 4700: Foundations of Artificial Intelligence
Knowledge and reasoning – second part
L9. Planning Agents L7_exAnswer and explanation Review
For Wednesday Read Chapter 18, sections 1-3 Homework:
Planning (Chapter 10)
Planning Search vs. planning STRIPS operators Partial-order planning
EA C461 – Artificial Intelligence Logical Agent
Planning (Chapter 10)
Consider the task get milk, bananas, and a cordless drill
Planning Search vs. planning STRIPS operators Partial-order planning
Planning Search vs. planning STRIPS operators Partial-order planning
Planning José Luis Ambite.
L11. Planning Agents and STRIPS
Knowledge and reasoning – second part
Causal-link planning 2 Jim Blythe.
Presentation transcript:

CS 561, Session Planning Search vs. planning STRIPS operators Partial-order planning

CS 561, Session What we have so far Can TELL KB about new percepts about the world KB maintains model of the current world state Can ASK KB about any fact that can be inferred from KB How can we use these components to build a planning agent, i.e., an agent that constructs plans that can achieve its goals, and that then executes these plans?

CS 561, Session Remember: Problem-Solving Agent Note: This is offline problem-solving. Online problem-solving involves acting w/o complete knowledge of the problem and environment tion

CS 561, Session Simple planning agent Use percepts to build model of current world state IDEAL-PLANNER: Given a goal, algorithm generates plan of action STATE-DESCRIPTION: given percept, return initial state description in format required by planner MAKE-GOAL-QUERY: used to ask KB what next goal should be

CS 561, Session A Simple Planning Agent function SIMPLE-PLANNING-AGENT(percept) returns an action static: KB, a knowledge base (includes action descriptions) p, a plan (initially, NoPlan) t, a time counter (initially 0) local variables:G, a goal current, a current state description TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t)) current  STATE-DESCRIPTION(KB, t) if p = NoPlan then G  ASK(KB, MAKE-GOAL-QUERY(t)) p  IDEAL-PLANNER(current, G, KB) if p = NoPlan or p is empty then action  NoOp else action  FIRST(p) p  REST(p) TELL(KB, MAKE-ACTION-SENTENCE(action, t)) t  t+1 return action

CS 561, Session Search vs. planning

CS 561, Session Search vs. planning

CS 561, Session Planning in situation calculus

CS 561, Session Basic representation for planning Most widely used approach: uses STRIPS language states: conjunctions of function-free ground literals (I.e., predicates applied to constant symbols, possibly negated); e.g., At(Home)   Have(Milk)   Have(Bananas)   Have(Drill) … goals: also conjunctions of literals; e.g., At(Home)  Have(Milk)  Have(Bananas)  Have(Drill) but can also contain variables (implicitly universally quant.); e.g., At(x)  Sells(x, Milk)

CS 561, Session Planner vs. theorem prover Planner: ask for sequence of actions that makes goal true if executed Theorem prover: ask whether query sentence is true given KB

CS 561, Session STRIPS operators Graphical notation:

CS 561, Session Types of planners Situation space planner: search through possible situations Progression planner: start with initial state, apply operators until goal is reached Problem: high branching factor! Regression planner: start from goal state and apply operators until start state reached Why desirable? usually many more operators are applicable to initial state than to goal state. Difficulty: when want to achieve a conjunction of goals Initial STRIPS algorithm: situation-space regression planner

CS 561, Session State space vs. plan space Search space of plans rather than of states.

CS 561, Session Operations on plans Refinement operators: add constraints to partial plan Modification operator: every other operators

CS 561, Session Types of planners Partial order planner: some steps are ordered, some are not Total order planner: all steps ordered (thus, plan is a simple list of steps) Linearization: process of deriving a totally ordered plan from a partially ordered plan.

CS 561, Session Partially ordered plans

CS 561, Session Plan We formally define a plan as a data structure consisting of: Set of plan steps (each is an operator for the problem) Set of step ordering constraints e.g., A  B means “A before B” Set of variable binding constraints e.g., v = x where v variable and x constant or other variable Set of causal links e.g., A Bmeans “A achieves c for B” c

CS 561, Session POP algorithm sketch

CS 561, Session POP algorithm (cont.)

CS 561, Session Clobbering and promotion/demotion

CS 561, Session Example: block world

CS 561, Session Example (cont.)

CS 561, Session Example (cont.)

CS 561, Session Example (cont.)

CS 561, Session Example (cont.)