AI Planning in Context AI Planning in the Context of Domain Modelling, Task Assignment and Execution.

Slides:



Advertisements
Similar presentations
1 CoAKTinG – I-X Process Panels I-Space: I-Me, I-Room, I-World I-Tools: I-DE, I-Think, I-Plan, I-AM AIAI, University of Edinburgh
Advertisements

Planning in Context Planning in the Context of Domain Modelling, Task Assignment and Execution
___________________________________________________ Intelligent Planning and Collaborative Systems for Emergency Response
Shared Models of Activity To Underpin Small Unit Operations Austin Tate, Jeff Dalton, John Levine & Peter Jarvis Artificial Intelligence Applications Institute.
AI Planning in Context AI Planning in the Context of Domain Modelling, Task Assignment and Execution.
Chapter 11 user support. Issues –different types of support at different times –implementation and presentation both important –all need careful design.
I-Room : Integrating Intelligent Agents and Virtual Worlds.
PLANSERVE Planning and Scheduling Techniques for the Intelligent Problem Solving Grid Planning and Scheduling Team ISTC-CNR National Research Council of.
Effective Coordination of Multiple Intelligent Agents for Command and Control The Robotics Institute Carnegie Mellon University PI: Katia Sycara
AI Planner Applications Practical Applications of AI Planners.
Information Systems in Organizations
A Decision Support System For Civil Protection Prof. Thanasis Ziliaskopoulos University of Thessaly Hellenic Institute of Transport International Conference.
Modelling with Coloured Petri Nets Søren Christensen Department of Computer Science University of Aarhus.
AUTOMATED PLANNING SOFTWARE: ENABLING TECHNOLOGY FOR (Intelligent) AUTONOMOUS AGENTS Lee McCluskey Professor of Software Technology, Dept of Informatics,
Task analysis 1 © Copyright De Montfort University 1998 All Rights Reserved Task Analysis Preece et al Chapter 7.
Methodology Conceptual Database Design
1 CMPT 275 Software Engineering Requirements Analysis Process Janice Regan,
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 18 Slide 1 Software Reuse.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Artificial Intelligence Dr. Paul Wagner Department of Computer Science University of Wisconsin – Eau Claire.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
G E R A C CONSORTIUM T H E logica EUCLID RTP 6.1 The GRACE Consortium Objective: To accelerate the application of AI techniques and advanced HCI and software.
Chapter 8 Architecture Analysis. 8 – Architecture Analysis 8.1 Analysis Techniques 8.2 Quantitative Analysis  Performance Views  Performance.
1 Intelligent Systems ISCRAM 2013 Validating Procedural Knowledge in the Open Virtual Collaboration Environment Gerhard Wickler AIAI, University.
European Network of Excellence in AI Planning Intelligent Planning & Scheduling An Innovative Software Technology Susanne Biundo.
Knowledge representation
Database System Concepts and Architecture
2131 Structured System Analysis and Design By Germaine Cheung Hong Kong Computer Institute Lecture 2 (Chapter 2) Information System Building Blocks.
Lecture 9: Chapter 9 Architectural Design
Chapter 10 Information Systems Analysis and Design
Chapter 13 Architectural Design
Task Achieving Agents on the World Wide Web An Introduction Sharif Univ. of Tech. Computer Eng. Dep. Semantic Web Course Mohsen Lesani 13 Ord 1374.
SUO Planning & Decision Aids Austin Tate, AIAI, University of Edinburgh David Wilkins, SRI International Capability to communicate, refine, execute and.
1 Systems Analysis and Design in a Changing World, Thursday, January 18, 2007.
Carnegie Mellon Interactive Resource Management in the COMIREM Planner Stephen F. Smith, David Hildum, David Crimm Intelligent Coordination and Logistics.
1 Introduction to Software Engineering Lecture 1.
Ihr Logo Chapter 5 Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization Turban, Aronson, and Liang.
I-Room: a Virtual Space for Intelligent Interaction Low cost, simple setup, mixed-reality meetings spaces and operations centres
©Ferenc Vajda 1 Semantic Grid Ferenc Vajda Computer and Automation Research Institute Hungarian Academy of Sciences.
1 HEDLAMP Kick-Off Meeting Schlumberger Cambridge, 3/4/2012 HEDLAMP (Huddersfield + Edinburgh - Learning and Adaptation of Models for Planning) Gerhard.
Information & Decision Superiority Case studies in applying AI planning technologies to military & civil applications Dr Roberto Desimone Innovations.
Agents that Reduce Work and Information Overload and Beyond Intelligent Interfaces Presented by Maulik Oza Department of Information and Computer Science.
Practical HTN Planning Putting HTN Planning into Use.
___________________________________________________ Intelligent Planning and Collaborative Systems for Emergency Response
Multiagent System Katia P. Sycara 일반대학원 GE 랩 성연식.
16/11/ Semantic Web Services Language Requirements Presenter: Emilia Cimpian
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
‘Activity in Context’ – Planning to Keep Learners ‘in the Zone’ for Scenario-based Mixed-Initiative Training Austin Tate, MSc in e-Learning Dissertation.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications IJCAI-03 MIIS Panel Communication and Awareness.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications A Shared Model for Mixed-initiative Synthesis Tasks.
Using Bayesian Networks to Predict Plankton Production from Satellite Data By: Rob Curtis, Richard Fenn, Damon Oberholster Supervisors: Anet Potgieter,
The Importance of IS Management Chapter 1 Information Systems Management In Practice 5E McNurlin & Sprague.
Slide no 1 Cognitive Systems in FP6 scope and focus Colette Maloney DG Information Society.
The NExt Process Workbench: Towards the Suupport of Dynamic Semantic Web Processes The NExT Process Workbench: Towards the Support of Dynamic Semantic.
CSCI 383 Object-Oriented Programming & Design Lecture 7 Martin van Bommel.
Jessica Chen-Burger Aberdeen/Edinburgh AKT TIE Distributed Knowledge-based Manipulation and Collaboration Jessica Chen-Burger AIAI, University of Edinburgh.
EEL 5937 Multi Agent Systems -an introduction-. EEL 5937 Content What is an agent? Communication Ontologies Mobility Mutability Applications.
Decision Support and Business Intelligence Systems (9 th Ed., Prentice Hall) Chapter 12: Artificial Intelligence and Expert Systems.
Artificial Intelligence
A Mixed-Initiative System for Building Mixed-Initiative Systems Craig A. Knoblock, Pedro Szekely, and Rattapoom Tuchinda Information Science Institute.
I-Room: a Virtual Space for Intelligent Interaction
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Model-Driven Analysis Frameworks for Embedded Systems
MANAGING KNOWLEDGE FOR THE DIGITAL FIRM
Chapter 11 user support.
<I-N-C-A> and the I-Room
Co-OPR – Compendium and I-X
Presentation transcript:

