m u lti-la b e l p o tts complexity of discrete energy ...mengtial/pdf/li, mengtian - eccv 2016 -...

1
Complexity of Discrete Energy Minimizaon Problems Alexander Shekhovtsov 2 Energy minimization is NP-hard Is it approximable? Not yet resolved Sometimes yes: Potts, Metric, Logic MRF We prove that QPBO, planar energy with 3+ labels, and general energy mini- mization are all inapproximable Useful for algorithm design — finding goodsubclasses In practice, useful for model selection Abstract Mengtian Li 1 Daniel Huber 1 Carnegie Mellon University 1 Graz University of Technology 2 Graph with label space Pairwise energy Quadratic Pseudo-Boolean Optimization (QPBO) General energy minimization Energy Minimizaon Formulaon Optimization problems Approximation ratio APX constant ratio approximation F-APX approximation ratio is a function of class F of the input bit length Relations of complexity classes Opmizaon & Approximaon Complexity Axis & Main Results Complexity Class Label Space, Interaction Type, Graph Structure NP-hard NPO APX (Bounded Approximation) exp-APX (Unbounded Approximation) PO (Global Optimum) Multi-label Potts Logic MRF Convex Interaction Binary Outerplanar Submodular 3-label Planar Binary or Multi-label Bounded Treewidth Non-deterministic P olynomial time O ptimization (NPO ) The set of instances is recognizable in polynomial time The solutions feasibility is verifiable in polynomial time A positive objective value P olynomial time Optimization ( PO) The problem is in NPO, and it is solvable in polynomial time Approximation-Preserving reduction ( AP-reduction) Reduce NPO problem P 1 to another NPO problem P 2 For a given positive constant α, the mappings must satis- fy, C-hard & C-complete A problem is C-hard if any problem in complex- ity class C can be reduced to it A C-hard problem is C-complete if it belongs to C Intuitively, a complexity class C specifies the upper bound on the hardness of the problems within, C- hard specifies the lower bound, and C-complete ex- actly specifies the hardness Problem W3SAT-triv INSTANCE: Boolean CNF formula F with variables x 1 , …, x n and each clause assuming exactly 3 variables; non- negative integer weights w 1 , …, w n SOLUTION: Truth assignment τ to the variables that either satisfies F or assigns the trivial, all-true assignment MEASURE: Details Proof Scheme Energy minimization problems vary greatly in approximation ratio Where do QPBO and general energy minimi- zation fall on this axis? Theorem: QPBO (binary labels) is complete in exp-APX. Theorem: Planar energy with 3+ labels is complete in exp-APX. Theorem: General energy minimization is complete in exp-APX. Bounded approximation ratio Indicates a class of practical interest Useful for algorithm design Do not try to prove approximation guar- antee if Model includes QPBO, planar 3-label, or general energy minimization Or you can build AP-reduction from them 2 2 1 2 * * 2 2 1 1 ( ) ( ( )) implies 1 ( 1) ( ) ( ) f y f y r r f y f y References [1] G. Ausiello et al., Complexity and approximation: Combinatorial optimi- zation problems and their approximability properties. Springer (1999) [2] P. Orponen et al., On approximation preserving reductions: complete problems and robust measures. Technical Report (1987) [3] H. Ishikawa, Transformation of general binary MRF minimization to the first-order case. PAMI 33(6), 12341249 (2011) NP Machine Weighted 3-SAT QPBO Planar energy with 3+ labels General energy with 3+ labels AP-reduction AP-reduction AP-reduction Planar reduction AP-reduction [2, 1] 4 X 4 X 1 min ( ) n i i i w x x 1 : instance of P 1 solve P 2 y 1 : solution of P 1 x 2 : instance of P 2 y 2 : solution of P 2

Upload: others

Post on 07-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: M u lti-la b e l P o tts Complexity of Discrete Energy ...mengtial/pdf/Li, Mengtian - ECCV 2016 - Poster.pdf · Optimization problems Approximation ratio ... Optimization & Approximation

