Object Transition Sequences: A New Form of Abstraction for HTN Planners Lee McCluskey Computing Science Dept, The University.

Slides:



Advertisements
Similar presentations
Knowledge Engineering for Planning Domain Design Ron Simpson University of Huddersfield.
Advertisements

Practical Planning: Scheduling and Hierarchical Task Networks Chapter CS 63 Adapted from slides by Tim Finin and Marie desJardins.
Representing Boolean Functions for Symbolic Model Checking Supratik Chakraborty IIT Bombay.
Semantics Static semantics Dynamic semantics attribute grammars
Hierarchical Task Network (HTN) Planning Hai Hoang 4/17/2007.
Models of Concurrency Manna, Pnueli.
Constraint Based Reasoning over Mutex Relations in Graphplan Algorithm Pavel Surynek Charles University, Prague Czech Republic.
SHOP2: An HTN Planning System Nau, D.S., Au, T.C., Ilghami, O., Kuter, U., Murdock, J.W., Wu, D. and Yaman, F. (2003) "SHOP2: An HTN Planning System",
Opmaker2: Efficient Action Schema Acquisition T.L.McCluskey, S.N.Cresswell, N. E. Richardson and M.M.West The University of Huddersfield,UK
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
INTRODUCTION COMPUTATIONAL MODELS. 2 What is Computer Science Sciences deal with building and studying models of real world objects /systems. What is.
School of Computing and Mathematics, University of Huddersfield The Induction of Operator Descriptions from Examples and Structural Domain Knowledge Lee.
Using Search in Problem Solving
GIPO II: HTN Planning in a Tool- supported Knowledge Engineering Environment Lee McCluskey Donghong Liu Ron Simpson Department of Computing and Mathematical.
Knowledge and Systems Research Group, University of Huddersfield B vs OCL: Comparing Specification Languages for Planning Domains Diane Kitchin, Lee McCluskey,
Algorithms and Problem Solving-1 Algorithms and Problem Solving.
Performance of Coordinating Concurrent Hierarchical Planning Agents Using Summary Information Brad Clement and Ed Durfee University of Michigan Artificial.
Brent Dingle Marco A. Morales Texas A&M University, Spring 2002
Real-time Computer Vision with Scanning N-Tuple Grids Simon Lucas Computer Science Dept.
1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.
Algorithms and Problem Solving. Learn about problem solving skills Explore the algorithmic approach for problem solving Learn about algorithm development.
School of Computing and Mathematics, University of Huddersfield An Interactive Method for Inducing Operator Descriptions Lee McCluskey Beth Richardson.
PDDL: A Language with a Purpose? Lee McCluskey Department of Computing and Mathematical Sciences, The University of Huddersfield.
Research Summary Adi Botea Computer Go Seminar, 29/09/2003.
School of Computing and Mathematics, University of Huddersfield Knowledge Engineering: Issues for the Planning Community Lee McCluskey Department of Computing.
Privacy Preserving Data Mining Yehuda Lindell & Benny Pinkas.
School of Computing and Mathematics, University of Huddersfield PDDL and other languages.. Lee McCluskey Department of Computing and Mathematical Sciences,
Universal Plans for Reactive Robots in Unpredictable Environments By M.J. Schoppers Presented by: Javier Martinez.
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
Data Structures Lecture-1:Introduction
Introduction SWE 619. Why Is Building Good Software Hard? Large software systems enormously complex  Millions of “moving parts” People expect software.
Modeling of ADLs in its Environment for Cognitive Assistance Jérémy Bauchet and André Mayers.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
June 27, 2002 HornstrupCentret1 Using Compile-time Techniques to Generate and Visualize Invariants for Algorithm Explanation Thursday, 27 June :00-13:30.
Invariant Based Programming in Education Tutorial, FM’08 Linda Mannila
CS654: Digital Image Analysis Lecture 3: Data Structure for Image Analysis.
Do you drive? Have you thought about how the route plan is created for you in the GPS system? How would you implement a cross-and- nought computer program?
Stephen P. Carl - CS 2421 Recursion Reading : Chapter 4.
Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces (1996) L. Kavraki, P. Švestka, J.-C. Latombe, M. Overmars.
Analysis of algorithms Analysis of algorithms is the branch of computer science that studies the performance of algorithms, especially their run time.
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
University of Crete Department of Computer Science ΗΥ-561 Web Data Management XML Data Archiving Konstantinos Kouratoras.
Book: Bayesian Networks : A practical guide to applications Paper-authors: Luis M. de Campos, Juan M. Fernandez-Luna, Juan F. Huete, Carlos Martine, Alfonso.
Reading and Writing Mathematical Proofs Spring 2015 Lecture 4: Beyond Basic Induction.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
Automating DAML-S Web Services Composition Using SHOP2 Based on an article by Dan Wu, Bijan Parsia, Evren Sirin, James Hendler and Dana Nau in Proceedings.
CSCI 4310 Lecture 2: Search. Search Techniques Search is Fundamental to Many AI Techniques.
Building Abstractions with Variables (Part 1) CS 21a: Introduction to Computing I First Semester,
Artificial Intelligence Lecture No. 6 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
(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)
Static Techniques for V&V. Hierarchy of V&V techniques Static Analysis V&V Dynamic Techniques Model Checking Simulation Symbolic Execution Testing Informal.
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
1 CMSC 471 Fall 2002 Class #24 – Wednesday, November 20.
Bayesian Optimization Algorithm, Decision Graphs, and Occam’s Razor Martin Pelikan, David E. Goldberg, and Kumara Sastry IlliGAL Report No May.
1 An infrastructure for context-awareness based on first order logic 송지수 ISI LAB.
Quantified Data Automata on Skinny Trees: an Abstract Domain for Lists Pranav Garg 1, P. Madhusudan 1 and Gennaro Parlato 2 1 University of Illinois at.
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
Dan Roth University of Illinois, Urbana-Champaign 7 Sequential Models Tutorial on Machine Learning in Natural.
SNS College of Engineering Department of Computer Science and Engineering AI Planning Presented By S.Yamuna AP/CSE 5/23/2018 AI.
(ITI310) SESSIONS 6-7-8: Active Directory.
Artificial Intelligence
*current controlled assessment plans are unknown
SAT-Based Area Recovery in Technology Mapping
Lecture 7: Introduction to Parsing (Syntax Analysis)
Class #20 – Wednesday, November 5
Market-based Dynamic Task Allocation in Mobile Surveillance Systems
Authors: Barry Smyth, Mark T. Keane, Padraig Cunningham
CSC 321: Data Structures Fall 2018
Brad Clement and Ed Durfee University of Michigan
Class #17 – Tuesday, October 30
Presentation transcript:

