AI – Week 16 Machine Learning Applied to AI Planning Lee McCluskey, room 2/09

Slides:



Advertisements
Similar presentations
Knowledge Engineering for Planning Domain Design Ron Simpson University of Huddersfield.
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.
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.
State Transition Systems  linear planning  bounded model checking  conditional planning  model checking  state transition description languages: oPDDL.
AI – Week 17 Machine Learning Applied to AI Planning: LOCM Lee McCluskey, room 2/09
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Opmaker2: Efficient Action Schema Acquisition T.L.McCluskey, S.N.Cresswell, N. E. Richardson and M.M.West The University of Huddersfield,UK
PLANSERVE – An Intelligent Problem Solving Grid Lee McCluskey and Ron Simpson Artform Research Group, Department of Computing And Mathematical Sciences.
AI – Week 5 Implementing your own AI Planner in Prolog – part II : HEURISTICS Lee McCluskey, room 2/09
AI – Week 11 AI and Games (3) Lee McCluskey, room 2/09
1 Classical STRIPS Planning Alan Fern * * Based in part on slides by Daniel Weld.
AI – Week 23 – TERM 2 Machine Learning and Natural Language Processing Lee McCluskey, room 3/10
Utilizing Problem Structure in Local Search: The Planning Benchmarks as a Case Study Jőrg Hoffmann Alberts-Ludwigs-University Freiburg.
Problem Solving and Search in AI Part I Search and Intelligence Search is one of the most powerful approaches to problem solving in AI Search is a universal.
ICKEP International Competition for Knowledge Engineering in Planning - A PROPOSAL Lee McCluskey KE TCU.
AI - Week 13 Knowledge Representation, Logic, Semantic Web Lee McCluskey, room 2/07
CPSC 322 Introduction to Artificial Intelligence October 29, 2004.
Search Problems Russell and Norvig: Chapter 3, Sections 3.1 – 3.3 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/home.htm by Prof. Jean-Claude.
AI – Week AI Planning – Plan Generation Algorithms: GraphPlan Lee McCluskey, room 2/09
The Semantic Web: Implications for Future Intelligent Systems Lee McCluskey, Artform Research Group, Department of Computing And Mathematical Sciences,
Knowledge and Systems Research Group, University of Huddersfield B vs OCL: Comparing Specification Languages for Planning Domains Diane Kitchin, Lee McCluskey,
Sensemaking and Ground Truth Ontology Development Chinua Umoja William M. Pottenger Jason Perry Christopher Janneck.
AI Week 22 Machine Learning Data Mining Lee McCluskey, room 2/07
1 Learning from Behavior Performances vs Abstract Behavior Descriptions Tolga Konik University of Michigan.
Lee McCluskey, University of Huddersfield - EKAW'04 Knowledge Formulation for AI Planning Lee McCluskey Ron Simpson Artform research group Department of.
GIPO [Graphical Interface for Planning with Objects] Demonstration case-tool for Knowledge Engineering to support Domain Independent Planning Ron Simpson.
AI – Week 5 An Introduction to AI Planning Lee McCluskey, room 2/07
PDDL: A Language with a Purpose? Lee McCluskey Department of Computing and Mathematical Sciences, The University of Huddersfield.
The Automated Refinement of a Requirements Domain Theory Lee McCluskey co-researchers: Margaret West Beth Richardson Department of Computing and Mathematical.
AI - Week 24 Uncertain Reasoning (quick mention) then REVISION Lee McCluskey, room 2/07
The Semantic Web Week 18: Part 4 Introduction to Web Services and Intelligent Web Agents Module Website: Practical.
AI – Week 8 AI + 2 Player Games Lee McCluskey, room 3/10
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
School of Computing and Mathematics, University of Huddersfield Knowledge Engineering: Issues for the Planning Community Lee McCluskey Department of Computing.
School of Computing and Mathematics, University of Huddersfield Week 21: Knowledge Acquisition / GIPO Lee McCluskey, room 2/09
Classical Planning via State-space search COMP3431 Malcolm Ryan.
AI – Week 10 AI and Games (2) Lee McCluskey, room 3/10
Formal Aspects of Computer Science - Week11 Real Application of Logic Lee McCluskey, room 2/07
HW6: Planning. PDDL Planning Domain Description Language Based on STRIPS with various extensions Originally defined by Drew McDermott (Yale) and others.
Ch1 AI: History and Applications Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2011.
Week 6: PDDL, itSIMPLE and running “state of the art” planners Lee McCluskey, room 3/10
1 Intelligent Systems ISCRAM 2013 Validating Procedural Knowledge in the Open Virtual Collaboration Environment Gerhard Wickler AIAI, University.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
 Knowledge Acquisition  Machine Learning. The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
