Exact and Partial Energy Minimization in Computer Vision Alexander - - PowerPoint PPT Presentation

exact and partial energy minimization in computer vision
SMART_READER_LITE
LIVE PREVIEW

Exact and Partial Energy Minimization in Computer Vision Alexander - - PowerPoint PPT Presentation

Ph.D. Thesis Exact and Partial Energy Minimization in Computer Vision Alexander Shekhovtsov Supervisor: Vclav Hlav Supervisor-specialist: Tom Werner Czech Technical University in Prague Faculty of Electrical Engineering, Department


slide-1
SLIDE 1

Supervisor: Václav Hlaváč Supervisor-specialist: Tomáš Werner

Czech Technical University in Prague Faculty of Electrical Engineering, Department of Cybernetics Ph.D. programme: Electrical Engineering and Information Technology Branch of study: Mathematical Engineering, 3901V021

Exact and Partial Energy Minimization in Computer Vision

Alexander Shekhovtsov

Ph.D. Thesis

slide-2
SLIDE 2

2/21

Overview

 Discrete Optimization in Computer Vision (Energy Minimization) Contribution: Distributed mincut/maxflow algorithm  Cases Reducible to Minimum Cut  General NP-hard case Contribution: Methods to find a Part of Optimal Solution

slide-3
SLIDE 3

3/21

MINCUT

Minimum Cut Problem

slide-4
SLIDE 4

4/21

MINCUT

Introduction

CPU Mem CPU Mem Quick Quick Slow Slow

Distributed Sequential

CPU Mem Quick Quick Slow Slow Disk

Distributed Parallel

Distributed Model Distributed Model – Divide Computation AND Memory Divide Computation AND Memory

Solve large problem on a single computer

  • n more computers

Split data in parts:

slide-5
SLIDE 5

5/21

MINCUT

Introduction 

Sequential Algorithms

Parallel Algorithms Our goal is to improve on thi Our goal is to improve on this

slide-6
SLIDE 6

6/21

MINCUT

Main Result 

Main Result: Main Result:

t

s

slide-7
SLIDE 7

7/21

MINCUT

Main Idea 

New distance function length of the path = number of boundary edges distance = length of a shortest path to the sink

d∗B(u) = 2 d∗B(v) = 0 t

corresponds to costly operations Algorithm: push-relabel between regions, augmenting path inside regions

slide-8
SLIDE 8

8/21

MINCUT

Experimental Confirmation

push-relabel (with heuristics) proposed method Synthetic instances: Grid graph with random capacities, partitioned into 4 regions sweep = synchronously send messages on all boundary arcs

slide-9
SLIDE 9

9/21

MINCUT

Instances in Computer Vision 

Dataset Published by Vision Group Dataset Published by Vision Group at University of Western Onta at University of Western Ontario rio

slide-10
SLIDE 10

10/21

MINCUT

speedup: Ours/BK

Sequential Variant for Limited Memory Model 

sometimes faster than BK (CPU time excluding I/O)

robust over partition size

uses BK (Boykov and Kolmogorov) inside regions

slide-11
SLIDE 11

11/21

MINCUT

Messages (sweeps) speedup over push-relabel (distributed version of Delong and Boykov 2008)

Sequential Variant for Limited Memory Model

slide-12
SLIDE 12

12/21

MINCUT

Parallel Variant 

Competitive with shared memory model methods

Speedup bounded by memory bandwidth

slide-13
SLIDE 13

13/21

MINCUT

Conclusion 

Ne New distribute w distributed algo d algorithm rithm

Terminates in at most B Terminates in at most B2+1 sweeps (few in practice) +1 sweeps (few in practice)

Sequential Sequential Algorithm Algorithm 1) competitive with sequential solvers 2) uses few sweeps (= loads/unloads of regions) 3) suitable to run in the limited memory model

Pa Parallel Algorithm rallel Algorithm 1) competitive with shared memory algorithms 2) uses few sweeps (= rounds of message exchange) 3) suitable for execution on a computer cluster

Implementation can be specialized for regular grids (less memory/faster)

(?) no good worst case complexity bound in terms of elementary operations

slide-14
SLIDE 14

14/35

  • Part. Optimality

MINCUT

Discrete Energy Minimization Problem

s

t

fst(1, 1)

ft(1) fs(0)

fst(0, 0)

fst(1, 0) fst(0, 1)

x

t0

s

t

xs

xt

slide-15
SLIDE 15

