knowledge engineering for planning domain design

19
Knowledge Engineering for Planning Domain Design Ron Simpson University of Huddersfield

Upload: tass

Post on 10-Jan-2016

31 views

Category:

Documents


2 download

DESCRIPTION

Knowledge Engineering for Planning Domain Design. Ron Simpson University of Huddersfield. Automated Planning [A. I. Planning]. Mars Rover Courtesy of NASA/JLP-Caltech. Kitchen Rover. Domain Independent Planning. Declarative Descriptions of Desired State of World [Goal State] - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Knowledge Engineering for Planning Domain Design

Knowledge Engineeringfor

Planning Domain Design

Ron Simpson University of Huddersfield

Page 2: Knowledge Engineering for Planning Domain Design

Automated Planning [A. I. Planning]

Mars Rover Courtesy of NASA/JLP-CaltechKitchen Rover

Page 3: Knowledge Engineering for Planning Domain Design

Domain Independent Planning

Declarative Descriptions of

• Desired State of World [Goal State]

• Initial State of World

• Actions available to agents

• Pre Conditions

• Post Conditions Planning Problem

• Synthesise ordered sequence of actions to bring about Goal State

Page 4: Knowledge Engineering for Planning Domain Design

Levels of Ambition

Classical

• Deterministic / Complete / Omniscient

• World described by lists of simple propositions. No numeric attributes.

• Actions add or remove propositions from world description. Time not represented

Non Classical

• Add notions of time to actions

• Allow numeric attributes

• Non Deterministic / Incomplete Knowledge

Page 5: Knowledge Engineering for Planning Domain Design

Knowledge Engineering

Formalisms

• Develop tractable formalisms capable of being reasoned with.

Visualisation

• Develop tools/image systems to help users create and understand domain of interest.

Refractor

• Develop transformation techniques to allow representations at differing levels of generality to co-exist.

Page 6: Knowledge Engineering for Planning Domain Design

Aims

What

• To develop methods and tools to assist in the :

• Creation of planning domain specifications.

• To assist in the task of domain specification validation and testing.

How

• Develop higher level conceptualisations as modelling aids and support these with software tools.

• Develop the object centric view of planning.

• Build a prototype environment [GIPO] to demonstrate the utility of the view.

Scope

• Currently classical planning with extensions to HTN Planning and planning with timed processes and numeric properties.

Page 7: Knowledge Engineering for Planning Domain Design

Object Centric View

Plans are strategies to bring about changes in the states of objects within the domain problem.

Domain design can be done by charting the possible state changes of the participating object types.

Assume all objects of same type have same potential.

Tent

State Description

ActionDescriptor

Page 8: Knowledge Engineering for Planning Domain Design

Generic Types

Patterns of state transitions reoccur in many domain definitions.

Domain definitions may be constructed by composing together common patterns of life histories.

Mobile + Bistate = Portable

Page 9: Knowledge Engineering for Planning Domain Design

Prerequisites

Rules for defining the States of object types.

• Identified by name – parameterised by object Ids

• Enhanced by properties

• Identified by property-name -parameterised by property value

Rules for defining state transitions.

• Identified by name and links to source and target states. Rules for merging.

• Defines rendezvou between object transitions

• Or object states and Transitions.

• May augment state by adding association parameters to state predicates [See GIPO Help]

Page 10: Knowledge Engineering for Planning Domain Design

Hiking Domain – Example 1

TentProperty : LocationValue present in allidentified states.

Transition of Tent:Property Value ChangingLocation to Location

TransitionState Changing

TransitionProperty Value ChangingSatisfies next(x,y) nextStage(w,v)Constraint – NumberSatisfies couple(x,y)

Person

Car

Tent

PersonProperties: Location Stage

Page 11: Knowledge Engineering for Planning Domain Design

Hiking Domain Example 2

Add AssociationRecord car

Break AssociationForget Car

TransitionsRequire Objects at State

TransitionDependent on SourceBoth satisfy next(x,y)

Must Occur Together

Page 12: Knowledge Engineering for Planning Domain Design

Tools Integrated into GIPO

Graphical “Life History” Editor to define domains Graphical editors to capture “Instance Information” Auto generate specification from diagrams. Create task specifications. Run integrated planners to solve defined problems. Graphically animate plans produced. Manually create plans in a visual stepper. Translate specifications to PDDL.

Page 13: Knowledge Engineering for Planning Domain Design

Instance and Problem Description

KnownObjects

State for Sue

Available States for Sue

Page 14: Knowledge Engineering for Planning Domain Design

Animation of Plan Solutions

Plan

Inspect Object State

AnimationView

Page 15: Knowledge Engineering for Planning Domain Design

Manual Plan Creation [Stepper]

Add Next Action – Choose action

parameters

Available Actions

Emerging Plan

Page 16: Knowledge Engineering for Planning Domain Design

Representing Time and Numeric Properties

Hybrid Automata

State Change Instantaneous – These are actions• may make changes to numeric properties and trigger processes

Processes take time. • Numeric properties may change as a function of time

Events (State Change) may be triggered by

processes. These - like processes happen as a result of actions

Page 17: Knowledge Engineering for Planning Domain Design

Filling Bath Domain

Process:Level = flow * #t

Event : whenlevel > capacity

Process Triggerflow(Bath) =

flow(Tap)

ProcessPrecondition

Page 18: Knowledge Engineering for Planning Domain Design

Stepper For Hybrid Automata

plugIn

turnOn

turnOff

turnOn flood

fillingprocess

Time line

Page 19: Knowledge Engineering for Planning Domain Design

Conclusion

Does the graphical conceptualisation simplify the task? How do we measure this?

What is the range of applicability of the technology?

Planning seems to be ubiquitous but when is it worthwhile to specify the domain problem?