NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scale-Invariant Strength Assortativity of Streaming Butterflies

Aida Sheshbolouki, M. Tamer ÖzsuarXiv 2021

Abstract

Bipartite streaming graphs, such as user-item interaction logs, exhibit complex structural evolutions that are often poorly captured by static models. This paper identifies a fundamental property of these graphs: scale-invariant strength assortativity. We focus on the emergence of "butterflies" (2,2-bicliques) and introduce a new metric, the Strength Assortativity Localization Factor ($r^s$), to robustly measure connectivity patterns in heavy-tailed distributions. Furthermore, we propose sGrow, a streaming graph generator that utilizes preferential random walks and bursty edge addition to synthesize realistic datasets. Our evaluation across seven real-world datasets demonstrates that sGrow maintains high structural fidelity and computational efficiency, offering a robust tool for modeling evolving networks.

Introduction

Bipartite graphs are foundational to recommendation systems and social networks, where nodes represent distinct sets (e.g., users and products). While static bipartite structures are well-studied, their evolution in real-time streams presents unique challenges, including non-stationarity, bursty arrivals, and temporal out-of-order records. Central to this evolution is the formation of "butterflies"—the simplest cycles in bipartite graphs. This research investigates the rapid emergence of these structures and the role of node "strength" (the sum of edge weights) in driving network cohesion.

Methodology

To analyze and replicate streaming graph dynamics, we introduce two primary contributions:

  1. Strength Assortativity Localization Factor ($r^s$): Traditional assortativity coefficients are often skewed by "hubs" in heavy-tailed distributions. The $r^s$ metric tracks strength differences relative to the mean, providing a scale-invariant measure of how nodes of similar strengths connect.
  2. The sGrow Algorithm: This generative model simulates realistic streams through three mechanisms:
  3. Preferential Random Walks (PRW): New edges are formed by traversing the graph, favoring nodes with higher strength.
  4. Burst Addition: Edges are added in batches to mimic real-world bursty behavior.
  5. Sliding Window: Temporal locality is preserved by restricting new connections to recent interactions.

Datasets and Experimental Setup

The study utilizes seven diverse real-world web log datasets, ranging from e-commerce ratings to movie and music interactions. These datasets serve as the ground truth for validating the structural properties of the sGrow generator.

Table 1: Statistical characteristics of the real-world bipartite streaming datasets.

Key Results

Our analysis reveals that the number of butterflies in real-world streams grows super-linearly relative to the number of edges, indicating that graphs become increasingly cliquish over time. Despite this growth, the pattern of assortativity remains remarkably stable—a property we term scale-invariance.

Table 2: Snapshot metrics for the datasets, illustrating edge and butterfly counts.

The sGrow model successfully replicates these patterns with a Mean Absolute Error (MAE) between 0.01 and 0.1. Furthermore, sGrow is computationally efficient, exhibiting sub-linear generation time relative to the number of records, allowing for the creation of millions of realistic interactions in seconds on standard hardware.

Conclusion and Future Work

This work establishes a framework for understanding and generating bipartite streaming graphs that honor real-world structural constraints. While currently optimized for single-machine architectures and discrete weight scales, future iterations of sGrow could be extended to distributed systems and continuous weight distributions. Such advancements would enhance applications in anomaly detection and the modeling of concept drift in recommendation engines.

Summary updated

BibTeX
@misc{sheshbolouki2021scale,
  author = {Aida Sheshbolouki and M. Tamer Özsu},
  title = {{Scale-Invariant Strength Assortativity of Streaming Butterflies}},
  year = {2021},
  eprint = {2111.12217},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.12217},
}
Figure