English

Hypergraph Two-Coloring in the Streaming Model

Data Structures and Algorithms 2018-05-15 v2

Abstract

We consider space-efficient algorithms for two-coloring nn-uniform hypergraphs H=(V,E)H=(V,E) in the streaming model, when the hyperedges arrive one at a time. It is known that any such hypergraph with at most 0.7nlnn2n0.7 \sqrt{\frac{n}{\ln n}} 2^n hyperedges has a two-coloring [Radhakrishnan & Srinivasan, RSA, 2000], which can be found deterministically in polynomial time, if allowed full access to the input. 1. Let sD(v,q,n)s^D(v, q, n) be the minimum space used by a deterministic one-pass streaming algorithm that on receiving an nn-uniform hypergraph HH on vv vertices and qq hyperedges produces a proper two-coloring of HH. We show that sD(n2,q,n)=Ω(q/n)s^D(n^2, q, n) = \Omega(q/n) when q0.7nlnn2nq \leq 0.7 \sqrt{\frac{n}{\ln n}} 2^n, and sD(n2,q,n)=Ω(1nlnn2n)s^D(n^2, q, n) = \Omega(\sqrt{\frac{1}{n\ln n}} 2^n) otherwise. 2. Let sR(v,q,n)s^R(v, q,n) be the minimum space used by a randomized one-pass streaming algorithm that on receiving an nn-uniform hypergraph HH on vv vertices and qq hyperedges with high probability produces a proper two-coloring of HH (or declares failure). We show that sR(v,110nlnn2n,n)=O(vlogv)s^R(v, \frac{1}{10}\sqrt{\frac{n}{\ln n}} 2^n, n) = O(v \log v) by giving an efficient randomized streaming algorithm. The above results are inspired by the study of the number q(n)q(n), the minimum possible number of hyperedges in a nn-uniform hypergraph that is not two-colorable. It is known that q(n)=Ω(nlnn)q(n) = \Omega(\sqrt{\frac{n}{\ln n}}) [Radhakrishnan-Srinivasan] and q(n)=O(n22n) q(n)= O(n^2 2^n) [Erdos, 1963]. Our first result shows that no space-efficient deterministic streaming algorithm can match the performance of the offline algorithm of Radhakrishnan and Srinivasan; the second result shows that there is, however, a space-efficient randomized streaming algorithm for the task.

Keywords

Cite

@article{arxiv.1512.04188,
  title  = {Hypergraph Two-Coloring in the Streaming Model},
  author = {Jaikumar Radhakrishnan and Saswata Shannigrahi and Rakesh Venkat},
  journal= {arXiv preprint arXiv:1512.04188},
  year   = {2018}
}

Comments

Changes in the introduction and section on randomized algorithms to make the exposition clearer. Main technical results unchanged

R2 v1 2026-06-22T12:08:43.945Z