Learning to Select MCP Algorithms: From Traditional ML to Dual-Channel GAT-MLP
Xiang Li, Shanshan Wang, Chenglong Xiao
TL;DR
This work tackles instance-aware solver selection for the Maximum Clique Problem by combining traditional ML with a dual-channel GNN. It constructs a labeled dataset by running four exact MCP solvers on a diverse set of graphs and extracting 12 global/local features, training various models and introducing GAT-MLP to fuse local and global information. Empirical results show GAT-MLP achieves 90.43% accuracy, outperforming classical classifiers and other GNN baselines, and ablation confirms the complementary value of the two channels and simple concatenation fusion. The framework demonstrates the promise of graph neural networks for combinatorial algorithm selection and provides a benchmark and code for future work.
Abstract
The Maximum Clique Problem (MCP) is a foundational NP-hard problem with wide-ranging applications, yet no single algorithm consistently outperforms all others across diverse graph instances. This underscores the critical need for instance-aware algorithm selection, a domain that remains largely unexplored for the MCP. To address this gap, we propose a novel learning-based framework that integrates both traditional machine learning and graph neural networks. We first construct a benchmark dataset by executing four state-of-the-art exact MCP solvers on a diverse collection of graphs and extracting their structural features. An evaluation of conventional classifiers establishes Random Forest as a strong baseline and reveals that connectivity and topological features are key predictors of performance. Building on these insights, we develop GAT-MLP, a dual-channel model that combines a Graph Attention Network (GAT) to encode local graph structure with a Multilayer Perceptron (MLP) to model global features. Extensive experiments demonstrate that GAT-MLP achieves superior and consistent performance, significantly outperforming all baseline methods. Our results highlight the effectiveness of the dual-channel architecture and the promise of graph neural networks for combinatorial algorithm selection, achieving 90.43% accuracy in choosing the optimal solver. Code and models are available at: https://anonymous.4open.science/r/GAT-MLP-7E5F.
