Approximately Counting Subgraphs in Data Streams
Abstract
Estimating the number of subgraphs in data streams is a fundamental problem that has received great attention in the past decade. In this paper, we give improved streaming algorithms for approximately counting the number of occurrences of an arbitrary subgraph , denoted , when the input graph is represented as a stream of edges. To obtain our algorithms, we provide a generic transformation that converts constant-round sublinear-time graph algorithms in the query access model to constant-pass sublinear-space graph streaming algorithms. Using this transformation, we obtain the following results. 1. We give a -pass turnstile streaming algorithm for -approximating in space, where is the fractional edge-cover of . This improves upon and generalizes a result of McGregor et al. [PODS 2016], who gave a -pass insertion-only streaming algorithm for -approximating the number of triangles in space if the algorithm is given additional oracle access to the degrees. 2. We provide a constant-pass streaming algorithm for -approximating in space for any , in a graph with degeneracy , where is a clique on vertices. This resolves a conjecture by Bera and Seshadhri [PODS 2020]. More generally, our reduction relates the adaptivity of a query algorithm to the pass complexity of a corresponding streaming algorithm, and it is applicable to all algorithms in standard sublinear-time graph query models, e.g., the (augmented) general model.
Cite
@article{arxiv.2203.14225,
title = {Approximately Counting Subgraphs in Data Streams},
author = {Hendrik Fichtenberger and Pan Peng},
journal= {arXiv preprint arXiv:2203.14225},
year = {2022}
}