Effective reinforcement learning based local search for the maximum k-plex problem

Yan Jin, John H. Drake, Una Benlic, Kun HearXiv 2019

Introduction

In the field of graph theory and network analysis, identifying cohesive subgroups is a fundamental task with applications ranging from social network analysis to bioinformatics. The most stringent definition of such a subgroup is a clique, a subset of vertices where every node is connected to every other node. However, real-world data is often noisy or incomplete, making the clique definition too restrictive.

The $k$-plex serves as a robust relaxation of the clique. In a $k$-plex, each vertex in the group must be connected to all but at most $k$ other vertices in the same group. Finding the maximum $k$-plex—the largest possible such subgraph within a given network—is an NP-hard combinatorial optimization problem. As networks grow in size and complexity, exact algorithms often become computationally prohibitive, necessitating the development of high-performance heuristic search methods.

The BLS-RLE Framework

This research introduces BLS-RLE (Breakout Local Search with Reinforcement Learning Ensemble), a hybrid meta-heuristic designed to navigate the complex search space of the maximum $k$-plex problem. The algorithm operates through a continuous cycle of two primary phases:

  1. Intensification (Descent Search): The algorithm employs a greedy strategy to expand the current $k$-plex. It iteratively adds or swaps vertices to increase the solution size until it reaches a local optimum where no further immediate improvements are possible.
  2. Diversification (The Breakout): To prevent the search from becoming trapped in local optima, the algorithm enters a "breakout" phase. This involves applying perturbations—forced modifications to the current solution—to displace the search into new, potentially more promising regions of the graph.

Reinforcement Learning for Adaptive Control

The primary innovation of BLS-RLE lies in its use of Reinforcement Learning (RL) to dynamically manage the diversification phase. Traditional local search algorithms often rely on fixed parameters or manual tuning, which may not be optimal for all graph topologies. BLS-RLE treats parameter selection as a Multi-Armed Bandit problem, using a Softmax-based RL strategy to adaptively tune three critical parameters on the fly:

  • Perturbation Depth ($l$): Determines the number of moves made during a breakout. The authors utilize a novel piecewise function that allows for both fine-grained local shifts and exponential jumps to escape deep local optima.
  • Operator Probability ($e$): Balances the use of "directed" (strategic) perturbations versus "random" perturbations.
  • Random Strength ($b$): Controls the degree of randomness injected during the breakout to ensure the search explores unvisited areas.

By receiving a "reward" based on both the quality of the resulting $k$-plex and the distance from previously explored areas, the RL component learns which parameter combinations are most effective for the specific graph being processed.

Experimental Results and Impact

The performance of BLS-RLE was evaluated using 80 benchmark instances from the second DIMACS Implementation Challenge, a standard suite for testing clique and $k$-plex algorithms. The experiments covered $k$ values of 2, 3, 4, and 5.

Key Findings

  • State-of-the-Art Performance: BLS-RLE discovered 32 new best-known solutions for these standard benchmarks, surpassing previous records held by long-standing algorithms.
  • Robustness: The algorithm matched or improved upon the best-known results in 76 out of the 80 test cases.
  • Efficiency: On smaller graphs with known optimal solutions, BLS-RLE reached the optimum in fractions of a second. On large, dense instances, it significantly outperformed the previous leading heuristic, FD-TS.
  • Ablation Study: Comparisons with a version of the algorithm using random parameter selection (BLS-RND) confirmed that the RL-driven adaptive mechanism is essential for solving the most difficult instances.

Conclusion and Future Directions

BLS-RLE demonstrates that integrating reinforcement learning into local search frameworks can significantly enhance the ability to solve complex combinatorial problems. By rewarding both solution quality and search space novelty, the algorithm avoids the common pitfall of cycling through the same local optima.

While highly successful, the researchers noted that the algorithm did not reach the best-known solution in four specific instances. Future work will explore alternative RL action-selection models, such as Thompson Sampling or Upper Confidence Bound (UCB), and investigate the application of this RL-based framework to other challenging graph-based optimization problems.

Summary updated

BibTeX
@misc{jin2019effective,
  author = {Yan Jin and John H. Drake and Una Benlic and Kun He},
  title = {{Effective reinforcement learning based local search for the maximum k-plex problem}},
  year = {2019},
  eprint = {1903.05537},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.05537},
}
Figure