Listing All Maximal k-Plexes in Temporal Graphs

Matthias Bentert, Anne-Sophie Himmel, Hendrik Molter, Marco Morik, Rolf Niedermeier, René Saitenmacher

Abstract

Detecting cohesive subgroups in networks is a fundamental task in graph analysis. While cliques represent the strictest form of community, real-world data often necessitates more flexible models. This paper introduces the $\Delta$-$k$-plex, a relaxation of the temporal clique that allows for missing edges while maintaining temporal continuity. We propose $\Delta$-$k$-BronKerbosch, a backtracking algorithm optimized with a novel "pool" data structure and pivoting heuristics. Our experiments on 15 diverse datasets show that our approach is up to 50 times faster than existing state-of-the-art methods for temporal clique listing and scales effectively for larger $k$ values.

Introduction

In network science, community detection typically focuses on identifying subsets of nodes with high internal connectivity. The most common structure is the clique, where every pair of nodes is connected. However, measurement errors or transient absences often lead to missing edges in real-world datasets, making cliques overly restrictive. The $k$-plex model addresses this by allowing each member to miss up to $k-1$ connections within the group.

Furthermore, many modern networks are temporal, with interactions occurring at specific timestamps. A meaningful community in this context must not only be dense but also persistent. A $\Delta$-clique requires members to interact at least once every $\Delta$ time steps. This paper generalizes these concepts into the $\Delta$-$k$-plex, providing a robust framework for analyzing evolving social, communication, and infrastructure networks.

Methodology: The $\Delta$-$k$-plex Model

A $\Delta$-$k$-plex is formally defined as a set of vertices $P$ and a time interval $T$ such that for every vertex $v \in P$, $v$ has at least one edge to all but at most $k-1$ other members of $P$ in every consecutive $\Delta+1$ time steps within $T$.

Illustration of non-neighbor sets (a-c) and a resulting maximal $\Delta$-2-plex (d) in a temporal graph.

To find all maximal $\Delta$-$k$-plexes, we adapt the Bron-Kerbosch algorithm. The core challenge in the temporal setting is tracking non-neighbors across shifting time windows. We introduce a "pool" data structure $B$ that maintains non-neighbor counts for each vertex at every time step. This allows for efficient pruning of the search space: if a vertex accumulates too many non-neighbors in any $\Delta$-window, the current branch can be safely discarded.

Optimization Heuristics

  1. Pivoting: We select a "pivot" vertex to represent a group of candidates, significantly reducing the number of recursive calls by avoiding redundant explorations.
  2. Connectedness Criterion: To filter out trivial or uninteresting groups, we focus on connected components with a minimum size of $2k+1$.

Experimental Evaluation

We evaluated the $\Delta$-$k$-BronKerbosch algorithm on 15 real-world temporal datasets, including transportation networks (e.g., US flights, London subway), social proximity data (e.g., school interactions, hospital contacts), and communication logs (e.g., DNC emails).

Key Results

  • Performance: For the $k=1$ case (equivalent to $\Delta$-cliques), our algorithm outperformed the previous state-of-the-art by factors ranging from 4 to 50.
  • Scalability: The algorithm successfully processed most datasets within one hour for $k \le 3$. The connectedness heuristic proved essential for handling $k=5$ in denser networks.
  • Heuristic Impact: Pivoting was particularly effective for larger $\Delta$ values, where the increased search space provides more opportunities for pruning.

Discussion and Conclusion

Our results demonstrate that $\Delta$-cliques are a special case of the more general $\Delta$-$k$-plex model, and our unified algorithm is highly efficient even for this restricted case. The algorithm's complexity is closely tied to the $\Delta$-slice degeneracy of the graph; temporal sparsity allows for rapid execution even if the aggregate graph is dense.

Future work will explore incorporating "isolation" metrics to ensure detected communities are distinct from their surroundings. Additionally, investigating the specific graph properties of datasets like "Infectious" could lead to further algorithmic refinements.

Summary updated

BibTeX
@article{bentert2019listing,
  author = {Matthias Bentert and Anne-Sophie Himmel and Hendrik Molter and Marco Morik and Rolf Niedermeier and René Saitenmacher},
  title = {{Listing All Maximal k-Plexes in Temporal Graphs}},
  journal = {ACM J. Exp. Algorithmics},
  year = {2019},
  url = {https://openreview.net/forum?id=eArIFmBAUQ},
}
Figure