Dynamic Structural Clustering Unleashed: Flexible Similarities, Versatile Updates and for All Parameters

Zhuowei Zhao, Junhao Gan, Boyu Ruan, Zhifeng Bao, Jianzhong Qi, Sibo Wang · DOI

Introduction

Structural clustering, particularly the popular SCAN algorithm, is a powerful tool for analyzing complex networks. Unlike traditional clustering that only groups similar nodes, structural clustering identifies functional roles: cores (cluster centers), hubs (bridges between clusters), and outliers (isolated nodes). This granularity is vital for applications ranging from social network community detection to fraud identification in blockchain data.

Structural clustering identifies cores (shaded), hubs (dotted bridges), and outliers in a dynamic graph.

However, real-world graphs are rarely static; they evolve through constant edge insertions and deletions. Existing dynamic structural clustering methods face three major hurdles: prohibitive update times as graphs scale, inflexibility regarding similarity metrics (often limited to Jaccard similarity), and parameter rigidity, where clustering parameters ($ε$ and $μ$) must be fixed beforehand, preventing on-the-fly exploration.

The VD-STAR Algorithm

To address these challenges, the authors propose VD-STAR (Versatile Dynamic Structural Clustering). VD-STAR introduces a novel theoretical framework based on "update affordability" to manage the freshness of similarity scores between connected nodes.

Core Innovations

  1. Sampling for Versatility: By using sampling techniques instead of exact neighborhood calculations, VD-STAR supports Jaccard, Cosine, and Dice similarities within a single unified framework.
  2. Update Affordability & Power-of-Two Bucketing: The algorithm tracks how many updates an edge can "afford" before its similarity estimate might deviate significantly from the true value. Edges are organized into buckets based on these quotas (using powers of two). This allows the algorithm to ignore most edges during an update, only re-sampling those that have reached their "checkpoint," ensuring $O(\log n)$ amortized update time.
  3. Parameter Independence: Unlike previous indices that are tied to specific $ε$ and $μ$ values, VD-STAR maintains a structure that allows for efficient querying across the entire parameter space given on the fly.
Comparison of VD-STAR features and complexity against state-of-the-art methods.

Experimental Evaluation

The researchers evaluated VD-STAR on nine large-scale real-world datasets from the Stanford Network Analysis Project (SNAP) and the Network Repository, including social networks like soc-Friendster and massive web graphs like web-2012 (containing nearly 2 billion edges).

Key Results

  • Massive Speedups: VD-STAR achieves significant performance gains over existing methods. It outperformed the exact state-of-the-art (GS-Index) by up to 9,315x and the approximate state-of-the-art (BOTBIN) by up to 647x* in update processing time.
  • Scalability: On the massive web-2012 dataset, VD-STAR processed updates in just 69 microseconds, demonstrating its readiness for real-time, massive-scale applications.
  • High Accuracy: Despite its approximate nature, VD-STAR maintains high fidelity to exact results, achieving an Adjusted Rand Index (ARI) exceeding 0.99 in the majority of test cases.

Conclusion

VD-STAR represents a significant leap forward in dynamic graph analysis. By lifting the assumption of uniform random updates and providing a flexible, multi-metric framework, it enables high-performance structural clustering on the world's largest evolving networks. The "update affordability" concept introduced here holds promise for broader applications in dynamic graph algorithms beyond clustering, such as community detection or densest subgraph discovery.

Summary updated

BibTeX
@inproceedings{zhao2024dynamic,
  author = {Zhuowei Zhao and Junhao Gan and Boyu Ruan and Zhifeng Bao and Jianzhong Qi and Sibo Wang},
  title = {{Dynamic Structural Clustering Unleashed: Flexible Similarities, Versatile Updates and for All Parameters}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3711896.3736918},
}
Figure