This edition is still being built. The reference list, the symbol glossary, the acronym list and the subject index are not published yet, so some links do not lead anywhere. The twelve chapters are complete.

Parametric Uniformity and Conditional Structures

2 Background

2.1 Probabilistic Conditional Knowledge Base

The framework for probabilistic conditionals with instantiation restrictions (PCI), as described in [4], provides different options for syntactical expressions of probabilistic knowledge bases. The option we will use as a base for this thesis is the firt order probabilistic conditional language (FOPCL), which is an extension of the probabilistic conditional logic to the relational case.

Let L\L be a quantifier-free first-order language defined over a many sorted first order signature Σ=(Sort,Const,Pred)\Sigma = (Sort,Const,Pred), where SortSort is a set of sorts, ConstConst is a finite set of constants, and PredPred is a set of predicates, each having a specific arity of the form s1×snSortns_1 \times \cdots s_n \in Sort^n, indicating the required sorts for the arguments. Individual variables are used within the predicates, whereby each variable ranges over a unique sort sSorts\in Sort. The language (LL)prob(\L|\L)^{prob} consists of FOPCL conditionals of the form R\R =< ( ϕ  ψ )[ρ], ξ >= \big<~\big(~\phi~|~\psi~\big)[\rho],~\xi~\big>, where ϕ\phi, ψ\psi L\in \L are first-order formulas, ρ\rho [0..1]\in [0..1] is a probability and ξ\xi is a set of instantiation restrictions, which are formulas of L\L using only the equality predicate. We call ϕ\phi the conclusion and ψ\psi the antecedence of R\R. The set of all FOPCL conditionals is denoted by R\allR. A FOPCL knowledge base is a set of FOPCL conditionals and is denoted by K\kb.

In this thesis we will only make use of FOPCL knowledge bases and FOPCL conditionals and therefore will simply refer to them as knowledge bases and conditionals.

A ground instance is an instance of a conditional in which all variables in the conclusion and antecedence formulas are substituted with a dedicated set of elements of the sorts over which the respective variables are defined. An admissible ground instance of a conditional is a ground instance which is not restricted by a formula within the instantiation restrictions of the conditional. The grounding of a knowledge base is the set of all admissible ground instances which can be generated from a knowledge base. A ground atom is the instance of a predicate within a grounding of a knowledge base.

Example 1 (Grounding of a Knowledge Base)

Let s1={ a, b }s_1 = \{~a,~b~\} and s2={ x, y }s_2 = \{~x,~y~\} be two sorts, CC be a predicate with arity s1×s2s_1 \times s_2 and AA be a predicate with arity s2×s2s_2 \times s_2.

Let R=< ( C(V1,V2)  A(V2,W1) )[0.42], V1b, V2W1 >\R = \big<~\big(~C(V_1,V_2)~|~A(V_2,W_1)~\big)[0.42],~V_1 \neq b,~V_2 \neq W_1~\big> be a FOPCL conditional with V1V_1 being a variable over s1s_1 and V2,W1V_2, W_1 being variables over s2s_2. Let K={ R }\kb = \{~\R~\} be a knowledge base.

Then the admissible ground instances of R\R are

r1=<(C(a,x)A(x,y))>,r_1 = \big<\big(C(a,x)|A(x,y)\big)\big>,
r2=<(C(a,y)A(y,x))>.r_2 = \big<\big(C(a,y)|A(y,x)\big)\big>.

All other groundings are restricted by the instantiation restrictions of R\R, i.e. by either V1bV_1 \neq b or V2W1V_2 \neq W_1 or the mandated equality of the second variable in predicate CC and the first variable in predicate AA.

The grounding of K\kb is the set { r1, r2 }\{~r_1,~r_2~\}.

The ground atoms of K\kb are C(a,x), C(a,y), A(x,y)C(a,x),~C(a,y),~A(x,y) and A(y,x)A(y,x).

In this thesis we assume all knowledge bases to be consistent and therefore also each conditional to be self-consistent, i.e. for every conditional RR within a knowledge base K\kb there must exist at least one model MM for which it holds that MRM \models R and MKM \models \kb, whereby \models is the propositional entailment function. Furthermore we only assume conditionals which have consistent constraint formulas, i.e. which are constraint-consistent. Finally we assume all conditionals to be in constraint normal form as defined by definition 1 in [2].

As this thesis focuses on conditional structures, it is not necessary to take into account the probabilities of conditionals. The next definition therefore allows us an easier notation.

Definition 1 (OP-Conditionals)

An op-conditional is a FOPCL conditional for which the assigned probability ρ\rho is omitted (e.g. in order to simplify notation).

Throughout this thesis we will only make use of op-conditionals. It is important that nevertheless all material in this paper is still based on FOPCL, although the related results are independent of probabilities. This paper does not investigate any applicability of the achieved results outside the PCI framework.

The following sets are defined in a similar way as in [2].

