U-19

Reasoning with Uncertainty



Fuzzy Logic



Principle of Incompatibility (Zadeh)

"As the complexity of a system increases, our ability to make precise and yet significant statements about its behaviour diminishes until a threshold is reached beyond which precision and significance (or relevance) become almost mutually exclusive.



Conventional Set theory: membership {0,1}

Fuzzy set theory: membership [0,1]



D. Dubois and H. Prade:

"The grade of membersehip reflect an ordering of the object in the universe induced by the predicate associated with fuzzy set A; this ordering, when it exists, is more important than the membership value itself.



In fact, we can define a fuzzy set on a lattice where only partial order exists 0 L-fuzzy set.

Operations of Fuzzy Sets



Fuzzy Logic



Linguistic Variable and Linguistic Hedges








Example of Hedges

  1. Concentration (very)
    mCON(A) (x) = (mA(x))2
    tall persons 0 very tall persons.

  2. Dilation (somewhat)
    mDIL(A) (x) = (mA(x))0.5
    tall persons 0 more or less tall person

  3. Intensification (indeed)
    mINT(A) (x) = 2(mA(x))2 for 0 ú mA(x) ú 0.5
    mDIL(A) (x) = 1 - 2(1-(mA(x))2 for 0.5 < mA(x) ú 1
    tall persons 0 indeed tall person

  4. power (very very)
    mPOW(A) (x) = (mA(x))n
    tall person 0 very very tall person (e.g. use n=3)

Fuzzy Inference





Example:

Consider Normal temperature={0/100,0.5/125,1/150, 0.5/175,0/200}
Medium Velocity={0/10, 0.6/20, 1/30, 0.6/40, 0/50}



100

125

150

175

200


10


min(0,0)

Min(0.5,0)

Min(1,0)

Min(0.5,0)

min(0,0)


20


Min(0,0.6)

min(0.5,0.6)

Min(1,0.6)

min(0.5,0.6)

Min(0,0.6)


30


Min(0,1)

Min(0.5,1)

min(1,1)

Min(0.5,1)

Min(0,1)


40


Min(0,0.6)

Min(0.5,0.6)

Min(1,0.6)

min(0.5,0.6)

Min(0,0.6)


50


min(0,0)

Min(0.5,0)

Min(1,0)

Min(0.5,0)

min(0,0)


or,


0

0

0

0

0



0

0.5

0.6

0.5

0



0

0.5

1

0.5

0



0

0.5

0.6

0.5

0



0

0

0

0

0



0

0

0

0

0




0




0



0

0.5

0.6

0.5

0




0.5




0.5



0

0.5

1

0.5

0




0


=


0.5



0

0.5

0.6

0.5

0




0




0.5



0

0

0

0

0




0




0




Multiple-Premise Rules



Defuzzification

Multiple Fuzzy Rules



Building a Fuzzy expert system



Examples of Fuzzy Rules

Rules for car control:

Rule 1 - Brake lightly

IF error_angle is large_positive
AND speed is fast
THEN make acceleration brake_light



Rule 2 - Brake lightly

IF error_angle is large_negative
AND speed is fast

THEN make acceleration brake_light



Rule 3 - Floor it

IF distance is far
AND speed is NOT VERY fast

THEN make accleration floor_it



Rule 4 - Set acceleration

IF distance is far

AND speed is VERY fast

THEN make acceleration zero



Rule 5 - Slight acceleration

IF distance is medium
AND speed is NOT fast
THEN make acceleration slight_acceleration



Probabilistic Approach

Pearl's Probabilistic Reasoning in Bayesian Networks



Prospector's Subjective Bayesian Approach







\ if the truth of E increases the probability of H (LS > 1), then the falsity of E has a negative effect on H (LN < 1).



Management of uncertain evidence in Prospector






Mycin's Certainty Factor










  1. Parallel Combination




  2. Sequential Combination




Dempster-Shafer Theory of Evidence





Evidence Combination



Example:

Suppose one source of evidence supports a bacteria pneumonia ({Pneumococcus, Legionella, Klebsiella}) to a degree 0.3, wheareas another disconfirms Pneumomococcus degree 0.6.



Frame of discernment X = {Pneumococcus, Legionella, Klebsiella,
Chlamydia, Mycoplasma}

m1(X) = 0.7

m1({Pneumococcus, Legionella, Klebsiella}) = 0.3

m2({Legionella, Kelbsiella, Chlamydia, Mycoplasma}) = 0.6

m2(X) = 0.4



then m12(X) = 0.28 (K=0)
m12({Legionella, Klebsiella, Chlamydia, Mycoplasma})=0.42

m12({Legionella, Klebsiella})=0.18

m12({Pneumococcus, Legionella, Klebsiella})=0.12

and m12=0 for the remaining subsets of X.

\ BEL12({Peumococcus, Legionella, Klebsiella})=0.18+0.12=0.3

BEL12({Legionella, Klebsiella, Chlamydia, Mycoplasma})
= 0.42+0.18 = 0.6

BEL12({Legionella, Klebsiella}) = 0.18

BEL12({Legionella, Klebsiella, Chlamydia}) =
BEL12({Legionella, Klebsiella, Mycoplasma}) = 0.18

BEL12({Pneumococcus, Legionella, Klebsiella, Chlamydia}) =
BEL12({Penumococcus, Legionella, Klebsiella, Mycoplasma}) =
BEL12({Pneumococcus, Legionella, Klebsiella}) = 0.30



BEL12({Pneumococcus, Legionella, Klebsiella, Chlamydia,
Mycoplasma}) = 1.0

and the remaining subsets of X have a belief = 0



Now, assume a 3rd source of evidence confirms the diagnosis of Pneumococcus with degree 0.7.

\ m3({Pneumococcus}) = 0.7

m3(X) = 0.3

which when combined with m12's:

K=0.18 ´ 0.7 ´ + 0.42 ´ 0.7 = 0.42

\ 1-K = 0.58



m123({Legionella, Klebsiella}) = 0.3 ´ 0.18 / 0.58 = 0.093

m123({Pneumococcus}) = (0.7´0.12 + 0.7´0.28)/0.58=0.483

m123({Pneumococcus, Legionella, Klebsiella})=0.12´0.3/0.58
= 0.062

m123({Legionella, Klebsiella, Chlamydia, Mycoplasma}) =
0.42 ´ 0.3 / 0.58 = 0.217

m123(X) = 0.28 ´ 0.3 / 0.58 = 0.145

m123 is 0 for the remaining subset of X.