Maximal Independent Set

Slides:



Advertisements
Similar presentations
How to Schedule a Cascade in an Arbitrary Graph F. Chierchetti, J. Kleinberg, A. Panconesi February 2012 Presented by Emrah Cem 7301 – Advances in Social.
Advertisements

Approximation, Chance and Networks Lecture Notes BISS 2005, Bertinoro March Alessandro Panconesi University La Sapienza 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.
Approximating the Domatic Number Feige, Halldorsson, Kortsarz, Srinivasan ACM Symp. on Theory of Computing, pages , 2000.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph, any set of nodes that are not adjacent.
Computational problems, algorithms, runtime, hardness
1 Greedy Algorithms. 2 2 A short list of categories Algorithm types we will consider include: Simple recursive algorithms Backtracking algorithms Divide.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Distributed Coloring in Õ(  log n) Bit Rounds COST 293 GRAAL and.
CSE 421 Algorithms Richard Anderson Lecture 4. What does it mean for an algorithm to be efficient?
Prof. Bart Selman Module Probability --- Part e)
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Maximal Independent Set Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Minimum Spanning Trees. Subgraph A graph G is a subgraph of graph H if –The vertices of G are a subset of the vertices of H, and –The edges of G are a.
Active Learning for Probabilistic Models Lee Wee Sun Department of Computer Science National University of Singapore LARC-IMS Workshop.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
 Jim has six children.  Chris fights with Bob,Faye, and Eve all the time; Eve fights (besides with Chris) with Al and Di all the time; and Al and Bob.
Distributed Coloring Discrete Mathematics and Algorithms Seminar Melih Onus November
10.4 How to Find a Perfect Matching We have a condition for the existence of a perfect matching in a graph that is necessary and sufficient. Does this.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree R 陳建霖 R 宋彥朋 B 楊鈞羽 R 郭慶徵 R
Consensus and Its Impossibility in Asynchronous Systems.
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.
Computational Geometry Piyush Kumar (Lecture 10: Point Location) Welcome to CIS5930.
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 Leader Election in Rings. 2 A Ring Network Sense of direction left right.
The Dominating Set and its Parametric Dual  the Dominated Set  Lan Lin prepared for theory group meeting on June 11, 2003.
Chapter 11 Resource Allocation by Mikhail Nesterenko “Distributed Algorithms” by Nancy A. Lynch.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
Computing Approximate Weighted Matchings in Parallel Fredrik Manne, University of Bergen with Rob Bisseling, Utrecht University Alicia Permell, Michigan.
1 Fault-Tolerant Consensus. 2 Communication Model Complete graph Synchronous, network.
1 Distributed Vertex Coloring. 2 Vertex Coloring: each vertex is assigned a color.
PROBABILITY AND COMPUTING RANDOMIZED ALGORITHMS AND PROBABILISTIC ANALYSIS CHAPTER 1 IWAMA and ITO Lab. M1 Sakaidani Hikaru 1.
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
Greedy Algorithms.
Finding Dense and Connected Subgraphs in Dual Networks
Independent Cascade Model and Linear Threshold Model
Operating Systems, Summer Semester 2011
Operating Systems, Winter Semester 2011
A simple parallel algorithm for the MIS problem
Computational problems, algorithms, runtime, hardness
Computing Connected Components on Parallel Computers
Approximating the MST Weight in Sublinear Time
More NP-complete Problems
The minimum cost flow problem
Maximal Independent Set
Spectral Clustering.
Lecture 18: Uniformity Testing Monotonicity Testing
Independent Cascade Model and Linear Threshold Model
Localizing the Delaunay Triangulation and its Parallel Implementation
Discrete Mathematics for Computer Science
Distributed Consensus
TexPoint fonts used in EMF.
CS 3343: Analysis of Algorithms
Introduction to Algorithms 6.046J/18.401J
CSE 589 Applied Algorithms Spring 1999
Lecture 3 / 4 Algorithm Analysis
Coverage Approximation Algorithms
Advanced Analysis of Algorithms
Introduction to Algorithms
CPS 173 Computational problems, algorithms, runtime, hardness
The Selection Problem.
Independent Cascade Model and Linear Threshold Model
Dominating Set By Eric Wengert.
Instructor: Aaron Roth
Constructing a m-connected k-Dominating Set in Unit Disc Graphs
Locality In Distributed Graph Algorithms
Presentation transcript:

Maximal Independent Set

Independent Set (IS): Any set of nodes that are not adjacent

Maximal Independent Set (MIS): An independent set that is no subset of any other independent set

A Sequential Greedy algorithm Suppose that will hold the final MIS Initially

Phase 1: Pick a node and add it to

Remove and neighbors

Remove and neighbors

Phase 2: Pick a node and add it to

