[Paper Review] Applications of Uniform Sampling: Densest Subgraph and Beyond
This paper presents a simple yet powerful uniform sampling-based algorithm for the densest subgraph problem in dynamic graph streams, achieving a (1−ϵ)-approximation using Õ(n) space and Õ(1) update time by sampling Õ(n) edges uniformly at random and computing the densest subgraph on the sample. The approach extends to a broad class of 'heavy subgraph problems,' including directed densest subgraph, densest bipartite subgraph, d-max cut, and d-sum-max clustering, providing the first streaming algorithms for several of these problems with strong approximation guarantees.
Recently [Bhattacharya et al., STOC 2015] provide the first non-trivial algorithm for the densest subgraph problem in the streaming model with additions and deletions to its edges, i.e., for dynamic graph streams. They present a $(0.5-ε)$-approximation algorithm using $ ilde{O}(n)$ space, where factors of $ε$ and $\log(n)$ are suppressed in the $ ilde{O}$ notation. However, the update time of this algorithm is large. To remedy this, they also provide a $(0.25-ε)$-approximation algorithm using $ ilde{O}(n)$ space with update time $ ilde{O}(1)$. In this paper we improve the algorithms by Bhattacharya et al. by providing a $(1-ε)$-approximation algorithm using $ ilde{O}(n)$ space. Our algorithm is conceptually simple - it samples $ ilde{O}(n)$ edges uniformly at random, and finds the densest subgraph on the sampled graph. We also show how to perform this sampling with update time $ ilde{O}(1)$. In addition to this, we show that given oracle access to the edge set, we can implement our algorithm in time $ ilde{O}(n)$ on a graph in the standard RAM model. To the best of our knowledge this is the fastest $(0.5-ε)$-approximation algorithm for the densest subgraph problem in the RAM model given such oracle access. Further, we extend our results to a general class of graph optimization problems that we call heavy subgraph problems. This class contains many interesting problems such as densest subgraph, directed densest subgraph, densest bipartite subgraph, $d$-cut and $d$-heavy connected component. Our result, by characterizing heavy subgraph problems, partially addresses open problem 13 at the IITK Workshop on Algorithms for Data Streams in 2006 regarding the effects of subsampling in this context.
Motivation & Objective
- To develop a fast and space-efficient streaming algorithm for the densest subgraph problem in dynamic graph streams with edge insertions and deletions.
- To improve upon prior streaming algorithms that offered only (0.5−ϵ) or (0.25−ϵ)-approximation with high space or slow update times.
- To extend the applicability of uniform sampling to a broad class of graph optimization problems, termed 'heavy subgraph problems,' including densest subgraph, directed densest subgraph, densest bipartite subgraph, d-max cut, and d-sum-max clustering.
- To resolve Open Problem 13 from the IITK Workshop on Data Streams concerning the effects of subsampling in graph stream processing.
Proposed method
- The core method samples Õ(n) edges uniformly at random from the input graph stream and computes the densest subgraph on the sampled graph.
- The algorithm maintains a uniform random sample of edges using reservoir sampling or similar techniques, ensuring Õ(n) space and Õ(1) update time per edge.
- The method leverages the fact that the densest subgraph in the sampled graph approximates the densest subgraph in the full graph with high probability, achieving (1−ϵ)-approximation.
- The approach is generalized to 'heavy subgraph problems' by proving that the objective function satisfies local linearity, hereditary property, and a γ-bound condition, enabling uniform sampling to preserve approximation guarantees.
- For each problem class, the method defines a solution space, a local density function f, and a γ parameter such that the γ-bound condition holds, ensuring the sampling approach yields a (1−ϵ)-approximation.
- The algorithm is implemented efficiently in the RAM model with oracle access to the edge set, running in Õ(n) time, making it the fastest known (0.5−ϵ)-approximation algorithm under such access.
Experimental results
Research questions
- RQ1Can uniform sampling be used to achieve a (1−ϵ)-approximation for the densest subgraph problem in dynamic graph streams with Õ(n) space and Õ(1) update time?
- RQ2Can the uniform sampling approach be generalized to other graph optimization problems beyond densest subgraph?
- RQ3What structural properties of a problem ensure that uniform sampling preserves a (1−ϵ)-approximation in the streaming setting?
- RQ4Does uniform sampling resolve Open Problem 13 on subsampling in graph streams, particularly for problems like densest bipartite subgraph and d-max cut?
Key findings
- The proposed algorithm achieves a (1−ϵ)-approximation for the densest subgraph problem in dynamic graph streams using only Õ(n) space and Õ(1) update time per edge.
- The method is conceptually simple: sample Õ(n) edges uniformly at random and compute the densest subgraph on the sample, which yields a high-accuracy approximation with high probability.
- The algorithm is the first to achieve (1−ϵ)-approximation in the dynamic streaming model with Õ(n) space and Õ(1) update time, improving upon prior (0.5−ϵ) and (0.25−ϵ) approximations with worse update times.
- The approach generalizes to a broad class of 'heavy subgraph problems,' including directed densest subgraph, densest bipartite subgraph, d-max cut, and d-sum-max clustering, providing the first streaming algorithms for these problems with constant-factor approximation guarantees.
- For the d-sum-max clustering problem, the method achieves a (1−ϵ)-approximation by setting γ = (n−2d)/(n log d), ensuring the γ-bound condition holds and preserving approximation quality under sampling.
- In the RAM model with oracle access to edges, the algorithm runs in Õ(n) time, making it the fastest known (0.5−ϵ)-approximation algorithm for densest subgraph under such access.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.