Prof. Pushpak Bhattacharyya, IIT Bombay

Slides:



Advertisements
Similar presentations
CS344 : Introduction to Artificial Intelligence
Advertisements

CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10– Club and Circuit Examples.
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.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 7– Predicate Calculus and Knowledge Representation.
TWEAK solving the Sussman anomaly ON(A,B) ON(B,C) ON(C,A) ONTABLE(A) ONTABLE(B) CLEAR(C) CLEAR(B) ARMEMPTY STACK(A,B) STACK(B,C) Two step additions to.
Planning Chapter 10.
Planning Planning is fundamental to “intelligent” behaviour. E.g.
All rights reserved ©L. Manevitz Lecture 61 Artificial Intelligence Planning System L. Manevitz.
Sussman anomaly - analysis The start state is given by: ON(C, A) ONTABLE(A) ONTABLE(B) ARMEMPTY The goal by: ON(A,B) ON(B,C) This immediately leads to.
Planning Russell and Norvig: Chapter 11 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/ home.htm.
Artificial Intelligence II S. Russell and P. Norvig Artificial Intelligence: A Modern Approach Chapter 11: Planning.
1 Chapter 4 State-Space Planning. 2 Motivation Nearly all planning procedures are search procedures Different planning procedures have different search.
Planning Some material adapted from slides by Tim Finin,Jean-Claude Latombe, Lise Getoor, and Marie desJardins.
1 Classical STRIPS Planning Alan Fern * * Based in part on slides by Daniel Weld.
CPSC 322 Introduction to Artificial Intelligence November 19, 2004.
Planning Russell and Norvig: Chapter 11. Planning Agent environment agent ? sensors actuators A1A2A3.
CPSC 322 Introduction to Artificial Intelligence November 26, 2004.
1 Planning Adapted from Tim Finin, UMBC, Marie desJardins Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
1 Lecture 12 example (from slides prepared by Prof. J. Rosenchein)
Planning Where states are transparent and actions have preconditions and effects Notes at
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 21– Predicate Calculus and Knowledge Representation 7 th September,
Intro to AI Fall 2002 © L. Joskowicz 1 Introduction to Artificial Intelligence LECTURE 12: Planning Motivation Search, theorem proving, and planning Situation.
1 Pertemuan 17 Planning Matakuliah: T0264/Intelijensia Semu Tahun: Juli 2006 Versi: 2/1.
1 Action Planning (Where logic-based representation of knowledge makes search problems more interesting) R&N: Chap. 11, Sect. 11.1–4.
Planning Where states are transparent and actions have preconditions and effects Notes at
AI Principles, Lecture on Planning Planning Jeremy Wyatt.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 13– Search.
PLANNING Partial order regression planning Temporal representation 1 Deductive planning in Logic Temporal representation 2.
An Introduction to Artificial Intelligence CE Chapter 11 – Planning Ramin Halavati In which we see how an agent can take.
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.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
CS344 : Introduction to Artificial Intelligence
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 17, 18: Predicate Calculus 15.
CS.462 Artificial Intelligence SOMCHAI THANGSATHITYANGKUL Lecture 07 : Planning.
1.  Provides the ability to access individual assertions. e.g. in Predicate calculus we may say: P denotes “It rained on Tuesday” but in predicate calculus.
CPS 270: Artificial Intelligence Planning Instructor: Vincent Conitzer.
1 Search vs. planning Situation calculus STRIPS operators Search vs. planning Situation calculus STRIPS operators.
CPS 570: Artificial Intelligence Planning Instructor: Vincent Conitzer.
1 Chapter 16 Planning Methods. 2 Chapter 16 Contents (1) l STRIPS l STRIPS Implementation l Partial Order Planning l The Principle of Least Commitment.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
1/16 Planning Chapter 11- Part1 Author: Vali Derhami.
Koen HindriksMulti-Agent Systems 2012 Introduction Agent Programming Koen Hindriks Delft University of Technology, The Netherlands Learning to program.
Intelligent Systems Planning.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 13– Search 17 th August, 2010.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture /08/05 Prof. Pushpak Bhattacharyya Fuzzy Logic Application.
Planning in FOL Systems sequences of actions to achieve goals.
CS621: Artificial Intelligence Pushpak Bhattacharyya Computer Science and Engineering Department IIT Bombay Lecture 19: Hidden Markov Models.
Ch. 11 – Planning Supplemental slides for CSE 327 Prof. Jeff Heflin.
1 Planning Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–6: Propositional calculus, Semantic Tableau, formal System 2 nd August,
CS621: Artificial Intelligence
An Introduction to Artificial Intelligence CE 40417
Planning Chapter 16.
L9. Planning Agents L7_exAnswer and explanation Review
Combined Lecture CS621: Artificial Intelligence (lecture 19) CS626/449: Speech-NLP-Web/Topics-in-AI (lecture 20) Hidden Markov Models Pushpak Bhattacharyya.
Introduction Contents Sungwook Yoon, Postdoctoral Research Associate
Introduction Defining the Problem as a State Space Search.
CS344 : Introduction to Artificial Intelligence
CS344 : Introduction to Artificial Intelligence
AI Planning.
L11. Planning Agents and STRIPS
Planning Chapter
CPSC 322 Introduction to Artificial Intelligence
CS621: Artificial Intelligence
CS344 : Introduction to Artificial Intelligence
Russell and Norvig: Chapter 11 CS121 – Winter 2003
CS621: Artificial Intelligence
CMSC 471 Fall 2002 Class #20/21/23 – Wednesday, November 6 / Monday, November 11 / Monday, November 18.
L9. STRIPS Examples Recursive STRIPS Block world
CS621: Artificial Intelligence
Presentation transcript:

Prof. Pushpak Bhattacharyya, IIT Bombay CS 621 Artificial Intelligence Lecture 31 - 25/10/05 Prof. Pushpak Bhattacharyya Planning 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Planning Definition : Planning is arranging a sequence of actions to achieve a goal. Uses core areas of AI like searching and reasoning & Is the core for areas like NLP, Computer Vision. Robotics Examples : Navigation , Manoeuvring, Language Processing (Generation) Kinematics (ME) Planning (CSE) 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Language & Planning Non-linguistic representation for sentences. Sentence generation Word order determination (Syntax planning) E.g. I see movie ( English) I movie see (Intermediate Language) see agent object I movie 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay STRIPS Stanford Research Institute Problem Solver (1970s) Planning system for a robotics project : SHAKEY (by Nilsson et.al.) Knowledge Representation : First Order Logic. Algorithm : Forward chaining on rules. Any search procedure : Finds a path from start to goal. Forward Chaining : Data-driven inferencing Backward Chaining : Goal-driven 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Forward & Backward Chaining Rule : man(x)  mortal(x) Data : man(Shakespeare) To prove : mortal(Shakespeare) Forward Chaining: man(Shakespeare) matches LHS of Rule. X = Shakespeare mortal( Shakespeare) added Forward Chaining used by design expert systems Backward Chaining: uses RHS matching - Used by diagnostic expert systems 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Example : Blocks World STRIPS : A planning system – Has rules with precondition deletion list and addition list Robot hand Robot hand A C B A B C START GOAL Sequence of actions : Grab C Pickup C Place on table C Grab B Pickup B 6. Stack B on C Grab A Pickup A Stack A on B 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Example : Blocks World Fundamental Problem : The frame problem in AI is concerned with the question of what piece of knowledge is relevant to the situation. Fundamental Assumption : Closed world assumption If something is not asserted in the knowledge base, it is assumed to be false. (Also called “Negation by failure”) 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Example : Blocks World STRIPS : A planning system – Has rules with precondition deletion list and addition list Robot hand Robot hand A C B A B C START GOAL on(B, table) on(A, table) on(C, A) hand empty clear(C) clear(B) on(C, table) on(B, C) on(A, B) hand empty clear(A) 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Rules R1 : pickup(x) Precondition & Deletion List : hand empty, on(x,table), clear(x) Add List : holding(x) R2 : putdown(x) Precondition & Deletion List : holding(x) Add List : hand empty, on(x,table), clear(x) 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Rules R3 : stack(x,y) Precondition & Deletion List :holding(x), clear(y) Add List : on(x,y), clear(x) R4 : unstack(x,y) Precondition & Deletion List : on(x,y), clear(x) Add List : holding(x), clear(y) 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Plan For the given problem, Start  Goal can be achieved by the following sequence : Unstack(C,A) Putdown(C) Pickup(B) Stack(B,C) Pickup(A) Stack(A,B) Problem solving & planning – different steps Execution of a plan : achieved through a data structure called Triangular Table. 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Triangular Table on(C,A) 1 clear(C) hand empty unstack(C,A) holding(C) putdown(C) 2 3 on(B,table) hand empty pickup(B) 4 clear(C) holding(B) stack(B,C) on(A,table) clear(A) hand empty pickup(A) 5 6 clear(B) holding(A) stack(A,B) on(C,table) on(B,C) on(A,B) 7 clear(A) 1 2 3 4 5 6 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Triangular Table For n operations in the plan, there are : (n+1) rows : 1  n+1 (n+1) columns : 0  n At the end of the ith row, place the ith component of the plan. The row entries for the ith rule contain the pre-conditions for the ith operation. The column entries for the jth column contain the add list for the rule on the top. The <i,j> th cell (where 1 ≤ i ≤ n+1 and 0≤ j ≤ n) contain the pre-conditions for the ith operation that are added by the jth operation. The first column indicates the starting state and the last row indicates the goal state. 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Search Start Ex: Blocks world Triangular table leads to some amount of fault-tolerance in the robot Pickup(B) Unstack(C,A) S1 S2 NOT ALLOWED C A A B A B C C B START WRONG MOVE 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay

Prof. Pushpak Bhattacharyya, IIT Bombay Planning After a wrong operation, can the robot come back to the right path ? i.e. after performing a wrong operation, if the system again goes towards the goal, then it has resilience w.r.t. that operation Advanced planning strategies Hierarchical planning Probabilistic planning Constraint satisfaction 25-10-05 Prof. Pushpak Bhattacharyya, IIT Bombay