Remove and neighbors

Remove and neighbors

Phases 3,4,5,…: Repeat until all nodes are removed

Phases 3,4,5,…,x: Repeat until all nodes are removed No remaining nodes

At the end, set will be an MIS of

Running time of algorithm: Worst case graph: nodes

A General Algorithm For Computing MIS Same as the sequential greedy algorithm, but at each phase we may select any independent set (instead of a single node)

Example: Suppose that will hold the final MIS Initially

Phase 1: Find any independent set And insert to :

remove and neighbors

remove and neighbors

remove and neighbors

Phase 2: On new graph Find any independent set And insert to :

remove and neighbors

remove and neighbors

Phase 3: On new graph Find any independent set And insert to :

remove and neighbors

remove and neighbors No nodes are left

Final MIS

Observation: The number of phases depends on the choice of independent set in each phase: The larger the independent set at each phase the faster the algorithm

Example: If is MIS, 1 phase is needed Example: If each contains one node, phases are needed (sequential greedy algorithm)

A Simple Distributed Algorithm Same with the general MIS algorithm At each phase the independent set is chosen randomly so that it includes many nodes of the remaining graph

Let be the maximum node degree in the whole graph 2 1 Suppose that is known to all the nodes

At each phase : Each node elects itself with probability 2 1 Elected nodes are candidates for independent set

However, it is possible that neighbor nodes may be elected simultaneously Problematic nodes

All the problematic nodes must be un-elected. The remaining elected nodes form independent set

Success for a node in phase : disappears at end of phase (enters or ) Analysis: Success for a node in phase : disappears at end of phase (enters or ) A good scenario that guarantees success No neighbor elects itself 2 1 elects itself

Probability of success in phase: At least No neighbor should elect itself 2 1 elects itself

Fundamental inequalities

Probability of success in phase: At least For

Therefore, node will enter and disappear in phase with probability at least 2 1

Expected number of phases until node disappears: at most phases

Bad event for node : after phases node did not disappear Probability:

Bad event for any node in : after phases at least one node did not disappear Probability:

Good event for all nodes in : within phases all nodes disappear Probability: (high probability)

Total number of phases: with high probability Time duration of each phase: Total time:

Luby’s MIS Distributed Algorithm Runs in time in expected case with high probability this algorithm is asymptotically better than the previous

Let be the degree of node 2 1

At each phase : Each node elects itself with probability degree of in 2 1 Elected nodes are candidates for the independent set

If two neighbors are elected simultaneously, then the higher degree node wins Example: if

If both have the same degree, ties are broken arbitrarily Example: if

Using previous rules, problematic nodes are removed

The remaining elected nodes form independent set

Analysis Consider phase A good event for node at least one neighbor enters 2 1

If is true, then and will disappear at end of current phase At end of phase

LEMMA: at least one neighbor of is elected with probability at least maximum neighbor degree 2 1

PROOF: No neighbor of is elected with probability (the elections are independent) 2 1

maximum neighbor degree

Therefore, at least one neighbor of is elected with probability at least 2 1

Therefore, at least one neighbor of is elected with probability at least With a different analysis, this probability can also be proven to be at least END OF PROOF

if a neighbor is elected, then it enters with probability at least LEMMA: if a neighbor is elected, then it enters with probability at least 2 1 2 1

PROOF: Node enters if no neighbor of same or higher degree elects itself 2 1

Probability that some neighbor of with same or higher degree elects itself 2 1 neighbors of same or higher degree

Probability that that no neighbor of with same or higher degree elects itself 2 1 neighbors of same or higher degree

Thus, if is elected, it enters with probability at least 1 2 1 2 END OF PROOF

LEMMA: at least one neighbor of enters 2 1

PROOF: New event neighbor is in and no node is elected 2 1

The events are mutually exclusive

It holds: Therefore:

is elected and no node is elected after is elected, it enters 2 1

after is elected, it enters (we have shown it earlier) 2 2 1 1

is elected and no node is elected The events are mutually exclusive

We showed earlier that: Therefore:

Consequently:

Therefore node disappears in phase with probability at least An alternative bound is: END OF PROOF

Let be the maximum node degree in the graph Suppose that in : Then, constant

Thus, in phase a node with degree disappears with probability at least (thus, nodes with high degree will disappear fast)

Consider a node which in initial graph has degree Suppose that the degree of remains at least for the next phases Node does not disappear within phases with probability at most

Take Node does not disappear within phases with probability at most

Thus, within phases either disappears or its degree gets lets than with probability at least

Therefore, by the end of phases there is no node of degree higher than with probability at least

In every phases, the maximum degree of the graph reduces by at least half, with probability at least

Maximum number of phases until degree drops to 0 (MIS has formed) with probability at least