Top Banner
Ontologi es Reasonin g Component s Agents Simulatio ns Belief Update, Planning Belief Update, Planning and the Fluent Calculus and the Fluent Calculus Jacques Robin
28

Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Dec 28, 2015

Download

Documents

Bethany Walters
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

OntologiesReasoningComponentsAgentsSimulations

Belief Update, PlanningBelief Update, Planningand the Fluent Calculusand the Fluent Calculus

Jacques Robin

Page 2: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Belief Update, Temporal ProjectionBelief Update, Temporal Projectionand Planningand Planning

Belief Update: CurrentBeliefAboutEnvironmentState x ExecutableAction

BeliefAboutEnvironmentStateResultingFromActionExecution Temporal Projection:

CurrentBeliefAboutEnvironmentState x ExecutableActionSequence BeliefAboutEnvironmentStateResultingFromActionSequenceExecution

If environment is partially observable, non-deterministic, multi-agent adversarial or features exogenous actions (state changing non-agentive events), it is impossible to determine the executability of an action sequence (only the executability of the first action of the sequence can be determined)

Planning: CurrentBeliefAboutEnvironmentState x

EnvironmentStatePreferredByAgent ExecutableActionSequence

Page 3: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

The Fluent Calculus (FC): The Fluent Calculus (FC): CharacteristicsCharacteristics

Language for Belief Update, Temporal Projection and Planning Knowledge Representation

Axiomatization with term reification of environment state changes in Sorted Classical High-Order Logic (SCHOL) Sorts are type restrictions on atom and functional term arguments Environment-independent sorts, functions, predicates and

foundational axioms (one conjunctive SCHOL formula, only a single axiom is high-order)

Environment-dependent sorts, functions, predicates and axioms (one conjunctive Sorted Classical First-Order Logic (SCFOL))

Reuses monotonic knowledge representation language (CFOL) to formalize non-monotonic reasoning

First language to fully solve the representational frame, ramification and qualification problems

Extends Situation Calculus with States

Page 4: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

The FC: EnvironmentThe FC: EnvironmentFormalization ProcessFormalization Process

1. Import the environment-independent FC sorts, functions, predicates and foundational axioms

2. Define the environment-dependent (domain) sorts, functions, predicates

3. Define the environment-dependent (domain) action precondition and effect (state update) axioms (SCFOL formulas).

Page 5: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

The FC Component AssemblyThe FC Component Assembly

Simple FC: Belief Update, Temporal Project, PlanningSolving the Frame Problem

Ramifying FC:Solving the

Ramification Problem

Meta FC:Meta-Reasoning

about Agent’s own Knowledge for

BooleanBelief Revision

and SensingAction Planning

Qualifying FC:Default

Reasoning Solving the

Qualification Problem

Full FC

Disjunctive FC:Solving the

Frame Problemin Non-

DeterministicEnvironments

Concurrent FC:Solving the

Frame Problemin ConcurrentEnvironments

Multi-Agent FC:Reasoning about

Other Agents’ Knowledge and Communicative Action Planning

Plausibilistic FC:Plausibilistic Belief

Revision

Noise-Tolerant FC:Solving the

Frame Problemfor Agents with Noisy Sensors

Page 6: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

FLUX (FLUent eXecutor)FLUX (FLUent eXecutor)

Constraint Logic Programming Platform Provably correctly and efficiently implements the FC First platform to fully solves de inferential frame, ramification

and qualification problems FLUX architecture: two rule bases

General Constraint Logic Programming Constraint Handling Rules

Far more scalable than GOLOG’s situation calculus based platform Uses progressive planning with state (to avoid redundant

execution of reasoning steps of regressive planning from current situation back to the initial one imposed by the situation calculus)

Uses partial state representation Uses NAF under open-world semantics (!)

Page 7: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Abstract SyntaxSimple FC: Abstract Syntax

SCFOLAtom

FunctionSymbol

predicate

arg 1..*

SCFOLTerm

NonFunctional

Term

Variable

FunctionalTerm

GroundTerm

NonGround

Term

{disjoint, complete}{disjoint, complete}

arg 1..*

ConstantSymbol

PredicateSymbol

functor

SCFOLFormula

connective: CFOLConnectiveKind

«enumeration»CFOLConnectiveKind

SCFOLQuantifier Expression

quantfier: CFOLQuantifierKind

«enumeration»CFOLConnectiveKind

arg 1*..

FCPredicateSymbol

DomainPredicateSymbol

FCConstantSymbol

DomainConstantSymbol

