Convex Formulation of Continuous Multi-label Problems by Pock, - - PowerPoint PPT Presentation

convex formulation of continuous multi label problems
SMART_READER_LITE
LIVE PREVIEW

Convex Formulation of Continuous Multi-label Problems by Pock, - - PowerPoint PPT Presentation

Convex Formulation of Continuous Multi-label Problems by Pock, Schoenemann, Graber, Bischof, Cremers (2008) Pascal Getreuer Department of Mathematics University of California, Los Angeles getreuer@math.ucla.edu Pascal Getreuer (UCLA)


slide-1
SLIDE 1

“Convex Formulation of Continuous Multi-label Problems”

by Pock, Schoenemann, Graber, Bischof, Cremers (2008) Pascal Getreuer

Department of Mathematics University of California, Los Angeles getreuer@math.ucla.edu

Pascal Getreuer (UCLA) Functional Lifting 1 / 28

slide-2
SLIDE 2

A General Problem

Let G = (V, E) be a graph with nodes x ∈ V and edges (x, y) ∈ E, and let L be a node label set, and consider min

u:V→L E(u) =

  • (x,y)∈E

R

  • u(x) − u(y)
  • +
  • x∈V

ρ

  • u(x), x
  • (1)

where R is convex and ρ is arbitrary. Applications include segmentation, stereo estimation, and denoising. Ishikawa showed that even though E is nonconvex, a global minimizer

  • f (1) can be found with graph cuts.

Pascal Getreuer (UCLA) Functional Lifting 2 / 28

slide-3
SLIDE 3

Applications

min

u:V→L

  • (x,y)∈E

R

  • u(x) − u(y)
  • +
  • x∈V

ρ

  • u(x), x
  • Multiphase segmentation: cℓ1, cℓ2, . . . are given segment intensities

ρ(u, x) = |I(x) − cu|2

u is the segment label

Stereo estimation: IL and IR are a stereo pair of left and right images ρ(u, x) =

  • IL(x) − IR
  • x + (u

0)

  • u is the displacement

Multiplicative noise removal: f = n · uexact with n ∼ Gamma ρ(u, x) = log u + f (x) u

u is the denoised pixel value

Pascal Getreuer (UCLA) Functional Lifting 3 / 28

slide-4
SLIDE 4

Ishikawa’s Method

Labels L Pixels V

T S

Q

cut value = E

2 2 3 1

Each pixel corresponds to a column of nodes. The horizontal edges encode R and the vertical edges encode ρ.

Pascal Getreuer (UCLA) Functional Lifting 4 / 28

slide-5
SLIDE 5

Ishikawa’s Method

Labels L Pixels V

T S

Q

cut value = ∞

2 2 ? 1

To prevent cutting any column more than once, the red edges are given infinite weight.

Pascal Getreuer (UCLA) Functional Lifting 5 / 28

slide-6
SLIDE 6

Ishikawa’s Method

Problems

Memory: many edges, all represented explicitly Parallelization: currently no fast parallel algorithm for graph cuts Metrification (grid bias) artifacts

Pascal Getreuer (UCLA) Functional Lifting 6 / 28

slide-7
SLIDE 7

Continuous Problem

Pock et al. consider the variational problem min

u:Ω→Γ E(u) =

|∇u(x)| dx +

ρ

  • u(x), x
  • dx

(2) where Γ = [γmin, γmax] and ρ

  • u(x), x
  • is any nonnegative function.

The authors show how to obtain a global minimizer of this nonconvex problem by reinterpreting Ishikawa’s method.

Pascal Getreuer (UCLA) Functional Lifting 7 / 28

slide-8
SLIDE 8

Functional Lifting

Define the super level sets of u ϕ(x, γ) = 1 . 1{u>γ}(x) =

  • 1

if u(x) > γ,

  • therwise.

Then u is recovered from ϕ as u(x) = γmin + γmax

γmin

ϕ(x, γ) dγ. For notational convenience, let Σ = Ω × Γ and D′ =

  • ϕ : Σ → {0, 1} | ϕ(x, γmin) = 1, ϕ(x, γmax) = 0
  • Pascal Getreuer (UCLA)

Functional Lifting 8 / 28

slide-9
SLIDE 9

Functional Lifting

Theorem

The minimization for u (2) is equivalent to min

ϕ∈D′

  • Σ

|∇ϕ(x, γ)| + ρ(x, γ) |∂γϕ(x, γ)| dΣ (3) Proof: By the co-area formula, we have for the TV term

|∇u(x)| dx =

  • Γ

perimeter(1 . 1{u>γ}) dγ =

  • Γ

|∇ϕ| dx dγ.

Pascal Getreuer (UCLA) Functional Lifting 9 / 28

slide-10
SLIDE 10

Functional Lifting

Observe that |∂γϕ(x, γ)| = δ(u(x) − γ). So for the fidelity term,

ρ

  • u(x), x
  • dx

=

  • Γ

ρ(γ, x)δ(u(x) − γ) dγ dx =

  • Γ

ρ(γ, x) |∂γϕ(x, γ)| dγ dx.