Complexity of Discrete Energy Minimization Problems

Alexander Shekhovtsov2

Energy minimization is NP-hard ☹

Is it approximable? Not yet resolved

Sometimes yes: Potts, Metric, Logic MRF ☺

We prove that QPBO, planar energy

with 3+ labels, and general energy mini-

mization are all inapproximable

Useful for algorithm design — finding

“good” subclasses

In practice, useful for model selection

Abstract

Mengtian Li1 Daniel Huber1

Carnegie Mellon University1 Graz University of Technology2

Graph with label space

Pairwise energy

Quadratic Pseudo-Boolean Optimization

(QPBO)

General energy minimization

Energy Minimization Formulation

Optimization problems

Approximation ratio

APX — constant ratio approximation

F-APX — approximation ratio is a function

of class F of the input bit length

Relations of complexity classes

Optimization & Approximation

Complexity Axis & Main Results

Complexity ClassLabel Space,

Interaction Type,

Graph Structure

NP-hard

NPO

APX

(Bounded

Approximation)

exp-APX

(Unbounded

Approximation)

PO

(Global

Optimum)

Multi-label Potts

Logic MRF

Convex Interaction

Binary Outerplanar

Submodular

3-label Planar

Binary or Multi-label

Bounded Treewidth

Non-deterministic Polynomial time Optimization (NPO)

The set of instances is recognizable in polynomial time

The solution’s feasibility is verifiable in polynomial time

A positive objective value

Polynomial time Optimization (PO)

The problem is in NPO, and it is solvable in polynomial

time

Approximation-Preserving reduction (AP-reduction)

Reduce NPO problem P1 to another NPO problem P2

For a given positive constant α, the mappings must satis-

fy,

C-hard & C-complete

A problem is C-hard if any problem in complex-

ity class C can be reduced to it

A C-hard problem is C-complete if it belongs to C

Intuitively, a complexity class C specifies the upper

bound on the hardness of the problems within, C-

hard specifies the lower bound, and C-complete ex-

actly specifies the hardness

Problem W3SAT-triv

INSTANCE: Boolean CNF formula F with variables x1, …,

xn and each clause assuming exactly 3 variables; non-

negative integer weights w1, …, wn

SOLUTION: Truth assignment τ to the variables that either

satisfies F or assigns the trivial, all-true assignment

MEASURE:

Details

Proof Scheme

Energy minimization problems vary greatly

in approximation ratio

Where do QPBO and general energy minimi-

zation fall on this axis?

Theorem:

QPBO (binary labels) is complete in exp-APX.

Theorem:

Planar energy with 3+ labels is complete in exp-APX.

Theorem:

General energy minimization is complete in exp-APX.

Bounded approximation ratio ☺

Indicates a class of practical interest

Useful for algorithm design

Do not try to prove approximation guar-

antee if

Model includes QPBO, planar 3-label,

or general energy minimization

Or you can build AP-reduction from them

2 2 1 2

* *

2 2 1 1

( ) ( ( ))implies 1 ( 1)

( ) ( )

f y f yr r

f y f y

References

[1] G. Ausiello et al., Complexity and approximation: Combinatorial optimi-

zation problems and their approximability properties. Springer (1999)

[2] P. Orponen et al., On approximation preserving reductions: complete

problems and robust measures. Technical Report (1987)

[3] H. Ishikawa, Transformation of general binary MRF minimization to the

first-order case. PAMI 33(6), 1234–1249 (2011)

NP Machine

Weighted 3-SAT

QPBO

Planar energy with 3+ labels

General energy with 3+ labels

AP-reduction

AP-reduction

AP-reduction

Planar reduction

AP-reduction [2, 1]

4 X

4 X

1min ( )

n

i iiw x

x1 : instance of P1

solve P2

y1 : solution of P1

x2 : instance of P2

y2 : solution of P2