Abstract
This paper introduces the first algorithm for constructing graph cut sparsifiers in a single pass over a dynamic data stream. Cut sparsifiers are compact summaries that preserve the values of all cuts in a graph. By integrating linear sketching techniques with sparse recovery, the authors demonstrate how to maintain these summaries under both edge additions and deletions. The proposed algorithm operates in semi-streaming space, $\tilde{O}(n/\epsilon^2)$, where $n$ is the number of vertices, effectively decoupling memory requirements from the total number of edges.
Introduction
In the context of massive graph datasets, memory constraints often necessitate processing data in a streaming fashion. Graph sparsification aims to produce a weighted subgraph $H$ with significantly fewer edges than the original graph $G$, such that every cut in $H$ approximates the corresponding cut in $G$ within a factor of $(1 \pm \epsilon)$.
The streaming model presents three primary challenges:
- Single Pass: Data must be processed in a single pass.
- Dynamic Streams: The stream is dynamic, allowing for both edge insertions and deletions. This is difficult because if a sampled edge is later deleted, it must be replaced without re-scanning the graph.
- Space Constraints: Space must be near-linear in the number of vertices $n$, rather than the number of edges $m$.
While previous research addressed these constraints individually or in limited combinations, this work provides a comprehensive solution for cut sparsifiers in dynamic streams.
Methods
The algorithm's architecture rests on three pillars: connectivity estimation, linear sketching for edge storage, and a robust recovery mechanism.
1. Connectivity Estimation via Sketching
To construct a Benczür-Karger sparsifier, edges are sampled with probabilities inversely proportional to their connectivity (or "strength"). In a dynamic stream, connectivity is unknown until the stream concludes. The authors utilize linear sketches to estimate connected components across multiple sampling rates, assigning each edge to a "level" $L(e)$ that serves as a proxy for its strength.
2. Sparse Recovery for Edge Storage
To handle deletions, the algorithm avoids explicit edge lists. Instead, it employs linear sketches (specifically, sparse recovery data structures). The linearity of these sketches ensures that deleting an edge is mathematically equivalent to subtracting its sketch from the global state, making the algorithm agnostic to the order of stream updates. Furthermore, the authors prove that $O(\text{polylog } n)$-wise independence is sufficient for the randomness required, keeping the space complexity low.
3. The Peeling Partition Mechanism
A significant challenge in sparse recovery is reconstructing edges when some nodes have high degrees, which can overwhelm the recovery structure. The authors introduce a "partitioning" algorithm to iteratively extract edges.
As shown in Algorithm 1, the procedure identifies nodes with low estimated degrees in the sampled sketch, recovers their incident edges, and "peels" them away. This iterative subtraction reveals more low-degree nodes, ensuring the sparse recovery mechanism remains effective even in dense regions of the graph.
Key Results
The algorithm achieves several theoretical milestones for any undirected graph $G$:
- Space Complexity: It utilizes $\tilde{O}(n/\epsilon^2)$ space, satisfying the semi-streaming requirement where space grows with vertices, not edges.
- Sparsifier Size: The resulting subgraph $H$ contains $O(n \log^3 n / \epsilon^2)$ edges.
- Computational Efficiency: Update time is $\tilde{O}(1/\epsilon^2)$ per edge, and the final recovery time is $\tilde{O}(n/\epsilon^2)$.
- Robustness: The algorithm is proven to be robust against adversarial stream ordering where the sequence of updates is chosen to attempt to break the sampler.
Conclusion and Future Work
This work bridges a gap in streaming graph algorithms by providing a single-pass, dynamic solution for cut sparsification. While it achieves near-optimal space for cut preservation, extending these techniques to spectral sparsifiers—which preserve Laplacian eigenvalues—remains an open challenge. Future research may also focus on reducing the logarithmic factors in space complexity and optimizing the approach for weighted graphs, which currently require an additional $\log W$ factor in space (where $W$ is the maximum weight).
Summary updated