AI Planning in Context AI Planning in the Context of Domain Modelling, Task Assignment and Execution

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Edinburgh AI Planners in Productive Use

Practical AI Planners PlannerReferenceApplications STRIPSFikes & Nilsson 1971Mobile Robot Control, etc. HACKERSussman 1973Simple Program Generation NOAHSacerdoti 1977Mechanical Engineers Apprentice Supervision NONLINTate 1977Electricity Turbine Overhaul, etc. NASLMcDermott 1978Electronic Circuit Design OPMHayes-Roth & Hayes-Roth 1979Journey Planning ISIS-IIFox et. al. 1981Job Shop Scheduling (Turbine Production) MOLGENStefik 1981Experiment Planning in Molecular Genetics DEVISERVere 1983Spacecraft Mission Planning FORBINMiller et al. 1985Factory Control SIPE/SIPE-2Wilkins 1988Crisis Action Planning, Oil Spill Management, etc. SHOP/SHOP-2Nau et al. 1999Evacuation Planning, Forest Fires, Bridge Baron, etc. I-X/I-PlanTate et al. 2000Emergency Response, etc.

Course Reading Review of AI Planners to 1990 Hendler, J.A., Tate, A. and Drummond, M. (1990) “AI Planning: Systems and Techniques”, AI Magazine Vol. 11, No. 2, pp.61-77, Summer 1990, AAAI Press. Knowledge-Based Planners Wilkins, D. E. and desJardins, M. (2001) “A Call for Knowledge-based Planning”, AI Magazine, Vol. 22, No. 1, pp , Spring 2001, AAAI Press. or O-Plan Paper Tate, A. and Dalton, J. (2003) “O-Plan: a Common Lisp Planning Web Service”, invited paper, in Proceedings of the International Lisp Conference 2003, October 12-25, 2003, New York, NY, USA, October 12-15, Optimum-AIV Paper Tate, A. (1996) “Responsive Planning and Scheduling Using AI Planning Techniques – Optimum-AIV”, in “Trends & Controversies – AI Planning Systems in the Real World”, IEEE Expert: Intelligent Systems & their Applications, Vol. 11 No. 6, pp. 4-12, December SHOP/SHOP2 Applications Paper Nau, D., Au, T-C., Ilghami, O., Kuter, U., Wu, D.,Yaman, F., Muñoz-Avila, H., and Murdock, J.W. (2005) Applications of SHOP and SHOP2, IEEE Intelligent Systems, March-April 2005, Vol. 20, No. 2, pp.34-41, Computer Society. Other Practical Planners Ghallab, M., Nau, D. and Traverso, P. (2004) “Automated Planning – Theory and Practice”, Chapters 19, 22 and 23, Elsevier/Morgan Kaufmann.

