Combining Reinforcement Learning and Configuration Checking for Maximum k-plex Problem

Peilin Chen, Hai Wan, Shaowei Cai, Weilin Luo, Jia LiarXiv 2019

Abstract

This paper introduces BDCC, a local search algorithm for the Maximum $k$-plex problem that integrates reinforcement learning with an advanced "configuration checking" strategy. By utilizing a Multi-Armed Bandit (MAB) approach to learn from past search experiences and a dynamic thresholding mechanism to prevent search cycles, the proposed algorithm achieves state-of-the-art results on massive real-world graphs and challenging benchmarks.

1. Introduction

The Maximum $k$-plex Problem is a fundamental challenge in combinatorial optimization and social network analysis. While a "clique" represents a subgraph where every vertex is connected to every other vertex, real-world data often contains noise or missing links. A $k$-plex relaxes this definition, allowing each member to miss up to $k-1$ connections within the group. Finding the largest such group is NP-complete, presenting significant computational hurdles as graph sizes increase.

Existing heuristic solvers often suffer from "amnesia"—a lack of memory regarding previously explored search paths. This leads to two primary inefficiencies:

  1. Cycling: The search becomes trapped in loops, repeatedly adding and removing the same vertices.
  2. Blind Perturbation: When encountering a local optimum, algorithms often resort to random changes that fail to explore productive regions of the search space.

2. Methodology

The BDCC algorithm introduces two primary innovations to provide the search process with "memory" and "intelligence."

2.1 Bandit Learning-based Perturbation (BLP)

Drawing from reinforcement learning, the authors model the selection of vertices for perturbation as a Multi-Armed Bandit (MAB) problem. The algorithm employs an Exponential Recency Weighted Average (ERWA) to update the $Q$-values of vertices. If a sequence of moves leads to a "break-through" (a larger $k$-plex), the involved vertices receive a reward. An $\epsilon$-greedy strategy then prioritizes vertices that have historically contributed to better solutions.

2.2 Dynamic-threshold Configuration Checking (DTCC)

Configuration Checking (CC) is a classic technique to avoid cycles by preventing a vertex from being re-added unless its neighborhood has changed. BDCC extends this with Dynamic-threshold Configuration Checking (DTCC), which incorporates a Neighbor Quality (NQ) heuristic to prioritize vertices based on their connectivity to the current candidate solution. Furthermore, DTCC maintains an integer threshold for each vertex; if a vertex is frequently toggled, its threshold increases, forcing the algorithm to explore less-visited areas.

2.3 BDCC-H Hyperheuristic

A variant, BDCC-H, utilizes Simulated Annealing to dynamically switch between different vertex-selection heuristics. This hyperheuristic approach enhances robustness across diverse graph structures.

3. Experimental Evaluation

The algorithms were evaluated on three major benchmarks: DIMACS (classic clique instances), BHOSLIB (hard instances for local search), and 17 massive real-world graphs from the Network Data Repository, some containing millions of vertices and edges.

Comparison of solution quality on hard BHOSLIB instances.

3.1 Key Results

BDCC and BDCC-H outperformed the previous state-of-the-art algorithm, FD-TS, on most DIMACS and BHOSLIB instances. Notably, the algorithm established new lower bounds for several hard instances, such as frb100-40 in the BHOSLIB set.

Performance comparison on massive real-world graphs between exact solver (BnB) and BDCC-H.

On massive real-world graphs, BDCC-H demonstrated exceptional efficiency. As shown in the results, BDCC-H often found optimal solutions in seconds, whereas exact Branch-and-Bound (BnB) solvers frequently exceeded the 10,000-second time limit or failed to terminate.

4. Discussion and Future Work

While BDCC-H is highly robust, the hyperheuristic phase can introduce slight overhead on simpler instances. Future research could explore adapting the BLP and DTCC mechanisms to other clique-relaxation models, such as the Maximum Weight Clique problem. Additionally, while DTCC automates some aspects of search control, the reinforcement learning components still benefit from fine-tuned parameters like the exploration rate $\epsilon$.

5. Conclusion

By combining reinforcement learning with dynamic configuration checking, BDCC addresses the "amnesia" problem in local search for the Maximum $k$-plex problem. The resulting algorithm provides a powerful tool for analyzing large-scale networks where traditional exact solvers are computationally infeasible.

Summary updated

BibTeX
@misc{chen2019combining,
  author = {Peilin Chen and Hai Wan and Shaowei Cai and Weilin Luo and Jia Li},
  title = {{Combining Reinforcement Learning and Configuration Checking for Maximum k-plex Problem}},
  year = {2019},
  eprint = {1906.02578},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.02578},
}
Figure