Definition 2 (Sets of Groundings and Ground Atoms)

Let K\kb be an FOPCL knowledge base, with RK\R\in\kb a conditional and P1,,PnP_1,\cdots, P_n being predicate symbols occurring in R\R.

gnd(R)\gnd(R) is the set of admissible ground instances of a conditional RR - this set will also be called groundings of RR.1

at(r):={ c1, , cn, a1, , am  }\at(r) := \{~c_1,~\cdots,~c_n,~a_1,~\cdots,~a_m~~\} is the set of ground atoms occurring in a specific grounding rr of a conditional R\R.

atR(P1,,Pn):={ p11, , p1k,, pnl }\at_R(P_1,\cdots,P_n) := \{~p_{1_1},~\cdots,~p_{1_k},\cdots,~p_{n_l}~\} is the set of ground atoms of predicate symbols P1, , PnP_1,~\cdots,~P_n, whereby the ground atoms occur within the admissible ground instances of conditional R\R.

H(K):=RK rgnd(R)at(r)\herbrand(\kb) := \bigcup_{\R\in\kb}~\bigcup_{r\in\gnd(\R)} \at(r) is the Herbrand base of the conditional knowledge base K\kb, i.e. the set of all ground atoms occurring in the admissible ground instances of conditionals in K\kb. We write H(R1)\herbrand(R_1) if the knowledge base consists only of a single conditional.

pgnd(R)={ r  pat(r), rgnd(R) }|p|_{gnd(\R)} = \{~r~|~p\in\at(r),~r\in\gnd(\R)~\} is the grounding sum of ground atom pp, i.e. the number of groundings of conditional RR in which the grounded atom pp occurs.2

(p,q)gnd(R)={ r  pat(r), qat(r), rgnd(r) }|(p,q)|_{gnd(\R)} = \{~r~|~p\in\at(r),~ q\in\at(r),~r\in\gnd(r)~\} is the common grounding sum of ground atoms pp and qq, i.e. the number of groundings of conditional RR in which the grounded atoms pp and qq both occur.3

Example 2 (Sets of Groundings and Ground Atoms)

Let R1=<(C(V)A(W)),Va>R_1 = \big<\big(C(V) | A(W)\big), V \neq a\big> and R2=<(C(V))>R_2 = \big<\big(C(V)\big)\big> be two atomic conditionals, with variable VV ranging over sort s1={ a, b }s_1 = \{~a,~b~\} and variable WW ranging over sort s2={ x, y }s_2 = \{~x,~y~ \}. Let K={ R1, R2 }\kb = \{~R_1,~R_2~\}.

