Planning Techniques Planning:The problem of finding some action to achieve some goal System’s Plan:The sequence of such actions is called System’s Plan.

Slides:



Advertisements
Similar presentations
Artificial Intelligence: Knowledge Representation
Advertisements

Planning.
Heuristic Search techniques
1 Computer Group Engineering Department University of Science and Culture S. H. Davarpanah
Cognitive Systems, ICANN panel, Q1 What is machine intelligence, as beyond pattern matching, classification and prediction. What is machine intelligence,
Presentation on Artificial Intelligence
Intelligent Architectures for Electronic Commerce Part 1.5: Symbolic Reasoning Agents.
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.
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.
Plan Generation & Causal-Link Planning 1 José Luis Ambite.
Timed Automata.
Rules, page 1 CSI 4106, Winter 2005 Representing knowledge with rules Points Definitions Production systems Conflict resolution strategies Examples A financial.
CPSC 322, Lecture 5Slide 1 Uninformed Search Computer Science cpsc322, Lecture 5 (Textbook Chpt 3.4) January, 14, 2009.
An Introduction to Artificial Intelligence. Introduction Getting machines to “think”. Imitation game and the Turing test. Chinese room test. Key processes.
Strong Method Problem Solving
1 Classical STRIPS Planning Alan Fern * * Based in part on slides by Daniel Weld.
CPSC 322, Lecture 18Slide 1 Planning: Heuristics and CSP Planning Computer Science cpsc322, Lecture 18 (Textbook Chpt 8) February, 12, 2010.
1 Using Search in Problem Solving Part II. 2 Basic Concepts Basic concepts: Initial state Goal/Target state Intermediate states Path from the initial.
Artificial Intelligence Chapter 11: Planning
1 RBS CS 331/531 Dr M M Awais Production Systems  Symbolic based Rule based system  Based on simple working principle  System consists of:  production.
A Summary of the Article “Intelligence Without Representation” by Rodney A. Brooks (1987) Presented by Dain Finn.
Control and Implementation of State Space Search
Rules and Expert Systems
Gradient Methods Yaron Lipman May Preview Background Steepest Descent Conjugate Gradient.
1 Pertemuan 17 Planning Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
Artificial Intelligence CSC 361
1 Control and Implementation of State Space Search 5 5.0Introduction 5.1Recursion-Based Search 5.2Pattern-directed Search 5.3Production Systems 5.4The.
Behaviour Based approaches to robotics Jeremy Wyatt School of Computer Science University of Birmingham.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Towers of Hanoi. Introduction This problem is discussed in many maths texts, And in computer science an AI as an illustration of recursion and problem.
Nonlinear Planning Lecture Module 9. Nonlinear Planning with Goal Set Generate a plan by doing some work on one goal, then some on another and then some.
Artificial Intelligence: Planning Lecture 6 Problems with state space search Planning Operators A Simple Planning Algorithm (Game Playing)
22/11/04 AIPP Lecture 16: More Planning and Operators1 More Planning Artificial Intelligence Programming in Prolog.
Chapter 2 Problems, Problem Spaces, and Search?
Planning, page 1 CSI 4106, Winter 2005 Planning Points Elements of a planning problem Planning as resolution Conditional plans Actions as preconditions.
Dept. of Computer Science University of Rochester Rochester, NY By: James F. Allen, Donna K. Byron, Myroslava Dzikovska George Ferguson, Lucian Galescu,
Lecture 7: Uninformed Search Dr John Levine Algorithms and Complexity February 13th 2006.
1 Search vs. planning Situation calculus STRIPS operators Search vs. planning Situation calculus STRIPS operators.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
Alternative Wide Block Encryption For Discussion Only.
1 Solving problems by searching 171, Class 2 Chapter 3.
Automated Reasoning Early AI explored how to automated several reasoning tasks – these were solved by what we might call weak problem solving methods as.
Schreiber, Yevgeny. Value-Ordering Heuristics: Search Performance vs. Solution Diversity. In: D. Cohen (Ed.) CP 2010, LNCS 6308, pp Springer-
Introduction to Planning Dr. Shazzad Hosain Department of EECS North South Universtiy
Advanced Problem Solving Systems: Planning  In order to solve nontrivial problems, it is necessary to combine 1.Basic problem solving strategies 2.Knowledge.
Advanced Problem Solving Systems: Planning Lecture Module 8.
Chapter 5 Constraint Satisfaction Problems
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
Introduction to Artificial Intelligence CS 438 Spring 2008.
Domain Model A representation of real-world conceptual classes in a problem domain. The core of object-oriented analysis They are NOT software objects.
Introduction to Artificial Intelligence (G51IAI) Dr Rong Qu Blind Searches - Introduction.
RULES Patty Nordstrom Hien Nguyen. "Cognitive Skills are Realized by Production Rules"
Forward and Backward Chaining
CPSC 322, Lecture 5Slide 1 Uninformed Search Computer Science cpsc322, Lecture 5 (Textbook Chpt 3.5) Sept, 13, 2013.
CSCE 552 Fall 2012 AI By Jijun Tang. Homework 3 List of AI techniques in games you have played; Select one game and discuss how AI enhances its game play.
Artificial Intelligence Knowledge Representation.
ASSEMBLY AND DISASSEMBLY: AN OVERVIEW AND FRAMEWORK FOR COOPERATION REQUIREMENT PLANNING WITH CONFLICT RESOLUTION in Journal of Intelligent and Robotic.
Artificial Intelligence Solving problems by searching.
Introduction Defining the Problem as a State Space Search.
STATE SPACE REPRESENTATION
L11. Planning Agents and STRIPS
STATE SPACE REPRESENTATION
Graphplan/ SATPlan Chapter
Russell and Norvig: Chapter 11 CS121 – Winter 2003
Graphplan/ SATPlan Chapter
Chapter 12 cognitive models.
Chapter 2 Problems, Problem Spaces, and Search?
On your whiteboards: Solve this equation 4a + 5 = 29 4a = 24 a = 6.
Presentation transcript:

