inference for learning belief propagation. so far... exact methods for submodular energies...

21
So far ... act methods for submodular energies roximations for non-submodular energie ve-making ( N_Variables >> N_Labels)

Upload: sharyl-joseph

Post on 19-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

So far ...

Exact methods for submodular energies

Approximations for non-submodular energies

Move-making ( N_Variables >> N_Labels)

Page 2: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables
Page 3: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Inference for Learning

Linear Programming Relaxation

Page 4: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Linear Integer Programming

minx g0Tx

s.t. giTx ≤ 0

hiTx = 0

Linear function

Linear constraints

Linear constraints

x is a vector of integers

For example, x {0,1}N

Hard to solve !!

Page 5: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Linear Programming

minx g0Tx

s.t. giTx ≤ 0

hiTx = 0

Linear function

Linear constraints

Linear constraints

x is a vector of reals

Easy to solve!!

For example, x [0,1]N

Relaxation

Page 6: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Roadmap

Express MAP as an integer program

Relax to a linear program and solve

Round fractional solution to integers

Page 7: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

2

5

4

2

0

1 3

0

V1 V2

Label ‘0’

Label ‘1’Unary Cost

Integer Programming Formulation

Unary Cost Vector u = [ 5

Cost of V1 = 0

2

Cost of V1 = 1

; 2 4 ]

Page 8: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

2

5

4

2

0

1 3

0

V1 V2

Label ‘0’

Label ‘1’Unary Cost

Unary Cost Vector u = [ 5 2 ; 2 4 ]T

Label vector x = [ 0

V1 0

1

V1 = 1

; 1 0 ]T

Integer Programming Formulation

Page 9: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

2

5

4

2

0

1 3

0

V1 V2

Label ‘0’

Label ‘1’Unary Cost

Unary Cost Vector u = [ 5 2 ; 2 4 ]T

Label vector x = [ 0 1 ; 1 0 ]T

Sum of Unary Costs = ∑i ui xi

Integer Programming Formulation

Page 10: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

2

5

4

2

0

1 3

0

V1 V2

Label ‘0’

Label ‘1’Pairwise Cost

Integer Programming Formulation

0Cost of V1 = 0 and V1 = 0

0

00

0Cost of V1 = 0 and V2 = 0

3

Cost of V1 = 0 and V2 = 11 0

00

0 0

10

3 0

Pairwise Cost Matrix P

Page 11: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

2

5

4

2

0

1 3

0

V1 V2

Label ‘0’

Label ‘1’Pairwise Cost

Integer Programming Formulation

Pairwise Cost Matrix P

0 0

00

0 3

1 0

00

0 0

10

3 0

Sum of Pairwise Costs

∑i<j Pij xixj

= ∑i<j Pij Xij

X = xxT

Page 12: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Integer Programming Formulation

Constraints

• Uniqueness Constraint

∑ xi = 1i Va

• Integer Constraints

xi {0,1}

X = x xT

Page 13: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Integer Programming Formulation

x* = argmin ∑ ui xi + ∑ Pij Xij

xi {0,1}

X = x xT

∑ xi = 1i Va

Page 14: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Roadmap

Express MAP as an integer program

Relax to a linear program and solve

Round fractional solution to integers

Page 15: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Integer Programming Formulation

x* = argmin ∑ ui xi + ∑ Pij Xij

∑ xi = 1i Va

xi {0,1}

X = x xT

Convex

Non-Convex

Page 16: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Integer Programming Formulation

x* = argmin ∑ ui xi + ∑ Pij Xij

∑ xi = 1i Va

xi [0,1]

X = x xT

Convex

Non-Convex

Page 17: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Integer Programming Formulation

x* = argmin ∑ ui xi + ∑ Pij Xij

∑ xi = 1i Va

xi [0,1]

Xij [0,1]

Convex

∑ Xij = xij Vb

Page 18: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Linear Programming Formulation

x* = argmin ∑ ui xi + ∑ Pij Xij

∑ xi = 1i Va

xi [0,1]

Xij [0,1]

Convex

∑ Xij = xij Vb

Schlesinger, 76; Chekuri et al., 01; Wainwright et al. , 01

Page 19: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Roadmap

Express MAP as an integer program

Relax to a linear program and solve

Round fractional solution to integers

Page 20: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Properties

Dominate many convex relaxations

Best known multiplicative bounds

2 for Potts (uniform) energies

2 + √2 for Truncated linear energies

O(log n) for metric labeling

Matched by move-making

Kumar and Torr, 2008; Kumar and Koller, UAI 2009

Kumar, Kolmogorov and Torr, 2007

Page 21: Inference for Learning Belief Propagation. So far... Exact methods for submodular energies Approximations for non-submodular energies Move-making ( N_Variables

Algorithms

Tree-reweighted message passing (TRW)

Max-product linear programming (MPLP)

Dual decomposition

Komodakis and Paragios, ICCV 2007