Object Transition Sequences: A New Form of Abstraction for HTN Planners Lee McCluskey Computing Science Dept, The University of Huddersfield, UK

Contents Research Aims Background: the domain modelling language OCLh The HTN Planning Algorithm EMS

Problems In applications involving non-toy domain models, traditional htn/Strips domain modelling languages seem to lead to –trouble in building and reasoning with models and planners –models which are hard to validate There have been various recent advances in planning (e.g. advance in expression by UCPOP, in efficiency by Graphplan) but not much effort in harnessing domain STRUCTURE.

General Aims Our general work on “object-centred planning” is aimed at: Making domain model building easier making domain models clearer making the algorithms simpler to understand At the heart is a simple, tool-supported hierarchical language called OCLh which can be used in conjunction with a design method.

Specific Aims Introduce a new HTN algorithm called EMS (Expand - Make - Sound) EMS based on the use of “transition sequences” Transition sequences based on OCLh

OCLh: States and Objects Truck; t-1; at(city-1), moveable, busy(pk-2) S-2 ; j-2 ; ss-2 S-3 ; j-3 ; ss STATE = list of object descriptions SORT; OB-ID; SUBSTATE object descriptions

OCLh: Sort Hierarchy truck ; t-1; at(t-1,city1-cl1) & moveable(t-1) & busy(t-1,pk-2) Truck; T; moveable(T) & busy(T,package) or moveable(T) or out-of-service(T) vehicle; V; at(V,location)

OBJECT and CLASS Expressions truck ; t-1; at(t-1,city1-cl1) & moveable(t-1) & busy(t-1,pk-2) vehicle ; V; at(V,C) & busy(V,P) & in-city(C,city1) truck ; T; at(T,C) & moveable(T) & busy(T,P) Object description Class expression: must include full hierarchical components Object expression: satisfied by at least one substate

OCLh: ACTIONS and TRANSITIONS Train ; t-1; at(city1-ts1), in-service, attached(c-2) Car ; c-2; at(city1-ts1), attached(t-1), busy, State-1 Train ; t-1; at(city2-ts1), in-service, attached(c-2) Car ; c-2; at(city2-ts1), attached(t-1), busy,.. State

GUARDED TRANSITION SEQUENCES TRANSITION: OBJECT EXPRESSION => CLASS EXPRESSION GUARDED TRANSITION SEQUENCE: (SORT,OBJ-PARAM,PRE,[oe-1 => ce-1,...,oe-N => ce-N], POST) SOUND GUARDED TRANSITION SEQUENCE: For any object description that satisfies the precondition, the transition sequence will result in an object that satisfies the post-condition.