CHA2555 Week2: Knowledge Representation, Logic and Planning Lee McCluskey First term:
Introduction to search Chapter 3. Why study search? §Search is a basis for all AI l search proposed as the basis of intelligence l inference l all learning.
Introduction to search Chapter 3. Why study search? §Search is a basis for all AI l search proposed as the basis of intelligence l all learning algorithms,
Stephen Flockton.  What is my Project?  What is Planning?  Advantages and Disadvantages of Planning.  Description of the Product.  Product Demonstration.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
AI – Week 5 More on HEURISTICS and domain modelling Lee McCluskey, room 2/09
(Classical) AI Planning. General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table)
Natural Language Processing AI Revision Lee McCluskey, room 2/07
Of An Expert System.  Introduction  What is AI?  Intelligent in Human & Machine? What is Expert System? How are Expert System used? Elements of ES.
We Have Not Yet Begun to Learn Rich Sutton AT&T Labs.
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, CA
The Semantic Web Week 16 Knowledge Engineering – Real Example Module Website: Practical this week: Protégé-2000 WITH.
AI – Week 3 An Introduction to AI Planning Lee McCluskey, room 3/10
Search Control.. Planning is really really hard –Theoretically, practically But people seem ok at it What to do…. –Abstraction –Find “easy” classes of.
1 Artificial Intelligence & Prolog Programming CSL 302.
Progression in KS3/4 Algorithms MONDAY 30 TH NOVEMBER SUE SENTANCE.
HW5: Planning. PDDL Planning Domain Description Language Based on STRIPS with various extensions Originally defined by Drew McDermott (Yale) and others.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
SNS College of Engineering Department of Computer Science and Engineering AI Planning Presented By S.Yamuna AP/CSE 5/23/2018 AI.
HW3: Planning.
HW5: Planning.
Architecture Components
Planning CSE 573 A handful of GENERAL SEARCH TECHNIQUES lie at the heart of practically all work in AI We will encounter the SAME PRINCIPLES again and.
Russell and Norvig: Chapter 3, Sections 3.1 – 3.3
Presentation transcript:

AI – Week 16 Machine Learning Applied to AI Planning Lee McCluskey, room 2/09

Artform Research Group Machine Learning applied to AI Planning 2 main ways --- n Refining the knowledge you already have Automated Skill Acquisition - learning heuristics / macros. Make planners generate plans more quickly, generate better plans, solve problems they couldn’t solve before. n Gaining new knowledge from the environment Automated Knowledge Acquisition: learning the domain model. Make planners be able to plan in new environments by eg inducing operator schema from example plans

Artform Research Group Part 1: Refining the knowledge you already have n Learning macros cf week 13 – RECALL Example.. move(R,A,B) pre: at(R,A), A \= Beff+: at(R,B) eff-: at(R,A) load(R,C,L) pre: at(R,L), at(C,L) eff+: in(C,R) eff-: at(C,L) unload(R,C,L) pre: at(R,L), in(C,R) eff+: at(C,L) eff-: in(C,R) Planning problem and solution: initial state = at(r1, london), at(r2, london), at(c1,paris), at(c2,paris) goal = in(c1,r1), in(c2,r1) Solution = [move(r1, london, paris), load(r1, c1,paris), load(r1, c1,paris)]

