Algorithmic version for Szemerédi regularity partition
![]() | It has been suggested that this article be merged into Szemerédi regularity lemma. (Discuss) Proposed since September 2017. |
A Simple Algorithm for Constructing Szemerédi's Regularity Partition is a paper by Alan M. Frieze and Ravi Kannan giving an algorithmic version of the Szemerédi regularity lemma to find an ε-regular partition of a given graph.
Formal statement of the regularity lemma
The formal statement of Szemerédi's regularity lemma requires some definitions. Let G be a graph. The density d(X,Y) of a pair of disjoint vertex sets X, Y is defined as d(X,Y)=|E(X,Y)|/|X||Y| where E(X,Y) denotes the set of edges having one end vertex in X and one in Y. For ε>0, a pair of vertex sets X and Y is called ε-regular, if for all subsets A⊆X and B⊆Y satisfying |A| ≥ε |X| and |B| ≥ ε |Y|, we have |d(X,Y)-d(A,B)| ≤ ε.
A partition of the vertex set of G into k sets, V1,...,Vk, is called an equitable partition if for all [math]\displaystyle{ i, j }[/math], ||Vi|-|Vj||≤1. An equitable partition is an [math]\displaystyle{ \epsilon }[/math]-regular partition, if for all but at most [math]\displaystyle{ \epsilon{k^2} }[/math] pairs (i,j) the pair [math]\displaystyle{ (V_i, V_j,) }[/math] is [math]\displaystyle{ \epsilon }[/math]-regular.
Now we are ready to state the regularity lemma.
Regularity lemma. For every [math]\displaystyle{ \epsilon \gt 0 }[/math] and positive integer [math]\displaystyle{ m }[/math] there exist integers [math]\displaystyle{ N }[/math] and [math]\displaystyle{ M }[/math] such that if [math]\displaystyle{ G }[/math] is a graph with at least [math]\displaystyle{ N }[/math] vertices, there exists an integer [math]\displaystyle{ k }[/math] in the range [math]\displaystyle{ m }[/math] ≤ [math]\displaystyle{ k }[/math] ≤ [math]\displaystyle{ M }[/math] and an [math]\displaystyle{ \epsilon }[/math]-regular partition of the vertex set of [math]\displaystyle{ G }[/math] into [math]\displaystyle{ k }[/math] sets.
It is a common variant in the definition of an [math]\displaystyle{ \epsilon }[/math]-regular partition to require that the vertex sets all have the same size, while collecting the leftover vertices in an "error"-set [math]\displaystyle{ V_0 }[/math] whose size is at most an [math]\displaystyle{ \epsilon }[/math]-fraction of the size of the vertex set of [math]\displaystyle{ G }[/math].
Szemerédi's regularity lemma is one of the most powerful tools of extremal graph theory. It says that, in some sense, all graphs can be approximated by random-looking graphs. Therefore the lemma helps in proving theorems for arbitrary graphs whenever the corresponding result is easy for random graphs. The first constructive version was provided by Alon, Duke, Leffman, Rödl and Yuster.[1] Subsequently Frieze and Kannan gave a different version and extended it to hypergraphs.[2] The paper [3] is a nice survey on regularity lemma and its various applications. Here we will briefly describe a different construction due to Alan Frieze and Ravi Kannan that uses singular values of matrices.
Constructive version of Szemerédi regularity lemma by Frieze and Kannan
The algorithm[4] is based on two crucial lemmas:
Lemma 1:
Fix k and [math]\displaystyle{ \gamma }[/math] and let [math]\displaystyle{ G=(V,E) }[/math] be a graph with [math]\displaystyle{ n }[/math] vertices. Let [math]\displaystyle{ P }[/math] be an equitable partition of [math]\displaystyle{ V }[/math] in classes [math]\displaystyle{ V_0, V_1, ... ,V_k }[/math]. Assume [math]\displaystyle{ |V_1| \gt 4^{2k} }[/math] and [math]\displaystyle{ 4^k \gt 600 \gamma ^2 }[/math]. Given proofs that more than [math]\displaystyle{ \gamma k^2 }[/math] pairs [math]\displaystyle{ (V_r,V_s) }[/math] are not [math]\displaystyle{ \gamma }[/math]-regular, it is possible to find in O(n) time an equitable partition [math]\displaystyle{ P' }[/math] (which is a refinement of [math]\displaystyle{ P }[/math]) into [math]\displaystyle{ 1+k4^k }[/math] classes, with an exceptional class of cardinality at most [math]\displaystyle{ |V_0|+n/4^k }[/math] and such that [math]\displaystyle{ ind(P') }[/math] ≥ [math]\displaystyle{ ind(P) + \gamma^5/20 }[/math]
Lemma 2:
Let [math]\displaystyle{ W }[/math] be a [math]\displaystyle{ R }[/math]×[math]\displaystyle{ C }[/math] matrix with [math]\displaystyle{ |R|=p }[/math], [math]\displaystyle{ |C|=q }[/math] and [math]\displaystyle{ \|W\|_\inf\leq1 }[/math] and [math]\displaystyle{ \gamma }[/math] be a positive real.
(a) If there exist [math]\displaystyle{ S }[/math] ⊆ [math]\displaystyle{ R }[/math], [math]\displaystyle{ T }[/math] ⊆ [math]\displaystyle{ C }[/math] such that [math]\displaystyle{ |S| }[/math]≥[math]\displaystyle{ \gamma p }[/math], [math]\displaystyle{ |T| }[/math]≥[math]\displaystyle{ \gamma q }[/math] and [math]\displaystyle{ |W(S,T)| }[/math]≥[math]\displaystyle{ \gamma |S||T| }[/math] then [math]\displaystyle{ \sigma_1(W)\geq\gamma^3\sqrt{pq} }[/math]
(b) If [math]\displaystyle{ \sigma_1(W)\geq\gamma\sqrt{pq} }[/math], then there exist [math]\displaystyle{ S }[/math]⊆[math]\displaystyle{ R }[/math], [math]\displaystyle{ T }[/math]⊆[math]\displaystyle{ C }[/math] such that [math]\displaystyle{ |S| }[/math]≥[math]\displaystyle{ \gamma'p }[/math], [math]\displaystyle{ |T| }[/math]≥[math]\displaystyle{ \gamma'q }[/math] and [math]\displaystyle{ W(S,T) }[/math]≥[math]\displaystyle{ \gamma'|S||T| }[/math] where [math]\displaystyle{ \gamma'=\gamma^3/108 }[/math]. Furthermore [math]\displaystyle{ S }[/math], [math]\displaystyle{ T }[/math] can be constructed in polynomial time.
These two lemmas are combined in the following algorithmic construction of the Szemerédi regularity lemma.
[Step 1] Arbitrarily divide the vertices of [math]\displaystyle{ G }[/math] into an equitable partition [math]\displaystyle{ P_1 }[/math] with classes [math]\displaystyle{ V_0,V_1,...,V_b }[/math] where [math]\displaystyle{ |V_i|=\lfloor n/b\rfloor }[/math] and hence [math]\displaystyle{ |V_0|\lt b }[/math]. denote [math]\displaystyle{ k_1=b }[/math].
[Step 2] For every pair [math]\displaystyle{ (V_r,V_s) }[/math] of [math]\displaystyle{ P_i }[/math], compute [math]\displaystyle{ \sigma_1(W_{r,s}) }[/math]. If the pair [math]\displaystyle{ (V_r,V_s) }[/math] are not [math]\displaystyle{ \epsilon- }[/math]regular then by Lemma 2 we obtain a proof that they are not [math]\displaystyle{ \gamma=\epsilon^9/108- }[/math]regular.
[Step 3] If there are at most [math]\displaystyle{ \epsilon{k_1\choose 2} }[/math] pairs that produce proofs of non [math]\displaystyle{ \gamma- }[/math]regularity that halt. [math]\displaystyle{ P_i }[/math] is [math]\displaystyle{ \epsilon- }[/math]regular.
[Step 4] Apply Lemma 1 where [math]\displaystyle{ P=P_i }[/math], [math]\displaystyle{ k=k_i }[/math], [math]\displaystyle{ \gamma=\epsilon^9/108 }[/math] and obtain [math]\displaystyle{ P' }[/math] with [math]\displaystyle{ 1+k_i4^{k_i} }[/math] classes
[Step 5] Let [math]\displaystyle{ k_i+1 = k_i4^{k_i} }[/math], [math]\displaystyle{ P_i+1=P' }[/math], [math]\displaystyle{ i=i+1 }[/math] and go to Step 2.
The algorithm will terminate with an [math]\displaystyle{ \epsilon }[/math]-regular partition in [math]\displaystyle{ O(\epsilon^{-45}) }[/math] steps since the improvement at each step is [math]\displaystyle{ \gamma^5/20=O(\epsilon^{45}) }[/math].
References
- ↑ N. Alon and R. A. Duke and H. Lefmann and V. Rödl and R. Yuster, (1994). "The Algorithmic Aspects of the Regularity Lemma". J. Algorithms.
- ↑ A. Frieze and R. Kannan, (1996). "The regularity lemma and approximation schemes for dense problems,". FOCS '96: Proceedings of the 37th Annual Symposium on Foundations of Computer Science,. http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=548459.
- ↑ Komlós, János; Simonovits, Miklós (1996). Szemeredi's Regularity Lemma and its applications in graph theory. Technical Report: 96-10, DIMACS. http://www.ma.huji.ac.il/~ehudf/courses/Ramsey04/regularitysurvey.ps.
- ↑ A. Frieze and R. Kannan (1999). "A Simple Algorithm for Constructing Szemerédi's Regularity Partition". Electr. J. Comb. 6. http://www.math.cmu.edu/~af1p/Texfiles/svreg.pdf.