29
Distributed Algorithms Below the Greedy Regime Yannic Maus Coloring This project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement no. 755839. Mohsen Ghaffari , Juho Hirvonen, Fabian Kuhn, Jara Uitto

Coloring Distributed Algorithms Below the Greedy Regime

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Coloring Distributed Algorithms Below the Greedy Regime

Distributed Algorithms Below the Greedy Regime

Yannic Maus

Coloring

This project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement no. 755839.

Mohsen Ghaffari , Juho Hirvonen, Fabian Kuhn, Jara Uitto

Page 2: Coloring Distributed Algorithms Below the Greedy Regime

Communication Network = Problem Instance:

3

LOCAL Model [Linial; FOCS ’87]

5

15

6

11

1

21

33

26

9

278

2

7

Discrete synchronous rounds:• local computations• exchange messages with all neighbors

𝑮 = 𝑽, 𝑬 ,𝒏 = 𝑽

(computations unbounded, message sizes are unbounded)

time complexity = number of rounds

I am green

5

15

6

11

1

21

33

26

9

2

7

827

5

15

6

11

1

21

33

26

9

2

7

827

Page 3: Coloring Distributed Algorithms Below the Greedy Regime

Communication Network = Problem Instance:

4

CONGEST MODEL

5

15

6

11

1

21

33

26

9

278

2

7

Discrete synchronous rounds:• local computations• exchange messages with all neighbors

(computations unbounded, message sizes are unbounded) )

time complexity = number of rounds

𝑶(𝐥𝐨𝐠𝒏) bits

𝑮 = 𝑽, 𝑬 ,𝒏 = 𝑽

5

15

6

11

1

21

33

26

9

2

7

827

Page 4: Coloring Distributed Algorithms Below the Greedy Regime

5

Classic Big Four (Greedy Regime)

Maximal Ind. Set (MIS) 𝚫 + 𝟏 -Vertex Coloring

(𝟐𝚫 − 𝟏)-Edge ColoringMaximal Matching

(Δ: maximum degree of 𝐺)

Page 5: Coloring Distributed Algorithms Below the Greedy Regime

6

In the LOCAL Model …Greedy Below Greedy

Maximal IS 2𝑂 log 𝑛 2𝑂 log 𝑛 Maximum IS, 𝟏 − 𝝐 -approx.

vertex cover, 2-approx.

poly log 𝑛 2𝑂 log 𝑛 vertex cover, 𝟏 + 𝝐 -approx.

min. dominating set,(𝟏 + 𝝐) 𝐥𝐨𝐠𝚫-approx.

2𝑂 log 𝑛 2𝑂 log 𝑛 min dominating set,𝟏 + 𝝐 -approx.

hypergraph vertex cover, rank-approx.

2𝑂 log 𝑛 2𝑂 log 𝑛 hypergraph vertex cover,𝟏 + 𝝐 -approx.

𝚫 + 𝟏 -vertex coloring 2𝑂 log 𝑛 2𝑂 log 𝑛 𝚫-vertex coloring

𝟐𝚫 − 𝟏 -edge coloring poly log 𝑛 poly log 𝑛 𝟏 + 𝝐 𝚫-edge coloring

maximal matching poly log 𝑛 poly log 𝑛 Maximum Matching,𝟏 + 𝝐 -approx.

CONGEST

Page 6: Coloring Distributed Algorithms Below the Greedy Regime

7

In the LOCAL Model …Greedy Below Greedy

Maximal IS 2𝑂 log 𝑛 2𝑂 log 𝑛 Maximum IS, 𝟏 − 𝝐 -approx.

𝚫 + 𝟏 -vertex coloring 2𝑂 log 𝑛 2𝑂 log 𝑛 𝚫-vertex coloring

𝟐𝚫 − 𝟏 -edge coloring poly log 𝑛 poly log 𝑛 𝟏 + 𝝐 𝚫-edge coloring

maximal matching poly log 𝑛 poly log 𝑛 Maximum Matching,𝟏 + 𝝐 -approx.

CONGEST

“Problems that do not have easy sequential greedy algorithms.”

“Problems that do haveeasy sequential greedy algorithms.”