Pascal Getreuer (UCLA) Functional Lifting 10 / 28

slide-11
SLIDE 11

Functional Lifting

Thus we have that the problem in u min

u:Ω→Γ E(u) =

|∇u(x)| dx +

ρ

  • u(x), x
  • dx

is equivalent to the lifted problem in ϕ min

ϕ∈D′ E(ϕ) =

  • Σ

|∇ϕ(x, γ)| + ρ(x, γ) |∂γϕ(x, γ)| dΣ.

Pascal Getreuer (UCLA) Functional Lifting 11 / 28

slide-12
SLIDE 12

Convex Relaxation

Still, at this point, the lifted problem min

ϕ∈D′ E(ϕ) =

  • Σ

|∇ϕ| + ρ |∂γϕ| dΣ is nonconvex because D′ is nonconvex: D′ =

  • ϕ : Σ → {0, 1} | ϕ(x, γmin) = 1, ϕ(x, γmax) = 0
  • .

Pascal Getreuer (UCLA) Functional Lifting 12 / 28

slide-13
SLIDE 13

Convex Relaxation

To make the problem convex, define the relaxed set D =

  • ϕ : Σ → [0, 1] | ϕ(x, γmin) = 1, ϕ(x, γmax) = 0
  • .

Then the problem min

ϕ∈D E(ϕ) =

  • Σ

|∇ϕ| + ρ |∂γϕ| dΣ (4) is convex. We can find a minimizer ϕ∗ ∈ D of (4) and then threshold it, 1 . 1{ϕ∗≥µ} ∈ D′.

Pascal Getreuer (UCLA) Functional Lifting 13 / 28

slide-14
SLIDE 14

Convex Relaxation

Theorem

Let ϕ∗ ∈ D be a minimizer of the relaxed problem (4). Then for a.e. µ ∈ [0, 1], the thresholded solution 1 . 1{ϕ∗≥µ} ∈ D′ is a minimizer of the unrelaxed problem (3). Proof: Again using the co-area formula.

Pascal Getreuer (UCLA) Functional Lifting 14 / 28

slide-15
SLIDE 15

Convex Relaxation

(Proof by contradiction) By the co-area formula, E(ϕ) =

  • Σ

|∇ϕ(x, γ)| + ρ(x, γ) |∂γϕ(x, γ)| dΣ = 1

  • Σ
  • ∇1

. 1{ϕ≥µ}

  • + ρ(x, γ)
  • ∂γ1

. 1{ϕ≥µ}

  • dΣ dµ

= 1 E(1 . 1{ϕ≥µ}) dµ. Suppose there exists ϕ′ ∈ D′ such that E(ϕ′) < E(1 . 1{ϕ∗≥µ}) for all µ in a measurable subset of [0, 1] of nonzero measure, then E(ϕ′) = 1 E(ϕ′) dµ < 1 E(1 . 1{ϕ∗≥µ}) dµ = E(ϕ∗). But this contradicts that ϕ∗ is a minimizer of (4).

Pascal Getreuer (UCLA) Functional Lifting 15 / 28

slide-16
SLIDE 16

Convex Relaxation

So, we can find a minimizer ϕ∗ of the relaxed convex problem min

ϕ∈D

  • Σ

|∇ϕ| + ρ |∂γϕ| dΣ, then thresholding it 1 . 1{ϕ∗≥µ} gives a minimizer of the unrelaxed problem min

ϕ∈D′

  • Σ

|∇ϕ| + ρ |∂γϕ| dΣ.

Pascal Getreuer (UCLA) Functional Lifting 16 / 28

slide-17
SLIDE 17

Convex Relaxation

Then a solution u∗ is recovered by u∗ = γmin + γmax

γmin

1 . 1{ϕ∗≥µ} dγ, and it is a minimizer of the original problem min

u:Ω→Γ

|∇u(x)| dx +

ρ

  • u(x), x
  • dx.

Pascal Getreuer (UCLA) Functional Lifting 17 / 28

slide-18
SLIDE 18

Minimization Algorithm

Now that we have established a convex formulation of the problem, we wish to solve it. To find the minimizer of min

ϕ∈D E(ϕ) =

  • Σ

|∇ϕ| + ρ |∂γϕ| dΣ,

  • ne could attempt to solve the associated Euler-Lagrange equations

− div ∇ϕ |∇ϕ|

  • − ∂γ
  • ρ ∂γϕ

|∂γϕ|

  • = 0,

s.t. ϕ ∈ D. But this is hard because of the singularities as |∇ϕ| or |∂γϕ| → 0.

Pascal Getreuer (UCLA) Functional Lifting 18 / 28

slide-19
SLIDE 19

Minimization Algorithm

Instead, write E(ϕ) in a dual formulation: observe that |∇ϕ| + ρ |∂γϕ| = max

p {p · ∇3ϕ},

s.t.

  • p2

1 + p2 2 ≤ 1, |p3| ≤ ρ,

where p = (p1, p2, p3) is the dual variable and ∇3 := (∂x1, ∂x2, ∂γ)T. This leads to the primal-dual formulation min

