Progressing Basic Action Theories with Non-Local Effect Actions Stavros Vassos1 , Sebastian Sardina2 , Hector J. Levesque1

1 Department

of Computer Science University of Toronto Toronto, Canada

2 School

of Computer Science RMIT University Melbourne, Australia

Commonsense 2009

Vassos, Sardina, Levesque

Commonsense 2009

1/1

Introduction The problem we examine lies in the field of reasoning about action and change. Given a logical formalism that is able to:

1 2 3

represent the current state of the world; represent the dynamics of the world; answer queries about the current state and the possible future states of the world,

we want to update the representation of the current state after action execution. This is necessary when the formalism is used online by a long-lived agent. Vassos, Sardina, Levesque

Commonsense 2009

2/1

Introduction Think of a non-player character (NPC) in a video game equipped with such a logical formalism.

1

Representing the current state: I I

2

Representing the dynamics of the world: I I

3

“the door is locked” “a bomb is located near the door”

“pushing a door opens the door provided that it is unlocked” “the explosion of a bomb breaks all objects near the bomb”

Answering queries about the future: I

“is there an action such that after executing it the door will be open?”

Vassos, Sardina, Levesque

Commonsense 2009

3/1

Logical formalism: the situation calculus language The situation calculus is a first-order logical language with limited second-order features: S0 is the initial situation; do(a, S0 ) is the resulting situation after action a has been performed in S0 , e.g., do(push(door ), S0 ), do(trigger (bomb), S0 ); fluents are like normal predicates but also depend on a situation argument, e.g., Status(door , locked, S0 ), Near (bomb, door , S0 ).

Vassos, Sardina, Levesque

Commonsense 2009

4/1

Logical formalism: the basic action theories A basic action theory BAT consists essentially of: KB: a first-order knowledge base that represents what holds in the initial situation S0 ; DYN: a set of action precondition and effect axioms that represent the dynamics of the world.

1 2 3

Representing the current state: KB Represent the dynamics of the world: DYN Answering queries about the future based on entailment: I

BAT |= ¬Status(door , open, do(push(door ), S0 )),

I

BAT |= Status(door , broken, do(trigger (bomb), S0 )).

Vassos, Sardina, Levesque

Commonsense 2009

5/1

Logical formalism: the basic action theories A basic action theory BAT consists essentially of: KB: a first-order knowledge base that represents what holds in the initial situation S0 ; DYN: a set of action precondition and effect axioms that represent the dynamics of the world.

1 2 3

Representing the current state: KB Represent the dynamics of the world: DYN Answering queries about the future based on entailment: I

BAT |= ¬Status(door , open, do(push(door ), S0 )),

I

BAT |= Status(door , broken, do(trigger (bomb), S0 )).

Problem: update, i.e., progress, the KB after action execution. Vassos, Sardina, Levesque

Commonsense 2009

5/1

Problem: BAT progression BAT : KB (knowledge base about S0 ) + DYN (axioms for dynamics), action a is executed by the robot. BAT 0 : new KB0 + same DYN, such that BAT 0 characterizes the future of BAT after a has been executed [Lin & Reiter 97]. BAT

BAT0 (progression)

unrestricted KB unrestricted DYN

KB0 needs to be second-order! [Lin & Reiter 97], [Vassos & Levesque 08]

unrestricted KB local-effect DYN

KB0 first-order representable [Vassos & Lakemeyer & Levesque 08]

Vassos, Sardina, Levesque

Commonsense 2009

6/1

Problem: BAT progression BAT : KB (knowledge base about S0 ) + DYN (axioms for dynamics), action a is executed by the robot. BAT 0 : new KB0 + same DYN, such that BAT 0 characterizes the future of BAT after a has been executed [Lin & Reiter 97]. BAT

BAT0 (progression)

unrestricted KB unrestricted DYN

KB0 needs to be second-order! [Lin & Reiter 97], [Vassos & Levesque 08]

