ps2-08 - CS228 Problem Set #2 1 CS 228, Winter 2008 Problem...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS228 Problem Set #2 1 CS 228, Winter 2008 Problem Set #2 We have provided approximate lengths with each of the problems to give you a rough estimate of how long we think each answer might be not including diagrams. These are meant to be guidelines only to make sure that answers are concise and readable (for diagrams, the larger the better). 1. D-Separation [22 points] In this problem, you will show that the set of variables in a clique tree separator d-separates the graph into two conditionally independent pieces. (a) [7 points] For an undirected graph H , recall that we say sep H ( X ; Y | Z ) (i.e., X and Y are separated given evidence Z in H ) whenever all paths between variables in X and variables in Y are blocked by some variables in Z . Prove that if we have a moralized graph H derived from an original Bayesian network G then sep H ( X ; Y | Z ) implies d - sep G ( X ; Y | Z ). This is a generalization of your result from Problem 5 on the previous problem set, and will be used in the next part. (b) [15 points] Now, assume that we perform variable elimination on our Bayesian net- work G , using the Sum-Product-Variable-Elimination algorithm (see section 10.2.1.2). This defines an induced graph I where each intermediate factor ψ during the elimi- nation process defines a clique (see section 11.1). Furthermore, as described in class this defines a clique tree T where each intermediate factor ψ is represented as a clique in the tree and therefore as a subset of a maximal clique in I . Let S be a clique separator in the clique tree T . Let X be the set of all variables mentioned in T on one side of the separator and let Y be the set of all variables mentioned on the other side of the separator. Prove that sep I ( X ; Y | S ) and con- clude (using the above result) that d - sep G ( X ; Y | S ). (Hint: Remember the running intersection property.) Estimate: 2 pages 2. Message Passing [14 points] Let B be a Bayesian Network over a set of n random variables X and F be the set of factors corresponding to the CPDs of B . Suppose that we then construct a clique tree T by choosing a variable elimination ordering and finding the maximal cliques in the induced graph I F , . Our task is to optimize the message passing that takes place as we calibrate T
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 03/03/2011.

Page1 / 4

ps2-08 - CS228 Problem Set #2 1 CS 228, Winter 2008 Problem...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online