Planning Search vs. planning STRIPS operators Partial-order planning

Slides:



Advertisements
Similar presentations
Knowledge Representation using First-Order Logic
Advertisements

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.
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.
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.
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.
CS 561, Session Planning Search vs. planning STRIPS operators Partial-order planning.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
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.
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
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.
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.
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.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
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.
EA C461 Artificial Intelligence
Planning Chapter 16.
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 (AIMA Ch. 10) Planning problem defined Simple planning agent
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 José Luis Ambite.
Logical Agents Chapter 7.
L11. Planning Agents and STRIPS
Planning Chapter
Knowledge and reasoning – second part
Warm-up: What is the relationship between number of constraints and number of possible solutions? In other words, as the number of the constraints increases,
Causal-link planning 2 Jim Blythe.
Knowledge Representation I (Propositional Logic)
Supplemental slides for CSE 327 Prof. Jeff Heflin
Representations & Reasoning Systems (RRS) (2.2)
Presentation transcript:

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

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 20

Example: Robot Manipulators Example: (courtesy of Martin Rohrmeier) Puma 560 Kr6 CS 561, Session 20

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

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 20

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 Like popping from a stack CS 561, Session 20

Search vs. planning CS 561, Session 20

Search vs. planning CS 561, Session 20

Planning in situation calculus CS 561, Session 20

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 20

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 20

STRIPS operators Graphical notation: CS 561, Session 20

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 20

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

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

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 20

Partially ordered plans CS 561, Session 20

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 B means “A achieves c for B” c CS 561, Session 20

POP algorithm sketch CS 561, Session 20

POP algorithm (cont.) CS 561, Session 20

Clobbering and promotion/demotion CS 561, Session 20

Example: block world CS 561, Session 20

Example (cont.) CS 561, Session 20

Example (cont.) CS 561, Session 20

Example (cont.) CS 561, Session 20

Example (cont.) CS 561, Session 20