unrestricted KB local-effect DYN

KB0 first-order representable [Vassos & Lakemeyer & Levesque 08]

Local-effect is often not practical, can we relax this assumption?

Vassos, Sardina, Levesque

Commonsense 2009

6/1

Local-effect actions and beyond Local-effect DYN: a ground action may only affect finitely many ground atoms that are fixed by the arguments of the action: the action setstatus(door , open) that affects only the ground fluent Status(door , open) is local-effect; the action push(door ) that affects only the ground fluent Status(door , open) is not local-effect. the action trigger (bomb) that affects the fluents Status(x, broken) for all those objects x that are near the bomb is not local-effect.

Vassos, Sardina, Levesque

Commonsense 2009

7/1

Local-effect actions and beyond Local-effect DYN: a ground action may only affect finitely many ground atoms that are fixed by the arguments of the action: the action setstatus(door , open) that affects only the ground fluent Status(door , open) is local-effect; the action push(door ) that affects only the ground fluent Status(door , open) is not local-effect. the action trigger (bomb) that affects the fluents Status(x, broken) for all those objects x that are near the bomb is not local-effect. Observation: if we can ensure that a affects only finitely many ground atoms (not necessarily fixed by a), then we can progress using the same method that works for a local-effect DYN.

Vassos, Sardina, Levesque

Commonsense 2009

7/1

Result: a case of non-local-effect BAT progression Our assumptions:

1 2 3

KB is a finite database of possible closures; DYN is non-local-effect but range-restricted; BAT is just-in-time wrt the action.

1 and 2 are syntactical restrictions that specify a design strategy for building a basic action theory. 3 is a semantical condition: it requires that the agent has disjunctive information for all the fluents that need to be evaluated in order to progress. Result: in this case progression is first-order and finite.

Vassos, Sardina, Levesque

Commonsense 2009

8/1

1. KB is a finite database of possible closures (DBPC) Every (relational) fluent F (z1 , . . . , zn , x, s) is treated as a multi-valued function: I I

z1 , . . . , zn is the input; x is the output.

A closure χ implies complete information for the output of one or more fluents with a ground input: φ1 : ∀x. Near (bomb, x, S0 ) ≡ (x = door ∨ x = box1 ), φ2 : ∀x. Near (bomb, x, S0 ) ≡ (x = door ∨ x = box2 ).

Vassos, Sardina, Levesque

Commonsense 2009

9/1

1. KB is a finite database of possible closures (DBPC) Every (relational) fluent F (z1 , . . . , zn , x, s) is treated as a multi-valued function: I I

z1 , . . . , zn is the input; x is the output.

A closure χ implies complete information for the output of one or more fluents with a ground input: φ1 : ∀x. Near (bomb, x, S0 ) ≡ (x = door ∨ x = box1 ), φ2 : ∀x. Near (bomb, x, S0 ) ≡ (x = door ∨ x = box2 ). A possible closures axiom (PCA) implies disjunctive information for the output of a fluent with a ground input: φ1 ∨ φ2 . A DBPC is a set of PCAs that do not overlap. Vassos, Sardina, Levesque

Commonsense 2009

9/1

2. DYN is range-restricted (RR) Consider the successor state axiom for Status(x, y, s): Status(x, y, do(a, s)) ≡ γ + (x, y , a, s)∨ (Status(x, y , s) ∧ ¬γ − (x, y, a, s)), The axiom is RR iff each of the variables x, y is “guarded” by a fluent atom with a ground input or a constant : I

the following γ + (x, y , a, S0 ) is not RR: a = trigger (bomb) ∧ y = broken,

I

the following γ + (x, y , a, S0 ) is RR: a = trigger (bomb) ∧ Near (bomb, x, s) ∧ y = broken

The formal definition is inspired by the safe-range queries of the database theory and includes rules for ∃, ¬, ∨. Vassos, Sardina, Levesque

Commonsense 2009

