Towards a General Recipe for Combinatorial Optimization With Multi-Filter GNNs

Frederik Wenkel, Semih Cantürk, Stefan Horoi, Michael Perlmutter, Guy Wolf

Abstract

Combinatorial Optimization (CO) problems, such as Maximum Cut and Maximum Clique, are central to computer science but remain computationally daunting due to their NP-hard nature. While Graph Neural Networks (GNNs) have emerged as a potential solution, they often struggle with the "smoothing bias" of standard message-passing and the scarcity of labeled training data. This paper introduces GCON (Graph Combinatorial Optimization Network), a GNN architecture designed to overcome these hurdles using a hybrid filter bank and a decoupled attention mechanism. GCON effectively captures both smooth and sharp structural signals, delivering performance that rivals commercial solvers like Gurobi while maintaining significant speed advantages.

Introduction

Combinatorial Optimization involves selecting an optimal configuration from a finite set of possibilities. Applications range from logistics and routing to social network analysis. However, many core CO problems are NP-hard, making exact solutions infeasible for large-scale graphs. Traditional solvers like Gurobi are powerful but can be slow and computationally expensive. GNNs offer a fast, learnable alternative, but their tendency to act as low-pass filters often obscures the sharp geometric features necessary for solving CO tasks. Furthermore, the lack of ground-truth labels for large graphs necessitates unsupervised or self-supervised learning approaches.

The GCON Architecture

GCON addresses the limitations of standard GNNs through three primary innovations: a hybrid filter bank, decoupled localized attention, and an unsupervised training pipeline.

Hybrid Filter Bank

Instead of relying solely on neighborhood averaging, GCON employs a dual-stream filtering approach:

  1. Aggregation (Low-pass): Captures broad structural trends by averaging features across neighborhoods, consistent with standard GNN behavior.
  2. Comparison (Band-pass): Inspired by diffusion wavelets, these filters compute differences between neighborhoods at various scales, highlighting intricate geometric details that are often lost in standard GNNs.

Decoupled Localized Attention

A common issue in multi-signal networks is "signal dominance," where stronger low-pass signals mathematically drown out subtler band-pass information. GCON introduces a decoupled attention mechanism that normalizes and processes these signals independently before integration. This ensures the model learns from both coarse and fine-grained structural information.

Overview of the GCON pipeline, from input graph to rule-based decoder.

Unsupervised Learning and Decoding

GCON is trained using task-specific, differentiable loss functions, removing the need for optimal labels. The network outputs node-level probabilities (e.g., the likelihood of a node belonging to a Maximum Clique), which are then converted into discrete solutions by a simple, efficient rule-based decoder.

Experimental Results

The authors evaluated GCON against several baselines, including heuristic solvers (GREEDY, MFA), self-supervised GNNs (ERDŐS, ScatteringClique), and the commercial Gurobi solver. Tests were conducted on Barabási–Albert (BA) and RB model graphs of varying sizes.

Performance and Efficiency

GCON demonstrated superior performance across multiple CO tasks. Notably, on the Maximum Cut problem for large graphs, GCON outperformed Gurobi (within a fixed time budget) and all other GNN-based methods.

Comparative performance of GCON against state-of-the-art solvers across three CO tasks.

As shown in the results table, GCON achieves the highest cut sizes for MCut and the smallest set sizes for MDS on large BA graphs. Crucially, GCON provides these high-quality approximations in a fraction of the time required by exact solvers—taking only 27 seconds for a task where Gurobi might spend over an hour.

Generalization

A key finding is GCON's ability to generalize. Models trained on smaller graphs (200-300 nodes) maintained high performance when applied to graphs four times larger, suggesting that the network learns fundamental structural heuristics rather than specific graph instances.

Conclusion

GCON represents a significant step toward a general-purpose GNN "recipe" for combinatorial optimization. By decoupling structural signals and utilizing a hybrid filter bank, it overcomes the smoothing bias inherent in traditional GNNs. Its consistent performance across diverse tasks and its ability to scale efficiently make it a powerful tool for real-world optimization challenges. Future work will explore its application to a broader range of problems, such as the Traveling Salesperson Problem, and the integration of more advanced decoding strategies.

Summary updated

BibTeX
@inproceedings{wenkel2024towards,
  author = {Frederik Wenkel and Semih Cantürk and Stefan Horoi and Michael Perlmutter and Guy Wolf},
  title = {{Towards a General Recipe for Combinatorial Optimization With Multi-Filter GNNs}},
  booktitle = {LoG},
  year = {2024},
}
Figure