[Paper Review] sGrapp: Butterfly Approximation in Streaming Graphs
This paper proposes sGrapp, an adaptive, window-based algorithm for approximate butterfly counting in bipartite streaming graphs, leveraging temporal organizing principles and inter-window butterfly estimation to achieve high accuracy and efficiency. It achieves MAPE < 0.05 on uniform streams and < 0.14 on non-uniform streams, outperforming existing methods in both accuracy and throughput.
We study the fundamental problem of butterfly (i.e. (2,2)-bicliques) counting in bipartite streaming graphs. Similar to triangles in unipartite graphs, enumerating butterflies is crucial in understanding the structure of bipartite graphs. This benefits many applications where studying the cohesion in a graph shaped data is of particular interest. Examples include investigating the structure of computational graphs or input graphs to the algorithms, as well as dynamic phenomena and analytic tasks over complex real graphs. Butterfly counting is computationally expensive, and known techniques do not scale to large graphs; the problem is even harder in streaming graphs. In this paper, following a data-driven methodology, we first conduct an empirical analysis to uncover temporal organizing principles of butterflies in real streaming graphs and then we introduce an approximate adaptive window-based algorithm, sGrapp, for counting butterflies as well as its optimized version sGrapp-x. sGrapp is designed to operate efficiently and effectively over any graph stream with any temporal behavior. Experimental studies of sGrapp and sGrapp-x show superior performance in terms of both accuracy and efficiency.
Motivation & Objective
- To address the challenge of efficient and accurate butterfly counting in large-scale, dynamic bipartite graph streams.
- To uncover temporal organizing principles of butterflies in real-world streaming graphs through empirical analysis.
- To design a streaming algorithm that adapts to arbitrary temporal distributions without prior assumptions on edge arrival rates or order.
- To minimize computational overhead while maintaining high accuracy in estimating (2,2)-bicliques in real-time.
- To outperform existing sampling-based and exact-counting methods in both accuracy (MAPE) and throughput.
Proposed method
- sGrapp employs a time-based, adaptive windowing mechanism that dynamically balances load and reduces in-window computation.
- It uses an exact counting core for butterflies within each window to maintain low computational overhead.
- The algorithm estimates inter-window butterflies using the butterfly densification power law, which models how butterfly density increases over time.
- sGrapp-x is an optimized variant that enhances accuracy on non-uniform streams by refining window adaptation and error control.
- The method avoids reliance on sampling or edge projection, sidestepping issues like edge inflation and loss of structural fidelity.
- It updates butterfly estimates incrementally per window, using a formula that scales with window size and temporal density.
Experimental results
Research questions
- RQ1What are the dominant temporal patterns governing butterfly distribution in real-world streaming bipartite graphs?
- RQ2How can butterfly counting be efficiently approximated in graph streams with arbitrary temporal dynamics?
- RQ3Can an adaptive windowing strategy outperform fixed-window or sampling-based approaches in accuracy and throughput?
- RQ4To what extent does the butterfly densification power law enable accurate inter-window estimation?
- RQ5How do varying window sizes and adaptation parameters affect approximation error and system performance?
Key findings
- sGrapp achieves a mean absolute percentage error (MAPE) of less than 0.05 on graph streams with nearly uniform temporal distributions.
- The optimized variant sGrapp-x reduces MAPE to below 0.14 on non-uniform streams, significantly improving accuracy over baseline sGrapp.
- sGrapp-x increases the probability of approximation error being below 0.15 by up to 30% and below 0.2 by up to 25% compared to sGrapp on densest streams.
- sGrapp maintains high throughput, with average window latency below 1 second and total throughput exceeding 100,000 edges per second in tested workloads.
- The algorithm outperforms FLEET and other sampling-based methods in both accuracy and efficiency, especially in high-velocity streams with dense butterfly patterns.
- The butterfly densification power law formalism enables reliable estimation of inter-window butterflies, which constitute the dominant portion of total butterflies in most streams.
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.