Abstract: The Maximum K-Plex Problem (MKPP) is a critical task in social network analysis and community detection, offering a flexible alternative to the overly restrictive maximum clique model. Given the NP-hard complexity of MKPP, existing exact and heuristic solvers often struggle with large-scale or sparse graphs. This paper introduces Nukplex, a high-performance local search algorithm designed to overcome these limitations. Nukplex employs three key strategies: Relaxed Bounded Configuration Checking (RBCC) to prevent cycling, a dual-scoring vertex selection method to leverage historical "backbone" data, and a core-based perturbation technique to escape local optima while preserving high-quality solution components. Experimental results across 920 benchmark instances show that Nukplex consistently outperforms state-of-the-art solvers, achieving superior solution quality and significantly faster runtimes.
Introduction
In the study of complex networks, identifying cohesive subgroups is essential for understanding community structures. While the maximum clique model requires every node in a subgroup to be connected to every other node, real-world data is frequently noisy or incomplete. The k-plex model relaxes this requirement: in a k-plex of size $n$, each vertex must be adjacent to at least $n-k$ other vertices. Finding the maximum k-plex is a computationally intensive NP-hard problem. While exact algorithms provide optimal solutions, they are often impractical for massive, sparse networks. Heuristic local search algorithms offer a faster alternative but are prone to getting trapped in local optima. Nukplex addresses these challenges by combining efficient exploration with robust mechanisms for escaping local traps.
Methodology
Nukplex enhances the standard local search framework through three primary innovations:
- Relaxed Bounded Configuration Checking (RBCC): Traditional configuration checking prevents the search from repeatedly adding and removing the same vertices. RBCC introduces a frequency-based relaxation, allowing the algorithm to revisit vertices if they have not been moved frequently, thus enabling the exploration of promising paths that stricter rules might block.
- Dual-Scoring Vertex Selection: To select the next vertex for inclusion, Nukplex utilizes two distinct metrics.
score_csievaluates the immediate benefit and expansion potential of a vertex, whilescore_lbstracks vertices that appeared in previous "local best" solutions. This dual approach prioritizes "backbone" vertices that have historically contributed to high-quality solutions. - Core-Based Perturbation: When the search stagnates, Nukplex identifies a "solution core"—the most cohesive subset of the current solution. It discards weaker, "saturated" members and restarts the search from this core rather than a random point. This strategy preserves the progress made during the search while providing the necessary variation to find better optima.
Experimental Evaluation
The performance of Nukplex was evaluated on a comprehensive suite of 920 instances, including classic DIMACS and BHOSLIB benchmarks, as well as massive real-world networks from the SNAP and NDR repositories. The algorithm was compared against leading heuristic solvers (KLS, DCCplex) and exact solvers (KpLeX-Gap, DiseMKP).
Results and Discussion
Nukplex demonstrated clear dominance across the test suite. On classic benchmarks, it found better or equal solutions in nearly all cases, with an average runtime of 3.49 seconds—significantly faster than its closest competitors.
As shown in the performance profiles, Nukplex maintains a higher probability of solving instances within a smaller time factor compared to KLS and DCCplex. This efficiency is particularly pronounced in classic instances where the search space is dense and complex.
On large sparse networks, Nukplex found the best-known solutions much faster than exact solvers, which often failed to find the maximum solution within the 1800-second time limit. The success of the score_lbs and core-based perturbation confirms that maintaining a "backbone" of high-quality vertices is a superior strategy for navigating large graph topologies.
Conclusion
Nukplex represents a significant advancement in local search for the Maximum K-Plex Problem. By integrating density-aware scoring and core-preserving perturbations, it achieves a balance between exploration and exploitation that surpasses existing methods. Future research will explore the application of these core-based strategies to related problems such as the maximum k-club and k-community detection.
Summary updated