Reasoning in knowledge bases with extrenal and internal uncertainties

Similar documents
Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Propositional Resolution Introduction

Propositional Resolution Part 1. Short Review Professor Anita Wasilewska CSE 352 Artificial Intelligence

Introduction to Metalogic

Artificial Intelligence. Propositional logic

PROBABILISTIC LOGIC. J. Webster (ed.), Wiley Encyclopedia of Electrical and Electronics Engineering Copyright c 1999 John Wiley & Sons, Inc.

Introduction to Artificial Intelligence Propositional Logic & SAT Solving. UIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2010

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Hybrid Logic and Uncertain Logic

A L A BA M A L A W R E V IE W

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

1. Propositional Calculus

Maximum Entropy in Nilsson's Probabilistic Logic. 2. Entropy

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

Reasoning with Uncertainty

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

CONSERVATION by Harvey M. Friedman September 24, 1999

Chapter 2 Background. 2.1 A Basic Description Logic

Representing Independence Models with Elementary Triplets

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16)

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Logic: Propositional Logic (Part I)

VALUATIONS FOR DIRECT PROPOSITIONAL

COMPLETENESS THEOREM FOR A LOGIC WITH IMPRECISE AND CONDITIONAL PROBABILITIES. Zoran Ognjanović, Zoran Marković

1. Propositional Calculus

COMP9414: Artificial Intelligence Propositional Logic: Automated Reasoning

PRINCIPLE OF MATHEMATICAL INDUCTION

Computational Logic. Recall of First-Order Logic. Damiano Zanardini

Language of Propositional Logic

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14

P a g e 5 1 of R e p o r t P B 4 / 0 9

Logic I - Session 10 Thursday, October 15,

22c:145 Artificial Intelligence

Dempster's Rule of Combination is. #P -complete. Pekka Orponen. Department of Computer Science, University of Helsinki

U-Sets as a probabilistic set theory

Logic: Propositional Logic Truth Tables

Pei Wang( 王培 ) Temple University, Philadelphia, USA

Basic Probabilistic Reasoning SEG

176 5 t h Fl oo r. 337 P o ly me r Ma te ri al s

Description Logics. Foundations of Propositional Logic. franconi. Enrico Franconi

On the Relation of Probability, Fuzziness, Rough and Evidence Theory

Marie Duží

Learning Goals of CS245 Logic and Computation

Logic and Proofs. (A brief summary)

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Chương 3 Tri th ức và lập luận

Possibilistic Logic. Damien Peelman, Antoine Coulon, Amadou Sylla, Antoine Dessaigne, Loïc Cerf, Narges Hadji-Hosseini.

Propositional Logic: Syntax

Fuzzy and Rough Sets Part I

Executive Committee and Officers ( )

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Belief revision: A vade-mecum

On Urquhart s C Logic

Artificial Intelligence Chapter 7: Logical Agents

THE GENERAL INTERFERENCE MODEL IN THE FUZZY RELIABILITY ANALYSIS OF-SYSTEMS