Page 7: Coloring Distributed Algorithms Below the Greedy Regime

8

OutlineThis Talk: How do we use LOCAL? Below Greedy

Maximum IS7/8-approx.

Ω(𝑛2) 2𝑂 log 𝑛 Maximum IS, 𝟏 − 𝝐 -approx.

vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 vertex cover, 𝟏 + 𝝐 -approx.

min. dominating set,exact

Ω(𝑛2) 2𝑂 log 𝑛 min dominating set,𝟏 + 𝝐 -approx.

hypergraph vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 hypergraph vertex cover,𝟏 + 𝝐 -approx.

𝝌(𝑮)-vertex coloring Ω(𝑛2) 2𝑂 log 𝑛 𝚫-vertex coloring

edge coloring ? poly log 𝑛 𝟏 + 𝝐 𝚫-edge coloring

Maximum matchingexact

? poly log 𝑛 Maximum Matching,𝟏 − 𝝐 -approx.

Technique 1: Ball growing

Technique 2: Local filling

Technique 3: Aug. paths

CONGEST

[Ghaffari, Kuhn, Maus; STOC ’17]

[Ghaffari, Hirvonen, Kuhn, Maus; PODC ’18]

[Ghaffari, Kuhn, Maus, Uitto; STOC ’18]

Page 8: Coloring Distributed Algorithms Below the Greedy Regime

9

Technique 1: Ball GrowingThis Talk: How do we use LOCAL? Below Greedy

Maximum IS7/8-approx.

Ω(𝑛2) 2𝑂 log 𝑛 Maximum IS, 𝟏 − 𝝐 -approx.

vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 vertex cover, 𝟏 + 𝝐 -approx.

min. dominating set,exact

Ω(𝑛2) 2𝑂 log 𝑛 min dominating set,𝟏 + 𝝐 -approx.

hypergraph vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 hypergraph vertex cover,𝟏 + 𝝐 -approx.

𝝌(𝑮)-vertex coloring Ω(𝑛2) 2𝑂 log 𝑛 𝚫-vertex coloring

edge coloring ? poly log 𝑛 𝟏 + 𝝐 𝚫-edge coloring

Maximum matchingexact

? poly log 𝑛 Maximum Matching,𝟏 − 𝝐 -approx.

Technique 1: Ball growing

Technique 2: Local filling

Technique 3: Aug. paths

Page 9: Coloring Distributed Algorithms Below the Greedy Regime

10

Sequential Ball Growing (MaxIS)

𝒗

Safe Ball 𝑩𝒓(𝒗): |𝑀𝑎𝑥𝐼𝑆(𝐵𝑟+1)| < (1 + 𝜖) ⋅ 𝑀𝑎𝑥𝐼𝑆(𝐵𝑟)

Terminates with small radius 𝑟 = 𝑂(𝜖−1 log 𝑛).

Find safe ball: Set 𝑟 = 0 and increase 𝑟 until ball 𝐵𝑟 is safe.

Page 10: Coloring Distributed Algorithms Below the Greedy Regime

11

Sequential Ball Growing (MaxIS)

Safe Ball 𝑩𝒓(𝒗): |𝑀𝑎𝑥𝐼𝑆(𝐵𝑟+1)| < (1 + 𝜖) ⋅ 𝑀𝑎𝑥𝐼𝑆(𝐵𝑟)

Terminates with small radius 𝑟 = 𝑂(𝜖−1 log 𝑛).

Find safe ball: Set 𝑟 = 0 and increase 𝑟 until ball 𝐵𝑟 is safe.

Page 11: Coloring Distributed Algorithms Below the Greedy Regime

12

Sequential Ball Growing (MaxIS)

Safe Ball 𝑩𝒓(𝒗): |𝑀𝑎𝑥𝐼𝑆(𝐵𝑟+1)| < (1 + 𝜖) ⋅ 𝑀𝑎𝑥𝐼𝑆(𝐵𝑟)

Terminates with small radius 𝑟 = 𝑂(𝜖−1 log 𝑛).

Find safe ball: Set 𝑟 = 0 and increase 𝑟 until ball 𝐵𝑟 is safe.

Page 12: Coloring Distributed Algorithms Below the Greedy Regime

