Finding Subgraphs in Highly Dynamic Networks

Keren Censor-Hillel, Victor I. Kolobov, Gregory Schwartzman · DOI

TL;DR

This paper tackles the challenge of finding subgraphs in distributed networks undergoing massive, unpredictable changes in every single round. The authors show that $k$-clique membership listing, as well as 4-cycle and 5-cycle listing, can be solved deterministically in a constant ($O(1)$) amortized number of rounds, even under strict bandwidth limits. They complement these ultra-fast algorithms with tight lower bounds, mapping out a sharp complexity landscape for dynamic subgraph detection.

What Problem Does This Paper Address?

Large-scale distributed networks—such as peer-to-peer systems, wireless networks, and the broader Internet—are inherently dynamic. Links constantly appear and disappear as nodes move or sessions end. Traditional distributed algorithms often assume a static graph, a "low-churn" environment where only a few changes happen at a time, or require a "quiet period" to stabilize.

This paper addresses a much harsher reality: a highly dynamic synchronous network where an arbitrary number of links can be inserted or deleted in every single round, without any structural guarantees. Under strict bandwidth constraints (allowing only $O(\log n)$-bit messages per link per round), how quickly can nodes detect and list local subgraphs like triangles, cliques, or cycles? Because worst-case round complexity is provably near-linear in this adversarial setting, the authors focus on amortized round complexity—the number of rounds the network spends in an "inconsistent" state divided by the total number of topological changes.

Methods

The authors introduce a distributed dynamic data structure framework where nodes can temporarily report an "inconsistent state" while processing rapid topology changes.

An illustration of the communication round stages, from topology change to query.

To achieve constant amortized time for clique listing, they introduce the robust 2-hop neighborhood. Instead of forcing nodes to learn their entire 2-hop neighborhood (which is shown to be too expensive), nodes only maintain a specific subset of edges based on their insertion order and "imaginary timestamps" to handle edge deletions cleanly.

Temporal edge patterns learned for triangle membership listing.

For 4- and 5-cycle listing, they extend this concept to a robust 3-hop neighborhood, tracking valid paths over which edges are learned and propagated to handle complex edge deletions without causing communication congestion.

Temporal edge patterns for the robust 3-hop neighborhood.

Datasets

Not discussed in the paper. (This is a purely theoretical paper containing mathematical proofs and algorithmic analysis; no empirical datasets or simulations were used).

Key Insights and Ideas

  • The Inconsistency Loophole: In distributed dynamic settings, immediate updates are impossible because topology changes can disrupt the very communication lines needed to report them. Allowing nodes to answer "I am inconsistent" during heavy churn is the key to unlocking efficient algorithms.
  • Robust Neighborhoods vs. Full Neighborhoods: You don't need to know everything to find cliques or short cycles. Maintaining a full 2-hop neighborhood requires near-linear time ($\Omega(n/\log n)$), but maintaining a carefully filtered "robust" neighborhood takes only $O(1)$ amortized rounds and provides exactly enough information to list cliques.
  • The 5-Cycle Barrier: There is a sharp computational cliff. While 4-cycles and 5-cycles can be listed in $O(1)$ amortized rounds using 3-hop robust neighborhoods, listing 6-cycles suddenly hits a massive lower bound ($\Omega(\sqrt{n}/\log n)$). This shows that ultra-fast subgraph listing is strictly limited to very small or highly dense structures.

Key Results

  • $k$-Clique Membership Listing: Deterministically solved in $O(1)$ amortized rounds for any $k \ge 3$. Each node successfully maintains a list of all cliques to which it belongs.
  • 4-Cycle and 5-Cycle Listing: Deterministically solved in $O(1)$ amortized rounds (where at least one node in the cycle detects it).
  • Impossibility for Non-Cliques: Proved that membership listing for any $k$-vertex graph other than a clique requires $\Omega(n/\log n)$ amortized rounds.
  • The 6-Cycle Cliff: Proved that $k$-cycle listing for $k \ge 6$ requires $\Omega(\sqrt{n}/\log n)$ amortized rounds, establishing a fundamental barrier to scaling these algorithms to larger cycles.

Limitations and Future Work

While the paper provides a comprehensive map of the complexity landscape for cliques and cycles, a few limitations and open directions remain:

  • Listing vs. Membership Listing: The $O(1)$ algorithms for 4- and 5-cycles apply only to the listing variant (where at least one node in the cycle knows about it), whereas cliques achieve the stronger membership listing guarantee (where every node knows all cliques it belongs to). Closing this gap or proving it impossible for cycles is an open question.
  • Deterministic vs. Randomized: The lower bounds established in this paper target deterministic algorithms. Exploring whether randomization can bypass the $\Omega(\sqrt{n}/\log n)$ barrier for 6-cycles or the $\Omega(n/\log n)$ barrier for non-clique subgraphs remains an open area of research.

Summary updated

BibTeX
@inproceedings{censorhillel2020finding,
  author = {Keren Censor-Hillel and Victor I. Kolobov and Gregory Schwartzman},
  title = {{Finding Subgraphs in Highly Dynamic Networks}},
  booktitle = {SPAA},
  year = {2020},
  doi = {10.1145/3409964.3461788},
}
Figure