10 / 1

3. BAT is just-in-time (JIT) wrt the action A range-restricted DYN does not guarantee that there are finitely many ground fluents that may be affected by an action. Consider the following γ + (x, y, a, S0 ) that is RR: a = trigger (bomb) ∧ Near (bomb, x, s) ∧ y = broken. I

if there is no PCA for Near (bomb, x, S0 ) in the DBPC then trigger (bomb) may possibly affect the status of all objects;

I

if the PCA φ1 ∨ φ2 that we saw earlier is included, then only the following ground fluent atoms may be affected: Status(door , broken, S0 ), Status(box1 , broken, S0 ), Status(box2 , broken, S0 ).

The JIT assumption captures the requirement that the DBPC includes all the necessary PCA in the previous sense. Vassos, Sardina, Levesque

Commonsense 2009

11 / 1

Result: a case of non-local-effect BAT progression BAT : finite, first-order, DBPC KB + range-restricted DYN, action a is executed, BAT is just-in-time wrt a. BAT 0 : finite, first-order DBPC KB0 + same DYN. Theorem: Let BAT be a theory that has a database of possible closures as a KB and a range-restricted DYN. Let a be a ground action such that BAT is just-in-time wrt a. Then, we can always specify a finite first-order representation of KB0 . I

KB0 can be obtained by updating the original KB in a systematic way similar to the local-effect case.

I

The method is based on the notion of a possible answer to a formula wrt the DBPC.

I

We provide an algorithm for the case that the axioms in DYN consist of conjunctive queries.

Vassos, Sardina, Levesque

Commonsense 2009

12 / 1

Conclusions We investigated the problem of progression of basic action theories in the situation calculus. A recent result shows that the local-effect assumption guarantees a finite first-order progression. As this assumption is often not practical, we considered a case where actions are non-local-effect but range-restricted. We showed that if we also assume that the knowledge base is a database of possible closures and the theory is just-in-time wrt the action, then the technique that works for local-effect actions can be used to obtain a finite first-order progression. We presented a simple algorithm for the core procedure of the progression method that works for a practical case.

Vassos, Sardina, Levesque

Commonsense 2009

13 / 1

Related and future work Recent work by Liu and Lakemeyer [2009] about the progression of non-local-effect theories: I

assume a proper+ KB and normal actions.

Both approaches have limitations: I

I

an action trigger (bomb) that affects the status of the objects nearby as well as the fluent Near (bomb, x) is not normal; our just-in-time assumption can be problematic in offline settings.

In particular for online settings we intend to extended the current account of sensing, so that new possible closure axioms may be incorporated into the theory. We intend to investigate the general case for the core procedure of our progression method and identify cases where the size of new theory is practical. Vassos, Sardina, Levesque

Commonsense 2009

14 / 1

Progressing Basic Action Theories with Non-Local ...

2 Representing the dynamics of the world: ▻ “pushing a door opens the door provided that it is unlocked”. ▻ “the explosion of a bomb breaks all objects near the bomb”. 3 Answering queries about the future: ▻ “is there an action such that after executing it the door will be open?” Vassos, Sardina, Levesque. Commonsense ...

562KB Sizes 0 Downloads 143 Views

Recommend Documents

Progressing Basic Action Theories with Non-Local Effect ... - CiteSeerX
Department of Computer Science ..... mula uniform in S0 whose only free variables are in x. The ..... is the adjacent cell to its current location x towards its cur-.

Progressing Basic Action Theories with Non-Local Effect ... - CiteSeerX
Department of Computer Science ..... mula uniform in S0 whose only free variables are in x. The .... the variables in x, and does not mention any free vari-.

Basic Exchange Rate Theories
of the data material and for useful comments and suggestions. CvM, February 2005 ...... instruments at its disposal to try to achieve both domestic and external equilibrium, that is it would have to ... Data source: World Bank Development Indicators

