

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Out: Fri Feb 16 Due: Fri Feb 23
The belief network on the right is often used to model different types of data that co-occur—for example, images and text on the same web page, or verbs and objects in the same sentence. The co-occuring data types are modeled by the observed nodes B and C. The hidden node A is used to represent or discover different clusters of co-occurrences—
(a) Compute the posterior probability P (A|B, C) in terms of the CPTs of this belief network—namely, P (A), P (B|A), and P (C|A).
(b) Consider an incomplete data set of T observations {bt, ct}Tt=1 over the nodes B and C of the network, assumed to be sampled i.i.d from the belief network’s joint distribution. Compute the log-likelihood of this data set, namely L = ∑ t log^ P^ (B^ =^ bt, C^ =^ ct), in terms of the CPTs of the belief network. (c) For the data set in part (b), write out the EM updates for re-estimating the CPT attached to each node in this belief network: P (A), P (B|A), and P (C|A). Express the updates in terms of the posterior probabilities P (a|bt, ct), used as shorthand notation for P (A = a|B = bt, C = ct). Your answer may also use binary indicator functions, such as I(b, bt), to indicate whether the node B is instantiated to the value b in the tth example. Simplify the updates as much as possible.
Consider the belief network on the right, with binary random variables X ∈ 0 , 1 n and Y ∈ { 0 , 1 } and a noisy-OR condi- tional probability table (CPT). The noisy- OR CPT is given by:
∏^ n
i=
(1 − pi)Xi^ ,
which is expressed in terms of the noisy- OR parameters pi ∈ [0, 1].
In this problem, you will derive and implement an EM algorithm for estimating the noisy-OR parameters pi. It may seem that the EM algorithm is not suited to this problem, in which all the nodes are observed, and the CPT has a parameterized form. In fact, the EM algorithm can be applied, but first we must express the model in a different but equivalent form.
Consider the belief network shown to the right. In this net- work, a binary random variable Zi ∈ { 0 , 1 } intercedes be- tween each pair of nodes Xi and Y. Suppose that:
P (Zi = 1|Xi = 0) = 0 , P (Zi = 1|Xi = 1) = pi.
Also, let the node Y be determined by the logical-OR of Zi. In other words:
{ 1 if Zi = 1 for any i, 0 if Zi = 0 for all i. Y
Z 1 Z 2 Z 3 Zn
X 1 X 2 X 3 Xn
(a) Show that this “extended” belief network defines the same conditional distribution P (Y |X) as the original one. In particular, starting from
P (Y = 1|X) =
∑
Z∈{ 0 , 1 }n
show that the right hand side of this equation reduces to the noisy-OR CPT with parameters pi. To perform this marginalization, you will need to exploit various conditional independence relations.
(b) Consider estimating the noisy-OR parameters pi to maximize the conditional log-likelihood of joint observations of the variables X and Y. This (normalized) conditional log-likelihood is given by:
∑^ T
t=
log P (Y = y(t)|X =~x(t)),