Example (truck,T, [at(T,C),movable(T),available(T)] [ [movable(T),available(T)] => [movable(T),busy(T,pk-2)], [at(T,C),movable(T)] => [at(T,city3-cl1)], [at(T,city3-cl1),movable(T)] => [at(T,city3-cl1), movable(T),busy(T,pk-2)], [at(T,city3-cl1),movable(T)] => [at(T,city1-cl1)], [at(T,city1-cl1), movable(T),busy(T,pk-2)] => [at(T,city1-cl1), movable(T),available(T)] ], [at(T,city1-cl1), movable(T),available(T)] )

Hierarchical Operators GENERAL FORM (ID, PRE, TRANSITIONS, STATICS, TEMPS, DECOMPOSITION) EXAMPLE: (carry-direct(P,O,D), [ ], [ (package, P, [at(P,O), waiting(P), certified(P)] => [at(P,D), waiting(P), certified(P)] )] [is-of-sort(P,package), is-of-sort(V,truck), in-city(O,CY), in-city(D,CY) ], [before(1,3), before(2,3), before(3,4), before(4,5)], [commission(V,P), achieve((truck,V,[at(V,O)])), load-package(P,V,O), move(V,O,D,R1), unload-package(P,V,D) ] )

Summary: an OCLh Domain Model DOMAIN MODEL = OBJECTS; SORT HIERARCHY; CLASS EXPRESSIONS; ATOMIC INVARIANTS; GENERAL INVARIANTS; PRIMITIVE OPERATORS; HIERARCHICAL OPERATORS

The EMS Algorithm: Input and Output ( [ achieve(ss(traincar,traincar1,[at(traincar1,city1-ts1)])), transport(pk-5-z,city3-cl1-z,city2-cl1), achieve(ss(package,pk-5,[at(pk-5,X),delivered(pk-5)] )) ], [before(1,3)], [serves(X,city3-x)] ) - INPUT TASK: ( BODY, TEMPS, STATICS) - EXAMPLE TASK: OUTPUT: a solution - a partially ordered/instantiated set of primitive ops

EMS: Search Space PARTIAL PLAN = (NETWORKS, STATICS) NETWORKS is TREE STRUCTURED: ROOT NETWORK NODE NETWORK LEAF NETWORK

EMS: Operation Network = (Id, Pre, Post, Steps, Temps) Each non-root Network comes from a Step in its parent Network A Network is SOUND if all its guarded transition sequences are sound, where –Pre and Post contain the guards –all sequences are those that satisfy Temps

EMS: Operation Outline Algorithm: –1. Construct and store an initial partial plan using initial state and task as usual –2. Choose a partial plan P; If all networks in P are sound and contain primitive operators, go to 6. –3. If all networks in P are sound, expand leaf networks by replacing hierarchical ops with their expansions –4. If some networks in P are not sound, make them sound by manipulating their pre- and post-conditions; if this introduces new objects into the guards, these must be ‘passed-up’ –5. Go to 2 –6. Extract a solution from P’s network leaves

EMS: Example Network A0 P0 B0 B5 P1 N2P2 A5 P3 A1 B1 N3A2 A3N4 A4 EXPANSION OF STEP N3: A1 B1 A6 V1 B2 N5 A7 V2 B3 V3 N6 V4 A2 SOUND NETWORK:

EMS: Network Made Sound A0 P0 B0 V7 B5 P1 N2P2 A5 P3 B6 V6 A1 B1 V0 N3A2 B4 V5 A3N4 A4 NETWORK MADE SOUND: A1 B1 V0 A6 V1 B2 N5 A7 V2 B3 V3 N6 V4 A2 B4 V5

EMS uses another form of abstraction.. The EMS Algorithm draws on the LINK between: Operator Structure, Substate Class Structure, and Transition Sequences

EMS: EVALUATION Theoretical –current algorithm proved sound –current algorithm not complete Empirical –tried out on Translog-derived domains of varying complexity (results in paper)

Conclusions The main innovation in the EMS algorithm - –sound algorithm with the potential of application to complex applications –object transitions correspond, in general, to the sequential parts of a plan. This allows the pre and post-conditions of transitions in a network to be efficiently computed, and these conditions can be used as guards in reasoning within higher-level networks. –the sort-abstraction technique means that we only consider transitions of a related sort when reasoning about soundness. –reasoning about the soundness of transition sequences is essential done locally - at no time does EMS have to consider the soundness of the whole plan at a global level.

Future Work EMS is new and requires a great deal of development. One development would be to make it very generic so that it could be (automatically) configured to various domains. Through the PLANFORM project we will be applying EMS to some complex ‘real’ applications