Artform Research Group WP Technique – cf week 13 WP( T, G) = WP'(reverse(T),G) WP'( empty list, G) = G WP'(T,G) = WP'( tail(T), pre(head(T)) U (G \ eff+(head(T))). G = in(c1,r1), in(c2,r1) head(T) = load(r1, c1,paris)]

Artform Research Group WP Technique – cf week 13 WP( T, G) = WP'(reverse(T),G) WP'( empty list, G) = G WP'(T,G) = WP'( tail(T), pre(head(T)) U (G \ eff+(head(T))). G = in(c1,r1), in(c2,r1) head(T) = load(r1, c1,paris)] at(r1,paris), at(c1,paris), in(c2,r1)

Artform Research Group WP Technique – cf week 13 WP( T, G) = WP'(reverse(T),G) WP'( empty list, G) = G WP'(T,G) = WP'( tail(T), pre(head(T)) U (G \ eff+(head(T))). G = in(c1,r1), in(c2,r1) head(T) = load(r, c1,paris)] at(r1,paris), at(c1,paris), in(c2,r1) [load(r1, c1,paris), move(r1,london,paris)] ….

Artform Research Group WP Technique – cf week 13 WP( T, G) = WP'(reverse(T),G) WP'( empty list, G) = G WP'(T,G) = WP'( tail(T), pre(head(T)) U (G \ eff+(head(T))). G = in(c1,r1), in(c2,r1) head(T) = load(r1, c1,paris)] at(r1,paris), at(c1,paris), in(c2,r1) [load(r1, c1,paris), move(r1,london,paris)] …. at(r1,london), london =/ paris, at(c1,paris), at(c2,paris)

Artform Research Group Macro Creation Assemble Macro: (G, WP(T,G), T) Means “to solve G when WP(T,G) is in the initial state, use T” ({in(c1,r1), in(c2,r1)}, {at(r1,london), london =/ paris, at(c1,paris), at(c2,paris)}, [ move(r1, london, paris), load(r1, c1,paris), load(r1, c1,paris) ] ) Generalised Macro: ({in(?c1,?r1), in(?c2,?r1)}, {at(?r1,?1l), ?l1 =/ ?l2, at(?c1,?l2), at(?c2,?l2)}, [ move(?r1, ?l1, ?l2), load(?r1, ?c1,?l2), load(?r1, ?c1,?l2) ] )

Artform Research Group FORWARD, STATE SPACE SEARCH INITIAL STATE A1 A2 A3 SOLUTION NODE

Artform Research Group MACRO USE : FORWARD, STATE SPACE SEARCH WITH MACROS INITIAL STATE Could get to a solution in a one step!! = macro X provides the steps in [A1,A2,A3] So no need for long search. A1 A2 A3 SOLUTION NODE X

Artform Research Group MACRO USE : FORWARD, STATE SPACE SEARCH WITH MACROS - PROBLEMS INITIAL STATE BUT number of instances of (generalised) macros may be huge  This called the UTILITY problem. Machine Learning systems much be CAREFUL in what is learned. A1 A2 A3 SOLUTION NODE X

Artform Research Group Part 2: Gaining New Knowledge From the Environment n Knowledge Acquisition and Knowledge Engineering are processes of eliciting and encoding knowledge in a way that intelligent processes can use effectively. KA/KE are normally done by people. n Some AI programs need an explicit KB and some don’t Before we look at programs that learn by acquiring knowledge for themselves, lets consider what KA/KE mean.

Artform Research Group KA/KE for AI Planning: Terminology DOMAIN = APPLICATION AREA Symbolic World Domain Model Knowledge Engineering (KE) Knowledge Acquisition Domain Model Language Real or Conceptualised World

