DOC PREVIEW
Pitt CS 2710 - Lecture

This preview shows page 1-2-3-4 out of 12 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1CS 2710 Foundations of AICS 2710 Foundations of AILecture 14Milos [email protected] Sennott SquarePlanning CS 2710 Foundations of AIAdministration• Midterm exams– Mean: 77.75– Median: 78.5– FOL, translation of English to FOL and proof of theorems by resolution refutation (Problem 6) the main problem• The results of the tic-tac-toe competition2CS 2710 Foundations of AITic-tac-toe player competition• 1 Swapna Somasundaran• 2 Amruta Parundare• 3 Chang LiuCS 2710 Foundations of AIPlanningPlanning problem:• find a sequence of actions that achieves some goal • An instance of a search problemMethods for modeling and solving a planning problem:• Classic State space search• Situation calculus based on FOL– Search by proving the theorem– Inference rules or Resolution refutation approaches• STRIPS – a restricted FOL language– More efficient (goal progression and goal regression)– Partial order planners (plan space search3CS 2710 Foundations of AIPlanning problemsProperties of many (real-world) planning problems:• The description of the state of the world is very complex• Many possible actions to apply in any step• Actions are typically local – - they affect only a small portion of a state description• Goals are defined as conditions referring only to a small portion of state• Plans consists of a large number of actionsThe state space search and situation calculus frameworks may be too cumbersome and inefficient to represent and solve the planning problemsCS 2710 Foundations of AISolutions• Complex state description and local action effects:– avoid the enumeration and inference of every state component, focus on changes only• Many possible actions:– Apply actions that make progress towards the goal– Understand what the effect of actions is and reason with the consequences• Sequences of actions in the plan can be too long:– Many goals consists of independent or nearly independent sub-goals– Allow goal decomposition & divide and conquer strategies4CS 2710 Foundations of AISTRIPS planner• Defines a more restricted FOL-based representation language as compared to the situation calculusAdvantage: leads to more efficient planning algorithms.– State-space search with structured representations of states, actions and goals– Action representation avoids the frame problemSTRIPS planning problem:• much like a standard search (planning) problem;CS 2710 Foundations of AISTRIPS planner• States:– conjunction of literals, e.g. On(A,B), On(B,Table), Clear(A)– represent facts that are true at a specific point in time• Actions (operators):– Action: Move (x,y,z)– Preconditions: conjunctions of literals with variablesOn(x,y), Clear(x), Clear(z)– Effects. Two lists:• Add list: On(x,z), Clear(y)• Delete list: On(x,y), Clear(z)• Everything else remains untouched (is preserved)5CS 2710 Foundations of AISTRIPS planningOperator: Move (x,y,z)• Preconditions: On(x,y), Clear(x), Clear(z)• Add list: On(x,z), Clear(y)• Delete list: On(x,y), Clear(z)),( CBOn),( TableAOn),( TableCOn)( AClear)(BClear)(CClear)(TableClear),( TableBOn),( TableAOn),( TableCOn)( AClear)(BClear)(TableClearunchangeddeleteadd),,( CTableBMoveABCA B CCS 2710 Foundations of AISTRIPS planningInitial state:• Conjunction of literals that are trueGoals in STRIPS:• A goal is a partially specified state• Is defined by a conjunction of ground literals– No variables allowed in the description of the goalExample:On(A,B) On(B,C)∧6CS 2710 Foundations of AISearch in STRIPSObjective:Find a sequence of operators (a plan) from the initial state to the state satisfying the goalTwo approaches to build a plan:• Forward state space search (goal progression)– Start from what is known in the initial state and apply operators in the order they are applied• Backward state space search (goal regression)– Start from the description of the goal and identify actions that help to reach the goalCS 2710 Foundations of AIDivide and conquer • Divide and conquer strategy:– divide the problem to a set of smaller sub-problems, – solve each sub-problem independently– combine the results to form the solution In planning we would like to satisfy a set of goals• Divide and conquer in planning:– Divide the planning goals along individual goals– Solve (find a plan for) each of them independently– Combine the plan solutions in the resulting plan7CS 2710 Foundations of AIState space vs. plan space search• An alternative to planning algorithms that search states (configurations of world)• Plan: Defines a sequence of operators to be performed• Partial plan:– plan that is not complete • Some plan steps are missing– some orderings of operators are not finalized• Only relative order is given • Benefits of working with partial plans:– We do not have to build the sequence from the initial state or the goal – We do not have to commit to a specific action sequence– We can work on sub-goals individually (divide and conquer)CS 2710 Foundations of AIState-space vs. plan-space search0s1s2sSTRIPSoperatorPlan transformationoperatorsState(set of formulas)Incomplete(partial) planState-space searchPlan-space searchStart Finish8CS 2710 Foundations of AIPartial order planning.• Search the space of partial plans •POP: is sound and complete for STRIPSIncomplete(partial) planStart Finish CS 2710 Foundations of AIHierarchical plannersExtension of STRIPS planners. • Example planner: ABSTRIPS. Idea:• Assign a criticality level to each conjunct in preconditions list of the operator• Planning process refines the plan gradually based on criticalitythreshold, starting from the highest criticality value:– Develop the plan ignoring preconditions of criticality less than the criticality threshold value (assume that preconditions for lower criticality levels are true)– Lower the threshold value by one and repeat previous step9CS 2710 Foundations of AITowers of HanoiStart position Goal positionHierarchical planningthe largest disk – criticality level 2Assume:the medium disk – criticality level 1the smallest disk – criticality level 0CS 2710 Foundations of AIHierarchical planningLevel 2Level 1Level 010CS 2710 Foundations of AIPlanning with incomplete informationSome conditions relevant for planning can be:– true, false or unknownExample:• Robot and the block is in Room 1• Goal: get the block to Room 4• Problem: The door


View Full Document

Pitt CS 2710 - Lecture

Documents in this Course
Learning

Learning

24 pages

Planning

Planning

25 pages

Load more
Download Lecture
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?