13

Sequential Ball Growing (MaxIS)

Safe Ball 𝑩𝒓(𝒗): |𝑀𝑎𝑥𝐼𝑆(𝐵𝑟+1)| < (1 + 𝜖) ⋅ 𝑀𝑎𝑥𝐼𝑆(𝐵𝑟)

Terminates with small radius 𝑟 = 𝑂(𝜖−1 log 𝑛).

Find safe ball: Set 𝑟 = 0 and increase 𝑟 until ball 𝐵𝑟 is safe.

Page 13: Coloring Distributed Algorithms Below the Greedy Regime

14

Sequential Ball Growing (MaxIS)

Safe Ball 𝑩𝒓(𝒗): |𝑀𝑎𝑥𝐼𝑆(𝐵𝑟+1)| < (1 + 𝜖) ⋅ 𝑀𝑎𝑥𝐼𝑆(𝐵𝑟)

Terminates with small radius 𝑟 = 𝑂(𝜖−1 log 𝑛).

Find safe ball: Set 𝑟 = 0 and increase 𝑟 until ball 𝐵𝑟 is safe.

Page 14: Coloring Distributed Algorithms Below the Greedy Regime

15

Sequential Ball Growing (MaxIS)

Safe Ball 𝑩𝒓(𝒗): |𝑀𝑎𝑥𝐼𝑆(𝐵𝑟+1)| < (1 + 𝜖) ⋅ 𝑀𝑎𝑥𝐼𝑆(𝐵𝑟)

Terminates with small radius 𝑟 = 𝑂(𝜖−1 log 𝑛).

Find safe ball: Set 𝑟 = 0 and increase 𝑟 until ball 𝐵𝑟 is safe.

Sequentially computes a 1 + 𝜖 −1-approximation for MaxIS.(using unbounded computation)

Page 15: Coloring Distributed Algorithms Below the Greedy Regime

16

Parallel Ball Growing

TheoremUsing (𝐩𝐨𝐥𝐲 𝐥𝐨𝐠 𝒏 , 𝐩𝐨𝐥𝐲 𝐥𝐨𝐠 𝒏)-network decompositions “sequentially ball growing” can be “done in parallel” in LOCAL.

Corollary

There are 𝐩𝐨𝐥𝐲 𝐥𝐨𝐠 𝒏 randomized and 𝟐𝑶 𝐥𝐨𝐠 𝒏 deterministic 𝟏 + 𝝐 -approximation algorithms for covering and packing

integer linear programs.

This includes maximum independent set, minimum dominating set, vertex cover, … .

[STOC ’17, Ghaffari, Kuhn, Maus]

[STOC ’17, Ghaffari, Kuhn, Maus]

Page 16: Coloring Distributed Algorithms Below the Greedy Regime

17

Technique 2: Local FillingThis Talk: How do we use LOCAL? Below Greedy

Maximum IS7/8-approx.

Ω(𝑛2) 2𝑂 log 𝑛 Maximum IS, 𝟏 − 𝝐 -approx.

vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 vertex cover, 𝟏 + 𝝐 -approx.

min. dominating set,exact

Ω(𝑛2) 2𝑂 log 𝑛 min dominating set,𝟏 + 𝝐 -approx.

hypergraph vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 hypergraph vertex cover,𝟏 + 𝝐 -approx.

𝝌(𝑮)-vertex coloring Ω(𝑛2) 2𝑂 log 𝑛 𝚫-vertex coloring

edge coloring ? poly log 𝑛 𝟏 + 𝝐 𝚫-edge coloring

Maximum matchingexact

? poly log 𝑛 Maximum Matching,𝟏 − 𝝐 -approx.

Technique 1: Ball growing

Technique 2: Local filling

Technique 3: Aug. paths

Page 17: Coloring Distributed Algorithms Below the Greedy Regime

18

Δ-Coloring

Definition: An induced subgraph 𝐻 ⊆ 𝐺 is called an easy component if any 𝛥𝐺-coloring of 𝐺 ∖ 𝐻 can be extended to a 𝛥𝐺-coloring of 𝐺 without changing the coloring on 𝐺 ∖ 𝐻.

