belief-networks

advertisement

Belief Networks

Kostas Kontogiannis

E&CE 457

Belief Networks

• A belief network is a graph in which the following holds:

– A set of random variables makes up the nodes of the network

– A set of directed links or arrows connects pairs of nodes. The intuitive meaning of an arrow from node X to node Y is that X has a direct influence on Y

– Each node has a conditional probability table that quantifies the effects that the parents have on the node. The parents of a node are all those nodes that have arrows pointing to it.

– The graph has no directed cycles (hence is a directed, acyclic graph, DAG)

Conditional Probability Table

F

F

T

T

Burglary

F

T

T

Earthquake

0.95

P(Alarm |

Burglary,

Eartquake

T

F

0.95

0.290

0.001

P(Alarm |

Burglary,

Eartquake

F

0.050

0.050

0.710

0.999

The Semantics of Belief Networks

• Once we have specified the topology we need to specify the Conditional Probability Table for each node. Each row in the table contains the conditional probability of each node value for a conditional case.

• Each row in a conditional probability table must sum to 1, because the entries represent an exhaustive set of cases for the variable. In general, a table for a Boolean variable with n Boolean parents contains 2 n independently specifiable probabilities.

Representing the Joint Probability

Distribution

• A belief network provides a complete description of the domain. Every entry in the joint probability distribution can be calculated from the information in the network.

• The value of the probability that the random variables X

1

,

X

2

, .. X n have values x

1

, x

2

, .. X n is given as:

P(x

1

, x

2

, … x n

) = Product i=1 n P(x i

| Parents(X i

))

A Method for Constructing Belief

Networks

• The general procedure for incremental network construction is as follows:

– Choose a set of relevant variables X i

– Choose an ordering for the variables that describe the domain

– While there are variables left:

• Pick a variable X i and add a node to the network for it

• Set Parent(X i

) to some minimal set of nodes already in the net such that the conditional property is satisfied

• Define the conditional probability table for X i

– Conditional Probability Property

P(X i

| X

1

, X

2

, … X i-1

) = P(Xi | Parents(X i

) provided that Parents(X i

)  {X

1

, X

2

, … X i-1

}

Representation of Conditional

Probabilities Tables

• Conditional probabilities fall into one of several categories that have canonical distributions

• Deterministic nodes have their values specified exactly by the values of their parents

• Uncertain relationships can often characterized by socalled “noisy” logical relationships

• The standard example is the noisy-or relation which is the generalization of the logical OR

Noisy-Or Assumptions

• Each cause has an independent chance of causing the effect

• All possible causes are listed

• Whatever inhibits an cause having an effect is independent of whatever inhibits another cause having the same effect

Noisy-Or

T

T

F

T

T

F

F

F

Cold

F

T

T

F

T

F

F

T

Flu

T

F

T

F

T

T

F

F

Malaria P(Fever)

0.0

1.0

P(~Fever)

0.9

0.8

0.1

0.2

0.98

0.6

0.94

0.88

0.988

0.02=0.2*0.1

0.4

0.06 = 0.6*0.1

0.12=0.6*0.2

.

0.012=0.6*0.2*01

Download