ϕ∈D

  • max

p∈C

  • Σ

p · ∇3ϕ dΣ

  • ,

(5) where C =

  • p : Σ → R3 |
  • p1(x, γ)2 + p2(x, γ)2 ≤ 1,

|p3(x, γ)| ≤ ρ(γ, x)

  • .

Pascal Getreuer (UCLA) Functional Lifting 19 / 28

slide-20
SLIDE 20

Minimization Algorithm

The authors solve minϕ∈D

  • maxp∈C
  • Σ p · ∇3ϕ dΣ
  • with a

primal-dual proximal point method: Primal Step: Solve for ϕk+1 as the minimizer of min

ϕ∈D

  • Σ

pk · ∇3ϕ +

1 2τp

  • Σ

(ϕ − ϕk)2 = ⇒ ϕk+1 = PD(ϕk + τc div3 pk) Dual Step: Solve for pk+1 as the maximizer of max

p∈C

  • Σ

p · ∇3ϕk+1 −

1 2τd

  • Σ

(p − pk)2 = ⇒ pk+1 = PC(pk + τd∇3ϕk+1)

Pascal Getreuer (UCLA) Functional Lifting 20 / 28

slide-21
SLIDE 21

Numerical Results

Pock et al. compare their method with Ishikawa’s for color stereo

  • estimation. The left image is

Pascal Getreuer (UCLA) Functional Lifting 21 / 28

slide-22
SLIDE 22

Numerical Results

Ishikawa 4-neighbor Pock et al.

Pascal Getreuer (UCLA) Functional Lifting 22 / 28

slide-23
SLIDE 23

Numerical Results

Ishikawa 8-neighbor Pock et al.

Pascal Getreuer (UCLA) Functional Lifting 23 / 28

slide-24
SLIDE 24

Numerical Results

Ishikawa 16-neighbor Pock et al.

Pascal Getreuer (UCLA) Functional Lifting 24 / 28

slide-25
SLIDE 25

Numerical Results

Method Error (%) Runtime (s) Memory (MB) Ishikawa 4-neighbor 2.90 2.9 450 Ishikawa 8-neighbor 2.63 4.9 630 Ishikawa 16-neighbor 2.71 14.9 1500 Pock et al., CPU 2.57 25 54 Pock et al., GPU 2.57 0.75 54 The authors tested both CPU and a GPU implementations of their method (on a fancy NVidia GeForce GTX 280). Ishikawa’s method is

  • nly on CPU as there is currently no parallel algorithm for graph cuts.

Pascal Getreuer (UCLA) Functional Lifting 25 / 28

slide-26
SLIDE 26

Summary

Pock et al. consider nonconvex problems of the form min

u:Ω→Γ

|∇u(x)| dx +

ρ

  • u(x), x
  • dx.

Functional lifting is used to obtain a convex formulation min

ϕ∈D

  • Σ

|∇ϕ| + ρ |∂γϕ| dΣ. The convex formulation is solved by a proximal primal-dual method on min

ϕ∈D

  • max

p∈C

  • Σ

p · ∇3ϕ dΣ

  • .

Pascal Getreuer (UCLA) Functional Lifting 26 / 28

slide-27
SLIDE 27

The Paper

  • T. Pock, T. Schoenemann, G. Grabe, H. Bischof, D. Cremers, “A

Convex Formulation of Continuous Multi-label Problems,” Proc. ECCV, 2008.

Related Works

  • E. Brown, T.F. Chan, X. Bresson, “Convex Formulation and Exact

Global Solutions for Multi-phase Piecewise Constant Mumford-Shah Image Segmentation,” UCLA CAM Report 09-66, 2009.

  • T. Goldstein, X. Bresson, S. Osher, “Global Minimization of Markov

Random Fields with Applications to Optical Flow,” UCLA CAM Report 09-77, 2009.

  • H. Ishikawa, “Exact optimization for Markov random fields with

convex priors,” IEEE Trans. PAMI 25(10), pp. 1333–1336, 2003.

Pascal Getreuer (UCLA) Functional Lifting 27 / 28

slide-28
SLIDE 28

Related Work on Mumford-Shah∗

The Mumford-Shah functional is E(u) = λ

(f − u)2 dx +

  • Ω\Su

|∇u|2 dx + νH1(Su) Pock et al. use a result from Bouchitte, Alberti, and Dal Maso: E(u) = sup

p∈K

  • Ω×R

p · D1 . 1{u>γ} where K is the set of vectorfields p = (p1, p2, p3) satisfying p1, p2, p3 ∈ C0(Ω × R) p3(x, γ) ≥ 1

4

  • p1(x, γ)2 + p2(x, γ)2

− λ

  • γ − f (x)

2

  • γ2

γ1

p1(x,µ)

p2(x,µ)

  • ≤ ν for all x ∈ Ω, γ1, γ2 ∈ R

∗T. Pock, D. Cremers, H. Bischof, A. Chambolle, “An Algorithm for

Minimizing the Mumford-Shah Functional,” ICCV, 2009.

Pascal Getreuer (UCLA) Functional Lifting 28 / 28