Planning Techniques Planning:The problem of finding some action to achieve some goal System’s Plan:The sequence of such actions is called System’s Plan

Means – Ends Analysis (MEA) MEA is a simple planning method in AI. “It is a technique which, rather than blindly searching through all possible actions, focuses on actions that reduce the difference between the current state an the target state”

Algorithm: To find-plan (initial state, Target state) If all the goals in target state are true in initial state then succeed Otherwise 1.Select an unresolved goals fro target state 2.Find an action that adds goal to the current-state 3.Enable action by finding a plan (PREPLAN) that activeness its pre conditions i.e., find-plan (initial state, pre conditions.) Let Mid-state 1 be the result of applying that plan to initial state. 4.Apply action to Mid state 1 to give Mid state 1 to give Mid state 2 5.Find a plan (post plan) from Mid state 2 to target state 6.Return a plan consisting of Preplan, Action, and Post Plan

Example: “To pick a book from the Cupboard” Preplan:To walk to the Cupboard Action:To pick the book from Cupboard Post Plan:To walk back to the Original place. Target State Initial ActionPost Plan Mid State ‘2’ Mid State ‘1’ State Preplan

Example Target:Box with Sarah in Room A, with her ROBOT Initial State: Sarah and Robot in Room A Door between A and B closed Box in Room B Problem Representation As a List: (All are true) [at(robot, Room A), at (Box, Room B), at (Sarah, Room A), door-closed(Room A, Room B)] [T,T,T.T] (All are true) AB Box Sarah Sarah’s Robot

