CS5314 Randomized Algorithms. Lecture 18: Probabilistic Method (De-randomization, Sample-and-Modify)

Similar documents
Lecture 5: January 30

Vertex colorings of graphs without short odd cycles

Lectures 6: Degree Distributions and Concentration Inequalities

The expansion of random regular graphs

Notes 6 : First and second moment methods

The Probabilistic Method

The application of probabilistic method in graph theory. Jiayi Li

Assignment 4: Solutions

Lecture 7: February 6

CS5314 Randomized Algorithms. Lecture 15: Balls, Bins, Random Graphs (Hashing)

Randomized Algorithms III Min Cut

Randomness and Computation

The concentration of the chromatic number of random graphs

Probabilistic Method. Benny Sudakov. Princeton University

Lecture 1 : Probabilistic Method

20.1 2SAT. CS125 Lecture 20 Fall 2016

Polynomial-time Reductions

Outline. Martingales. Piotr Wojciechowski 1. 1 Lane Department of Computer Science and Electrical Engineering West Virginia University.

Edge-disjoint induced subgraphs with given minimum degree

Probabilistic Combinatorics. Jeong Han Kim

Complexity of conditional colorability of graphs

ACO Comprehensive Exam March 17 and 18, Computability, Complexity and Algorithms

The Probabilistic Method

ACO Comprehensive Exam October 14 and 15, 2013

Graph coloring, perfect graphs

Linear Classification: Linear Programming

Lecture 24: April 12

A = A U. U [n] P(A U ). n 1. 2 k(n k). k. k=1

CMPUT 675: Approximation Algorithms Fall 2014

1 Primals and Duals: Zero Sum Games

Balanced Allocation Through Random Walk

Packing and decomposition of graphs with trees

Advanced Combinatorial Optimization September 22, Lecture 4

Integer Linear Programs

Randomized algorithm

Ma/CS 6b Class 23: Eigenvalues in Regular Graphs

Probabilistic Proofs of Existence of Rare Events. Noga Alon

On the oriented chromatic index of oriented graphs

4. How to prove a problem is NPC

On a correlation inequality of Farr

Probabilistic Methods in Combinatorics Lecture 6

Ma/CS 6b Class 15: The Probabilistic Method 2

CS151 Complexity Theory. Lecture 6 April 19, 2017

Lecture 8: February 8

CS5314 Randomized Algorithms. Lecture 5: Discrete Random Variables and Expectation (Conditional Expectation, Geometric RV)

Linear Classification: Linear Programming

12.1 Chromatic Number

1 Large Deviations. Korea Lectures June 2017 Joel Spencer Tuesday Lecture III

An Improved Approximation Algorithm for Maximum Edge 2-Coloring in Simple Graphs

Size and degree anti-ramsey numbers

CS145: Probability & Computing

NP Completeness and Approximation Algorithms

Overview. 1 Introduction. 2 Preliminary Background. 3 Unique Game. 4 Unique Games Conjecture. 5 Inapproximability Results. 6 Unique Game Algorithms

Lecture 4: Inequalities and Asymptotic Estimates

Colorings of uniform hypergraphs with large girth

Lecture 5: Probabilistic tools and Applications II

Randomized Algorithms

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 2 Luca Trevisan August 29, 2017

Homework 4 Solutions

Coloring Simple Hypergraphs

11.1 Set Cover ILP formulation of set cover Deterministic rounding

X = X X n, + X 2

Lecture 5: The Principle of Deferred Decisions. Chernoff Bounds

1 Agenda. 2 History. 3 Probabilistically Checkable Proofs (PCPs). Lecture Notes Definitions. PCPs. Approximation Algorithms.