Artform Research Group General KB created by “manual” KA/KE [(one_or_both_of Segment1 and Segment2 are_flown_at_subsonic_speed) & ( the_Aircraft_on(Segment1) and the_Aircraft_on(Segment2) meet_mnps) & ( the_Aircraft_on(Segment1) and the_Aircraft_on(Segment2) are_jets & (the_Profile_containing(Segment1) & the_Profile_containing(Segment2) are_wholly_or_partly_in_the_ mnps_airspace) ] => [(the_basic_min_longitudinal_sep _Val_in_mins_required_for Segment1 and Segment2) = 10 …. ETC

Artform Research Group Planning KB created by “manual” KA/KE Eg PDDL domain model and problem spec files …………… (:action stack :parameters ( ?P - block ?A - block) :precondition (and (clear ?A) (holding ?P)) :effect (and (not (holding ?P)) (not (clear ?A))(on ?P ?A) )) ……………

Artform Research Group KA/KE in AI Planning KA/KE for planning is hard because: - Its knowledge about CHANGE, rather than static or purely descriptive knowledge i.e. its hard to represent knowledge about time, events, actions, processes etc - Planning is a synthetic task i.e. it puts together or creates something – harder than e.g. diagnosis - KE different from SE because we are trying to encode “rich” data to be acted on by reasoning processes which rely on heuristics or approximation to work.

Artform Research Group Using Machine Learning for KA/KE One Way: Give a learning system a number of PLANS, or let it “observe” plans e.g. fetch_jack jack1 boot1 remove_wheel wheel0 hub0 jack0 jack_up hub1 jack1 Get the learning system to learn the details of the actions by “inducing” the operator schema

Workflow Example (:action remove_wheel :parameters (?Wheel1 - wheel ?Hub2 - hub ?Jack3 - jack) :precondition (and (wheel_state2 ?Wheel1 ?Hub2) (hub_state1 ?Hub2 ?Jack3 ?Wheel1) (jack_state1 ?Jack3 ?Hub2)) :effect (and (wheel_state1 ?Wheel1) (not (wheel_state2 ?Wheel1 ?Hub2)) (hub_state0 ?Hub2 ?Jack3) (not (hub_state1 ?Hub2 ?Jack3 ?Wheel1)) (jack_state0 ?Jack3 ?Hub2) (not (jack_state1 ?Jack3 ?Hub2))) ) Trace of Changing a Car Wheel Meaning of “remove_wheel” Action in Planning-ready format fetch_jack jack1 boot1 remove_wheel wheel0 hub0 jack0 jack_up hub1 jack1 put_on_wheel wheel2 hub0 jack0 fetch_wrench wrench0 boot0 jack_down hub1jack1 putaway_wrench wrench1 boot0 ………………..etc Induction

Inducing Domain Models - Game Example Send to home.. Move to Free cell.... Move to Free Cell.... Move to column.... Send to home... (:action sendtohome : parameters (?card - card ?suit - suitsort ?vcard - denomination ?homecard - card ?vhomecard ?cols ?ncols - denomination) :precondition (and (clear ?card) (bottomcol ?card) (home ?homecard) (suit ?card ?suit) (suit ?homecard ?suit) (value ?card ?vcard) (value ?homecard ?vhomecard) (successor ?vcard ?vhomecard) (colspace ?cols) (successor ?ncols ?cols)) : effect (and (home ?card) (colspace ?ncols) (not (home ?homecard)) (not (clear ?card)) (not (bottomcol ?card)) (not (colspace ?cols)))) Trace of FreeCell Game Meaning of “Send to home” Action in Planning-ready format Induction

Artform Research Group Conclusion n Learning can be classed as Knowledge Refinement (eg learning to perform better) or Knowledge Acquisition (eg learning new domains, new knowledge) n This can be applied to planning: -Knowledge Refinement: Learning macros (this week) -Knowledge Acquisition: Learning PDDL operator schema (next week) [-- or how you can get a program to do your coursework ]