Brad Clement and Ed Durfee Artificial Intelligence Laboratory

Slides:



Advertisements
Similar presentations
Pat Langley Computational Learning Laboratory Center for the Study of Language and Information Stanford University, Stanford, California USA
Advertisements

Practical Planning: Scheduling and Hierarchical Task Networks Chapter CS 63 Adapted from slides by Tim Finin and Marie desJardins.
Lecture 7 Multi-Agent Systems Lecture 7 University “Politehnica” of Bucarest Adina Magda Florea
Automatic Verification Book: Chapter 6. What is verification? Traditionally, verification means proof of correctness automatic: model checking deductive:
Classical Planning via Plan-space search COMP3431 Malcolm Ryan.
Planning with Resources at Multiple Levels of Abstraction Brad Clement, Tony Barrett, Gregg Rabideau Artificial Intelligence Group Jet Propulsion Laboratory.
Temporal Action Logic for Question Answering in an Adventure Game Temporal Action Logic for Question Answering in an Adventure Game Martin Magnusson and.
Computing & Information Sciences Kansas State University Lecture 20 of 42 CIS 530 / 730 Artificial Intelligence Lecture 20 of 42 Introduction to Classical.
(c) 2007 Mauro Pezzè & Michal Young Ch 7, slide 1 Symbolic Execution and Proof of Properties.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
CoABS Grid Component: MultiLevel Coordination Agent Edmund H. Durfee (PI) Brad Clement, Pradeep Pappachan, and Jeff Cox (GSRAs) University of Michigan.
Agent Mediated Grid Services in e-Learning Chun Yan, Miao School of Computer Engineering Nanyang Technological University (NTU) Singapore April,
Performance of Coordinating Concurrent Hierarchical Planning Agents Using Summary Information Brad Clement and Ed Durfee University of Michigan Artificial.
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.
Multilevel Coordination Mechanisms for Real-Time Autonomous Agents Edmund H. Durfee (PI) Brad Clement and Pradeep Pappachan (RAs) University of Michigan.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
1 Abstract Reasoning for Multiagent Coordination and Planning Bradley J. Clement.
Homework 1 ( Written Portion )  Max : 75  Min : 38  Avg : 57.6  Median : 58 (77%)
Using Abstraction in Multi-Rover Scheduling Bradley J. Clement and Anthony C. Barrett Artificial Intelligence Group Jet Propulsion Laboratory {bclement,
Planning, page 1 CSI 4106, Winter 2005 Planning Points Elements of a planning problem Planning as resolution Conditional plans Actions as preconditions.
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
Computing & Information Sciences Kansas State University Lecture 21 of 42 CIS 530 / 730 Artificial Intelligence Lecture 21 of 42 Planning: Graph Planning.
For Friday No reading Homework: –Chapter 11, exercise 4.
Partial Order Planning 1 Brian C. Williams J/6.834J Sept 16 th, 2002 Slides with help from: Dan Weld Stuart Russell & Peter Norvig.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Computing & Information Sciences Kansas State University Monday, 23 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 25 of 42 Monday, 23 October.
Computing & Information Sciences Kansas State University Friday, 20 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 24 of 42 Friday, 20 October.
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
1 CMSC 471 Fall 2002 Class #24 – Wednesday, November 20.
ADVANCED PLANNING TECHNIQUES Dr. Adam Anthony Lecture 22.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
CSE573 Autumn /11/98 Planning Administrative –PS3 due 2/23 –Midterm Friday Last time –regression planning algorithm –introduction to plan-space.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Using Abstraction to Coordinate Multiple Robotic Spacecraft Brad Clement, Tony Barrett, Gregg Rabideau Artificial Intelligence Group Jet Propulsion Laboratory.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Design rules.
Learning Fast and Slow John E. Laird
Planning as Search State Space Plan Space Algorihtm Progression
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
EA C461 – Artificial Intelligence Logical Agent
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Introduction Contents Sungwook Yoon, Postdoctoral Research Associate
Dana S. Nau University of Maryland 1:50 AM September 14, 2018
Knowledge Representation
High-Level Abstraction of Concurrent Finite Automata
Brad Clement and Ed Durfee Artificial Intelligence Laboratory
Problem Solving and Searching
ECE 667 Synthesis and Verification of Digital Circuits
Searching for Solutions
CIS 488/588 Bruce R. Maxim UM-Dearborn
Problem Solving and Searching
An Introduction to Software Architecture
Class #20 – Wednesday, November 5
Supplement Beyond Computation
Artificial Intelligence Chapter 17. Knowledge-Based Systems
CHAPTER I. of EVOLUTIONARY ROBOTICS Stefano Nolfi and Dario Floreano
Chapter 7 design rules.
Chapter 7 design rules.
Chapter 7 design rules.
Artificial Intelligence Chapter 17 Knowledge-Based Systems
UNINFORMED SEARCH -BFS -DFS -DFIS - Bidirectional
Brad Clement and Ed Durfee University of Michigan
Major Design Strategies
Major Design Strategies
Chapter 7 design rules.
Class #17 – Tuesday, October 30
Basic Search Methods How to solve the control problem in production-rule systems? Basic techniques to find paths through state- nets. For the moment: -
Transactions, Properties of Transactions
Eyal Amir (UC Berkeley) Barbara Engelhardt (UC Berkeley)
Presentation transcript:

Theory for Coordinating Hierarchical Planning Agents Using Summary Information Brad Clement and Ed Durfee Artificial Intelligence Laboratory University of Michigan {bradc, durfee}@umich.edu

Multi-level Coordination & Planning DA DA A B DB B DB DA DA A A B DB B DB blocked temporal constraints

Hierarchical Planning and Concurrent Execution Hierarchical plans (e.g. HTNs) abstract plans as promising classes of long-term activity incremental refinement to specific actions conditional (contingency) plans robust execution systems (PRS, RAPS, JAM) Concurrent execution plan merging/coordination temporal reasoning and planning Need to avoid costly, irreversible decisions that result in failure or backtracking Need to reason about concurrent interactions of abstract plans without dealing with entire decompositions

Interleaving Planning, Execution, and Coordination Reason about plans at abstract levels in order to make safe decisions and avoid backtracking summarize conditions for potential decompositions develop mechanisms for determining how plans can or might interact coordinate hierarchical plans at abstract levels commit to safe abstract plans, refine, and execute

Improving Coordination & Planning Complete at high level using summary information to gain flexibility in execution Better solutions may exist at lower levels Summary information aids in pruning subplans to resolve threats New theory deals with concurrent execution crisper solutions lower coordination cost coordination levels more flexibility

Reasoning at Abstract Levels Can Improve Performance DA DB Total Cost top-level best BFS algorithm mid-level best primitive-level best Computation Cost Execution Cost

Concurrent Hierarchical Plans (CHiPs) pre, in, & postconditions - sets of literals for a set of propositions type - and, or, primitive subplans - execute all for and, one for or; empty for primitive order - conjunction of point or interval relations B - before DA A B B B DB B B B B B

CHiP Executions, Histories, and Runs Plan execution e = < ts, tf, d > preconds hold at ts, postconds at tf, and inconds within (ts, tf) decomposition d is a set of subplan executions constrained by order History h = < E, sI > E - set of plan executions sI - initial state before any execution Run r : H    S r(h, 0) = sI postconds asserted at tf inconds asserted just after ts B B E = { , , , } sI E = { , , , }

Asserting, Clobbering, Achieving, Undoing e asserts in/postcondition l at t e achieves precondition l of e' e clobbers pre/in/postcondition l of e' e undoes postcondition l of e' must - for all executions in all histories may - for some execution in some history l l e e' l l e e' l l e e' e e' l l e e' l l l l e' e l l

Summary Information must, may always, sometimes first, last pre: at(A,1,3) in: at(A,1,3), at(B,1,3), at(B,0,3), at(A,0,3), at(B,0,4), at(A,1,3) post: at(A,1,3), at(B,1,3), at(B,0,3), at(A,0,4), at(A,0,3), at(B,0,3), at(B,0,4) 1,3->0,4HI must, may always, sometimes first, last external preconditions external postconditions 1,3->0,3 0,3->0,4 pre: at(A,1,3) in: at(A,1,3), at(B,1,3), at(B,0,3) post: at(A,0,3), at(A,1,3), at(B,1,3), at(B,0,3) pre: at(A,0,3) in: at(A,0,3), at(B,0,3), at(B,0,4) post: at(A,0,4), at(A,0,3), at(B,0,3), at(B,0,4) 1 2 3 4 pre: at(A,1,3) in: at(A,1,3), at(B,1,3), at(B,0,3), at(B,1,4), at(A,0,3), at(A,1,4), at(B,0,4), at(A,1,3) post: at(A,1,3), at(B,1,3), at(B,0,3), at(A,0,4), at(A,0,3), at(A,1,4), at(B,0,3), at(B,1,4), at(B,0,4) 1,3->0,4 DA A 1 1,3->0,4HI 1,3->0,4LO DB 2 B

Deriving Summary Information Recursive procedure bottoming out at primitives Derived from those of immediate subplans O(n2c2) for n plans in hierarchy and c conditions in each set of pre, in, and postconditions Proven procedures for determining must/may - achieve/undo/clobber Properties of summary conditions are proven based on procedure

Determining Temporal Relations CanAnyWay(relation, psum, qsum) - relation can hold for any way p and q can be executed MightSomeWay(relation, psum, qsum) - relation might hold for some way p and q can be executed A B DA DB B - before O - overlaps CanAnyWay(before, psum, qsum) ØCanAnyWay(overlaps, psum, qsum) MightSomeWay(overlaps, psum, qsum)

Determining Temporal Relations among Abstract Plans CanAnyWay(order, Psum) - all executions succeed for all plans with summary info Psum for all histories MightSomeWay(order, Psum) - all executions succeed for some set of plans with summary info Psum for some history Psum is a set of summary information for a group of plans order is a conjunction of point/interval relation constraints CAW and MSW are proven sound and complete Proof takes advantage of must-clobber and may-clobber Rules identify threats to resolve (resources in contention)

Top-Down Search search state search operators set of expanded plans set of temporal constraints set of blocked subplans search operators expand, block, constrain CAW used to identify solutions MSW used to identify failure CAW and MSW improve search CAW and MSW synchronize, look deeper, or backtrack MSW identifies threats to resolve blocked temporal constraints blocked

Summary of Contributions General model of concurrent interaction of hierarchical plans Formalization of planning concepts Proven properties of summary information Sound and complete rules for determining temporal relations Toolbox for building sound and complete planning and coordination mechanisms

Work in Progress & Future Work Constructing a concurrent hierarchical planner Coordinating overlapping goals Adopting other agents’ plans/goals Dealing with global plan failure during execution Summarizing plan information differently (probabilistic) Handling more expressive plan representations Scaling number of agents and difficulty of coordination Interleaving planning, execution, and coordination

Complexity of Deriving Summary Information # plans n = O(bd) at level d-1, bd-1 · b2c2 compares at level d-2, bd-2 · b2(c+bc)2 compares O((bd-i · b2(c+bi-1c)2)) = O(b2c2 · (bd-i · b2i-2)) = O(b2c2 · (bd+i-2)) = O(b2c2 · b2d-2)) = O(b2dc2) = O(n2c2) . . . d . . . i = 1 . . . depth d # conditions c . . . branching factor b

Difficulty of CAW and MSW Rule Specification 1 A MSW(overlaps, psum, qsum) false if postconditions conflict unsound false if conflicts with pin and qpre  qin or ppost and qin where pin is set of must, always inconds of p not achieved by inconds of q ppost is set of postconds of p qpre is set of must preconds of q not achieved by in- or postconds of p qin is set of must, always inconds of p not achieved by inconds of p O - overlaps 1 B 2 pre: at(A,0,0) in: at(A,0,0), at(A,0,0), at(A,0,1), at(A,0,1), at(A,1,1), at(B,0,0), at(B,0,1), at(B,1,1), at(B,1,0) post: at(A,0,0), at(A,0,1), at(A,1,1), at(A,1,0), at(B,0,0), at(B,0,1), at(B,1,1), at(B,1,0) pre: at(B,2,0) in: at(B,2,0), at(B,2,0), at(B,2,1), at(B,2,1), at(B,1,1), at(A,2,0), at(A,2,1), at(A,1,1), at(A,1,0) post: at(B,2,0), at(B,2,1), at(B,1,1), at(B,1,0), at(A,2,0), at(A,2,1), at(A,1,1), at(A,1,0)