[PODC ’18; Ghaffari, Hirvonen, Kuhn, Maus]

Theorem: Let 𝐺 be a graph (≠clique) with max. degree Δ ≥ 3. Every node of 𝐺 has a small diameter easy component in distance at most O(log n).

Well studied under the name degree chosable components.

“ “[Erdős et al. ’79, Vizing ‘76]

Previous Work: [Panconesi, Srinivasan; STOC ’93]

Page 18: Coloring Distributed Algorithms Below the Greedy Regime

19

Find an MIS 𝑴 of small diameter easy componentsDefine 𝑂 log𝑛 Layers: 𝑳𝒊 = 𝑣 𝑣 in distance 𝒊 to some component in 𝑴}For 𝑖 = 𝑂(log 𝑛) to 1

color nodes in 𝐿𝑖 through solving a (deg+1)-list coloringColor easy components in M

Page 19: Coloring Distributed Algorithms Below the Greedy Regime

20

Find an MIS 𝑴 of small diameter easy componentsDefine 𝑂 log𝑛 Layers: 𝑳𝒊 = 𝑣 𝑣 in distance 𝒊 to some component in 𝑴}For 𝑖 = 𝑂(log 𝑛) to 1

color nodes in 𝐿𝑖 through solving a (deg+1)-list coloringColor easy components in M

Page 20: Coloring Distributed Algorithms Below the Greedy Regime

21

Find an MIS 𝑴 of small diameter easy componentsDefine 𝑂 log𝑛 Layers: 𝑳𝒊 = 𝑣 𝑣 in distance 𝒊 to some component in 𝑴}For 𝑖 = 𝑂(log 𝑛) to 1

color nodes in 𝐿𝑖 through solving a (deg+1)-list coloringColor easy components in M

Greedy regime

Page 21: Coloring Distributed Algorithms Below the Greedy Regime

22

Find an MIS 𝑴 of small diameter easy componentsDefine 𝑂 log𝑛 Layers: 𝑳𝒊 = 𝑣 𝑣 in distance 𝒊 to some component in 𝑴}For 𝑖 = 𝑂(log 𝑛) to 1

color nodes in 𝐿𝑖 through solving a (deg+1)-list coloringColor easy components in M

Greedy regime

Page 22: Coloring Distributed Algorithms Below the Greedy Regime

23

Find an MIS 𝑴 of small diameter easy componentsDefine 𝑂 log𝑛 Layers: 𝑳𝒊 = 𝑣 𝑣 in distance 𝒊 to some component in 𝑴}For 𝑖 = 𝑂(log 𝑛) to 1

color nodes in 𝐿𝑖 through solving a (deg+1)-list coloringColor easy components in M

Greedy regime

Page 23: Coloring Distributed Algorithms Below the Greedy Regime

24

Find an MIS 𝑴 of small diameter easy componentsDefine 𝑂 log𝑛 Layers: 𝑳𝒊 = 𝑣 𝑣 in distance 𝒊 to some component in 𝑴}For 𝑖 = 𝑂(log 𝑛) to 1

color nodes in 𝐿𝑖 through solving a (deg+1)-list coloringColor easy components in M

Greedy regime

Page 24: Coloring Distributed Algorithms Below the Greedy Regime

25

Technique 3: Augmenting PathsThis Talk: How do we use LOCAL? Below Greedy

Maximum IS7/8-approx.

Ω(𝑛2) 2𝑂 log 𝑛 Maximum IS, 𝟏 − 𝝐 -approx.

vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 vertex cover, 𝟏 + 𝝐 -approx.

min. dominating set,exact

Ω(𝑛2) 2𝑂 log 𝑛 min dominating set,𝟏 + 𝝐 -approx.

hypergraph vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 hypergraph vertex cover,𝟏 + 𝝐 -approx.

𝝌(𝑮)-vertex coloring Ω(𝑛2) 2𝑂 log 𝑛 𝚫-vertex coloring

edge coloring ? poly log 𝑛 𝟏 + 𝝐 𝚫-edge coloring

Maximum matchingexact

? poly log 𝑛 Maximum Matching,𝟏 − 𝝐 -approx.

Technique 1: Ball growing

Technique 2: Local filling