Probing the Chiral Anomaly with Nonlocal ... - Semantic Scholar
Sep 2, 2014 - linearly from degeneracy points at which two energy bands meet. .... generation magnetic field Bg, a valley imbalance Δμ is created via the chiral anomaly ...... nonlocal transport, we note that an alternative approach would be ...

Progressing on all fronts
Commodity Trading should also gain from bigger naphtha ..... advice and does not take into account the specific investment objectives, the financial situation and the particular needs of persons who may receive ..... Citibank Tower 17th Floor.

Collective Action On-line: Theories and Methods - Oxford Internet ...
Mar 16, 2013 - social media sites' jumped into the ladder of political participation, with 10 per cent of. Internet users ... He is the author of ten books and more ...

pdf-1884\basic-theories-of-traditional-chinese-medicine ...
Try one of the apps below to open or edit this item. pdf-1884\basic-theories-of-traditional-chinese-medicine-international-acupuncture-textbooks.pdf.

Notes Senior Progressing Ballet Technique Program.pdf ...
Page 1 of 7. Marie Walton-Mahon ARAD RAD RTS. www.progressingballettechnique.com. [email protected]. Senior Level Progressing ...

PDF Read Basic Theories of Traditional Chinese ...
Book synopsis. Traditional Chinese medicine has a long and complex history, yet the basic principles at the heart of practice remain, and are just as important today. Without a solid grounding in these basic theories, effective practice cannot take p

Theories*
language element, i.e., grammar, vocabulary, pronunciation, etc., should be tested ... assessing the reading comprehension ability of native speakers of English.

A NONLOCAL CONVECTION-DIFFUSION EQUATION ...
R. S(t, x − y)u0(y)dy. Proof. Applying the Fourier transform to (2.1) we obtain that. ̂wt(ξ,t) = ̂w(ξ,t)( ̂J(ξ) − 1). Hence, as the initial datum verifies ̂u0 = ̂δ0 = 1,.

ASYMPTOTIC BEHAVIOUR FOR A NONLOCAL ...
In this paper we study the asymptotic behaviour as t → ∞ of solutions to a .... r(t)≤|ξ|≤R. (e−Atpα(ξ) + e−t|ξ|α/2)dξ. ≤ td/α ϕL1(Zd). ∫ r(t)≤|ξ|≤R e−Bt|ξ|α dξ. =.

ASYMPTOTIC EXPANSIONS FOR NONLOCAL ...
where Kt is the regular part of the fundamental solution and the exponent A depends on J, q, k and the dimension d. Moreover, we can obtain bounds for the difference between the terms in this expansion and the corresponding ones for the expansion of

Experimental test of nonlocal realism using a fiber ...
Mar 25, 2008 - 1Optical Technology Division, National Institute of Standards and ... Maryland 20899-8441, USA and Joint Quantum Institute, University of Maryland, College Park, ... the polarization of photon 1, the polarization information of.

Progressing Services in African Mobile Networks utilizing Big Data ...
Page 1 of 10. Progressing Services in African Mobile Networks. utilizing Big Data Research. Solomon H Kembo1. , Gilford Hapanyengwi1. , Gary D Brooking1. , and Gertjan. van Stam2. 1 University of Zimbabwe, Harare, Zimbabwe. [email protected], gh

Decay estimates for nonlocal problems via energy ...
Mar 10, 2009 - The assumption on the initial data, u0 ∈ L1(Rd)∩L∞(Rd), ..... as Corollary 2.1, but it is obtained using Fourier analysis tools and has the.

Progressing Services in African Mobile Networks utilizing Big Data ...
Page 1 of 1. MODELING & PROGRESSING SERVICES IN AFRICAN MOBILE. NETWORKS UTILIZING BIG DATA RESEARCH. Solomon H Kembo, Gilford Hapanyengwi, Gary D Brooking, and Gertjan van Stam. University of Zimbabwe [email protected], ghapanyengwi@compcentre.