Abstract
Maintaining connectivity in dynamic graphs is a fundamental challenge in stream processing. This paper presents a novel framework for sliding window connectivity that leverages edge timestamps as weights in a Maximum Spanning Tree (MST). By using this structural property, the proposed method eliminates the need for expensive replacement edge searches during edge deletions. Experimental results demonstrate up to an 80x improvement in throughput and a 1172x reduction in query latency compared to state-of-the-art baselines.
Introduction
In real-world applications such as fraud detection or social media tracking, data arrives as a continuous stream of edges. To maintain relevance, analysis often focuses on a sliding window—a subset of the most recent edges. A core challenge in this context is Dynamic Connectivity: as the window slides, new edges are inserted and old ones expire.
Standard approaches maintain a spanning tree to answer connectivity queries. However, when a tree edge expires, the system must perform a "replacement edge search" to determine if the component remains connected. This search is a significant performance bottleneck, often requiring a full graph traversal ($O(V+E)$).
The MST Framework
The researchers from the University of Waterloo and Lyon 1 University propose a breakthrough: the MST Framework. Instead of maintaining an arbitrary spanning tree, the system maintains a Maximum Spanning Tree (MST) where the weight of each edge is its arrival timestamp.
The core insight (Lemma 4.3) is that in a timestamp-based MST, when a tree edge expires (i.e., it is the oldest edge in the window), any potential replacement edge must have also expired or be expiring simultaneously. This observation transforms edge deletion from a complex search into a simple $O(1)$ operation.
Insertion and Optimization
When a new edge arrives, it may create a cycle. The algorithm identifies the "oldest" edge in that cycle (the one with the minimum timestamp) and removes it from the tree. This ensures the MST property is maintained.
The authors further introduce the Optimized MST (OMST). Since replacement searches are unnecessary, the system does not need to store non-tree edges at all, significantly reducing memory overhead.
Experimental Evaluation
The framework was evaluated on 10 diverse datasets, including real-world social networks (e.g., Friendster, Orkut) and synthetic benchmarks (Graph-500), with graphs containing up to 65 million vertices and 8.27 billion edges.
Key results include:
- Throughput: Up to an 80x improvement over the BIC baseline.
- Latency: Query latency reduced by up to 1172x.
- Window Management: Deletion of expired edges was up to 458x faster than standard Fully Dynamic Connectivity (FDC) methods.
- Memory Efficiency: By only tracking "backbone" edges, the OMST approach uses significantly less memory than methods that store all redundant edges.
Conclusion
By treating temporal metadata as structural weights, the MST framework bypasses the hardest part of dynamic graph theory: the replacement edge search. While currently limited to undirected graphs, the simplicity and efficiency of this approach set a new standard for low-latency connectivity in streaming environments. Future work may involve hardware acceleration for insertion-phase path traversals.
Summary updated