08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A<br />

B<br />

C<br />

(a) A graph with a single cycle<br />

A B C A B C A B C<br />

(b) Segment <strong>of</strong> unrolled graph<br />

Figure 9.5: Unwrapping a graph with a single cycle<br />

value <strong>of</strong> J ′ through that Ψ. Since the algorithm maximizes J k = kJ (A, B, C) + J ′ in the<br />

unwrapped network for all k, it must maximize J (A, B, C). To see this, set the variables<br />

A, B, C, so that J k is maximized. If J (A, B, C) is not maximized, then change A, B, and<br />

C to maximize J (A, B, C). This increases J k by some quantity that is proportional to<br />

k. However, two <strong>of</strong> the variables that appear in copies <strong>of</strong> J (A, B, C) also appear in J ′<br />

and thus J ′ might decrease in value. As long as J ′ decreases by some finite amount, we<br />

can increase J k by increasing k sufficiently. As long as all Ψ’s are nonzero, J ′ which is<br />

proportional to log Ψ, can change by at most some finite amount. Hence, for a network<br />

with a single loop, assuming that the message passing algorithm converges, it converges<br />

to the maximum a posteriori assignment.<br />

9.10 Belief Update in Networks with a Single Loop<br />

In the previous section, we showed that when the message passing algorithm converges,<br />

it correctly solves the MAP problem for graphs with a single loop. The message passing<br />

algorithm can also be used to obtain the correct answer for the marginalization problem.<br />

Consider a network consisting <strong>of</strong> a single loop with variables x 1 , x 2 , . . . , x n and evidence<br />

316

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!