Origins of some well known AI Planners Hendler, Tate and Drummond, AI Magazine, 1990

Origins of some well known AI Planners

You can view separate larger images of the diagrams if you wish. They are available as resources attached to the lecture.

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Dynamic Planning problem: real world differs from model described by Σ more realistic model: interleaved planning and execution –plan supervision –plan revision –re-planning dynamic planning: closed loop between planner and controller –execution status Planner Controller System Σ Initial State Objectives Description of Σ Events Plans ActionsObservations Execution Status

O-Plan 3 Levels of Agents: Task Assignment, Planning & Execution Plan State Capabilities Domain Info Constraints Plan State Capabilities Domain Info Constraints Plan State Capabilities Domain Info Constraints Task AssignerPlannerExecutor

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Multiple Planning Agents (MPA) platform is the basis for the SRI International SIPE Planner The Open Planning Architecture is the basis for O-Plan and is designed to handle multiple planner roles and levels, such as task assigner, planner, planning specialists, plan execution I-X is intended to support multiple types of command, sense- making, analysis, planning (I-Plan), decision making, execution and communications agents even in mixed agent frameworks. Multiple-Agent Platforms behind some Practical AI Planners

Multiple Agents in the Context of Communications for Emergency Response Collaboration and Communication Command and Control Central Authorities Isolated Personnel Emergency Responders

Example I-X Multiagent Applications

You can view video demonstrations of a couple of sample applications of I-X in the context of multiagent systems CoSAR-TS: Coalition Search & Rescue Task Support I-Globe: Planning and Execution in a Dynamic multiagent environment

RoboRescue 50 Year Programme Adapted from H. Kitano and S. Tadokoro, RoboCup Rescue A Grand Challenge for Multiagent and Intelligent Systems, AI Magazine, Spring, (aaai.org) Copyright (c) 2001, Association for the Advancement of Artificial Intelligence RoboRescue 50 Year Programme People & Organizations Environment Systems

Adapted from H. Kitano and S. Tadokoro, RoboCup Rescue A Grand Challenge for Multiagent and Intelligent Systems, AI Magazine, Spring, 2001.

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Plan Representation & Use Plan representation itself an important area. Plans are used in many areas beyond activity planning … such as situation understanding and summarisation, natural language interpretation and generation, etc. Plans provide an ontological and formal representation core for a wide range of practical applications and uses.

Uses of a Plan Representation Plan Representation Formal Analysis System Manipulation Knowledge Acquisition User Communication

Plan Representation & Use AI planning work has influenced standards related to process and plan representations used by many industries and fields. E.g., MIT Process Handbook Process Interchange Format (PIF) NIST Process Specification Language (PSL) DARPA Shared Planning & Activity Representation (SPAR) ISO Industrial Automation Systems and Integration - Process Specification Language

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Practical AI Planners PlannerReferenceApplications STRIPSFikes & Nilsson 1971Mobile Robot Control, etc. HACKERSussman 1973Simple Program Generation NOAHSacerdoti 1977Mechanical Engineers Apprentice Supervision NONLINTate 1977Electricity Turbine Overhaul, etc. NASLMcDermott 1978Electronic Circuit Design OPMHayes-Roth & Hayes-Roth 1979Journey Planning ISIS-IIFox et. al. 1981Job Shop Scheduling (Turbine Production) MOLGENStefik 1981Experiment Planning in Molecular Genetics DEVISERVere 1983Spacecraft Mission Planning FORBINMiller et al. 1985Factory Control SIPE/SIPE-2Wilkins 1988Crisis Action Planning, Oil Spill Management, etc. SHOP/SHOP-2Nau et al. 1999Evacuation Planning, Forest Fires, Bridge Baron, etc. I-X/I-PlanTate et al. 2000Emergency Response, etc.