o C *$ go ! b», S AT? g (i * ^ fc fa fa U - S 8 += C fl o.2h 2 fl 'fl O ' 0> fl l-h cvo *, &! 5 a o3 a; O g 02 QJ 01 fls g! r«'-fl O fl s- ccco

Uncertain Second-order Logic

Propositional Reasoning

Belief Revision in Probability Theory

OH BOY! Story. N a r r a t iv e a n d o bj e c t s th ea t e r Fo r a l l a g e s, fr o m th e a ge of 9

Title: Logical Agents AIMA: Chapter 7 (Sections 7.4 and 7.5)

Chapter 4. Matrices and Matrix Rings

INFERENCE RULES FOR PROBABILITY LOGIC. Marija Boričić

A Generalized Decision Logic in Interval-set-valued Information Tables

Logical Agents. Outline

Propositional Logic. Logic. Propositional Logic Syntax. Propositional Logic

AN EXTENSION OF THE PROBABILITY LOGIC LP P 2. Tatjana Stojanović 1, Ana Kaplarević-Mališić 1 and Zoran Ognjanović 2

Knuth-Morris-Pratt Algorithm

PROOFS IN MATHEMATICS

DUALITY FOR BOOLEAN EQUALITIES

UNCERTAIN REASONING AND DECISION MAKING

Mathematics Course 111: Algebra I Part I: Algebraic Structures, Sets and Permutations

Intelligent Agents. Pınar Yolum Utrecht University

COMP3702/7702 Artificial Intelligence Week 5: Search in Continuous Space with an Application in Motion Planning " Hanna Kurniawati"

Order Sorted Algebra. Japan Advanced Institute of Science and Technology. March 8, 2008

The Calculus of Computation: Decision Procedures with Applications to Verification. Part I: FOUNDATIONS. by Aaron Bradley Zohar Manna

Propositional Logic Arguments (5A) Young W. Lim 11/30/16

Some Properties of Fuzzy Logic

Logical Agent & Propositional Logic

Agenda. Artificial Intelligence. Reasoning in the Wumpus World. The Wumpus World

Integrated Commonsense Reasoning and Learning Using Non-axiomatic Logic. Pei Wang Temple University Philadelphia, USA

Propositional Logic Language

cis32-ai lecture # 18 mon-3-apr-2006

Module 10. Reasoning with Uncertainty - Probabilistic reasoning. Version 2 CSE IIT,Kharagpur

Logic & Logic Agents Chapter 7 (& background)

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

Abstract. 1 Introduction. 2 Archimedean axiom in general

Logic Overview, I. and T T T T F F F T F F F F

Spin Cut-off Parameter of Nuclear Level Density and Effective Moment of Inertia

0.Axioms for the Integers 1

Propositional Logic Arguments (5A) Young W. Lim 10/11/16

When the trivial is nontrivial

Logic and Inferences

RANK AND PERIMETER PRESERVER OF RANK-1 MATRICES OVER MAX ALGEBRA

Logical Agent & Propositional Logic

EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS

Weak Completion Semantics

Axiomatic characterization of the AGM theory of belief revision in a temporal logic

Propositional logic (revision) & semantic entailment. p. 1/34

Transcription:

Tạp.Chí Tin Học và Điều Khiển Học Tap X(1994). s ế 2, 1-8 Reasoning in knowledge bases with extrenal and internal uncertainties Phan Dinh Dieu & Tran Dinh Que Institute of Information Technology I. Introduction In the recent years, in A.I. a great deal of attention has been devoted to formalisms dealing with various aspects of reasoning with uncertain information, and a number of theories and methods for handling uncertainty of knowledge has been proposed, notably, the probability theory, the Dempster-Shafer theory, and the possibility theory. Among these théories, thé prôpobalify one is* surely the most developed by its long history and elaborated foundations. '** u In this paper the uncertainty of a sentence will be given by an interval of possible values for its truth probability. Two types of knowledge with uncertainty will be investigated: external uncertainty and internal uncertainty The former is given in the form < S,I >, in which S is a sentence, and I = [a.b] is a closed subinterval of the unit interval [0,1]; it means that the truth probability of the whole sentence S lies in the interval I. I is then called the interval of truth pr obabities of S. In the later case, intervals of truth probabilities are given to subsentences of the given sentence S. For example, ^ *5*1 j A ^ A < S21^2^ A A < Sn, In > 1»Ai + 1 ^ is a knowledge with internal uncertainty. Let B be a knowledge base with these types of uncertainty and 5 be a any sentence. A semantics, which underlies a method of deducing the interval of truth probabilities of S from B, will be given.

The paper is structured as follows: In Section 2 we shall review the probabilistic logic by N.J. Nilsson, and its extention to probabilistic logic with interval values. In Section 3, we shall discuss a method of reasoning from a set of knowledges with internal uncertainty. Section 4 is devoted to a method of reasoning from a knowledge base containing both external and internal uncertainties. Some illustrative examples will be given in Section 5. 2. External Uncertainty We shall use methods of the interval-valued probabilistic logic for reasoning in knowledge bases with external uncertainty. This logic is based on the semantics given by N.J. Nilsson [4], and is presented in details, e.g., in [6]. Let us give a knowledge base and let 5 be a target sentence. We put = {Si,...Sl,S}, and suppose that W\,...,Wk are all 2 - classes of possible worlds. Every class Wj is characterized by a consistent vector (* ij,...,uij,uj) of truth values of sentences Si,...Si,S. Given a probability distribution (pi^ pk) over the classes Wi,...,Wk, the truth probability of sentence Si is defined to be the sum of probabilities of classes of worlds in which Si is true, i.e., 7r(5,) = u.ipi + + From this semantics it follows that, given the knowledge -base B, the derived interval-value [a,/?] for the truth probability of the sentence 5 is defined by a = min ir(s), p = max w(s), where subject to the constraints^ ir(si) '= uipi 4----- 1- ukpk, J n = u.ipi + + UiKPK Ii (i = 1, -, L) X>> = 1> Pj > 0(j = 1 > J'=1 We denote the interval [a,/?] by F(S,B), and write B h< S,F(S, B) >. Now, let us give a get of sentence r. We define I to be the set of all mappings from r into C{0,1] - the set of closed subintervals of [0,1]. A such mapping I assigns to each sentence P T an interval I(P) e C[0,1]. The given knowledge base B defines an operator Rg from I into I as follows: For every I e l, we establish a new knowledge base Ứ = Bu{< P,J\P) > IPe r}.

