belief propagation in a continuous world

34
Belief Propagation in a Continuous World Andrew Frank 11/02/2009 Joint work with Alex Ihler and Padhraic Smyth

Upload: arty

Post on 24-Feb-2016

22 views

Category:

Documents


0 download

DESCRIPTION

Belief Propagation in a Continuous World. Andrew Frank 11/02/2009 Joint work with Alex Ihler and Padhraic Smyth. TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A. Graphical Models. Nodes represent random variables. Edges represent dependencies. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Belief Propagation in a Continuous World

Belief Propagation in a Continuous World

Andrew Frank 11/02/2009

Joint work with Alex Ihler and Padhraic Smyth

Page 2: Belief Propagation in a Continuous World

Graphical Models

• Nodes represent random variables.• Edges represent dependencies.

C

B

A C

B

AC

B

A

Page 3: Belief Propagation in a Continuous World

C E

DB

A

Markov Random Fields

E

DB

CA

D

A C E

B

B E | C, DA C | B

Page 4: Belief Propagation in a Continuous World

Factoring Probability Distributions

Independence relations factorization

D

C

BA

p(A,B,C,D) = f(A) f(B) f(C) f(D) f(A,B) f(B,C) f(B,D)Z1

Page 5: Belief Propagation in a Continuous World

Toy Example: A Day in Court

W

A

E V

A, E, W є {“Innocent”, “Guilty”} V є {“Not guilty verdict”, “Guilty verdict”}

2112

),( EAf

I

G

GI

I 13)( Af

G

Page 6: Belief Propagation in a Continuous World

Inference

• Most probable explanation:

• Marginalization:

Page 7: Belief Propagation in a Continuous World

Iterative Message Updates

x

Page 8: Belief Propagation in a Continuous World

Belief Propagation

W

A

E V

mAE(E)

mWE(E)

mEV(V)

Page 9: Belief Propagation in a Continuous World

Loopy BP

C

A

B D

C

A

B D

Does this work? Does it make any sense?

Page 10: Belief Propagation in a Continuous World

A Variational Perspective

• Reformulate the problem:

True distribution, P

“Tractable” distributions

Best tractable approximation, Q

Find Q to minimize the divergence.

Page 11: Belief Propagation in a Continuous World

• Desired traits:– Simple enough to enable easy computation– Complex enough to represent P

Choose an Approximating Family

e.g.Fully factored:

Structured:

Page 12: Belief Propagation in a Continuous World

Choose a Divergence Measure

• Kullback-Liebler divergence:

• Alpha divergence:

Common choices:

Page 13: Belief Propagation in a Continuous World

Behavior of α-Divergence

Source: T. Minka. Divergence measures and message passing. Technical Report MSR-TR-2005-173, Microsoft. Research, 2005.

Page 14: Belief Propagation in a Continuous World

Resulting Algorithms

Assuming a fully-factored form of Q, we get…*

• Mean field, α = 0• Belief propagation, α = 1• Tree-reweighted BP, α ≥ 1

* By minimizing “local divergence”:Q(X1, X2, …, Xn) = f(X1) f(X2) … f(Xn)

Page 15: Belief Propagation in a Continuous World

Local vs. Global Minimization

Source: T. Minka. Divergence measures and message passing. Technical Report MSR-TR-2005-173, Microsoft. Research, 2005.

Page 16: Belief Propagation in a Continuous World

Applications

Page 17: Belief Propagation in a Continuous World

Sensor Localization

A B

C

Page 18: Belief Propagation in a Continuous World

Protein Side Chain Placement

RTDCYGN

+

Page 19: Belief Propagation in a Continuous World

Common traits?

?Continuous state space:

Page 20: Belief Propagation in a Continuous World

Easy Solution: Discretize!

10 bins

10 bins

Domain size:d = 100

20 bins

20 bins

Domain size:d = 400

Each message:

O(d2)

Page 21: Belief Propagation in a Continuous World

Particle BP

We’d like to pass “continuous messages”…

C

AB D

B

mAB(B)

1 4 4.2 5 2.5 … … …

Instead, pass discrete messages over sets of particles:

{ b(i)} ~ WB(B) mAB({b(i)})b(1) b(2) b(N). . .

Page 22: Belief Propagation in a Continuous World

PBP: Computing the Messages

Re-write as an expectation:

Finite-sample approximation:

Page 23: Belief Propagation in a Continuous World

Choosing“Good” Proposals

C

AB D

Proposal should “match” the integrand.

Sample from the belief:

Page 24: Belief Propagation in a Continuous World

Iteratively Refine Particle Sets(2)

f(xs, xt)

(1) Draw a set of particles, {xs(i)} ~ Ws(xs).

(2) Discrete inference over the particle discretization.(3) Adjust Ws(xs)

(1) (3)

Xs Xt

(1) (3)

Page 25: Belief Propagation in a Continuous World

Benefits of PBP

• No distributional assumptions.• Easy accuracy/speed trade-off.• Relies on an “embedded” discrete algorithm.

Belief propagation, mean field, tree-reweighted BP…

Page 26: Belief Propagation in a Continuous World

Exploring PBP: A Simple Example

xs

||xs – xt||

Page 27: Belief Propagation in a Continuous World

Continuous Ising Model MarginalsApproximateExact

Mean Field PBPα = 0

PBPα = 1

TRW PBPα = 1.5

* Run with 100 particles per node

Page 28: Belief Propagation in a Continuous World

A Localization Scenario

Page 29: Belief Propagation in a Continuous World

Exact Marginal

Page 30: Belief Propagation in a Continuous World

PBP Marginal

Page 31: Belief Propagation in a Continuous World

Tree-reweighted PBP Marginal

Page 32: Belief Propagation in a Continuous World

Estimating the Partition Function

• Mean field provides a lower bound.• Tree-reweighted BP provides an upper bound.

p(A,B,C,D) = f(A) f(B) f(C) f(D) f(A,B) f(B,C) f(B,D)Z1

Z = f(A) f(B) f(C) f(D) f(A,B) f(B,C) f(B,D)

Page 33: Belief Propagation in a Continuous World

Partition Function Bounds

Page 34: Belief Propagation in a Continuous World

Conclusions

• BP and related algorithms are useful!• Particle BP let’s you handle continuous RVs.• Extensions to BP can work with PBP, too.

Thank You!