Improving Critical Node Detection Using Neural Network-based Initialization in a Genetic Algorithm

Chanjuan Liu, Shike Ge, Zhihan Chen, Wenbin Pei, Enqiang Zhu, Yi Mei, Hisao IshibuchiarXiv 2024 · DOI

Abstract

Identifying critical nodes in complex networks is essential for maintaining connectivity in systems like power grids and social networks. This paper introduces the Knowledge-guided Genetic Algorithm (K2GA), a hybrid framework that combines Graph Attention Networks (GATs) with Genetic Algorithms (GAs) to address the NP-hard Critical Node Problem (CNP). Unlike traditional metaheuristics that rely on random initialization, K2GA utilizes a pretrained GAT to "warm-start" the search process with high-potential nodes. Our evaluation on 26 real-world benchmarks shows that K2GA achieves state-of-the-art performance, including the discovery of eight new best-known solutions.

Introduction

The Critical Node Problem (CNP) involves identifying a subset of nodes whose removal most significantly degrades the connectivity of a graph. This paper focuses on CNP-1a, where the objective is to minimize pairwise connectivity given a fixed budget $k$ of nodes to remove. Finding optimal solutions is computationally challenging due to the NP-hard nature of the problem and the vast search space, which often traps standard Genetic Algorithms in sub-optimal regions when initialized randomly.

The K2GA Framework

The proposed K2GA framework operates in two primary stages: neural initialization and evolutionary optimization.

  1. Neural Initialization: A Graph Attention Network (GAT) is pretrained on synthetic graphs to identify structural features indicative of node criticality. By using attention mechanisms, the GAT learns to weigh neighbor importance, providing a sophisticated heuristic for selecting initial candidates.
  2. Evolutionary Optimization: The top-ranked nodes from the GAT form the initial population for a Genetic Algorithm. This population undergoes crossover and a specialized local search. The local search employs a "cut node-based" greedy strategy, prioritizing nodes that act as structural bottlenecks.
The K2GA architecture, illustrating the flow from preprocessing and GAT-based initialization to the Genetic Algorithm.

The logic of the K2GA algorithm is formalized in the following pseudo-code, which highlights the integration of the neural model with the evolutionary loop:

Pseudo-code for the K2GA algorithm, detailing the initialization, crossover, and improvement steps.

Experimental Results

The researchers tested K2GA against leading algorithms (MACNP and VPMS) across 26 diverse real-world networks, including biological, power grid, and social networks. K2GA achieved superior objective values in 23 out of 26 instances. Notably, the algorithm identified eight new "best upper bounds" for established benchmarks, demonstrating its ability to find higher-quality solutions than previously recorded in the literature. Ablation studies confirmed that the GAT-based initialization was critical to these improvements, as performance dropped significantly when replaced with random initialization.

Conclusion

K2GA demonstrates the power of combining deep learning heuristics with traditional evolutionary algorithms. By providing a "knowledge-guided" starting point, the framework effectively prunes the search space and accelerates convergence toward optimal solutions. Future work will focus on reducing the computational cost of generating training labels and extending the framework to other CNP variants.

Summary updated

BibTeX
@misc{liu2024improving,
  author = {Chanjuan Liu and Shike Ge and Zhihan Chen and Wenbin Pei and Enqiang Zhu and Yi Mei and Hisao Ishibuchi},
  title = {{Improving Critical Node Detection Using Neural Network-based Initialization in a Genetic Algorithm}},
  year = {2024},
  eprint = {2402.00404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.00404},
}
Figure