and then we take for every P e r the interval I'(P) = F(P,B). The mapping 1' is Rb(I) defined to be the image of I by the operator RB : Rb(I) = I'- It is easy to see that if Rb(I) = V then Rb(I') = I1', therefore Rq(I) Rb(I) for any n > 1. (*) The calculation of the operator R b is reduced to the solution of linear programming problems which has to face up a very large computational complexity whenever the sizes of B and T are large. Some attem pts to reducing the size of linear programming problems have been investigated, e.g., a method of reduction is given in [7] for the cases when the core {Si,..., Si} of B forms a logic program. Instead of the method presented above we can use m ethods of approxim ate reasoning, e.g., by means of deductions based on inference rules (see [2]), however, in this case the property (*) may not be satisfied. 3. internal Uncertainty In this section a method of reasoning on knowledges with internal uncertainty will be discussed. We limit ourself to consider knowledges given by rules of the form: < Si, h > A - A < Sn.In >-+< S, I > Let us given a knowledge base B = {Jj j = 1,..., M}, where Jj is the rule: Jj < A-j i, Ij i > A A < Ajmj, Ijrrtj ^ ^, ^Cj ^ Let r be a set of sentences containing all sentences occuring in rules Jj(j = 1...M) of B. As above we denote by I the set of mappnings I from T to C[0,1]. For any h,h I, we say that h < h iff h(p) Q h{p) for every P T. We say that the rule Jj is satisfied by the mappning I e l, iff I(Ajk) C Ijk for every k = 1,..., m.j. Note that if mj = 0 then Jj is satisfied by any mapping I. Now we define an operator is from I into I, which transforms any I e I into a mapping <e(/) such that for every P e T: tb(i)(p) = J(P)n(p]/c,), j E where E ~ {j\acj = P and Jj is satisfied by I}. Here, for the I assume that n Ic, = [0,1] whenever E = 0. je/: 1 1!, ; We have the following proposition: ' >

