SLIDE 1 Al Algo gori rithms thms fo for r in inst stan ance ce-st stable able an and pe d pert rtur urbat bation ion-res resili ilient ent pr prob
ems
Haris Angelidakis, TTIC Konstantin Makarychev, Northwestern Yury Makarychev, TTIC Aravindan Vijayaraghavan, Northwestern
QTW on Beyond Worst-Case Analysis Northwestern, May 24, 2017
SLIDE 2 Motivation
- Practice: Need to solve clustering and combinatorial
- ptimization problems.
- Theory:
- Many problems are NP-hard. Cannot solve them
exactly.
- Design approximation algorithms for worst case.
Can we get better algorithms for real-world instances than for worst-case instances?
SLIDE 3 Motivation
When we solve problems that arise in practice, we often get much better approximation than it is theoretically possible for worst case instances.
- Want to design algorithms with provable
performance guarantees for solving real-world instances.
SLIDE 4 Motivation
- Need a model for real-world instances.
- Many different models have been proposed.
- Itβs unrealistic that one model will capture all
instances that arise in different applications.
SLIDE 5 This work
- Assumption: instances are stable/perturbation-
resilient
- Consider several problems:
- π-means
- π-median
- Max Cut
- Multiway Cut
- Get exact polynomial-time algorithms
SLIDE 6 π-means and π-median
Given a set of points π, distance π(β
,β
) on π, and π Partition π into π clusters π·1, β¦ , π·π and find a βcenterβ ππ in each π·π so as to minimize ΰ·
π=1 π
ΰ·
π£βπ·π
π(π£, ππ) ΰ·
π=1 π
ΰ·
π£βπ·π
π π£, ππ 2 (π-means) (π-median)
SLIDE 7 Multiway Cut
Given
- a graph π» = (π, πΉ, π₯)
- a set of terminals π’1, β¦ , π’π
Find a partition of π into sets π1, β¦ , ππ that minimizes the weight of cut edges s.t. π’π β ππ.
π’1 π’2 π’3 π’4
SLIDE 8 Instance-stability & perturbation- resilience
β’ Consider an instance β of an optimization or clustering problem. β’ ββ² is a πΏ-perturbation of β if it can be obtained from β by βperturbing the parametersβ β multiplying each parameter by a number from 1 to πΏ.
- π₯ π β€ π₯β² π β€ πΏ β
π₯ π
- π(π£, π€) β€ πβ² π£, π€ β€ πΏ β
π(π£, π€)
SLIDE 9
Instance-stability & perturbation- resilience
An instance β of an optimization or clustering problem is perturbation-resilient/instance-stable if the optimal solution remains the same when we perturb the instance: every Ξ³-perturbation ββ² has the same optimal solution as β
SLIDE 10 Instance-stability & perturbation- resilience
Every Ξ³-perturbation ββ² has the same optimal solution as β
- In practice, we are interested in solving instances
where the optimal solution βstands outβ among all solutions [Bilu, Linial]
- Objective function is an approximation to the βtrueβ
- bjective function.
- βPractically interesting instanceβ β it is stable
SLIDE 11
Results
SLIDE 12
History
Instance-stability & perturbation-resilience was introduced
in discrete optimization: by Bilu and Linial `10 in clustering: by Awasthi, Blum, and Sheffet `12
SLIDE 13 Results (clustering)
πΏ β₯ 3
π-center, π-means, π-median
[Awasthi, Blum, Sheffet `12]
πΏ β₯ 1 + 2
π-center, π-means, π-median
[Balcan, Liang `13]
πΏ β₯ 2
π-center
[Balcan, Haghtalab, White `16]
πΏ β₯ 2
π-means, π-median
[AMM `17]
SLIDE 14 Results (optimization)
πΏ β₯ ππ
Max Cut
[Bilu, Linial `10]
πΏ β₯ π π
Max Cut
[Bilu, Daniely, Linial, Saks `13]
πΏ β₯ π log π log log π
Max Cut
[MMV `13]
πΏ β₯ 4
Multiway
[MMV `13]
πΏ β₯ 2 β 2/π
Multiway
[AMM `17]
SLIDE 15 Results (optimization)
Our algorithms are robust.
- Find the optimal solution, if the instance is stable.
- Find an optimal solution or detects that the instance is
not stable, otherwise.
- Never output an incorrect answer.
Solve weakly stable instances.
Assume that when we perturb the instance
- the optimal solution changes only slightly, or
- there is a core that changes only slightly.
SLIDE 16 [Balcan, Haghtalab, White `16] No polynomial-time algorithm for (2 β π)-perturbation-resilient instances
- f π-center (ππ β ππ).
[Ben-David, Reyzin `14] No polynomial-time algorithm for instances of π-means, π-median, π-center satisfying (2 β π)-center proximity property (π β ππ).
Hardness results for center-based
SLIDE 17 Hardness results for optimization problems
Set Cover, Vertex Cover, Min 2-Horn Deletion
There is no robust algorithm for π(π1βπ)-stable instances unless P = NP [AMM `17].
Provide evidence that [MMV `13, AMM `17]
- No robust algorithm for Max Cut when
πΏ < π log π log log π
- Multiway cut is hard when πΏ < 4
3 β π 1 π .
SLIDE 18
Algorithm for Clustering Problems
SLIDE 19 Center proximity property
[Awasthi, Blum, Sheffet `12] A clustering π·1, β¦, π·π with centers π1, β¦, ππ satisfies the center proximity property if for every π β π·π: π π, π
π
> πΏ π π, ππ ππ π·
π
π·π π
π
π
SLIDE 20 i. πΏ-perturbation resilience β πΏ-center proximity ii. 2-center proximity β each cluster is a subtree of the MST
- iii. use single-linkage + DP to find π·1, β¦ , π·π
Plan [AMM `17]
SLIDE 21
Perturbation resilience: the optimal clustering doesnβt change when we perturb the distances. π π£, π€ /πΏ β€ πβ² π£, π€ β€ π(π£, π€) [ABS `12] πβ²(β
,β
) doesnβt have to be a metric [AMM `17] πβ²(β
,β
) is a metric
Metric perturbation resilience is a more natural notion.
Perturbation resilience β center proximity
SLIDE 22 Assume center proximity doesnβt hold. Then π π, π
π β€ πΏ π π, ππ .
Perturbation resilience β center proximity [ABS `12, AMM `17]
ππ π·
π
π·π π
π
π
SLIDE 23 Assume center proximity doesnβt hold.
π = π π, ππ β₯ πΏβ1π(π, π π).
- Donβt change other distances.
- Consider the shortest-path closure.
Perturbation resilience β center proximity [ABS `12, AMM `17]
ππ π·π π π·
π
π
π
SLIDE 24 Assume center proximity doesnβt hold.
π = π π, ππ β₯ πΏβ1π(π, π π).
- Donβt change other distances.
- Consider the shortest-path closure.
Perturbation resilience β center proximity [ABS `12, AMM `17]
ππ π·π π π·
π
π
π
SLIDE 25 Assume center proximity doesnβt hold.
π = π π, ππ β₯ πΏβ1π(π, π π).
- Donβt change other distances.
- Consider the shortest-path closure.
Perturbation resilience β center proximity [ABS `12, AMM `17]
ππ π·π π π·
π
π
π
This is a πΏ-perturbation.
SLIDE 26 Distances inside clusters π«π and π«π donβt change.
Consider π£, π€ β π·π. πβ² π£, π€ = min π π£, π€ , π π£, π + πβ² π, π
π + π π π, π€
Perturbation resilience β center proximity [ABS `12, AMM `17]
ππ π·π π π·
π
π
π
π£ π€
SLIDE 27 Distances inside clusters π«π and π«π donβt change.
Consider π£, π€ β π·π. πβ² π£, π€ = min π π£, π€ , π π£, π + πβ² π, π
π + π π π, π€
Perturbation resilience β center proximity [ABS `12, AMM `17]
ππ π·π π π·
π
π
π
π£ π€
SLIDE 28 Since the instance is πΏ-stable, π·1, β¦ , π·π must be the unique
- ptimal solution for distance πβ².
Still, ππ and π
π are optimal centers for π·π and π· π.
πβ² π, ππ = πβ² π, π
π β can move π from π·π to π· π
Perturbation resilience β center proximity [ABS `12, AMM `17]
ππ π·π π π·
π
π
π
SLIDE 29
[ABS `12] 2-center proximity β every π£ β π·π is closer to ππ than to any π€ β π·π Assume the path from π£ β π·π to ππ in MST, leaves π·π.
Each cluster is a subtree of MST
π£ ππ π€
SLIDE 30
[ABS `12] 2-center proximity β every π£ β π·π is closer to ππ than to any π€ β π·π Assume the path from π£ β π·π to ππ in MST, leaves π·π.
Each cluster is a subtree of MST
π£ ππ π€
SLIDE 31 Root MST at some π . π π£ is the subtree rooted at π£. costπ£(π, π): the cost of the partitioning of π π£
- into π clusters (subtrees)
- so that π is the center of the cluster containing π£.
Dynamic programming algorithm
π£ π π(π£) π
SLIDE 32
Fill out the DP table bottom-up. Example: π-median, π£ has 2 children π£1 and π£2.
Dynamic programming algorithm
π£ π(π£) π£2 π£1
SLIDE 33
Fill out the DP table bottom-up. Example: π-median, π£ has 2 children π£1 and π£2.
Dynamic programming algorithm
π£ π(π£)
SLIDE 34
Fill out the DP table bottom-up. Example: π-median, π£ has 2 children π£1 and π£2.
Dynamic programming algorithm
π£ π(π£)
SLIDE 35
Fill out the DP table bottom-up. Example: π-median, π£ has 2 children π£1 and π£2.
Dynamic programming algorithm
π£ π(π£)
SLIDE 36 π£, π£1, π£2 lie in the same cluster costπ£ π, π = π π£, π + costπ£1 π1, π + costπ£2 π2, π where π1 + π2 = π + 1 π£, π£1, π£2 lie in different clusters costπ£ π, π = π π£, π + costπ£1 π1, π1 + costπ£2 π2, π2 where π1 + π2 = π β 1, π1 β π π£1 , π2 β π π£2 π£, π£1 lie in the same clusters, π£2 in a different
costπ£ π, π = π π£, π + costπ£1 π1, π + costπ£2 π1, π2
where π1 + π2 = π, π2 β π π£2
Dynamic programming algorithm
SLIDE 37
Algorithms for Max Cut and Multiway Cut
SLIDE 38 Algorithms for Max Cut and Multiway Cut [MMV `13]
Write an SDP or LP relaxation for the problem. Show that it is integral if the instance is πΏ-stable.
solve the relaxation if the SDP/LP solution is integral return the solution else return that the instance is not πΏ-stable
The algorithm is robust: it never returns an incorrect answer.
SLIDE 39 Multiway Cut
Write the relaxation for Multiway Cut by
CΔlinescu, Karloff, and Rabani [CKR `98]
To get an π½-approximation, we would design a rounding scheme with
Pr π£, π€ is cut β€ π½ π π£, π€
Then
π½ weight of cut edges β€ π½ ΰ·
π£,π€ βπΉ
π₯π£π€π(π£, π€)
SLIDE 40 Multiway Cut: complementary objective
If we want to maximize the weight of uncut edges, we would we would design a rounding scheme with
Pr π£, π€ is not cut β₯ πΎ (1 β π π£, π€ )
Then
π½ wt. of uncut edges β₯ πΎ ΰ·
π£,π€ βπΉ
π₯π£π€(1 β π π£, π€ )
SLIDE 41 Write an LP or SDP relaxation for the problem. Design a rounding procedure s.t.
Pr π£, π€ is cut β€ π½ π π£, π€ Pr π£, π€ is not cut β₯ πΎ 1 β π π£, π€
Pr π£, π€ is cut β₯ πΎ π π£, π€ Pr π£, π€ is not cut β€ π½ 1 β π π£, π€
Then the relaxation for πΏ-stable instances is integral, when πΏ β₯ π½/πΎ
General approach to solving stable instances of graph partitioning
minimization maximization
!
SLIDE 42 Solving Max Cut [MMV `13]
Use the GoemansβWilliamson SDP relaxation with β2
2-triangle inequalities.
Design a rounding procedure with π½ πΎ = π log π log log π , which is a combination of two algorithms:
- the algorithm for Sparsest Cut with Nonuniform Demands
by Arora, Lee, and Naor `08,
- the algorithm for Min Uncut by Agarwal, Charikar,
Makarychev, M `05
SLIDE 43 Solving Multiway Cut [AMM `17]
Rounding procedures for Multiway Cut by
- Sharma and VondrΓ‘k `14
- Buchbinder, Schwartz, and Weizman `17
are highly non-trivial. Show: need a rounding procedure only for LP solutions that are almost integral. Design a simple rounding procedure with
π½ πΎ = 2 β 2 π .
SLIDE 44 Summary
- Algorithms for 2-perturbation-resilient instances of
problems with a natural center based objective: π-means, π-median, facility location
- Robust algorithms for π
log π log log π -stable instance of Max Cut and 2 β
2 π -stable instances of
Multiway Cut.
- Negative results for stable instances of Max Cut,
Multiway Cut, Max π-Cut, Multi Cut, Set Cover, Vertex Cover, Min 2-Horn Deletion.