Hierarchical Task Network Planning Partial Order Planner Plan Space Planner Goal structure-based plan development – only considers alternative “approaches” based on plan rationale QA/“Modal Truth Criterion” condition achievement Condition “types” to limit search Allows for multiple “contributors” to achieve facts for plan robustness “Compute Conditions” for links to external data bases and systems (attached procedures) Operations Research algorithms for time and resource constraints Nonlin core is a basis for text book descriptions of HTN Planning Nonlin ( )

Domain knowledge elicitation and modelling tools Rich plan representation and use Hierarchical Task Network Planning Detailed constraint management Goal structure-based plan monitoring Dynamic issue handling Plan repair in low and high tempo situations Interfaces for users with different roles Management of planning and execution workflow O-Plan ( ) Features

O-Plan Unix Sys Admin Aid

O-Plan MOUT Task Description, Planning and Workflow Aids

Try out O-Plan as an Example Planner Web accessible HTN AI Planner: See Try the Unix Systems administration script generator. Consider other applications for which this generation technique may be suitable. Try a few block stacking examples, and ponder why the “Sussman Anomaly” task was not able to be solved by early AI planners. Try the “three pigs” resource constrained house building examples. Look at the domain and task description file. Can you explain why some tasks need little or no search and others more? Why does one task have no solution in the given domain? :am-cycles = Agenda management cycles (problem solving cycles) :n-alts-chosen = Number of alternatives chosen. 0 means the planner had no search at all :n-alts-remaining = Number of alternatives remaining. Indicating choices possible. :n-poisons = Number of dead ends reached (diagnostic - should be same as :n-alts-chosen)

Optimum-AIV

Based on O-Plan design Rich plan representation and use Hierarchical Task Network (HTN) Planning Detailed constraint management Plan and User rationale recorded Dynamic issue handling Plan repair using test failure recovery plans Integration with ESA’s Artemis Project Management System Optimum-AIV (1992-4) Features

Hierarchical Task Network (HTN) Planning Partial Order Planning (POP) Rich domain model Detailed constraint management, simulations and analyses Integration with other systems (user interfaces, databases, spreadsheets, project management systems, etc). Typical Features of Practical AI Planners

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Overview Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Planning Research Areas & Techniques –Plan RepairO-Plan –Re-planningO-Plan –Plan MonitoringO-Plan, IPEM –Plan GeneralisationMacrops, EBL –Case-Based PlanningCHEF, PRODIGY –Plan LearningSOAR, PRODIGY –User InterfacesSIPE, O-Plan –Plan AdviceSRI/Myers –Mixed-Initiative PlansTRIPS/TRAINS –Planning Web ServicesO-Plan, SHOP2 –Plan Sharing & CommsI-X, –NL Generation… –Dialogue Management… –Search MethodsHeuristics, A* –Graph Planning AlgtmsGraphPlan –Partial-Order PlanningNonlin, UCPOP –Hierarchical PlanningNOAH, Nonlin, O-Plan –Refinement PlanningKambhampati –Opportunistic SearchOPM –Constraint SatisfactionCSP, OR, TMMS –Optimisation MethodNN, GA, Ant Colony Opt –Issue/Flaw HandlingO-Plan –Plan AnalysisNOAH, Critics –Plan SimulationQinetiQ –Plan Qualitative ModellingExcalibur –Domain ModellingHTN, SIPE –Domain DescriptionPDDL, NIST PSL –Domain AnalysisTIMS Problem is to make sense of all these techniques Problem is to make sense of all these techniques Deals with whole life cycle of plans

A More Collaborative Planning Framework Human relatable and presentable objectives, issues, sense-making, advice, multiple options, argumentation, discussions and outline plans for higher levels Detailed planners, search engines, constraint solvers, analyzers and simulators act in this framework in an understandable way to provide feasibility checks, detailed constraints and guidance Sharing of processes and information about process products between humans and systems Current status, context and environment sensitivity Links between informal/unstructured planning, more structured planning and methods for optimisation