Proposition.1. For any mapping T e l there exists always a natural number n such that <e+1(/) = In other orlds, the process of iteration of the operator ts on any given I e l always halts after a finite number of steps. Proof. Suppose that E0, E\, E2,... are the set of indexes of rules which are satisfied by I,te(I),tl(I),..., respectively. Let hi - i (i - 1,2,...) be the number of elements of the set?t {hi/i = 1,2,...} is then a sequence of integers such that 0 < h0 < h 1,...< h n <...< M. Consider two cases (i) There exists a number n such that /j _i = M, i.e., Jj is satisfied by the mapping <g-1(/) for every J = 1,..., M. In this case we have t%(i) = tg+i(i). (ii) There exists a number n such that hn_ 1 = hn < M. In this case we have En_x = En, and it is easy to see that The proposition has been proved. tnb(i) = tne+1(i). From this proposition we can define an operator Tg as follows: I, Xe(J) = tg(l), where n is the least number such that <g(/) = <g+1(/). For any I e Let S be a sentence. We denote by r the set consisting of S and of all sentences occuring in rules Jj of B. Let I be the mapping which assigns the interval [0,1] for every sentence in r. Then TB(I)(S) can be considered as the interval-value for the truth probability of the sentence S derived from the knowledge base B. 4. A Method of Reasoning. We consider now the knowledge bases consisting both types of knowledges with external and internal uncertainty. Let B be such a knowledge base, we can write B = BE U B1, where BE consists of knowledges with external uncertainty. Suppose that Be = {<Si,Ii >»= 1...L}, B1 = {Jj\j=\,..'.,M}, where \ Jj = K. A. j i, Ijl > A A < A jm j, Ijmj ^ ^ - ^cj, Icj ^ Let S be any (target) sentence. Our problem is to deduce from the knowledge base B the interval value for the truth probability of the sentence S.

For this purpose we put r to be the set consisting of the sentence S and all distinct sentences occuring in BE and Br. Denote by I the set of mappings from T to C[0,l]. Let I0 be the mapping defined by f U, if P = Si for some i = 1,..., W = { [0,1], otherwise. Jo is called the initial assignment (of interval-value to sentences in r). Now we define a sequence of assignments In (n = 0,1,..., ) initiated by I0 and given recursively as follows: f fc(in- 1 ), if n is odd \ if n is positive even. Here T l stands for Rbe, and T stands for T b i. Proposition 2. Let B be a knowledge base, and S be any given sentence. There exists a natural number n such that In+2 = / + 1 = /«Proof. From the definition of the sequence {/ } ( = 0,1,...) we can write T n T t T n k j t, n T t j n Jo' * ^11 * ^2' * + ---- Let hi be a number of rules Ji satisfied by 7,(i = 1,3,5,...). Then, {A*} is a sequence of integers such that i f - 0 < hx < h3 < < hn- 2 < hn < < M. Consider two cases (i) There exists a number n such that /in_2 = M, i.e, Jj is satisfied by the mapping In- 2, for every j = 1,...,M. Then, any rule Jj(j = 1,...,M) is also satisfied by the mappings / _! = T(ln-l) Thus In = K(In) /«+1 = T(/ ) = In In + 2 = ^(^n + l) = T^{In) ~ In Or In ~ In + l In + 2 (ii) There exists a number n such that hn = /i _2 < M. Then the sets of rules satisfied'by In and by /n_2 are the same. Therefore, and we have again / = 7 +1 = / +2. This com pletes our proof. / +i = T(7 ) = / In+2 'R{In +1) = In+l

Let n be the least number having the'property sated in the proposition 2. We denote this / by /*, and call it to be the resulting assignment deduced from B to sentences in T. The interval I*(S) is defined to be the interval value for the truth probability of the sentence S derived from the knowledge base B. We write also: Bh< S,I*(S) >. v 5. Examples This section presents two examples illustrating the method of reasoning in a knowledge base consisting of both types of knowledge with internal and external uncertainty. Example 1... Given a knowledge base B - BE U B1 where BE is the set of sentences and Bl is the set of rules B^A: [1,1] A-*C:[ 1.1] B : [.2,.6] C : [-6,.7] J, = C : [.5,.7] B : [.3,.5] J2 = B : [.2,.5] A C : [.5,.7] A : [.2,.5]' Calculate the interval of truth probabilities of the sentence A.. Step 1. Applying the operator 7v, we get.4: [.2,.7] B : [.2,.G] C : [.6,.7]. Step 2. Both rules J\ and J2 are satisfied, so applying the operator T we obtain.4 : [.2,.5] B : [.3,.5] C:[.6,.7]. Step 3. Iterate 7?, where B : [.2,.6] is now replaced by B: [.3,.5], we get A : [.3,.5], «As both Ji and J2 are satisfied after Mep 1, it is not necessary to repeat T after step 3 and we get the finall result A : [.3,.5]. Note that BE is a type-a problem (see [2]); hence, we can apply the type-a rules to computing the intervals for A,B,C instead of solving linear programming problems.

Example 2. This example is more complex than the above; it illustrates the iteration of the operator T. Suppose that we wish to derive the interval of truth probabilities of the sentence A AD from the knowledge base B = BEuBr where BE is the set defined as follows B * A: [.9,1] D -> B : [.8,.9] A * C : [.6,.8] and B1 is the set of the rules Jj(j = 1,2,3) : Step 1 Applying 11, we have D:[.8,l] C : [.2,.4] Ji = C : [-1,-5] >BAD: [.7,1] J2 = C: [.2,,3] A (BAD) : [.7,.9] AAD: [.4,.7] Step 2. Since only Ji is satisfied, we get J3 = A A D : [.6,.9] C : [.2,.3]. A [-2,8] BAD [-6,.9] AAD [-5,.8] C [ 2,4] D [-8,1]. B A D : [.7,.9] and the interval values of A, A A D,C,D are not varied. Step 3. Repeating TZ, only the interval value of A A D is varied AAD: [.6,.8] Step 4 Repeating T, now J3 and J2 are satisfied, so we have C : [-2,.3] AAD: [.6,.7]. Step 5. BE is now changed into B' which consists of: B A [.9,1] D-^B [-8,9] A C [-6,8] D [.8,1] C [.2,3]

7Z is repeated and we have A A D : [.6..7]. By virtue of that all rules in Br are satisfied in step probability of.4 A D is [.6,.7]. the interval value for the truth References 1. Baldwin J.F., Evidential support logic programming, Fuzzy Sets and Systems, v 24 (1987), p. 1-26. 2. Frisch A.M. k Haddawy P., Anytime deduction for probabilistic logic, October 21, 1992 (Subm itted for publication). 3. Genesereth M.R. k Nilsson N.J., Logical foundations of Artificial Intelligence Morgan Kaufman Publ. Inc. Los Altos, CA, 1987. 4. Nilsson N.J., Probabilistic logic, Artificial Intelligence 28(1986), p.71-78. 5. Phan I).D., Probabilistic logic for approximate reasoning, in I. Plander (ed.) Artificial Intelligence and Information Control System of Robots-89 (North Holland 1989), p. 107-112. 6. Phan D.D. On a theory of interval-valued probabilistic logic, Research Report, NCSR Vietnam, Hanoi 1991. 7. Phan D.D. k Phan H.G., Interval-valued probabilistic logic for logic programs, March 1993 (to appear). 8. Raymond Ng. k Subralimanian V.S., Probabilistic logic programming, Information and Computation v. 101 (1992), p. 150-201. '' Abstract The paper presents a method of logical reasoning in knowledge bases with uncertainty; such a knowledge base is given by a set of knowledges of two following forms: (1) < S, I > where S is a sentence, and I C [0,1] is an interval of the possible values for truth probability of S. (2) < Si, h > A < So, h > A A < S, / >-^< S,I >, where Si,...,Sn,S are sentences, and are the corresponding intervals of their truth probabilities. Let B be a such knowledge base, and S be a goal sentence. The interval of truth probabilities of S derived from B can be found by the proposed method.