< k 2n. 2 1 (n 2). + (1 p) s) N (n < 1

1 Randomized Computation

Bounds for pairs in partitions of graphs

The Monte Carlo Method

Discrete mathematics , Fall Instructor: prof. János Pach

An asymptotically tight bound on the adaptable chromatic number

Notes on the second moment method, Erdős multiplication tables

16 Embeddings of the Euclidean metric

CPSC 536N: Randomized Algorithms Term 2. Lecture 9

arxiv: v2 [math.co] 10 May 2016

Aditya Bhaskara CS 5968/6968, Lecture 1: Introduction and Review 12 January 2016

Coloring. Basics. A k-coloring of a loopless graph G is a function f : V (G) S where S = k (often S = [k]).

Solutions to Problem Set 4

Computing the Independence Polynomial: from the Tree Threshold Down to the Roots

CS173 Lecture B, November 3, 2015

Induced subgraphs with many repeated degrees

CS6999 Probabilistic Methods in Integer Programming Randomized Rounding Andrew D. Smith April 2003

Chromatic number, clique subdivisions, and the conjectures of Hajós and Erdős-Fajtlowicz

Topics on Computing and Mathematical Sciences I Graph Theory (7) Coloring II

Minimal Paths and Cycles in Set Systems

The Lefthanded Local Lemma characterizes chordal dependency graphs

Lecture 11: Generalized Lovász Local Lemma. Lovász Local Lemma

Complexity, P and NP

Lecture 28: April 26

Lecture 4: Two-point Sampling, Coupon Collector s problem

Properly colored Hamilton cycles in edge colored complete graphs

A Lower Bound for the Size of Syntactically Multilinear Arithmetic Circuits

Probability & Computing

RECAP: Extremal problems Examples

Expectation of geometric distribution. Variance and Standard Deviation. Variance: Examples

New lower bounds for hypergraph Ramsey numbers

Lecture 20: LP Relaxation and Approximation Algorithms. 1 Introduction. 2 Vertex Cover problem. CSCI-B609: A Theorist s Toolkit, Fall 2016 Nov 8

Advanced Combinatorial Optimization Feb 13 and 25, Lectures 4 and 6

On a Conjecture of Thomassen

R(p, k) = the near regular complete k-partite graph of order p. Let p = sk+r, where s and r are positive integers such that 0 r < k.

Approximation Algorithms and Hardness of Approximation April 19, Lecture 15

Transcription:

CS5314 Randomized Algorithms Lecture 18: Probabilistic Method (De-randomization, Sample-and-Modify) 1

Introduce two topics: De-randomize by conditional expectation provides a deterministic way to construct an object with some property Sample-and-modify Objectives a more advanced technique to prove the existence of a certain object 2

De-randomization (using Conditional Expectation) Let us revisit the large-cut problem Recall that this problem is NP-hard We have shown that there exists a cut of size at least m/2, and whose size is thus at least half of the largest cut Question: Can we construct such an approximate large-cut explicitly? 3

Finding Large-Cut Let G=(V, E) be a graph with n vertices and m edges Let v 1, v 2,, v n be the vertices in V Recall that if we partition V by placing each vertex randomly and independently into A and B, the expected size of the cut(a,b) is at least m/2 Without loss of generality, we assume that v 1 is placed in A 4

Finding Large-Cut (2) Consider the two cases how v 2 is placed Knowing v 1 is in A, we can actually determine E[size of cut(a,b) v 2 is in A], and E[size of cut(a,b) v 2 is in B] (how?) Questions: Can we make use of these values to decide where to place v 2? 5

Observation: Finding Large-Cut (3) If our target is to find a cut whose size is at least E[size of cut(a,b)], it cannot be wrong to place v 2 in the set whose corresponding expectation is larger Proof: WLOG, suppose that E[size of cut(a,b) v 2 is in B] E[size of cut(a,b) v 2 is in A] 6

Then, E[size of cut(a,b)] Proof = E[size of cut(a,b) v 2 in A] Pr(v 2 in A) + E[size of cut(a,b) v 2 in B] Pr(v 2 in B) E[size of cut(a,b) v 2 is in B] Placing v 2 in B ensures at least one assignment of remaining vertices will have cut-size E[size of cut(a,b)] 7

Finding Large-Cut (4) Knowing v 1 is in A, and which set (say X 2 ) is better to place v 2, we can determine E[size of cut(a,b) v 2 in X 2, v 3 in A] and E[size of cut(a,b) v 2 in X 2, v 3 in B] Question: Can we make use of these values to decide where to place v 3? 8

Finding Large-Cut (5) Ans. Definitely Yes!! We should place v 3 in the set that maximizes the above conditional expectation, because it ensures that one assignment of remaining vertices has cut-size E[size of cut(a,b) v 2 in X 2 ] By our choice of X 2, such an assignment has cut-size E[size of cut(a,b)] 9

Finding Large-Cut (6) Continue the above process, we can decide where to place v 2, v 3,, v n Let X 2, X 3,, X n be the corresponding set each are placed Then, we must have E[size of cut (A,B)] E[size of cut (A,B) v j in X j for j=2,, n] 10

Finding Large-Cut (7) Since m/2 E[size of cut(a,b)] and E[size of cut(a,b) v j in X j for j=2,, n] = size of cut (A,B) when v j is in X j for j = 2,, n We obtain a cut (deterministically) whose size is at least m/2!!! 11

Sample-and-Modify In Basic counting/conditional expectation : we construct some probability space show that an object with some desired properties can be picked directly In Sample-and-Modify : we first select an object randomly, but it may not have the desired properties then we modify the object to get the desired properties 12

Independent Set Definition: An independent set of a graph G is a set of vertices with no edges between them Finding an independent set with largest number of vertices is NP-hard Let s use Sample-and-Modify to obtain a lower bound on size of the largest independent set 13

Independent Set (2) Theorem: Let G be a graph with n vertices and m edges. Then G has an independent set with at least n 2 /(4m) vertices Proof: Let d = 2m/n = ave degree (wlog, assume each connected component has 3 vertices, so d 1) Consider the following: 1. Delete each vertex (and its incident edges) independently with probability 1-1/d 2. For each remaining edge, remove it by removing randomly one of its vertex 14

G After Step 1 After Step 2 Vertex to be removed After Step 1 : may not be independent After Step 2 : must be independent (why?) 15

Proof (cont) Let X = # vertices after Step 1 Let Y = # edges after Step 1 Let Z = # vertices after Step 2 Target: Can we bound E[Z]? Firstly, E[X] = n/d, E[Y] = m/d 2 = n/(2d) 16

Proof (cont) Then, we have Z X Y (why not Z = X-Y?) So, E[Z] E[X Y] = E[X] E[Y] = n/(2d) = n 2 /(4m) Theorem follows from expectation argument 17

Graphs with Large Girth Definition: The girth of a (simple) graph G is the length of the smallest cycle E.g., girth = 4 girth = 3 18

Graphs with Large Girth (2) Intuitively, we expect graphs with large average degree to have small girth However, this is not necessarily true We start by showing the following theorem: Theorem: For any integer k 3, there is a graph with n vertices, at least n 1+1/k /4 edges, and girth at least k How to prove? 19

Consider the following algorithm: 1. Set p = n 1/k-1 Proof 2. Select a graph G randomly from G n,p 3. For any cycle that appears in G with length less than k, remove one edge randomly in that cycle the graph obtained after Step 3 have girth at least k (Did you see that we are using the Sample-and-Modify?) 20

It remains to find # edges in the final graph First, let X = # edges in G E[X] = n(n-1)p/2 Proof (2) = (1/2) n 1+1/k (1-1/n) (1/3) n 1+1/k Next, let Y = # cycles in G with length k observe that any specific cycle of length j occurs with probability p j 21

Proof (3) Since possible # length-j cycle = n(n-1)(n-2) (n-j+1)/(2j) E[Y] = j=3 to k-1 p j n(n-1)(n-2) (n-j+1)/(2j) j=3 to k-1 p j n j = j=3 to k-1 n j/k j=3 to k-1 n (k-1)/k kn (k-1)/k n for large enough n 22

Proof (4) Let Z = # edges after Step 3 Then, we have Z X Y So, E[Z] E[X Y] (why not Z = X-Y?) = E[X] E[Y] (1/3) n 1+1/k n (1/4) n 1+1/k for large enough n for large enough n Theorem follows 23

Graphs with Large Girth (3) The previous theorem immediately gives the following corollary: Corollary: For any integer k 3 and any positive real d representing the average degree, there is a graph with n vertices, at least nd/2 edges, and girth at least k Proof: Choose sufficiently large n such that n 1/k 2d 24

Graphs with Large Girth (4) A related problem is as follows: Let G be a (simple) graph Definition: The chromatic number, (G), is the minimum # colors needed to color vertices of G such that no adjacent vertices have the same color (G) = 2 (G) = 3 25

Large (G) and Large Girth Intuitively, we expect graphs with large chromatic number to have small girth However, this is not necessarily true The theorem below is due to Erdős (1959): Theorem: For all k 3 and positive c, there is a graph with (G) at least c and girth at least k How to prove? 26

Consider the following algorithm: 1. Set p = n 1/k-1 Proof 2. Select a graph G randomly from G n,p 3. For any cycle that appears in G with length less than k, remove one vertex randomly in that cycle the graph obtained after Step 3 have girth at least k 27

Proof (2) Let Y = # cycles in G with length less than k As shown before: E[Y] = j=3 to k-1 p j n(n-1)(n-2) (n-j+1)/(2j) kn (k-1)/k = o(n) for large enough n Then, by Markov inequality, Pr(Y n/2) = o(1) for large enough n 28

Proof (3) Next, we investigate the size of the largest independent set in G, as this will be related to the chromatic number Let A = size of largest independent set in G For any x, if A x, there must exists a group of x vertices such that no edges are between them By union bound, we have Pr(A x) C(n,x) (1-p) x(x-1)/2 29

Proof (4) When x is slightly large, sayd(3 ln n) /pe, Pr(A x) C(n,x) (1-p) x(x-1)/2 n x (1-p) x(x-1)/2 n x e -px(x-1)/2 = (n e -p(x-1)/2 ) x (n e -px/2.5 ) x (n 0.2 ) x = o(1) for large enough n 30

Proof (5) Then, for large enough n, we have Pr(Y n/2) 0.1 and Pr(A d(3 ln n) /pe) 0.1 This implies that, for large enough n Pr( (Y n/2)\(a d(3 ln n) /pe) ) 0.8 0 (why?) 31

Proof (6) That is, for large enough n, we can select a graph G with less than n/2 cycles of short lengths, and whose largest independent set is at most 3 ln n / p After removing one vertex from each short cycle in this graph G, # vertices in the resulting graph (after Step 3) n/2 (What happens to the largest independent set?) 32

Proof (7) Let G* = resulting graph after Step 3 Let A(G*) = size of largest indep set of G* Obviously, A(G*) A(G) 3 ln n / p (why?) Also, A(G*) G* / (G*) Combining, we get (why?) (G*) G* /A(G*) (n/2) / (3 ln n/p) = n 1/k /(6ln n) c for large enough n G* exists with girth k, and (G*) c 33