Technique 3: Aug. paths

Page 25: Coloring Distributed Algorithms Below the Greedy Regime

26

1 + 𝜖 Δ-Edge Coloring

Theorem1 + 𝜖 Δ-edge coloring can be efficiently reduced to the

computation of weighted maximum matching approximations .

The reduction can be executed in the CONGEST model.

[Ghaffari, Kuhn, Maus, Uitto; STOC ’18]

For 𝑖 = 1 to 2Δ − 1compute a maximal matching 𝑀 of 𝐺 𝑀good

color edges of 𝑀 with color 𝑖 𝑀good

remove 𝑀 from 𝐺𝑀good

Next

Well known: 2Δ − 1 iterations suffice to color all edges.

Page 26: Coloring Distributed Algorithms Below the Greedy Regime

27

1 + 𝜖 Δ-Edge Coloring

𝟏 + 𝝐 𝚫-edge coloring through good matchings:Reduce the max degree (amortized) at a rate of (1 − 𝜖).

For 𝑖 = 1 to 1 + 𝜖 Δcompute a good matching 𝑀good of 𝐺

color edges of 𝑀good with color 𝑖

remove 𝑀good from 𝐺

Next

Theorem1 + 𝜖 Δ-edge coloring can be efficiently reduced to the

computation of weighted maximum matching approximations .

The reduction can be executed in the CONGEST model.

[Ghaffari, Kuhn, Maus, Uitto; STOC ’18]

Page 27: Coloring Distributed Algorithms Below the Greedy Regime

Technique 1: Sequential ball growingProblems: Approx. for MaxIS, MinDS, MinVC and many more …How do we (ab)use LOCAL?

Compute optimal solutions in small diameter graphs

28

Summary Techniques (LOCAL)

Technique 2: Local fillingProblems: Δ-Coloring, ?How do we (ab)use LOCAL?

“Existence” + small diameter is enough to obtain a solution

Technique 3: Augmenting pathsProblems: 1 + 𝜖 Δ Edge Coloring, Maximum Matching Approx.How do we (ab)use LOCAL?

Finding a maximal set of augmenting paths

CONGEST

Page 28: Coloring Distributed Algorithms Below the Greedy Regime

29

Lower Bounds in CONGESTLower Bounds in CONGEST Below Greedy

Maximum IS7/8-approx.

Ω(𝑛2) 2𝑂 log 𝑛 Maximum IS, 𝟏 − 𝝐 -approx.

vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 vertex cover, 𝟏 + 𝝐 -approx.

min. dominating set,exact

Ω(𝑛2) 2𝑂 log 𝑛 min dominating set,𝟏 + 𝝐 -approx.

hypergraph vertex cover, exact

Ω(𝑛2) 2𝑂 log 𝑛 hypergraph vertex cover,𝟏 + 𝝐 -approx.

𝝌(𝑮)-vertex coloring Ω(𝑛2) 2𝑂 log 𝑛 𝚫-vertex coloring

?-edge coloring ? poly log 𝑛 𝟏 + 𝝐 𝚫-edge coloring

Maximum matchingalmost exact

Ω( 𝑛 poly log 𝑛 Maximum Matching,𝟏 − 𝝐 -approx.

CONGEST[BCDELP ‘19], [AKO ’18], [ACK ’16]

Page 29: Coloring Distributed Algorithms Below the Greedy Regime

30

Let’s Discuss …

A lot was spared in this talk (randomized!)

• (1 − 𝜖) max cut approximation: [Zelke ‘09]Similar to technique 1: Subsampling + solving optimally

• spanners, e.g., [Censor-Hillel, Dory; PODC ‘18]

• randomized edge coloring below the greedy regime, e.g., [Elkin, Pettie, Su; SODA ’15], [Chang, He, Li, Pettie, Uitto; SODA ‘18], [Su, Vu; STOC ‘19]

• MPC: Maximum Matching approx. in time 𝑂(log log 𝑛)[Behnezhad, Hajiaghayi, Harris; FOCS ‘19]

• lots more …

What can or cannot be done below the greedy regime in distributed models with limited communication (CONGEST, CONGESTED CLIQUE, MPC, …)?

Thank you