Then we get:

  • gnd(R1)={ < (C(b)A(x)) >, < (C(b)A(y)) > }\gnd(R_1) = \{~\big<~\big(C(b)|A(x)\big)~\big>,~\big<~\big(C(b)|A(y)\big)~\big>~\};
  • gnd(R2)={ < (C(a)) >, < (C(b)) > }\gnd(R_2) = \{~\big<~\big(C(a)\big)~\big>,~\big<~\big(C(b)\big)~\big>~\};
  • H(K)={ C(a), C(b), A(x), A(y) }\herbrand(\kb) = \{~C(a),~C(b),~A(x),~A(y)~\};
  • at(A)={ A(x), A(y) }\at(A) = \{~A(x),~A(y)~\};
  • at(C)={ C(a), C(b) }\at(C) = \{~C(a),~C(b)~\};
  • atR1(C)={ C(b) }\at_{\R_1}(C) = \{~C(b)~\};
  • atR1(A)={ A(x), A(y) }\at_{\R_1}(A) = \{~A(x),~A(y)~\};
  • atR2(C)={ C(a), C(b) }\at_{\R_2}(C) = \{~C(a),~C(b)~\};
  • atR2(A)=\at_{\R_2}(A) = \emptyset;
  • at(<( C(b)  A(x) >)={ C(b), A(x) }\at(\big<\big(~C(b)~|~A(x)~\big>\big) = \{~C(b),~A(x)~\};
  • C(a)gnd(R1)=0|C(a)|_{\gnd(\R_1)} = 0, C(b)gnd(R1)=2|C(b)|_{\gnd(\R_1)} = 2;
  • A(x)gnd(R1)=1|A(x)|_{\gnd(\R_1)} = 1, A(y)gnd(R1)=1|A(y)|_{\gnd(\R_1)} = 1;
  • C(a)gnd(R2)=1|C(a)|_{\gnd(\R_2)} = 1, C(b)gnd(R2)=1|C(b)|_{\gnd(\R_2)} = 1;
  • A(x)gnd(R2)=0|A(x)|_{\gnd(\R_2)} = 0, A(y)gnd(R2)=0|A(y)|_{\gnd(\R_2)} = 0;
  • (C(b),A(y))gndR1=1|(C(b), A(y))|_{\gnd{\R_1}} = 1.

2.2 Parametric Uniformity

In this section we give an introduction to the semantical concepts which require a knowledge base to be parametrically uniform. We then look at the balanced criteria, which allows us to determine on a syntactical level whether a knowledge base is parametrically uniform. We will furthermore describe how on the level of conditionals any knowledge base can be transformed so that it becomes parametrically uniform. All this will be done in a very brief way and it is assumed that the reader is familiar with the related concepts. The material offered here is mostly a summary from [2]. Only those propositions from [2] which are essential to understand the material in this paper have been repeated.

There are different ways to interpret and model probabilistic knowledge bases on the semantical level. One of the goals is usually to find a probability distribution which fits the conditional probabilities. Logical reasoning is then done based on such a probability distribution. Usually there is not only one, but many probability distributions which fit the conditional probabilities of a knowledge base. One very successful way to do so is the maximum entropy model as e.g. defined in [10] and [8]. The maximum entropy model is optimal in the sense that it is the most unbiased one.

In order to compute the maximum entropy model, a transformed version of the Gibbs distribution (as described in [9]) has proven to be most effective, which requires a knowledge base to have the property of parametric uniformity as described in [2].

Definition 3 (Parametric Uniformity Function)

Let K\kb be an knowledge base.

It is isPU(K)\isPU(\kb) the function which indicates whether the FOPCL knowledge base K\kb is parametrically uniform.

Parametric uniformity can also be investigated on a pure syntactical level. For this, the concepts of balanced sharing and balanced usage of ground atoms is used.

Definition 4 (Imbalanced Sharing (from [2]))

Let R1,R2KR_1, R_2 \in \kb be two different conditionals, and let PR1at(R1)P_{R_1} \in at(R_1) and PR2at(R2)P_{R_2} \in at(R_2).

  1. There is an imbalanced sharing of ground atoms by R1R_1 and R2R_2 (with respect to PR1P_{R_1} and PR2P_{R_2}), iff atR1(PR1)atR2(PR2)at_{R_1}(P_{R_1}) \cap at_{R_2}(P_{R_2}) \neq \emptyset and atR1(PR1)atR2(PR2)at_{R_1}(P_{R_1}) \neq at_{R_2}(P_{R_2}).
  2. Let QR1at(R1)Q_{R_1} \in at(R_1) and QR2at(R2)Q_{R_2} \in at(R_2) be atoms different from PR1P_{R_1} and PR2P_{R_2}, respectively. There is an imbalanced sharing of combinations of ground atoms by R1R_1 and R2R_2 (with respect to PR1,QR1P_{R_1}, Q_{R_1} and PR2,QR2P_{R_2},Q_{R_2}) iff atR1(PR1,QR1)atR2(PR2,QR2)at_{R_1}(P_{R_1}, Q_{R_1}) \cap at_{R_2}(P_{R_2}, Q_{R_2}) \neq \emptyset and atR1(PR1,QR1)atR2(PR2,QR2)\at_{R_1}(P_{R_1}, Q_{R_1}) \neq \at_{R_2}(P_{R_2}, Q_{R_2}).
  3. There is an imbalanced sharing in K\kb iff there are conditionals in K\kb such that (1) or (2) is the case.

Definition 5 (Imbalanced Use (from [2]))

Let RKR \in \kb and PRat(R)P_R \in at(R).

  1. There is an imbalanced use of ground atoms by RR (with respect to PRP_R) iff there are p,patR(P)p, p' \in \at_R(P) such that pgnd(R)<pgnd(R)|p|_{gnd(R)} < |p'|_{gnd(R)}.
  2. Let QRat(R){Q_R \in at(R)} be different from PRP_R. There is an imbalanced use of combinations of ground atoms by RR (with respect to PRP_R and QRQ_R) iff there are p,patR(P){p, p' \in \at_R(P)} and q,qatR(Q){q,q' \in \at_R(Q)}, such that (p,q)gnd(R)<(p,q)gnd(R){|(p,q)|_{gnd(R)} < |(p',q')|_{gnd(R)}}.
  3. There is an imbalanced use in in K\kb iff there is a conditional in RR such that (1) or (2) is the case.

Definition 6 (Balanced and imbalanced knowledge base (from [2]))

K\kb is imbalanced iff there is an imbalanced sharing or an imbalanced use in K\kb, otherwise K\kb is balanced.

Example 3 (Imbalanced Sharing)

Continuing from example 2.

There is an imbalanced sharing between R1R_1 and R2R_2, as atR1(C)atR2(C)at_{R_1}(C) \cap at_{R_2}(C) \neq \emptyset and atR1(C)atR2(C)at_{R_1}(C) \neq at_{R_2}(C).

There is no imbalanced usage within R1\R_1 or R2\R_2.

As there are conditionals which are not balanced it follows that K\kb is not balanced.

Definition 7 (Balanced Functions)

Let K\kb be an knowledge base. Let R1,R2K\R_1, \R_2\in\kb.

Then

We usually write isBU(R)\isBU(\R) instead of isBU(R)=true\isBU(\R)=true and ¬isBU(R)\neg\isBU(\R) instead of isBU(R)=false{\isBU(\R)=false}

Example 4 (Balanced Functions)

Continuing from example 3.

We get isBU(R1)\isBU(\R_1), isBU(R2)\isBU(\R_2) and ¬isBS(R1,R2)\neg\isBS(\R_1,R_2) and therefore it holds that isBU(K)\isBU(\kb) and ¬isBS(K)\neg\isBS(\kb).

Proposition 4 in [2] states that a knowledge base is parametrically uniform iff it is balanced. Based on this a set of transformation rules is derived in [2], which remove all imbalances from a given consistent knowledge base. With these rules, any given consistent knowledge base K\kb can be transformed into a parametrically uniform version of K\kb. The set of transformation rules is shown in table 2.1, whereby ν\nu indicates the constraint normal form operator, which is also defined in [2], but will not further be explained here.

Definition 8 (Parametric Uniformity Function (from [2]))

Let K\kb be an knowledge base.

Then PU(K)\PU(\kb) is the parametrically uniform version of knowledge base K\kb after all applicably transformation rules as shown in table 2.1 have been exhaustively applied to K\kb.

(TE1)(TE_1)R{R1,R2}R{R1}ν{σ(R2),σˉ(R2)}\frac{\R \cup \{R_1, R_2\}}{\R \cup \{R_1\} \cup \nu\{\sigma(R_2), \bar{\sigma}(R_2) \}}R1<P>V,cR2,σ={V/c}R_1 \leftarrow \big<P\big>_{V,c}\rightarrow R_2, \sigma=\{V/c\}
(TE2)(TE_2)R{R1,R2}R{R1}ν{σ(R2),σˉ(R2)}\frac{\R \cup \{R_1, R_2\}}{\R \cup \{R_1\} \cup \nu\{\sigma(R_2), \bar{\sigma}(R_2) \}}R1<P>V,ZR2,σ={V/Z}R_1 \leftarrow \big<P\big>_{V,Z}\rightarrow R_2, \sigma=\{V/Z\}
(TE3)(TE_3)R{R1,R2}R{R1}ν{σ(R2),σˉ(R2)}\frac{\R \cup \{R_1, R_2\}}{\R \cup \{R_1\} \cup \nu\{\sigma(R_2), \bar{\sigma}(R_2) \}}R1<P,Q>V,ZR2,σ={V/Z}R_1 \leftarrow \big<P,Q\big>_{V,Z}\rightarrow R_2, \sigma=\{V/Z\}
 ~
(TA1)(TA_1)R{R}Rν{σ(R),σˉ(R)}\frac{\R \cup \{R\}}{\R \nu\{\sigma(R), \bar{\sigma}(R) \}}<Q>V,cR,σ={V/c}\big<Q\big>_{V,c} \rightarrow R, \sigma=\{V/c\}
(TA2)(TA_2)R{R}Rν{σ(R),σˉ(R)}\frac{\R \cup \{R\}}{\R \nu\{\sigma(R), \bar{\sigma}(R) \}}<Q>V,ZR,σ={V/Z}\big<Q\big>_{V,Z} \rightarrow R, \sigma=\{V/Z\}
(TA1)(TA_1)R{R}Rν{σ(R),σˉ(R)}\frac{\R \cup \{R\}}{\R \nu\{\sigma(R), \bar{\sigma}(R) \}}<Q,S>V,ZR,σ={V/Z}\big<Q,S\big>_{V,Z} \rightarrow R, \sigma=\{V/Z\}

Transformation rules PU\PU yielding parametric uniformity.

Figure 2.1 Transformation rules PU\mathcal {PU} yielding parametric uniformity.

Example 5 (Transformation Rules)

Continuing from example 4.

We make use of the transformation rules to resolve the imbalanced sharing and therefore replace R2R_2 with the two atomic conditionals R21=< (C(V)), Va >{R_{2-1} = \big<~\big(C(V)\big),~V\neq a~\big>} and R22=< (C((a)) >{R_{2-2} = \big<~\big(C((a)\big)~\big>}.

Then we have

  • gnd(R21)={ <c(b)> }\gnd(\R_{2-1}) = \{~\big<c(b)\big>~\};
  • gnd(R22)={ <c(a)> }\gnd(\R_{2-2}) = \{~\big<c(a)\big>~\};
  • atR21(C)={ c(b) }\at_{\R_{2-1}}(C) = \{~c(b)~\}
  • atR22(C)={ c(a) }\at_{\R_{2-2}}(C) = \{~c(a)~\}

The knowledge base K={R1,R21,R22}{\kb' = \{\R_1, \R_{2-1}, \R_{2-2}\}} is balanced with respect to sharing as atR1(C)=atR21(C){at_{\R_1}(C) = at_{\R_{2-1}}(C)} and atR1(C)atR22(C)={at_{R_1}(C) \cap at_{R_{2-2}}(C) = \emptyset} and atR21(C)atR22(C)={at_{R_{2-1}}(C) \cap at_{R_{2-2}}(C) = \emptyset} and atR1(A)at_{R_1}(A) also does not share any atoms with the other sets.

2.3 Conditional Structure

In this section we will show how the conditional structure (CS) of a knowledge base can be derived from the ground atoms of its conditionals. We will therefore treat the ground atoms as truth variables which form the base for a set of possible worlds. Within each world we will count for every conditional the verified and falsified ground atoms and combine these two numbers to a vf-pair. The vf-pairs of all conditionals for a specific possible world is then called the conditional impact and the set of all conditional impacts is the CS.

In the upcoming chapters we will need to create subsets of certain types of ground atoms and will therefore need quite some flexibility in the derivation of possible worlds. The first definition in this section therefore defines a possible world in a very generic way.

Definition 9 (Possible Worlds)

Let { ga1, , gan }\{~ga_1,~\cdots,~ga_n~\} be a set of ground atoms. Let K\kb be a FOPCL knowledge base.

Then a possible world ω\omega is a specific assignment of truth values to a n-tuple of ground atoms.

The set of all possible worlds which can be derived from the ground atoms ga1, , gan{ga_1,~\cdots,~ga_n} is denoted by Ω({ ga1,,gan })\Omega(\{~ga_1,\cdots,ga_n~\}).

The set of all possible worlds which can be derived from the conditionals of a knowledge base K\kb is denoted by Ω(K):=Ω(H(K))\Omega(\kb) := \Omega(\herbrand(\kb)).

Note that we will use the term "derived" in order to express how the possible worlds are generated by assigning all possible combinations of truth values to the ground atoms of a knowledge base.

We will say that ω\omega is a possible world of K\kb or R\R if ω\omega is derived from the ground of atoms of the knowledge base K\kb or the conditional R\R respectively.

The following example will also introduce two styles of notation for possible worlds.

Example 6 (Possible Worlds)

Continuing from example 5.

Table 2.1 shows all possible worlds generated by the groundings of R1R_1 as well as R2R_2 and R1R_1, R21R_{2-1} and R22R_{2-2}.

Table 2.1
Ω(K)\Omega(\kb)c(a)c(a)c(b)c(b)a(x)a(x)a(y)a(y)
ω0\omega_{0}00000000
ω1\omega_{1}00000011
ω2\omega_{2}00001100
ω3\omega_{3}00001111
ω4\omega_{4}00110000
ω5\omega_{5}00110011
ω6\omega_{6}00111100
ω7\omega_{7}00111111
ω8\omega_{8}11000000
ω9\omega_{9}11000011
ω10\omega_{10}11001100
ω11\omega_{11}11001111
ω12\omega_{12}11110000
ω13\omega_{13}11110011
ω14\omega_{14}11111100
ω15\omega_{15}11111111
Table 2.1: Truth Table of Example 6

It follows that Ω(K)={ω0,,ω15}\Omega(\kb) = \{ \omega_0, \cdots, \omega_{15} \}.

We can denote specific possible worlds in two different styles, i.e. we can either write the content of ω2\omega_2 as ω2={ 0010 }{\omega_2 = \{~0010~\}}, which in most cases is sufficient, or we can write ω2={ c(a)=0, c(b)=0, a(x)=1, a(y)=0 }{\omega_2=\{~c(a)=0,~c(b)=0,~a(x)=1,~a(y)=0~\}}

The following is a different formulation of the related definition given [5]. 4

Definition 10 (vf-Pair, Counting Functions)

Let RiK\R_i \in \kb be an conditional with Ri=< ( ϕ  ψ ), ξ >\R_i = \big<~(~\phi~|~\psi~),~\xi~\big> and ωjΩ(Ka)\omega_j \in \Omega(\kba) and ϕ,ψL\phi, \psi\in\L.

Then

  • verRi(ωj):={ <(ca)>gnd(Ri)  ωjca }\verij := \big|\{~\big<(c|a)\big>\in\gnd(\R_i)~|~\omega_j \models c \wedge a~\}\big| is the counting function which counts the number of ground instances of conditional RiR_i of which the related ground atoms are verified by a possible world ωj\omega_j;
  • falRi(ωj):={ <(ca)>gnd(Ri)  ωj¬ca }\falij := \big|\{~\big<(c|a)\big>\in\gnd(\R_i)~|~\omega_j \models \neg c \wedge a~\}\big| is the counting function which counts the number of ground instances of conditional RiR_i for which the related ground atoms in the conclusion are falsified by possible world ωj\omega_j and the related ground atoms in the antecedence are verified by a possible world ωj\omega_j;
  • vfi,j=vfRi(ωj):=(verRi(ωj),falRi(ωj))\vf_{i,j} = \vf_{\R_i}(\omega_j) := (\verij, \falij), is a vf-pair, i.e. the tuple consisting of the numbers counted by the counting functions; and
  • VF\VF is the set of all vf\vf-pairs.

In section 4.8 we will introduce alternative counting functions which are defined based on the different influence of conclusion and antecedence ground atoms. Due to this we will refer to the above defined functions also as traditional counting functions.

Within the following example we will informally define the vf truth table. Note that the definition of the table is not fixed, i.e. we will sometimes modify this (or other) tables in order to underline certain aspects of the individual example cases.

Example 7 (vf-Pairs)

Continuing from example 6.

Table 2.2 shows the vf truth table of K\kb and K\kb', i.e. it lists all vfvf-pairs which are generated by the conditionals of K\kb and K\kb'.

Table 2.2
Ω(K)\Omega(\kb)c(a)c(a)c(b)c(b)a(x)a(x)a(y)a(y)R1R_1R2R_2R21R_{2-1}R22R_{2-2}
ω0\omega_{0}00000000(0,0)(0,0)(0,2)(0,2)(0,1)(0,1)(0,1)(0,1)
ω1\omega_{1}00000011(0,1)(0,1)(0,2)(0,2)(0,1)(0,1)(0,1)(0,1)
ω2\omega_{2}00001100(0,1)(0,1)(0,2)(0,2)(0,1)(0,1)(0,1)(0,1)
ω3\omega_{3}00001111(0,2)(0,2)(0,2)(0,2)(0,1)(0,1)(0,1)(0,1)
ω4\omega_{4}00110000(0,0)(0,0)(1,1)(1,1)(1,0)(1,0)(0,1)(0,1)
ω5\omega_{5}00110011(1,0)(1,0)(1,1)(1,1)(1,0)(1,0)(0,1)(0,1)
ω6\omega_{6}00111100(1,0)(1,0)(1,1)(1,1)(1,0)(1,0)(0,1)(0,1)
ω7\omega_{7}00111111(2,0)(2,0)(1,1)(1,1)(1,0)(1,0)(0,1)(0,1)
ω8\omega_{8}11000000(0,0)(0,0)(1,1)(1,1)(0,1)(0,1)(1,0)(1,0)
ω9\omega_{9}11000011(0,1)(0,1)(1,1)(1,1)(0,1)(0,1)(1,0)(1,0)
ω10\omega_{10}11001100(0,1)(0,1)(1,1)(1,1)(0,1)(0,1)(1,0)(1,0)
ω11\omega_{11}11001111(0,2)(0,2)(1,1)(1,1)(0,1)(0,1)(1,0)(1,0)
ω12\omega_{12}11110000(0,0)(0,0)(2,0)(2,0)(1,0)(1,0)(1,0)(1,0)
ω13\omega_{13}11110011(1,0)(1,0)(2,0)(2,0)(1,0)(1,0)(1,0)(1,0)
ω14\omega_{14}11111100(1,0)(1,0)(2,0)(2,0)(1,0)(1,0)(1,0)(1,0)
ω15\omega_{15}11111111(2,0)(2,0)(2,0)(2,0)(1,0)(1,0)(1,0)(1,0)
Table 2.2: vf Truth Table of Example 7

The lines in a vf truth table indicate all vf-pairs which the conditionals of a FOPCL knowledge base generate for a specific possible world. The following definition introduces these sets of vf-pairs as conditional impacts.

Definition 11 (Conditional Impact (from [7]))

Let K\kb be an FOPCL knowledge base and let ωΩ(K)\omega \in \Omega(\kb) be a possible world..

Then the conditional impact of possible world ω\omega is defined as

γci(ω):={ vfR(ω)  RK and 0iK }\gammaci(\omega) := \{~\vf_{R}(\omega)~|~R \in \kb ~\text{\it and} ~0 \leq i \leq |\kb|~\}

the set of vf-pairs generated by possible world ω\omega for all atomic conditional RKR \in \kb.

Example 8 (Conditional Impact)

Continuing from example 7.

The conditional impacts of the different possible worlds ωiΩ\omega_i \in \Omega can be read from the vf truth table in table 2.2.

For example the conditional impact of ω1\omega_1 for K\kb is γci(ω1)=( (0,1),(0,2) )\gammaci(\omega_1) = (~(0,1), (0,2)~) and for K\kb' it is γci(ω1)=( (0,1),(0,1),(0,1) )\gammaci(\omega_1) = (~(0,1), (0,1), (0,1)~).

The conditional structure of a knowledge base is now defined as the set of the conditional impacts over all possible worlds of the knowledge base.

Definition 12 (Conditional Structure (γtab\gamma _{tab}) (from [5]))

Let K\kb be a knowledge base.

Then the conditional structure (CS) of K\kb is the set of all conditional impacts of knowledge base K\kb, i.e.

γtab:=ωΩ(K)γci(ω).\gfull := \bigcup_{\omega\in\Omega(\kb)} \gammaci(\omega).

The set of all conditional structures is denoted by CS\allCS.

In order to construct the CS of a knowledge base we need to collect all conditional impacts of all possible worlds which can be derived from that knowledge base. We therefore need the complete vf truth table of the knowledge base, including all possible worlds and all conditionals. This thesis will investigate some alternative ways to generate the CS of a knowledge base, which is why we called the function in definition 12 γtab\gfull, i.e. to show that it is makes use of the vf truth table to construct the CS.

The following definition introduces a general notation for CSs, regardless of which method was used to construct them.

Definition 13 (Conditional Structure (γ\gamma ))

Let K\kb be a knowledge base.

We denote the conditional structure of K\kb as γ(K)\gamma(\kb).

So basically we will refer to the CS as γ(K)\gamma(\kb) and only in cases when it is necessary to mention a specific construction mechanism we will use a different notation, e.g. we will denote the CS as γtab(K)\gfull(\kb) if it is relevant that it was created as defined by definition 12.

Example 9 (Conditional Structure)

Continuing from example 8.

The CSs of K\kb and K\kb' can be read from the vf truth table as shown in table 2.2.

γ(K)=γtab(K)\gamma(\kb) = \gfull(\kb)={= \{( (0,0), (0,2) ),(~(0,0),~(0,2)~),( (0,0), (1,1) ),(~(0,0),~(1,1)~),( (0,0), (2,0) ),(~(0,0),~(2,0)~),
( (0,1), (0,2) ),(~(0,1),~(0,2)~),( (0,1), (1,1) ),(~(0,1),~(1,1)~),
( (1,0), (1,1) ),(~(1,0),~(1,1)~),( (1,0), (2,0) ),(~(1,0),~(2,0)~),
( (0,2), (0,2) ),(~(0,2),~(0,2)~),( (0,2), (1,1) ),(~(0,2),~(1,1)~),
( (2,0), (1,1) ),(~(2,0),~(1,1)~),( (2,0), (2,0) )(~(2,0),~(2,0)~)}\}
γ(K)=γtab(K)\gamma(\kb) = \gfull(\kb')={= \{( (0,0), (0,1), (0,1) ),(~(0,0),~(0,1),~(0,1)~),( (0,0), (0,1), (1,0) ),(~(0,0),~(0,1),~(1,0)~),
( (0,0), (1,0), (0,1) ),(~(0,0),~(1,0),~(0,1)~),( (0,0), (1,0), (1,0) ),(~(0,0),~(1,0),~(1,0)~),
( (0,1), (0,1), (0,1) ),(~(0,1),~(0,1),~(0,1)~),( (0,1), (0,1), (1,0) ),(~(0,1),~(0,1),~(1,0)~),
( (1,0), (1,0), (0,1) ),(~(1,0),~(1,0),~(0,1)~),( (1,0), (1,0), (1,0) ),(~(1,0),~(1,0),~(1,0)~),
( (0,2), (0,1), (0,1) ),(~(0,2),~(0,1),~(0,1)~),( (0,2), (0,1), (1,0) ),(~(0,2),~(0,1),~(1,0)~),
( (2,0), (1,0), (0,1) ),(~(2,0),~(1,0),~(0,1)~),( (2,0), (1,0), (1,0) )(~(2,0),~(1,0),~(1,0)~)}\}

Definition 14 (Common Method)

Let K\kb be a FOPCL knowledge base.

Then the method by which the CS of K\kb is determined by applying the function γtab\gfull is called the common method.

Note that all the CSs of all examples in this thesis have been constructed with the common method. We will see several examples in later chapters, where different methods are used, nevertheless for all these examples we also used the common method to check for the correctness of the results.

One of the main applications of CSs is for the generalized interactive scaling (GIS) which is used to apply maximum entropy reasoning under the so-called aggregation semantics. GIS is defined in [3] and [5]. GIS does not make directly use of the CS, but of the equivalence classes (EC) of possible worlds, i.e. the set of all possible worlds which generate the same conditional impact.

Definition 15 (Equivalence Classes of Possible Worlds (from [5]))

Let K\kb be a FOPCL knowledge base. Let ωΩ(K)\omega\in\Omega(\kb) be a possible world.

Then the equivalence class of possible world ω\omega is defined as

[ω/]:={ ω  γ(ω)=γ(ω), ωΩ(K) }.\omegaEC := \{~\omega'~|~\gamma(\omega) = \gamma(\omega'),~\omega'\in\Omega(\kb)~\}.

The the equivalence classes of possible worlds of K\kb is defined as

Ω(K)/:=ωΩ(K)[ω/].\OmegaEC := \bigcup\limits_{\omega\in\Omega(\kb)} \omegaEC.

Example 10 (Equivalence Classes of Possible Worlds)

Continuing from example 7.

We can read the equivalence classes of possible worlds of K\kb from the vf truth table in table 2.2, so that we have

ω0/\omega_{0_{/\equiv}}=={ ω0 }\{~\omega_0~\}        ~~~~~~~~ω1/\omega_{1_{/\equiv}}=={ ω1, ω2 }\{~\omega_1,~\omega_2~\}
ω3/\omega_{3_{/\equiv}}=={ ω3 }\{~\omega_3~\}ω4/\omega_{4_{/\equiv}}=={ ω4, ω8 }\{~\omega_4,~\omega_8~\}
ω5/\omega_{5_{/\equiv}}=={ ω5, ω6 }\{~\omega_5,~\omega_6~\}ω7/\omega_{7_{/\equiv}}=={ ω7 }\{~\omega_7~\}
ω9/\omega_{9_{/\equiv}}=={ ω9, ω10\{~\omega_9,~\omega_{10}ω11/\omega_{11_{/\equiv}}=={ ω11 }\{~\omega_11~\}
ω12/\omega_{12_{/\equiv}}=={ ω12 }\{~\omega_{12}~\}ω13/\omega_{13_{/\equiv}}=={ ω13, ω14 }\{~\omega_{13},~\omega_{14}~\}
ω15/\omega_{15_{/\equiv}}=={ ω15 }.\{~\omega_{15}~\}.

2.4 Related Work

In this section we give a brief summary of the material used for this paper and how within them the ideas of parametric uniformity and conditional structures were developed.

  • [10] introduces the concept of CS for a probabilistic conditional logic (PCL), based on propositional logic;
  • [10] describes a probabilistic conditional logic semantics based on the principle of maximum entropy (ME);
  • [8] extends the probabilistic conditional logic to the relational case, i.e. it describes an approach for a first-order probabilistic logic (FOPCL), which makes use of ME based semantics;
  • [11] introduces aggregation semantics (AGG) as an alternative approach to a first-order probabilistic logic which also employs an ME based semantics;
  • [4] extends AGG with the concept of instantiation restrictions (AGG-IR) and embeds both the AGG-IR approach as well as the FOPCL approach in the probabilistic conditionals with instantiation restrictions (PCI) framework;
  • [2] shows the importance of the property of parametric uniformity (PU) and introduces a mechanism to transform a FOPCL knowledge base into a parametrically uniform knowledge base (which was shown in section 2.2);
  • [4] introduces the proposition that if a knowledge base K\kb is parametrically uniform, then the two probability distributions PKAGGP_{\kb}^{AGG} and PKFOPCLP_{\kb}^{FOPCL} are identical (this proposition has not been proved);
  • [3] employs the generalized interactive scaling (GIS) algorithm in order to solve the optimization problem for the ME-distribution for aggregation semantics, the GIS thereby takes into account all possible worlds ω\omega of the related knowledge base;
  • [5] introduces the concept of a vf-pair, which is the base for conditional structures in the relational case;
  • [5] as well introduces the concept of equivalence classes of possible worlds [ω/][\omega_{/\equiv}], based on identical CSs;
  • [5] finally shows how equivalence classes of possible worlds can be used to make the GIS algorithm more efficient for the purpose of ME interference;
  • [6] introduces (based on vf-pairs and CS) the concept of the weighted conditional impact (WCI) and employs it to make the GIS algorithm even more efficient;
  • [7] introduces the concept of the conditional impact (CI).

In addition to the above listed material we extensively used the integrated development environment for relational probabilistic logic KReator, which is e.g. capable of transforming a FOPCL knowledge base into its parametrically uniform version, as described in [1].5

Notes

1

see definition of gnd(R)\gnd(\R) in [2].

2

see definition of pgnd(R)R|p|^R_{\gnd(\R)} in [2].

3

see definition of <p,q>gnd(R)R|\big<p,q\big>|^R_{\gnd(\R)} in [2].

4

In [5] we ver\ver is defined as follows:

veri(ω):={ aiHx(Ai,Bi)  ωAi(a)Bi(a) }\ver_i(\omega):=\big|\big\{~{\boldsymbol{a}}_i\in\mathcal{H}^{\boldsymbol{x}(A_i,B_i)}~|~\omega\models A_i(\boldsymbol{a})B_i(\boldsymbol{a})~\}\big|

Though the notation is significantly different from the one chosen in definition 10 they both encompass the same sets. We will not detail how the notation of [5] and the notation chosen for this thesis can be transformed into each other in order to avoid introducing all symbols and terminology which [5] uses. It is believed that the readers who are familiar with [5] can see the equivalence.

5

Source code of KReator can be found at http://kreator-ide.sourceforge.net/.