Shared, intelligible, easily communicated and extendible conceptual model for objectives, processes, standard operating procedures and plans: – IIssues –NNodes/Activities –CConstraints –AAnnotations Communication of dynamic status and presence for agents, and their collaborative processes and process products Context sensitive presentation of options for action Intelligent activity planning, execution, monitoring, re-planning and plan repair via I-Plan and I-P 2 (I-X Process Panels) I-X/I-Plan (2000- )

Can take ANY requirement to: –Handle an issue –Perform an activity –Respect a constraint –Note an annotation Deals with these via: –Manual activity –Internal capabilities –External capabilities –Reroute or delegate to other panels or agents –Plan and execute a composite of these capabilities (I-Plan) Receives reports and interprets them to: –Understand current status of issues, activities and constraints –Understand current world state, especially status of process products –Help user control the situation Copes with partial knowledge of processes and organisations I-X aim is a Planning, Workflow and Task Messaging “Catch All”

I-X for Emergency Response Process Panel Domain Editor Messenger I-Plan Map Tool

Summary Context of Practical Systems Context of Task Assignment & Execution Context of Multiple Agents Context of Plan Representation & Use Example Practical Planners Planning++

Course Reading – Reminder Review of AI Planners to 1990 Hendler, J.A., Tate, A. and Drummond, M. (1990) “AI Planning: Systems and Techniques”, AI Magazine Vol. 11, No. 2, pp.61-77, Summer 1990, AAAI Press. Knowledge-Based Planners Wilkins, D. E. and desJardins, M. (2001) “A Call for Knowledge-based Planning”, AI Magazine, Vol. 22, No. 1, pp , Spring 2001, AAAI Press. or O-Plan Paper Tate, A. and Dalton, J. (2003) “O-Plan: a Common Lisp Planning Web Service”, invited paper, in Proceedings of the International Lisp Conference 2003, October 12-25, 2003, New York, NY, USA, October 12-15, Optimum-AIV Paper Tate, A. (1996) “Responsive Planning and Scheduling Using AI Planning Techniques – Optimum-AIV”, in “Trends & Controversies – AI Planning Systems in the Real World”, IEEE Expert: Intelligent Systems & their Applications, Vol. 11 No. 6, pp. 4-12, December SHOP/SHOP2 Applications Paper Nau, D., Au, T-C., Ilghami, O., Kuter, U., Wu, D.,Yaman, F., Muñoz-Avila, H., and Murdock, J.W. (2005) “Applications of SHOP and SHOP2”, IEEE Intelligent Systems, March-April 2005, Vol. 20, No. 2, pp.34-41, Computer Society. Other Practical Planners Ghallab, M., Nau, D. and Traverso, P. (2004) “Automated Planning – Theory and Practice”, Chapters 19, 22 and 23, Elsevier/Morgan Kaufmann.

Unused Slides

Edinburgh AI Planners in Productive Use

Practical Planners STRIPS – one of first planners, influential in all subsequent work, and applied in the context of the SRI Shakey robot NOAH Nonlin O-Plan Hierarchical Task Network (HTN) Planners SIPE SHOP Consider moving OPTIMUM-AIV part to Planning and Plan Execution lecture N-1 to be near Deep Space One example.

Practical Planners Planner ReferenceDomain STRIPS (Fikes & Nilsson 1971)Robot Control HACKER (Sussman 1973) Simple Program Generation NOAH (Sacerdoti 1977) Mechanical Engineers Apprentice Supervision NONLIN (Tate 1977) Electricity Turbine Overhaul, etc. NASL (McDermott 1978) Electronic Circuit Design OPM (Hayes-Roth & Hayes-Roth 1979) Journey Planning ISIS-II (Fox et. al. 1981) Job shop Scheduling (Turbine Production) MOLGEN (Stefik 1981) Experiment Planning in Molecular Genetics SIPE (Wilkins 1983) Aircraft Carrier Mission Planning, etc. NONLIN+ (Tate & Whiter 1984) Naval Logistics DEVISER (Vere 1983) Spacecraft Mission Sequencing FORBIN (Miller et. al. 1985) Factory Control SHOP-2(Nau, 9999)Bridge Baron, etc.

Version from 5 Years Earlier Indicating Growth of Work in mid 1980s From: Tate, Hendler and Drummond 1985

Version from 5 Years Earlier Indicating Growth of Work in mid 1980s

O-Plan Project Components Published in User Interface 2.Core Planner 3.Execution System

O-Plan Agent Architecture

Issues Nodes Constraints Annotations Plan Modification Operators

O-Plan Planning Workflow

Plan Representation & Use