Abstract
Combinatorial Optimization (CO) problems, such as Mixed Integer Linear Programming (MILP) and Quadratic Unconstrained Binary Optimization (QUBO), are fundamental to numerous industrial applications but remain computationally challenging due to their NP-hard nature. While Graph Neural Networks (GNNs) offer a promising data-driven approach, their performance is heavily dependent on manual architecture design. This paper introduces AutoGNP, an automated framework that designs optimal GNN architectures for CO. By employing a differentiable search space and specialized operators like "two-hop" message passing, AutoGNP consistently outperforms hand-crafted GNNs and established baselines on benchmarks like MaxCut and Set Covering.
Introduction
Combinatorial Optimization is a cornerstone of modern logistics, finance, and engineering. However, the NP-hard complexity of many CO problems makes exact solutions computationally prohibitive for large-scale instances. Traditional solvers often rely on heuristics that require significant domain expertise.
Recently, Graph Neural Networks (GNNs) have emerged as a powerful tool for CO because they naturally handle the relational structure of these problems and maintain permutation invariance. Despite their potential, the manual design of GNN architectures is a bottleneck. Existing Automated Machine Learning (AutoML) techniques for graphs typically focus on supervised node classification, failing to address the unique, often unsupervised, landscapes of optimization problems.
Methodology: The AutoGNP Framework
AutoGNP treats GNN architecture design as an optimization problem itself, searching for the best configuration to solve specific CO tasks.
Graph Representation
To apply GNNs, CO problems must first be mapped to graph structures. AutoGNP handles two primary formulations:
- Mixed Integer Linear Programming (MILP): Represented as bipartite graphs where nodes represent variables and constraints, with edges indicating the presence of a variable in a constraint.
- Quadratic Unconstrained Binary Optimization (QUBO): Represented as standard graphs where nodes are variables and edges represent quadratic interaction terms.
Differentiable Search and Specialized Operators
AutoGNP utilizes a differentiable search algorithm, allowing the architecture to be optimized via gradient descent. A key innovation is the inclusion of a "two-hop" message-passing operator, which enables nodes to aggregate information from a broader neighborhood, capturing global patterns essential for optimization.
Overcoming Optimization Hurdles
To navigate the complex loss landscapes of NP-hard problems, AutoGNP incorporates several strategies:
- Simulated Annealing: Periodically accepting sub-optimal architectures to ensure thorough exploration of the search space.
- Noise-based Regularization: Injecting Gaussian noise into the loss function to prevent the model from getting trapped in trivial local minima (e.g., the "zero trap" in MaxCut).
- Efficiency Measures: Implementing strict early stopping to maintain search speed and prevent overfitting to specific problem instances.
Experimental Evaluation
The framework was tested on several NP-hard benchmarks, including MILP tasks (Set Covering, Combinatorial Auctions) and QUBO tasks (MaxCut, MIS).
Performance on MaxCut
On the Gset benchmark, AutoGNP outperformed the physics-inspired PI-GNN. For instance, on graph G14, AutoGNP achieved a cut value of 3062, compared to 3026 for PI-GNN, approaching the performance of state-of-the-art specialized solvers like Breakout Local Search (BLS).
MILP Accuracy
In Set Covering tasks, AutoGNP achieved a 67.0% accuracy@1, surpassing the 65.5% achieved by the best hand-crafted GCNN. This demonstrates that automated search can identify hybrid architectures—combining various aggregation and attention mechanisms—that exceed human-designed configurations.
Conclusion and Future Directions
AutoGNP demonstrates that automated architecture search can significantly enhance the performance of GNNs in combinatorial optimization. By moving beyond human intuition, the framework identifies specialized architectures that generalize well from small to large problem instances. Future research will focus on expanding the search space to include novel mathematical operators and improving scalability for graphs with millions of nodes.
Summary updated