Introduction
In network analysis, identifying cohesive subgraphs is vital for applications ranging from community detection to biological research. While the clique model—where every vertex is connected to every other—is the gold standard, it is often too restrictive for noisy real-world data. The $k$-plex offers a more robust alternative: in a $k$-plex of size $n$, each vertex must be connected to at least $n-k$ others.
However, enumerating all maximal $k$-plexes is an NP-hard problem. Existing algorithms frequently fail to scale to massive graphs, particularly when $k \ge 3$. This paper introduces FP (Fast $k$-Plex), a highly efficient algorithm designed to make $k$-plex enumeration practical for big data scales.
The FP Algorithm
The FP algorithm utilizes a branch-and-bound framework enhanced by three primary innovations:
- Linear-Time Upper-Bounding: FP calculates the maximum possible size a $k$-plex can reach in a specific search branch. If this bound is smaller than a user-defined threshold $q$, the branch is immediately pruned. These bounds are computed in linear time, preventing them from becoming a computational bottleneck.
- Pivot Re-selection Strategy: Inspired by the Bron-Kerbosch algorithm for cliques, the authors developed a pivoting technique tailored for $k$-plexes. By selecting a "pivot" vertex to represent a group of candidates, the algorithm significantly reduces the number of recursive calls required to explore the search space.
- Dynamic Parallelization: To leverage multi-core architectures, FP uses a work-stealing approach. If a thread becomes idle, it splits the workload of a busy thread, ensuring high CPU utilization despite the irregular nature of graph search trees.
Experimental Evaluation
Datasets and Setup
The researchers evaluated FP against state-of-the-art algorithms D2K and CPlex using 139 real-world graphs from the Network Repository and standard DIMACS benchmarks. Tests included massive datasets like enwiki-2021 (300M edges) and hollywood (457M edges).
Performance Results
FP consistently outperformed its competitors across various parameter settings. The algorithm's efficiency is most evident when comparing the number of instances solved within a given time limit across the test suite.
As illustrated above for $k=4, q=20$, FP solves significantly more instances than CPlex and D2K at every time interval. This performance gap remains robust even as the relaxation parameter $k$ increases, making the problem more complex.
In the $k=5, q=20$ scenario, FP maintains its lead, demonstrating its scalability. On specific datasets like Epinions ($k=4, q=30$), FP was recorded as being 153x faster than CPlex, while D2K failed to finish within 24 hours. Furthermore, the parallel version of FP achieved near-linear speedup, processing the 300M-edge enwiki-2021 graph in just 71.2 seconds using 20 threads.
Conclusion
By combining novel pruning techniques with sophisticated pivoting and parallel execution, the FP algorithm achieves a significant leap in performance for maximal $k$-plex enumeration. While future work may explore distributed-memory systems for even larger "web-scale" graphs, FP currently stands as a state-of-the-art solution for processing massive real-world networks on multi-core machines.
Summary updated