15/35

  • Part. Optimality

MINCUT

Partial Optimality

Energy model for stereo, minimization NP-hard Find optimal solution in some some pixels solution unknown solution globally optimal

slide-16
SLIDE 16

16/35

  • Part. Optimality

MINCUT

s

t t0

y

Partial Optimality

slide-17
SLIDE 17

17/35

  • Part. Optimality

MINCUT

Partial Optimality (Multilabel)

s

t t0

slide-18
SLIDE 18

18/35

  • Part. Optimality

MINCUT

Overview

slide-19
SLIDE 19

19/35

  • Part. Optimality

MINCUT

Dead End Elimination

Desmet et al. (1992), Goldstein (1994), Lasters et al. (1995),Pierce et al. (2000), Georgiev et al. (2006)

s

t t0

y

t00

α

β

slide-20
SLIDE 20

20/35

  • Part. Optimality

MINCUT

Improving Mapping

s

t t0

1 2 3

slide-21
SLIDE 21

21/35

  • Part. Optimality

MINCUT

Linear Embedding

s

t

x

t0

slide-22
SLIDE 22

22/35

  • Part. Optimality

MINCUT

Linear Embedding

s

t

x

t0

slide-23
SLIDE 23

23/35

  • Part. Optimality

MINCUT

Linear Embedding of Maps

slide-24
SLIDE 24

24/35

  • Part. Optimality

MINCUT

Linear Embedding of Maps

slide-25
SLIDE 25

25/35

  • Part. Optimality

MINCUT

Linear Embedding of Maps

slide-26
SLIDE 26

26/35

  • Part. Optimality

MINCUT

Linear Embedding of Maps

slide-27
SLIDE 27

27/35

  • Part. Optimality

MINCUT

More General Projections/Maps

s

t α 3

6

7

6 7

3

0.5 0.5 Example of fractional map

slide-28
SLIDE 28

28/35

  • Part. Optimality

MINCUT

Λ-Improving Characterization

slide-29
SLIDE 29

29/35

  • Part. Optimality

MINCUT

Special Cases 

DEE conditions by Desmet (1992) and Goldstein (1994)

(Weak/strong) Persistency in Quadratic Pseudo-Boolean Optimization (QPBO) by Nemhauser & Trotter (1975), Hammerr et al. (1984), Boros et

  • al. (2002)

Multilabel QPBO Kohli et al. (2008), Shekhovtsov et al. (2008)

Submodular Auxiliary problems by Kovtun (2003, 2010)

Iterative Pruninig by Swoboda et al. (2013) Methods that can be explained by the proposed condition: Common properties, Only (M)QPBO was previously related to LP relaxation

slide-30
SLIDE 30

30/35

  • Part. Optimality

MINCUT

Maximum Λ-Improving Projections 

Problem: Problem: Find the mapping that maximizes domain reduction

slide-31
SLIDE 31

31/35

  • Part. Optimality

MINCUT [1] Nemhauser & Trotter (1975), Hammerr et al. (1984), Boros et al. (2002) [2] Picard & Queyranne (1977) (Vertex Packing)

Maximum Λ-Improving Projections 

Follow-up work, submitted to CVPR

Thesis

slide-32
SLIDE 32

32/35

  • Part. Optimality

MINCUT

Conclusions

slide-33
SLIDE 33

33/35

  • Part. Optimality

MINCUT

Higher Order

  • Adams, W. P., Lassiter, J. B., and Sherali, H. D. (1998). Persistency in

0-1 polynomial programming.

  • Kolmogorov, V. (2012). Generalized roof duality and bisubmodular

functions.

  • Kahl, F. and Strandmark, P. (2012). Generalized roof duality.
  • Lu, S. H. and Williams, A. C. (1987). Roof duality for polynomial 0-1
  • ptimization.
  • Ishikawa, H. (2011). Transformation of general binary MRF

minimization to the first-order case.

  • Fix, A. et al. (2011). A graph cut algorithm for higher-order Markov

random fields.

slide-34
SLIDE 34

34/35

  • Part. Optimality

MINCUT

Generalized Potts (5 labels) Fully Random (4 labels)

Experiments: solution completeness on random problems

Algorithm proposed:

New

Follow-up Work

slide-35
SLIDE 35

35/35

  • Part. Optimality

MINCUT

Follow-up Work 

Experiments: solving large scale problems by parts Restrict the method to a local window Find globally optimal reduction partial labeling # remaining labels

New