Distributed Coloring Discrete Mathematics and Algorithms Seminar Melih Onus November 10 2005.

Slides:



Advertisements
Similar presentations
1 SOFSEM 2007 Weighted Nearest Neighbor Algorithms for the Graph Exploration Problem on Cycles Eiji Miyano Kyushu Institute of Technology, Japan Joint.
Advertisements

Constant Density Spanners for Wireless Ad hoc Networks Kishore Kothapalli (JHU) Melih Onus (ASU) Christian Scheideler (JHU) Andrea Richa (ASU) 1.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph G=(V,E), |V|=n, |E|=m, any set of nodes that are not adjacent.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Johannes Schneider –1 A Log-Star Distributed Maximal Independent Set Algorithm for Growth-Bounded Graphs Johannes Schneider Roger Wattenhofer TexPoint.
Approximation Algorithms for Unique Games Luca Trevisan Slides by Avi Eyal.
LOCALITY IN DISTRIBUTED GRAPH ALGORITHMS Nathan Linial Presented by: Ron Ryvchin.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph, any set of nodes that are not adjacent.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 8 May 4, 2005
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Randomized Algorithms and Randomized Rounding Lecture 21: April 13 G n 2 leaves
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Distributed Coloring in Õ(  log n) Bit Rounds COST 293 GRAAL and.
Dynamic Hypercube Topology Stefan Schmid URAW 2005 Upper Rhine Algorithms Workshop University of Tübingen, Germany.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Data Flow and Random Placement.
On the Crossing Spanning Tree Vineet Goyal Joint work with Vittorio Bilo, R. Ravi and Mohit Singh.
CSE 421 Algorithms Richard Anderson Lecture 4. What does it mean for an algorithm to be efficient?
Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.
Distributed Computing Group Locality and the Hardness of Distributed Approximation Thomas Moscibroda Joint work with: Fabian Kuhn, Roger Wattenhofer.
Distributed MST for Constant Diameter Graphs Zvi Lotker & Boaz Patt-Shamir & David Peleg.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Additive Spanners for k-Chordal Graphs V. D. Chepoi, F.F. Dragan, C. Yan University Aix-Marseille II, France Kent State University, Ohio, USA.
Maximal Independent Set Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
Finding a maximum independent set in a sparse random graph Uriel Feige and Eran Ofek.
A General Approach to Online Network Optimization Problems Seffi Naor Computer Science Dept. Technion Haifa, Israel Joint work: Noga Alon, Yossi Azar,
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
Johannes PODC 2009 –1 Coloring Unstructured Wireless Multi-Hop Networks Johannes Schneider Roger Wattenhofer TexPoint fonts used in EMF. Read.
ACSS 2006, T. Radzik1 Communication Algorithms for Ad-hoc Radio Networks Tomasz Radzik Kings Collage London.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
1 Constant Density Spanners for Wireless Ad-Hoc Networks Discrete Mathematics and Algorithms Seminar Melih Onus April
Expanders via Random Spanning Trees R 許榮財 R 黃佳婷 R 黃怡嘉.
Distributed Algorithms Rajmohan Rajaraman Northeastern University, Boston May 2012 Chennai Network Optimization WorkshopDistributed Algorithms1.
Experimental analysis of simple, distributed vertex coloring algorithms Irene Finocchi Alessandro Panconesi Riccardo Silvestri DSI, University of Rome.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph G=(V,E), |V|=n, |E|=m, any set of nodes that are not adjacent.
A graph problem: Maximal Independent Set Graph with vertices V = {1,2,…,n} A set S of vertices is independent if no two vertices in S are.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Testing the independence number of hypergraphs
Markov Chains and Random Walks. Def: A stochastic process X={X(t),t ∈ T} is a collection of random variables. If T is a countable set, say T={0,1,2, …
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Artur Czumaj DIMAP DIMAP (Centre for Discrete Maths and it Applications) Computer Science & Department of Computer Science University of Warwick Testing.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
Graph Theory. undirected graph node: a, b, c, d, e, f edge: (a, b), (a, c), (b, c), (b, e), (c, d), (c, f), (d, e), (d, f), (e, f) subgraph.
Analysis of Algorithms Spring semester 2002 Uri Zwick
CSE 421 Algorithms Richard Anderson Winter 2009 Lecture 5.
A randomized linear time algorithm for graph spanners Surender Baswana Postdoctoral Researcher Max Planck Institute for Computer Science Saarbruecken,
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
1 Distributed Vertex Coloring. 2 Vertex Coloring: each vertex is assigned a color.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
Computation on Graphs. Graphs and Sparse Matrices Sparse matrix is a representation of.
Distributed Algorithms for Network Diameter David Peleg, Liam Roditty and Elad Tal.
Space Complexity Guy Feigenblat Based on lecture by Dr. Ely Porat Complexity course Computer science department, Bar-Ilan university December 2008.
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
Peer-to-Peer Networks 07 Degree Optimal Networks
A simple parallel algorithm for the MIS problem
Markov Chains and Random Walks
Stochastic Streams: Sample Complexity vs. Space Complexity
A Log-Star Distributed Maximal Independent Set Algorithm for Growth-Bounded Graphs Johannes Schneider Roger Wattenhofer TexPoint fonts used in EMF.
CONNECTED-COMPONENTS ALGORITHMS FOR MESH-CONNECTED PARALLEL COMPUTERS
Computing Connected Components on Parallel Computers
Maximal Independent Set
Know thy Neighbor’s Neighbor Better Routing for Skip Graphs and Small Worlds Moni Naor Udi Wieder.
MST in Log-Star Rounds of Congested Clique
Maximal Independent Set
TexPoint fonts used in EMF.
Trees.
Proof of Kleinberg’s small-world theorems
Locality In Distributed Graph Algorithms
Presentation transcript:

Distributed Coloring Discrete Mathematics and Algorithms Seminar Melih Onus November

Outline Vertex Coloring Model Luby’s Algorithm Coloring Constant Degree Oriented Graphs Coloring Oriented Graphs Conclusion & Open Problems

Vertex Coloring Given a graph G, find a coloring of the vertices so that no two neighbors in G have the same color Proper Coloring Improper Coloring

Model G(V, E), V represents the set of processors and E represents communication links Communication links are bidirectional Processors are synchronized Each node knows n,  and its neighbors The edges in E have an orientation (edge {u, v} is oriented either as u  v or v  u)

How can we use orientation? If nodes u and v choose the same color during any round of algorithm, in the existing algorithms both nodes remain uncolored With orientation, u can be colored provided that there is no edge w  v and node w also chooses the same color uvuv With existing algorithms both remain uncolored Using orientation, u gets colored red

Luby’s algorithm In each round –Each uncolored node chooses a color uniformly random –If there is no conflict, node is colored with that color Distributed  +1-coloring algorithm Works in O(log n) rounds w.h.p.

a v bc Luby’s algorithm (Example) Round 1 uv a bc Round 2 uv a bc Round 3 uv a bc Round 4 u

Coloring Constant Degree Oriented Graphs Special case: Constant degree graphs Algorithm Color-Random: In each round –Each uncolored node v chooses an available color c v uniformly at random –If no neighbor node u with higher priority ( u  v) chooses the same color c v, node v is colored with c v u  v : u has higher priority

Algorithm Color-Random (Example) Round 1 uv a bc Round 2 uv a bc Round 3 uv a bc

Algorithm Color-Random For constant degree graph with n nodes provided with -acyclic orientation, our algorithm obtains a  +1 coloring in O( ) rounds, w.h.p.. An orientation of the edges of a graph is said to be m-acyclic if and only if the orientation does not have cycles of length at most m.

p p p p p p Analysis(Part I) Lemma: After O((logn) 1/2 ) rounds, every path of length (logn) 1/2 has at least one colored node, w.h.p.. Proof: (logn) 1/2 Each node has constant number of neighbors, so the probability that a node is not colored at a round is at most p (constant). The probability that none of the nodes at the path is colored at a round is at most p (logn)1/2. pp (logn)1/2

Analysis(Part I) p p p p p p (logn) 1/2 nodes p (logn)1/2 c(logn) 1/2 rounds p (logn)1/2 p clogn =1/n -clogp p (logn)1/2

Analysis(Part II) After O((logn) 1/2 ) rounds, every connected component of uncolored nodes have diameter at most (logn) 1/2, w.h.p.. Orientation is (logn) 1/2 -acyclic, so there can be no cycles on connected component of uncolored nodes. This provides a topological ordering.

Analysis(Part II) label(u)= 0 if no entering edge v  u 1+max v:v  u label v otherwise Maximum label is (logn) 1/2. All nodes will be colored after (logn) 1/2 rounds.

Lowerbound For every Las Vegas algorithm A, there is infinite family of oriented graphs G such that A has complexity of at least  ((logn) 1/2 ), on expectation, to compute a proper vertex coloring. A Las Vegas algorithm is a randomized algorithm that always produces a correct result, with the only variation being its runtime.

Coloring Oriented Graphs General Case: Arbitrary degree graphs Algorithm Color-Wait For each round –If u is uncolored and does not have any uncolored neighbor w such that w  u then node u is colored with the lowest available color

uuv cb Algorithm Color-Wait (Example) Round 1 v a cb Round 2 a v cb Round 3 u a no node with entering edge for node u no node with entering edge for node b no uncolored node with entering edge for node c no uncolored node with entering edge for node v

Coloring Oriented Graphs While there are uncolored nodes –Use Algorithm Color-Random for loglog n rounds –If  =  ((logn) 1/2 loglogn) Use Algorithm Color-Random for (8/  +4) (logn) 1/2 /loglogn rounds –Else Use Algorithm Color-Random for 4(logn) 1/2 rounds –Use Algorithm Color-Wait (logn) 1/2 rounds  constant,  >0,  > log  +1/2 n loglog n Phase I Phase II Phase III

Phase I Lemma: After phase I, the number of uncolored neighbors of any node reduces to log n w.h.p.. Use Algorithm Color-Random for loglog n rounds

Phase II Lemma: After phase II, every path of length (logn) 1/2 has at least one colored node, w.h.p.. If  =  ((logn) 1/2 loglogn) Use Algorithm Color-Random for (8/  +4) (logn) 1/2 /loglogn rounds Else Use Algorithm Color-Random for 4(logn) 1/2 rounds

Phase III After phase III, all nodes will be colored. Use Algorithm Color-Wait (logn) 1/2 rounds

Coloring Oriented Graphs Given an -acyclic oriented graph G=(V,E) of maximum degree , for any constant  >0 a (1+  )  - vertex coloring of G can be obtained in O(log  ) + O( log log n) rounds, with high probability.

Results for any constant  >0

Conclusion & Open Problems Distributed coloring algorithm Acyclic orientations, better bounds Deterministic distributed algorithms for  +1-coloring that run in polylogarithmic number of rounds

References K. Kothapalli, C. Scheideler, M. Onus, C. Schindelhauer. Distributed coloring with O(logn) bits. submitted to IPDPS 06. M. Luby. A simple parallel algorithm for the maximal independent set problem. STOC 1985.