English

Nearly Space-Optimal Graph and Hypergraph Sparsification in Insertion-Only Data Streams

Data Structures and Algorithms 2025-10-22 v1

Abstract

We study the problem of graph and hypergraph sparsification in insertion-only data streams. The input is a hypergraph H=(V,E,w)H=(V, E, w) with nn nodes, mm hyperedges, and rank rr, and the goal is to compute a hypergraph H^\widehat{H} that preserves the energy of each vector xRnx \in \mathbb{R}^n in HH, up to a small multiplicative error. In this paper, we give a streaming algorithm that achieves a (1+ε)(1+\varepsilon)-approximation, using rnε2log2nlogrpoly(loglogm)\frac{rn}{\varepsilon^2} \log^2 n \log r \cdot\text{poly}(\log \log m) bits of space, matching the sample complexity of the best known offline algorithm up to poly(loglogm)\text{poly}(\log \log m) factors. Our approach also provides a streaming algorithm for graph sparsification that achieves a (1+ε)(1+\varepsilon)-approximation, using nε2lognpoly(loglogn)\frac{n}{\varepsilon^2} \log n \cdot\text{poly}(\log\log n) bits of space, improving the current bound by logn\log n factors. Furthermore, we give a space-efficient streaming algorithm for min-cut approximation. Along the way, we present an online algorithm for (1+ε)(1+\varepsilon)-hypergraph sparsification, which is optimal up to poly-logarithmic factors. As a result, we achieve (1+ε)(1+\varepsilon)-hypergraph sparsification in the sliding window model, with space optimal up to poly-logarithmic factors. Lastly, we give an adversarially robust algorithm for hypergraph sparsification using nε2poly(r,logn,logr,loglogm)\frac{n}{\varepsilon^2} \cdot\text{poly}(r, \log n, \log r, \log \log m) bits of space.

Keywords

Cite

@article{arxiv.2510.18180,
  title  = {Nearly Space-Optimal Graph and Hypergraph Sparsification in Insertion-Only Data Streams},
  author = {Vincent Cohen-Addad and David P. Woodruff and Shenghao Xie and Samson Zhou},
  journal= {arXiv preprint arXiv:2510.18180},
  year   = {2025}
}
R2 v1 2026-07-01T06:56:47.812Z