Target: [at(Box, Room A), at (Sarah, Room A), at (robot,( Room A), door-closed(Room A, Room B)] We need to define certain actions: Operators Open(Room B, Room A), move (Room A, Room B), Carry(Room B, Room A, Box), close(Room B, Room A). Box AB Open the door move pick break

Each Operator will have certain  Pre conditions to be applied  And will have have certain effects ExamplePre-conditionsEffects Open(Room A, Room Bat(Robot, Room A door-closed(Room A, Room B)door-open (Room A, Room B). Move(Room A, Room B)at(Robot, Room A) door-open(Room A, Room B)at(Robot, Room B)

Production Systems -Important Tool for:-search algo -modeling human problem solving -Consist of:-production rules -working memory -recognise-act control Cycle.

Production Rules (Productions) -Is a Condition – Action Pair Defines the associated problem-solving Step. Pattern that Determines when To apply rule

Working Memory -Contains the description of current state -This is compared with the production to determine the type of action required. (Always changes when productions are applied)

Recognise – Act Cycle Initialise Working Memory Productions - Conditions Conflict Set Conflict Resolution (if the two match) (one pattern taken at a time) (Enabled) Production - (Fired)

Conflict Set Productions can only fire when conditions in production- conditions are matched in the working memory (WM). If they match a subset of productions is formed called Conflict Set. ”Part of Production That Are Enabled” Conflict Resolution: It chooses a rule from conflict set for firing. Selection of any rule may be based on complex rule selection heuristics.

Pure Production Systems Systems in which no conflict resolution remains. All conflicts are resolved A Production System WM Patterns G A1 GA2 - Pattern Action

Example: Production Set: 1.baab 2.caac 3.cbbcThe methods condition # 3 Working Memory=acbcc Pattern Conflict Set=‘3’ Rule fired=3 abccc

Production Set: 1.p ^ qgoal 2.r ^ sp 3.w ^ rq 4.t ^ uq 5.Vs 6.Startv ^ y ^ q Data Driven Search in Production System

Functions of Robot Arm:- goto(X,Y,Z) pickup(W) Put down(W) Stack(U,V) Unstack(U,V) Predicate Calculus and Planning State: location(A, X,Y,Z) on(b, a) clear(b) gripping( ) On table(c) e d b ac Block World

1.Ontable(a)on(b,a)clear(b) 2.Ontable(c)on(e,d)clear(c) 3.Ontable(d)gripping(\)clear(e) State of the World Representation e d b ac State 1 Ontable(a)on(b,a)clear(b) Ontable(c)on(c)clear(d) Ontable(d)gripping(e)clear(e) e d b ac State 2

We define Pre conditions(P) Add(A) Delete(D) e.g., Using Production System P:gripping()^clear(x) ^ on table(x) may not be necessary A:gripping(x) D:on table(x)^ gripping(). may be replaced by on (X,Y) Pick up(X)

1.Ontable(a)on(b,a)clear(b) 2.Ontable(c)on(e,d)clear(c) 3.Ontable(d)gripping(\)clear(e) State of the World Representation e d b ac State 1 Ontable(a)on(b,a)clear(b) Ontable(c)on(c)clear(d) Ontable(d)gripping(e)clear(e) e d b ac State 2

If in order to achieve some goal, other increases the computation sub goals are distributedload may send misleading signals to the control section Goals Program of Incompatible Sub goals e d b ac On(b,a)^ on(a,c)^ on*d,e) Already truetrue Note: In order to reach goal on (b,a) has to be undone and then done again e d b a c Goal 1 Incompatible Goals

Black Board Architecture This extends production systems Organises Working Memory in to Modules It lumps separate “Production Rules” into single AGENTS

Black Board Architecture Is used when coordination of multiple processes or knowledge sources is required Example Multiple Sensing Problem Sensor S1:Alone does not significant information

Black Board: Is a central global database for the communication of independent asynchronous knowledge sources focusing on related aspects of a particular problem. Knowledge Source: (KS) Gets data from the black board Processes the data Returns it to the black board

Summary Of The System Knowledge Sources: Contains a set of independent modules called knowledge sources that contains the system domain special knowledge Black Board: A Black Board, which is the shared data structure through which the knowledge sources communicate with each other Control System: A control system which determines the order in which KSs will operate on the entries o the Board

Hearsay – II (Erman et.al 1980) One of the first developed project AIMED at speech recognition system