kernelization and the larger picture of practical algorithmics, in contemporary context michael r....

25
Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer, Vienna 2011

Upload: neal-flanders

Post on 14-Dec-2015

222 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Kernelization and the Larger Picture of Practical Algorithmics,

in Contemporary Context

Michael R. Fellows

Charles Darwin University

Australia

WorKer, Vienna 2011

Page 2: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Two thoughts on parameterized complexity and theoretical computer science.

(1)PC is as much about “workflow reform” as about “more fine-grained complexity analysis”

(2) We want to create mathematical tools with Explanatory Predictive Three kinds of power Engineering

To help us create useful algorithms.

Page 3: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

A classic example of explanatory power:

TYPE CHECKING in ML

Page 4: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Combinatorial optimization problems arise frequently in computational molecular biology …Except in rare cases, the problems are NP-hard, and the performance guarantees provided by polynomial-time approximation algorithms are far too pessimistic to be useful. Average-case analysis of algorithms is also of limited use because the spectrum of real-life problem instances is unlikely to be representable by a mathematically tractable probablility distribution. Thus it appears necessary to attack these problems using heuristic algorithms. Although we focus here on computational biology, heuristics are also likely to be the method of choice in many other application areas, for reasons similar to those that we have advanced in the case of biology.

-Introduction to “Heuristic algorithms in computational molecular biology,” Richard M. Karp, JCSS 77 (2011) 122-128.

Page 5: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Karp’s proposed:

General heuristic for Implicit Hitting Set problems.

Running example: DIRECTED FEEDBACK VERTEX SET

In: Digraph D

Out: A minimum cardinality set of vertices that “hit” all directed cycles.

Explicit versus implicit Hitting Set ProblemsExplicit: List the things that need to be hit.

Implicit: The list is implicit in the digraph description (made explicit, the list might be exponential in size).

Page 6: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Assumed

• Separation oracle–Find an unhit cycle if there is one

• P-time algorithm for approx solution of the explicit hitting set problem

• Algorithm for optimal solution of the explicit HS problem

Page 7: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Γ : things to be hit (cycles)

Н : a hitting set (vertices)

Karp’s generic Hitting Set heuristic:

Γ ← empty set

Repeat:

Using the approximation algorithm, construct a hitting set Н for Γ :

Using the separation oracle, attempt to find a circuit that H does not hit;

If a circuit is found

then add that circuit to Γ

else

Н ← an optimal hitting set for Γ :

Using the separation oracle, attempt to find a circuit Н that does not hit;

If a circuit is found

then add the circuit to Γ :

else return Н and halt

Page 8: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

The intuition behind Karp’s general heuristic

• Quickly identify a (hopefully) small set of important cycles to cover

• If these are covered then “probably” all cycles are covered – reasonable to pay for optimal solution at this point

• If this fails, then (win/win) a new important cycle has been discovered

Page 9: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

• Quickly identify a (hopefully) small set of important cycles to cover

What to call this?

“Strategic kernelization”

in the space between “implicit” and “explicit”

?

Page 10: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

EXPLICIT DFVS I

In: digraph D, and a list L of directed cycles in DParameter: kQuestion: Is there a set of at most k vertices that

hits every cycle on the list L?

OOPS!

While IMPLICIT DFVS I is FPT,

Thm: EXPLICIT DFVS I is W[1] – hard.

Page 11: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

v

“V” selected

k– 1 of these

u

R to B

B to R

Backward adjacency test

k vertex selection gadgets

Forward adjacency test

N(v)

Page 12: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

EXPLICIT DFVS IIIn: digraph D, list L of directed cycles in D, r

Parameter: | L | = k

Question: Is there a set of at most r vertices that hits all cycles in L?

Thm: This problem is FPT

Pf:

(1) If r > k, then YES

(2) r · 2 k dynamic programming

Page 13: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Summary so Far

• The design of “effective heuristics” is our inevitable primary mission for most problems, as theoretical computer scientists.

• General strategic approaches to this task throw up many novel parameterized problems, largely unexplored, as subroutines.

Page 14: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Plan “B” – Two Principles

We do what we have been doing:

• enriching the model when there is tractability• deconstructing the proofs when there is

intractability

and there is very very much to be done, for fun and profit.

Page 15: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Parameterized Algorithmics

Branch out! To opportunity!

– Focus on the unvisited core problems– Find a mentor/collaborator/interpreter who is

established in the area

Report on NAG and examples

Page 16: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Stefan and Fran in Australia

Page 17: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Taking Our Own Advice II

A Report on the workshop: Not About GraphsDarwin, AustraliaAugust 5—8 and 9-13

Page 18: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Workshop Theme

The focus of the workshop is to investigate opportunities for expanding parameterized complexity into important unreached areas of algorithmic mathematical science (algebra, number theory, analysis, topology, geometry, game theory, robotics, vision, crypto, etc.) beyond areas where it already has a strong presence (graph theory, computational biology, AI, social choice, etc.). This may require new mathematical techniques. The workshop is also focused on identifying and promoting the key unsolved problems in these new directions.

Page 19: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

According to Papadimitriou, every year, several thousand scientific papers use the words “NP-complete” or “NP-hard”.

Page 20: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Example: Computational Logistics

Trains!Regular meeting: ATMOS

NP-hard classic problem

TRAIN MARSHALLING

In: Partition Π of [n] Ex. {1, 3}, {2, 4, 5}

Parameter: k k = 2

Question: Is k enough?

1 2 3 | 4 5 · 1 2 3 4 5

YES

Page 21: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Example: Computational Geometry

Problem! Most of the classic problems are in P.Not a problem! “enrich the model”

In: A set of colored points in the plane.Parameter: kQuestion: Are k lines sufficient to dissect into

monochrome regions?

Good news: NP-hard!

Page 22: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Example: Computer Vision

SEGMENTATION

In: matrix of grey-scale valuesParameter: kQuestion: Can the matrix be segmented into < k regions? 3 4 1 2 4 3

2 1 2 4 3 1

3 2 4 3 1 2

4 3 2 1 2 3

Page 23: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Question

Should we do this again next year in Germany?

Maybe…Gabor Erdelyi has offered to host.

Proposed acronym: DECON

Page 24: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Open Problem

How does kernelization as we know it interact with real practical computing and heurisitcs?

Page 25: Kernelization and the Larger Picture of Practical Algorithmics, in Contemporary Context Michael R. Fellows Charles Darwin University Australia WorKer,

Thank you