FCFunctionSymbol

DomainFunctionSymbol

Action FCFS

Fluent FCFS

Sit FCFS

State FCFS

StateFCCS

SitFCCS

Page 8: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Abstract SyntaxSimple FC: Abstract Syntax

SCFOLAtom

arg 1..*SCFOLTerm

SCFOLFormula

connective: CFOLConnectiveKindarg 1*..

FCTerm

DomainTerm

Fluent Term

SitTerm

FC State CompositionEquality Atom

HoldsAtom

0..1

0..1Pure State Formula

DomainAtom

ActionTerm

Poss Axiom Formula

State Update Axiom Formula

StateTerm

FCAtom

DomainAtom

FCFormula

*

*

2

2

Page 9: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC Case Study:Simple FC Case Study:Mail Delivering RobotMail Delivering Robot

Page 10: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Foundational AxiomsSimple FC: Foundational Axioms

Page 11: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Initial StateSimple FC: Initial StateRepresentationRepresentation

Page 12: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC:Simple FC:Action Precondition Action Precondition

AxiomsAxioms

Page 13: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: State TermsSimple FC: State Termsand State Constraints and State Constraints

Page 14: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Fluent Simple FC: Fluent CollectionsCollections

and State Update Axioms and State Update Axioms(Belief Update)(Belief Update)

Page 15: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Frame Problem SolutionSimple FC: Frame Problem Solution

Page 16: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Frame Problem SolutionSimple FC: Frame Problem Solution

Page 17: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Temporal ProjectionSimple FC: Temporal Projectionas Deductive Entailmentas Deductive Entailment

Page 18: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Cause Abduction Simple FC: Cause Abduction as Deductive Entailmentas Deductive Entailment

Page 19: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FC: Action Sequence PlanningSimple FC: Action Sequence Planningas Deductive Entailmentas Deductive Entailment

Page 20: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

FLUX: a CLP implementation of the FLUX: a CLP implementation of the FCFC

Using the FC, agent reasoning can be implemented by a full CFOL theorem prover

Drawbacks of this approach: Full CFOL theorem provers are either only semi-automatic or not

scalable for large axioms and theorems FLUX approach:

Rely on an efficient Constraint Logic Programming engine (e.g., ECLiPse Prolog or Sictus Prolog)

General Logic Program Rules Constraint Handling Rules Procedural Built-in Constraint Solving Libraries

Page 21: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

FLUX: from SCFOL to GLP+CHRFLUX: from SCFOL to GLP+CHR

Partial state description as open Prolog list CFOL atom z = f1 o ... o fn o z1, encoded as Z = [F1, ..., Fn | Z1]

Non-Horn formula connectives as: Additional predicates linked by appropriate integrity constraints defined using CHR, themselves defined using NAF and Prolog meta-programming as

built-in constraints e.g., Holds(f,z), encoded as notHolds(F,Z)

Page 22: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

FLUX CHR ConstraintsFLUX CHR Constraints

Page 23: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

FLUX Built-in PredicatesFLUX Built-in Predicates

Page 24: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

Simple FLUX Programming ProcessSimple FLUX Programming Process

1. Define domain CHR using FLUX CHR2. Define initial state Prolog facts3. Define domain relation Prolog predicates4. Define domain constraint by Prolog rules headed by FLUX predicate

consistent(Z)

5. Define preconditions of actions by Prolog rules headed by FLUX predicates poss(A,Z) or not_poss(A,Z)

6. Define direct effects of actions by Prolog rules headed by FLUX predicates state_update(Z1, A, Z2)

7. Define agent’s acting strategy by Prolog rules headed by FLUX predicate do(As,Z1,Z2)

8. For planning queries, check executability of action sequences by NAF atoms of the FLUX predicate non_executable(As,Z)

Page 25: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

The Mail Delivery RobotThe Mail Delivery RobotFLUX Program: CHR FLUX Program: CHR

ProgramProgram

Page 26: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

The Mail Delivery Robot FLUX The Mail Delivery Robot FLUX Program: Initial State and Program: Initial State and

Domain ConstraintsDomain Constraints

Page 27: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

The Mail Delivery Robot FLUX Program: The Mail Delivery Robot FLUX Program: Actions PreconditionsActions Preconditions

Page 28: Ontologies Reasoning Components Agents Simulations Belief Update, Planning and the Fluent Calculus Jacques Robin.

The Mail Delivery Robot FLUX The Mail Delivery Robot FLUX Program: Actions Direct EffectsProgram: Actions Direct Effects